bereach 1.3.2 → 1.4.0-beta.10
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 +235 -149
- package/esm/funcs/actions-accept-invitation.d.ts +18 -0
- package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/actions-accept-invitation.js +97 -0
- package/esm/funcs/actions-accept-invitation.js.map +1 -0
- package/esm/funcs/actions-connect-profile.d.ts +2 -2
- package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
- package/esm/funcs/actions-connect-profile.js +6 -4
- package/esm/funcs/actions-connect-profile.js.map +1 -1
- package/esm/funcs/actions-create-comment.d.ts +18 -0
- package/esm/funcs/actions-create-comment.d.ts.map +1 -0
- package/esm/funcs/actions-create-comment.js +97 -0
- package/esm/funcs/actions-create-comment.js.map +1 -0
- package/esm/funcs/actions-decline-invitation.d.ts +18 -0
- package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/actions-decline-invitation.js +97 -0
- package/esm/funcs/actions-decline-invitation.js.map +1 -0
- package/esm/funcs/actions-edit-comment.d.ts +18 -0
- package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
- package/esm/funcs/actions-edit-comment.js +97 -0
- package/esm/funcs/actions-edit-comment.js.map +1 -0
- package/esm/funcs/actions-edit-post.d.ts +18 -0
- package/esm/funcs/actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/actions-edit-post.js +97 -0
- package/esm/funcs/actions-edit-post.js.map +1 -0
- package/esm/funcs/actions-follow-company.d.ts +1 -1
- package/esm/funcs/actions-follow-company.d.ts.map +1 -1
- package/esm/funcs/actions-follow-company.js +5 -3
- package/esm/funcs/actions-follow-company.js.map +1 -1
- package/esm/funcs/actions-follow-profile.d.ts +18 -0
- package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
- package/esm/funcs/actions-follow-profile.js +97 -0
- package/esm/funcs/actions-follow-profile.js.map +1 -0
- package/esm/funcs/actions-like-comment.d.ts +18 -0
- package/esm/funcs/actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/actions-like-comment.js +97 -0
- package/esm/funcs/actions-like-comment.js.map +1 -0
- package/esm/funcs/actions-like-post.d.ts +18 -0
- package/esm/funcs/actions-like-post.d.ts.map +1 -0
- package/esm/funcs/actions-like-post.js +97 -0
- package/esm/funcs/actions-like-post.js.map +1 -0
- package/esm/funcs/actions-list-invitations.d.ts +18 -0
- package/esm/funcs/actions-list-invitations.d.ts.map +1 -0
- package/esm/funcs/actions-list-invitations.js +99 -0
- package/esm/funcs/actions-list-invitations.js.map +1 -0
- package/esm/funcs/actions-list-sent-invitations.d.ts +1 -1
- package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -1
- package/esm/funcs/actions-list-sent-invitations.js +5 -3
- package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
- package/esm/funcs/actions-publish-post.d.ts +18 -0
- package/esm/funcs/actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/actions-publish-post.js +97 -0
- package/esm/funcs/actions-publish-post.js.map +1 -0
- package/esm/funcs/actions-reply-to-comment.d.ts +18 -0
- package/esm/funcs/actions-reply-to-comment.d.ts.map +1 -0
- package/esm/funcs/actions-reply-to-comment.js +97 -0
- 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/actions-repost-post.js +97 -0
- package/esm/funcs/actions-repost-post.js.map +1 -0
- package/esm/funcs/actions-save-post.d.ts +18 -0
- package/esm/funcs/actions-save-post.d.ts.map +1 -0
- package/esm/funcs/actions-save-post.js +97 -0
- package/esm/funcs/actions-save-post.js.map +1 -0
- package/esm/funcs/actions-send-message.d.ts +2 -2
- package/esm/funcs/actions-send-message.d.ts.map +1 -1
- package/esm/funcs/actions-send-message.js +6 -4
- package/esm/funcs/actions-send-message.js.map +1 -1
- package/esm/funcs/actions-unfollow-company.d.ts +18 -0
- package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/actions-unfollow-company.js +97 -0
- package/esm/funcs/actions-unfollow-company.js.map +1 -0
- package/esm/funcs/actions-unfollow-profile.d.ts +18 -0
- package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
- package/esm/funcs/actions-unfollow-profile.js +97 -0
- package/esm/funcs/actions-unfollow-profile.js.map +1 -0
- package/esm/funcs/actions-unlike-comment.d.ts +18 -0
- package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
- package/esm/funcs/actions-unlike-comment.js +97 -0
- package/esm/funcs/actions-unlike-comment.js.map +1 -0
- package/esm/funcs/actions-unlike-post.d.ts +18 -0
- package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/actions-unlike-post.js +97 -0
- package/esm/funcs/actions-unlike-post.js.map +1 -0
- package/esm/funcs/actions-unsave-post.d.ts +18 -0
- package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/actions-unsave-post.js +97 -0
- package/esm/funcs/actions-unsave-post.js.map +1 -0
- package/esm/funcs/actions-withdraw-invitation.d.ts +18 -0
- package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/actions-withdraw-invitation.js +97 -0
- package/esm/funcs/actions-withdraw-invitation.js.map +1 -0
- package/esm/funcs/campaigns-filter.d.ts +1 -1
- package/esm/funcs/campaigns-filter.d.ts.map +1 -1
- package/esm/funcs/campaigns-filter.js +5 -3
- package/esm/funcs/campaigns-filter.js.map +1 -1
- package/esm/funcs/campaigns-get-status.d.ts +1 -1
- package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
- package/esm/funcs/campaigns-get-status.js +5 -3
- package/esm/funcs/campaigns-get-status.js.map +1 -1
- package/esm/funcs/campaigns-stats.d.ts +18 -0
- package/esm/funcs/campaigns-stats.d.ts.map +1 -0
- package/esm/funcs/campaigns-stats.js +102 -0
- package/esm/funcs/campaigns-stats.js.map +1 -0
- package/esm/funcs/campaigns-sync.d.ts +1 -1
- package/esm/funcs/campaigns-sync.d.ts.map +1 -1
- package/esm/funcs/campaigns-sync.js +5 -3
- package/esm/funcs/campaigns-sync.js.map +1 -1
- package/esm/funcs/chat-archive.d.ts +1 -1
- package/esm/funcs/chat-archive.d.ts.map +1 -1
- package/esm/funcs/chat-archive.js +5 -3
- package/esm/funcs/chat-archive.js.map +1 -1
- package/esm/funcs/chat-find-conversation.d.ts +2 -9
- package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
- package/esm/funcs/chat-find-conversation.js +6 -11
- package/esm/funcs/chat-find-conversation.js.map +1 -1
- package/esm/funcs/chat-get-messages.d.ts +22 -0
- package/esm/funcs/chat-get-messages.d.ts.map +1 -0
- package/esm/funcs/chat-get-messages.js +105 -0
- package/esm/funcs/chat-get-messages.js.map +1 -0
- package/esm/funcs/chat-get-unread-count.d.ts +18 -0
- package/esm/funcs/chat-get-unread-count.d.ts.map +1 -0
- package/esm/funcs/chat-get-unread-count.js +86 -0
- package/esm/funcs/chat-get-unread-count.js.map +1 -0
- package/esm/funcs/chat-list-archived.d.ts +18 -0
- package/esm/funcs/chat-list-archived.d.ts.map +1 -0
- package/esm/funcs/chat-list-archived.js +100 -0
- package/esm/funcs/chat-list-archived.js.map +1 -0
- package/esm/funcs/chat-list-inbox.d.ts +18 -0
- package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
- package/esm/funcs/chat-list-inbox.js +99 -0
- package/esm/funcs/chat-list-inbox.js.map +1 -0
- package/esm/funcs/chat-list-starred.d.ts +18 -0
- package/esm/funcs/chat-list-starred.d.ts.map +1 -0
- package/esm/funcs/chat-list-starred.js +100 -0
- package/esm/funcs/chat-list-starred.js.map +1 -0
- package/esm/funcs/chat-mark-all-read.d.ts +18 -0
- package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/chat-mark-all-read.js +87 -0
- package/esm/funcs/chat-mark-all-read.js.map +1 -0
- package/esm/funcs/chat-mark-seen.d.ts +18 -0
- package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/chat-mark-seen.js +97 -0
- package/esm/funcs/chat-mark-seen.js.map +1 -0
- package/esm/funcs/chat-react.d.ts +18 -0
- package/esm/funcs/chat-react.d.ts.map +1 -0
- package/esm/funcs/chat-react.js +97 -0
- package/esm/funcs/chat-react.js.map +1 -0
- package/esm/funcs/chat-search-conversations.d.ts +2 -2
- package/esm/funcs/chat-search-conversations.d.ts.map +1 -1
- package/esm/funcs/chat-search-conversations.js +14 -8
- package/esm/funcs/chat-search-conversations.js.map +1 -1
- package/esm/funcs/chat-send-typing-indicator.d.ts +18 -0
- package/esm/funcs/chat-send-typing-indicator.d.ts.map +1 -0
- package/esm/funcs/chat-send-typing-indicator.js +97 -0
- package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/chat-star.d.ts +18 -0
- package/esm/funcs/chat-star.d.ts.map +1 -0
- package/esm/funcs/chat-star.js +97 -0
- package/esm/funcs/chat-star.js.map +1 -0
- package/esm/funcs/chat-unarchive.d.ts +18 -0
- package/esm/funcs/chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/chat-unarchive.js +97 -0
- package/esm/funcs/chat-unarchive.js.map +1 -0
- package/esm/funcs/chat-unreact.d.ts +1 -1
- package/esm/funcs/chat-unreact.d.ts.map +1 -1
- package/esm/funcs/chat-unreact.js +5 -3
- package/esm/funcs/chat-unreact.js.map +1 -1
- package/esm/funcs/chat-unstar.d.ts +18 -0
- package/esm/funcs/chat-unstar.d.ts.map +1 -0
- package/esm/funcs/chat-unstar.js +97 -0
- package/esm/funcs/chat-unstar.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
- package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
- package/esm/funcs/company-pages-get-analytics.js +5 -3
- package/esm/funcs/company-pages-get-analytics.js.map +1 -1
- package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
- package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
- package/esm/funcs/company-pages-get-permissions.js +5 -3
- package/esm/funcs/company-pages-get-permissions.js.map +1 -1
- package/esm/funcs/company-pages-list.d.ts +1 -1
- package/esm/funcs/company-pages-list.d.ts.map +1 -1
- package/esm/funcs/company-pages-list.js +4 -2
- package/esm/funcs/company-pages-list.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-posts.js +97 -0
- package/esm/funcs/company-pages-posts.js.map +1 -0
- package/esm/funcs/contacts-add-activities.d.ts +18 -0
- package/esm/funcs/contacts-add-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-add-activities.js +103 -0
- package/esm/funcs/contacts-add-activities.js.map +1 -0
- package/esm/funcs/contacts-add-to-campaign.d.ts +18 -0
- package/esm/funcs/contacts-add-to-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-add-to-campaign.js +103 -0
- package/esm/funcs/contacts-add-to-campaign.js.map +1 -0
- package/esm/funcs/contacts-bulk-update.d.ts +18 -0
- package/esm/funcs/contacts-bulk-update.d.ts.map +1 -0
- package/esm/funcs/contacts-bulk-update.js +97 -0
- package/esm/funcs/contacts-bulk-update.js.map +1 -0
- package/esm/funcs/contacts-campaign-status-transition.d.ts +18 -0
- package/esm/funcs/contacts-campaign-status-transition.d.ts.map +1 -0
- package/esm/funcs/contacts-campaign-status-transition.js +103 -0
- package/esm/funcs/contacts-campaign-status-transition.js.map +1 -0
- package/esm/funcs/contacts-create-campaign.d.ts +18 -0
- package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-create-campaign.js +97 -0
- package/esm/funcs/contacts-create-campaign.js.map +1 -0
- package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-delete-agent-state.js +102 -0
- package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
- package/esm/funcs/contacts-delete-campaign.d.ts +18 -0
- package/esm/funcs/contacts-delete-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-delete-campaign.js +102 -0
- package/esm/funcs/contacts-delete-campaign.js.map +1 -0
- package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-get-agent-state.js +102 -0
- package/esm/funcs/contacts-get-agent-state.js.map +1 -0
- package/esm/funcs/contacts-get-by-url.d.ts +18 -0
- package/esm/funcs/contacts-get-by-url.d.ts.map +1 -0
- package/esm/funcs/contacts-get-by-url.js +100 -0
- package/esm/funcs/contacts-get-by-url.js.map +1 -0
- package/esm/funcs/contacts-get-campaign.d.ts +18 -0
- package/esm/funcs/contacts-get-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-get-campaign.js +102 -0
- package/esm/funcs/contacts-get-campaign.js.map +1 -0
- package/esm/funcs/contacts-get.d.ts +18 -0
- package/esm/funcs/contacts-get.d.ts.map +1 -0
- package/esm/funcs/contacts-get.js +102 -0
- package/esm/funcs/contacts-get.js.map +1 -0
- package/esm/funcs/contacts-list-activities.d.ts +18 -0
- package/esm/funcs/contacts-list-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-list-activities.js +108 -0
- package/esm/funcs/contacts-list-activities.js.map +1 -0
- package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
- package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
- package/esm/funcs/contacts-list-agent-states.js +100 -0
- package/esm/funcs/contacts-list-agent-states.js.map +1 -0
- package/esm/funcs/contacts-list-by-campaign.d.ts +18 -0
- package/esm/funcs/contacts-list-by-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-list-by-campaign.js +111 -0
- package/esm/funcs/contacts-list-by-campaign.js.map +1 -0
- package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
- package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
- package/esm/funcs/contacts-list-campaigns.js +103 -0
- package/esm/funcs/contacts-list-campaigns.js.map +1 -0
- package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-patch-agent-state.js +103 -0
- package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
- package/esm/funcs/contacts-search.d.ts +18 -0
- package/esm/funcs/contacts-search.d.ts.map +1 -0
- package/esm/funcs/contacts-search.js +112 -0
- package/esm/funcs/contacts-search.js.map +1 -0
- package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-set-agent-state.js +103 -0
- package/esm/funcs/contacts-set-agent-state.js.map +1 -0
- package/esm/funcs/contacts-stats.d.ts +18 -0
- package/esm/funcs/contacts-stats.d.ts.map +1 -0
- package/esm/funcs/contacts-stats.js +100 -0
- package/esm/funcs/contacts-stats.js.map +1 -0
- package/esm/funcs/contacts-update-campaign.d.ts +18 -0
- package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-update-campaign.js +103 -0
- package/esm/funcs/contacts-update-campaign.js.map +1 -0
- package/esm/funcs/contacts-update.d.ts +18 -0
- package/esm/funcs/contacts-update.d.ts.map +1 -0
- package/esm/funcs/contacts-update.js +103 -0
- package/esm/funcs/contacts-update.js.map +1 -0
- package/esm/funcs/contacts-upsert.d.ts +3 -2
- package/esm/funcs/contacts-upsert.d.ts.map +1 -1
- package/esm/funcs/contacts-upsert.js +23 -5
- package/esm/funcs/contacts-upsert.js.map +1 -1
- package/esm/funcs/context-delete.d.ts +18 -0
- package/esm/funcs/context-delete.d.ts.map +1 -0
- package/esm/funcs/context-delete.js +101 -0
- package/esm/funcs/context-delete.js.map +1 -0
- package/esm/funcs/context-list-entries.d.ts +18 -0
- package/esm/funcs/context-list-entries.d.ts.map +1 -0
- package/esm/funcs/context-list-entries.js +101 -0
- package/esm/funcs/context-list-entries.js.map +1 -0
- package/esm/funcs/context-set.d.ts +18 -0
- package/esm/funcs/context-set.d.ts.map +1 -0
- package/esm/funcs/context-set.js +97 -0
- package/esm/funcs/context-set.js.map +1 -0
- package/esm/funcs/cron-list-schedules.d.ts +18 -0
- package/esm/funcs/cron-list-schedules.d.ts.map +1 -0
- package/esm/funcs/cron-list-schedules.js +86 -0
- package/esm/funcs/cron-list-schedules.js.map +1 -0
- package/esm/funcs/cron-update-schedule.d.ts +18 -0
- package/esm/funcs/cron-update-schedule.d.ts.map +1 -0
- package/esm/funcs/cron-update-schedule.js +103 -0
- package/esm/funcs/cron-update-schedule.js.map +1 -0
- package/esm/funcs/profile-get-credits.d.ts +1 -1
- package/esm/funcs/profile-get-credits.d.ts.map +1 -1
- package/esm/funcs/profile-get-credits.js +5 -3
- package/esm/funcs/profile-get-credits.js.map +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
- package/esm/funcs/profile-get-follower-analytics.js +4 -2
- package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
- package/esm/funcs/profile-get-followers.d.ts +1 -1
- package/esm/funcs/profile-get-followers.d.ts.map +1 -1
- package/esm/funcs/profile-get-followers.js +5 -3
- package/esm/funcs/profile-get-followers.js.map +1 -1
- package/esm/funcs/profile-get-limits.d.ts +1 -1
- package/esm/funcs/profile-get-limits.d.ts.map +1 -1
- package/esm/funcs/profile-get-limits.js +5 -3
- package/esm/funcs/profile-get-limits.js.map +1 -1
- package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
- package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
- package/esm/funcs/profile-get-post-analytics.js +6 -4
- package/esm/funcs/profile-get-post-analytics.js.map +1 -1
- package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
- package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
- package/esm/funcs/profile-get-search-appearances.js +4 -2
- package/esm/funcs/profile-get-search-appearances.js.map +1 -1
- package/esm/funcs/profile-get.d.ts +1 -1
- package/esm/funcs/profile-get.d.ts.map +1 -1
- package/esm/funcs/profile-get.js +5 -3
- package/esm/funcs/profile-get.js.map +1 -1
- package/esm/funcs/profile-list-accounts.d.ts +1 -1
- package/esm/funcs/profile-list-accounts.d.ts.map +1 -1
- package/esm/funcs/profile-list-accounts.js +5 -3
- package/esm/funcs/profile-list-accounts.js.map +1 -1
- package/esm/funcs/profile-list-connections.d.ts +18 -0
- package/esm/funcs/profile-list-connections.d.ts.map +1 -0
- package/esm/funcs/profile-list-connections.js +103 -0
- package/esm/funcs/profile-list-connections.js.map +1 -0
- package/esm/funcs/profile-posts.d.ts +18 -0
- package/esm/funcs/profile-posts.d.ts.map +1 -0
- package/esm/funcs/profile-posts.js +99 -0
- package/esm/funcs/profile-posts.js.map +1 -0
- package/esm/funcs/profile-refresh.d.ts +1 -1
- package/esm/funcs/profile-refresh.d.ts.map +1 -1
- package/esm/funcs/profile-refresh.js +4 -2
- package/esm/funcs/profile-refresh.js.map +1 -1
- package/esm/funcs/profile-switch-account.d.ts +18 -0
- package/esm/funcs/profile-switch-account.d.ts.map +1 -0
- package/esm/funcs/profile-switch-account.js +97 -0
- package/esm/funcs/profile-switch-account.js.map +1 -0
- package/esm/funcs/profile-update-account.d.ts +1 -1
- package/esm/funcs/profile-update-account.d.ts.map +1 -1
- package/esm/funcs/profile-update-account.js +5 -3
- package/esm/funcs/profile-update-account.js.map +1 -1
- package/esm/funcs/profile-views.d.ts +18 -0
- package/esm/funcs/profile-views.d.ts.map +1 -0
- package/esm/funcs/profile-views.js +87 -0
- package/esm/funcs/profile-views.js.map +1 -0
- package/esm/funcs/sales-nav-companies.d.ts +33 -0
- package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
- package/esm/funcs/sales-nav-companies.js +112 -0
- package/esm/funcs/sales-nav-companies.js.map +1 -0
- package/esm/funcs/sales-nav-people.d.ts +53 -0
- package/esm/funcs/sales-nav-people.d.ts.map +1 -0
- package/esm/funcs/sales-nav-people.js +132 -0
- package/esm/funcs/sales-nav-people.js.map +1 -0
- package/esm/funcs/sales-nav-search.d.ts +39 -0
- package/esm/funcs/sales-nav-search.d.ts.map +1 -0
- package/esm/funcs/sales-nav-search.js +118 -0
- package/esm/funcs/sales-nav-search.js.map +1 -0
- package/esm/funcs/scheduled-messages-batch-schedule.d.ts +18 -0
- package/esm/funcs/scheduled-messages-batch-schedule.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-batch-schedule.js +97 -0
- package/esm/funcs/scheduled-messages-batch-schedule.js.map +1 -0
- package/esm/funcs/scheduled-messages-cancel.d.ts +18 -0
- package/esm/funcs/scheduled-messages-cancel.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-cancel.js +97 -0
- package/esm/funcs/scheduled-messages-cancel.js.map +1 -0
- package/esm/funcs/scheduled-messages-create.d.ts +18 -0
- package/esm/funcs/scheduled-messages-create.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-create.js +97 -0
- package/esm/funcs/scheduled-messages-create.js.map +1 -0
- package/esm/funcs/scheduled-messages-list.d.ts +18 -0
- package/esm/funcs/scheduled-messages-list.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-list.js +104 -0
- package/esm/funcs/scheduled-messages-list.js.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts +18 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.js +102 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.js.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-profile.d.ts +18 -0
- package/esm/funcs/scrapers-bulk-visit-profile.d.ts.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-profile.js +97 -0
- package/esm/funcs/scrapers-bulk-visit-profile.js.map +1 -0
- package/esm/funcs/scrapers-collect-comment-replies.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comment-replies.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-comment-replies.js +97 -0
- package/esm/funcs/scrapers-collect-comment-replies.js.map +1 -0
- package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-comments.js +97 -0
- package/esm/funcs/scrapers-collect-comments.js.map +1 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.d.ts +18 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.js +97 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.js.map +1 -0
- package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-likes.js +97 -0
- package/esm/funcs/scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
- package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
- package/esm/funcs/scrapers-collect-posts.js +6 -4
- package/esm/funcs/scrapers-collect-posts.js.map +1 -1
- package/esm/funcs/scrapers-get-feed.d.ts +18 -0
- package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/scrapers-get-feed.js +99 -0
- package/esm/funcs/scrapers-get-feed.js.map +1 -0
- package/esm/funcs/scrapers-list-saved-posts.d.ts +18 -0
- package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/scrapers-list-saved-posts.js +97 -0
- package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/scrapers-visit-company.d.ts +18 -0
- package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/scrapers-visit-company.js +97 -0
- package/esm/funcs/scrapers-visit-company.js.map +1 -0
- package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
- package/esm/funcs/scrapers-visit-profile.js +8 -4
- package/esm/funcs/scrapers-visit-profile.js.map +1 -1
- package/esm/funcs/search-by-url.d.ts +69 -0
- package/esm/funcs/search-by-url.d.ts.map +1 -0
- package/esm/funcs/search-by-url.js +148 -0
- package/esm/funcs/search-by-url.js.map +1 -0
- package/esm/funcs/search-companies.d.ts +75 -0
- package/esm/funcs/search-companies.d.ts.map +1 -0
- package/esm/funcs/search-companies.js +154 -0
- package/esm/funcs/search-companies.js.map +1 -0
- package/esm/funcs/search-jobs.d.ts +96 -0
- package/esm/funcs/search-jobs.d.ts.map +1 -0
- package/esm/funcs/search-jobs.js +175 -0
- package/esm/funcs/search-jobs.js.map +1 -0
- package/esm/funcs/search-people.d.ts +83 -0
- package/esm/funcs/search-people.d.ts.map +1 -0
- package/esm/funcs/search-people.js +162 -0
- package/esm/funcs/search-people.js.map +1 -0
- package/esm/funcs/search-posts.d.ts +71 -0
- package/esm/funcs/search-posts.d.ts.map +1 -0
- package/esm/funcs/search-posts.js +150 -0
- package/esm/funcs/search-posts.js.map +1 -0
- package/esm/funcs/search-resolve-parameters.d.ts +50 -0
- package/esm/funcs/search-resolve-parameters.d.ts.map +1 -0
- package/esm/funcs/search-resolve-parameters.js +134 -0
- package/esm/funcs/search-resolve-parameters.js.map +1 -0
- package/esm/funcs/search-search.d.ts +55 -0
- package/esm/funcs/search-search.d.ts.map +1 -0
- package/esm/funcs/search-search.js +134 -0
- package/esm/funcs/search-search.js.map +1 -0
- package/esm/lib/config.d.ts +5 -5
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +8 -4
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/files.d.ts +13 -0
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +18 -0
- package/esm/lib/files.js.map +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +8 -4
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/url.d.ts.map +1 -1
- package/esm/lib/url.js +4 -2
- package/esm/lib/url.js.map +1 -1
- package/esm/models/errors/collect-likes.d.ts +257 -0
- package/esm/models/errors/collect-likes.d.ts.map +1 -0
- package/esm/models/errors/collect-likes.js +372 -0
- package/esm/models/errors/collect-likes.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -1
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -1
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/operations/index.d.ts +4 -4
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +4 -4
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/search-companies-response.d.ts +2499 -0
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/search-companies-response.js +1626 -0
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-contact.d.ts +2635 -0
- package/esm/models/operations/search-contacts-contact.d.ts.map +1 -0
- package/esm/models/operations/search-contacts-contact.js +1605 -0
- package/esm/models/operations/search-contacts-contact.js.map +1 -0
- package/esm/models/operations/update-account-response.d.ts +2800 -0
- package/esm/models/operations/update-account-response.d.ts.map +1 -0
- package/esm/models/operations/update-account-response.js +1575 -0
- package/esm/models/operations/update-account-response.js.map +1 -0
- package/esm/models/operations/update-schedule-response.d.ts +2216 -0
- package/esm/models/operations/update-schedule-response.d.ts.map +1 -0
- package/esm/models/operations/update-schedule-response.js +1459 -0
- package/esm/models/operations/update-schedule-response.js.map +1 -0
- package/esm/sdk/actions.d.ts +139 -6
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +192 -2
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/campaigns.d.ts +4 -4
- 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/chat.d.ts +91 -10
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +125 -8
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +4 -4
- 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 +149 -2
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +211 -1
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/context.d.ts +26 -0
- package/esm/sdk/context.d.ts.map +1 -0
- package/esm/sdk/context.js +38 -0
- package/esm/sdk/context.js.map +1 -0
- package/esm/sdk/cron.d.ts +19 -0
- package/esm/sdk/cron.d.ts.map +1 -0
- package/esm/sdk/cron.js +28 -0
- package/esm/sdk/cron.js.map +1 -0
- package/esm/sdk/profile.d.ts +27 -13
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +27 -7
- 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/scheduled-messages.d.ts +33 -0
- package/esm/sdk/scheduled-messages.d.ts.map +1 -0
- package/esm/sdk/scheduled-messages.js +48 -0
- package/esm/sdk/scheduled-messages.js.map +1 -0
- package/esm/sdk/scrapers.d.ts +69 -4
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +94 -2
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +12 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +19 -44
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +427 -0
- package/esm/sdk/search.d.ts.map +1 -0
- package/esm/sdk/search.js +451 -0
- package/esm/sdk/search.js.map +1 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/node_modules/@types/node/console.d.ts +452 -0
- package/examples/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/node_modules/@types/node/events.d.ts +977 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/node_modules/@types/node/http2.d.ts +2631 -0
- package/examples/node_modules/@types/node/https.d.ts +578 -0
- package/examples/node_modules/@types/node/index.d.ts +93 -0
- package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/node_modules/@types/node/module.d.ts +539 -0
- package/examples/node_modules/@types/node/net.d.ts +1012 -0
- package/examples/node_modules/@types/node/os.d.ts +506 -0
- package/examples/node_modules/@types/node/path.d.ts +200 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/node_modules/@types/node/stream.d.ts +1675 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/node_modules/@types/node/url.d.ts +964 -0
- package/examples/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/node_modules/dotenv/config.d.ts +1 -0
- package/examples/node_modules/dotenv/config.js +9 -0
- package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/node_modules/dotenv/lib/main.js +386 -0
- package/examples/node_modules/esbuild/install.js +289 -0
- package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
- package/examples/node_modules/esbuild/lib/main.js +2242 -0
- package/examples/node_modules/get-tsconfig/dist/index.mjs +7 -0
- package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cli.mjs +55 -0
- package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/index.mjs +2 -0
- package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +1 -0
- package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
- package/examples/node_modules/tsx/dist/loader.mjs +1 -0
- package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +1 -0
- package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +4 -0
- package/examples/node_modules/tsx/dist/repl.mjs +3 -0
- package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +1 -0
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
- package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +1 -0
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
- package/examples/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/node_modules/undici-types/api.d.ts +43 -0
- package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/node_modules/undici-types/client.d.ts +108 -0
- package/examples/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/node_modules/undici-types/file.d.ts +39 -0
- package/examples/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/node_modules/undici-types/header.d.ts +4 -0
- package/examples/node_modules/undici-types/index.d.ts +71 -0
- package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/node_modules/undici-types/util.d.ts +18 -0
- package/examples/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/node_modules/undici-types/websocket.d.ts +150 -0
- package/examples/scrapersCollectLikes.example.ts +30 -0
- package/jsr.json +1 -1
- package/package.json +2 -4
- package/src/funcs/actions-accept-invitation.ts +225 -0
- package/src/funcs/actions-connect-profile.ts +19 -10
- package/src/funcs/actions-create-comment.ts +224 -0
- package/src/funcs/actions-decline-invitation.ts +225 -0
- package/src/funcs/actions-edit-comment.ts +224 -0
- package/src/funcs/actions-edit-post.ts +224 -0
- package/src/funcs/actions-follow-company.ts +18 -9
- package/src/funcs/actions-follow-profile.ts +224 -0
- package/src/funcs/actions-like-comment.ts +224 -0
- package/src/funcs/actions-like-post.ts +224 -0
- package/src/funcs/actions-list-invitations.ts +230 -0
- package/src/funcs/actions-list-sent-invitations.ts +18 -11
- package/src/funcs/actions-publish-post.ts +224 -0
- package/src/funcs/actions-reply-to-comment.ts +224 -0
- package/src/funcs/actions-repost-post.ts +224 -0
- package/src/funcs/actions-save-post.ts +224 -0
- package/src/funcs/actions-send-message.ts +19 -10
- package/src/funcs/actions-unfollow-company.ts +224 -0
- package/src/funcs/actions-unfollow-profile.ts +224 -0
- package/src/funcs/actions-unlike-comment.ts +224 -0
- package/src/funcs/actions-unlike-post.ts +224 -0
- package/src/funcs/actions-unsave-post.ts +224 -0
- package/src/funcs/actions-withdraw-invitation.ts +225 -0
- package/src/funcs/campaigns-filter.ts +18 -9
- package/src/funcs/campaigns-get-status.ts +18 -10
- package/src/funcs/campaigns-stats.ts +230 -0
- package/src/funcs/campaigns-sync.ts +18 -10
- package/src/funcs/chat-archive.ts +18 -9
- package/src/funcs/chat-find-conversation.ts +19 -16
- package/src/funcs/chat-get-messages.ts +233 -0
- package/src/funcs/chat-get-unread-count.ts +205 -0
- package/src/funcs/chat-list-archived.ts +229 -0
- package/src/funcs/chat-list-inbox.ts +227 -0
- package/src/funcs/chat-list-starred.ts +229 -0
- package/src/funcs/chat-mark-all-read.ts +209 -0
- package/src/funcs/chat-mark-seen.ts +224 -0
- package/src/funcs/chat-react.ts +224 -0
- package/src/funcs/chat-search-conversations.ts +28 -16
- package/src/funcs/chat-send-typing-indicator.ts +225 -0
- package/src/funcs/chat-star.ts +224 -0
- package/src/funcs/chat-unarchive.ts +224 -0
- package/src/funcs/chat-unreact.ts +18 -9
- package/src/funcs/chat-unstar.ts +224 -0
- package/src/funcs/company-pages-get-analytics.ts +18 -9
- package/src/funcs/company-pages-get-permissions.ts +18 -12
- package/src/funcs/company-pages-list.ts +15 -5
- package/src/funcs/company-pages-posts.ts +224 -0
- package/src/funcs/contacts-add-activities.ts +230 -0
- package/src/funcs/contacts-add-to-campaign.ts +233 -0
- package/src/funcs/contacts-bulk-update.ts +224 -0
- package/src/funcs/contacts-campaign-status-transition.ts +233 -0
- package/src/funcs/contacts-create-campaign.ts +224 -0
- package/src/funcs/contacts-delete-agent-state.ts +230 -0
- package/src/funcs/contacts-delete-campaign.ts +229 -0
- package/src/funcs/contacts-get-agent-state.ts +229 -0
- package/src/funcs/contacts-get-by-url.ts +228 -0
- package/src/funcs/contacts-get-campaign.ts +229 -0
- package/src/funcs/contacts-get.ts +229 -0
- package/src/funcs/contacts-list-activities.ts +236 -0
- package/src/funcs/contacts-list-agent-states.ts +232 -0
- package/src/funcs/contacts-list-by-campaign.ts +242 -0
- package/src/funcs/contacts-list-campaigns.ts +235 -0
- package/src/funcs/contacts-patch-agent-state.ts +230 -0
- package/src/funcs/contacts-search.ts +244 -0
- package/src/funcs/contacts-set-agent-state.ts +230 -0
- package/src/funcs/contacts-stats.ts +232 -0
- package/src/funcs/contacts-update-campaign.ts +230 -0
- package/src/funcs/contacts-update.ts +230 -0
- package/src/funcs/contacts-upsert.ts +74 -11
- package/src/funcs/context-delete.ts +229 -0
- package/src/funcs/context-list-entries.ts +230 -0
- package/src/funcs/context-set.ts +224 -0
- package/src/funcs/cron-list-schedules.ts +205 -0
- package/src/funcs/cron-update-schedule.ts +230 -0
- package/src/funcs/profile-get-credits.ts +16 -6
- package/src/funcs/profile-get-follower-analytics.ts +17 -7
- package/src/funcs/profile-get-followers.ts +18 -11
- package/src/funcs/profile-get-limits.ts +16 -6
- package/src/funcs/profile-get-post-analytics.ts +19 -9
- package/src/funcs/profile-get-search-appearances.ts +17 -7
- package/src/funcs/profile-get.ts +16 -6
- package/src/funcs/profile-list-accounts.ts +16 -6
- package/src/funcs/profile-list-connections.ts +235 -0
- package/src/funcs/profile-posts.ts +227 -0
- package/src/funcs/profile-refresh.ts +15 -5
- package/src/funcs/profile-switch-account.ts +224 -0
- package/src/funcs/profile-update-account.ts +18 -9
- package/src/funcs/profile-views.ts +209 -0
- package/src/funcs/sales-nav-companies.ts +240 -0
- package/src/funcs/sales-nav-people.ts +260 -0
- package/src/funcs/sales-nav-search.ts +245 -0
- package/src/funcs/scheduled-messages-batch-schedule.ts +224 -0
- package/src/funcs/scheduled-messages-cancel.ts +224 -0
- package/src/funcs/scheduled-messages-create.ts +224 -0
- package/src/funcs/scheduled-messages-list.ts +233 -0
- package/src/funcs/scrapers-bulk-visit-batch-status.ts +230 -0
- package/src/funcs/scrapers-bulk-visit-profile.ts +225 -0
- package/src/funcs/scrapers-collect-comment-replies.ts +225 -0
- package/src/funcs/scrapers-collect-comments.ts +224 -0
- package/src/funcs/scrapers-collect-hashtag-posts.ts +225 -0
- package/src/funcs/scrapers-collect-likes.ts +224 -0
- package/src/funcs/scrapers-collect-posts.ts +19 -10
- package/src/funcs/scrapers-get-feed.ts +227 -0
- package/src/funcs/scrapers-list-saved-posts.ts +224 -0
- package/src/funcs/scrapers-visit-company.ts +224 -0
- package/src/funcs/scrapers-visit-profile.ts +21 -10
- package/src/funcs/search-by-url.ts +275 -0
- package/src/funcs/search-companies.ts +281 -0
- package/src/funcs/search-jobs.ts +302 -0
- package/src/funcs/search-people.ts +289 -0
- package/src/funcs/search-posts.ts +277 -0
- package/src/funcs/search-resolve-parameters.ts +263 -0
- package/src/funcs/search-search.ts +261 -0
- package/src/lib/config.ts +8 -4
- package/src/lib/files.ts +22 -0
- package/src/lib/sdks.ts +7 -5
- package/src/lib/url.ts +16 -14
- package/src/models/errors/collect-likes.ts +600 -0
- package/src/models/errors/index.ts +1 -1
- package/src/models/operations/index.ts +4 -4
- package/src/models/operations/search-companies-response.ts +4888 -0
- package/src/models/operations/search-contacts-contact.ts +5287 -0
- package/src/models/operations/update-account-response.ts +5354 -0
- package/src/models/operations/update-schedule-response.ts +4456 -0
- package/src/sdk/actions.ts +352 -10
- package/src/sdk/campaigns.ts +9 -9
- package/src/sdk/chat.ts +227 -16
- package/src/sdk/company-pages.ts +10 -10
- package/src/sdk/contacts.ts +381 -3
- package/src/sdk/context.ts +63 -0
- package/src/sdk/cron.ts +43 -0
- package/src/sdk/profile.ts +62 -26
- package/src/sdk/sales-nav.ts +75 -3
- package/src/sdk/scheduled-messages.ts +81 -0
- package/src/sdk/scrapers.ts +170 -6
- package/src/sdk/sdk.ts +22 -54
- package/src/sdk/search.ts +508 -0
- package/esm/funcs/campaigns-get-stats.d.ts +0 -18
- package/esm/funcs/campaigns-get-stats.d.ts.map +0 -1
- package/esm/funcs/campaigns-get-stats.js +0 -101
- package/esm/funcs/campaigns-get-stats.js.map +0 -1
- package/esm/funcs/company-pages-get-posts.d.ts +0 -18
- package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
- package/esm/funcs/company-pages-get-posts.js +0 -95
- package/esm/funcs/company-pages-get-posts.js.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.d.ts +0 -18
- package/esm/funcs/linked-in-actions-create-comment.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.js +0 -95
- 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 +0 -95
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.d.ts +0 -18
- package/esm/funcs/linked-in-actions-like-comment.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.js +0 -95
- package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts +0 -18
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.js +0 -95
- package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts +0 -18
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.js +0 -95
- package/esm/funcs/linked-in-actions-save-post.js.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 +0 -95
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
- package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
- package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-list-starred.js +0 -97
- package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts +0 -18
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.js +0 -95
- package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
- package/esm/funcs/linked-in-chat-star.d.ts +0 -18
- package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-star.js +0 -95
- package/esm/funcs/linked-in-chat-star.js.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.d.ts +0 -18
- package/esm/funcs/linked-in-chat-unarchive.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.js +0 -95
- package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts +0 -18
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.js +0 -95
- package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +0 -18
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +0 -95
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts +0 -18
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.js +0 -97
- package/esm/funcs/linked-in-scrapers-get-feed.js.map +0 -1
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts +0 -47
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-resolve-parameters.js +0 -124
- package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts +0 -75
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.js +0 -152
- package/esm/funcs/linked-in-search-search-companies.js.map +0 -1
- package/esm/funcs/linked-in-search-search.d.ts +0 -55
- package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search.js +0 -132
- package/esm/funcs/linked-in-search-search.js.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts +0 -18
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js +0 -95
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts +0 -18
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.js +0 -95
- package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-edit-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-post.js +0 -95
- package/esm/funcs/linkedin-actions-edit-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts +0 -18
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.js +0 -95
- package/esm/funcs/linkedin-actions-follow-profile.js.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.js +0 -95
- package/esm/funcs/linkedin-actions-like-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts +0 -18
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.js +0 -97
- package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +0 -18
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.js +0 -95
- package/esm/funcs/linkedin-actions-reply-to-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.js +0 -95
- package/esm/funcs/linkedin-actions-repost-post.js.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 +0 -95
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js +0 -95
- package/esm/funcs/linkedin-actions-unlike-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.js +0 -95
- package/esm/funcs/linkedin-actions-unlike-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.js +0 -95
- package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +0 -18
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js +0 -95
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
- package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
- package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-get-messages.js +0 -99
- package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts +0 -18
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-get-unread-count.js +0 -85
- package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-archived.d.ts +0 -18
- package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-archived.js +0 -97
- package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +0 -18
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js +0 -95
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts +0 -18
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js +0 -85
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
- package/esm/funcs/linkedin-chat-react.d.ts +0 -18
- package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-react.js +0 -95
- package/esm/funcs/linkedin-chat-react.js.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 +0 -95
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js +0 -95
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +0 -95
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js +0 -95
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js +0 -95
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js +0 -95
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts +0 -69
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.js +0 -146
- package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts +0 -96
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.js +0 -173
- package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
- package/esm/funcs/linkedin-search-search-people.d.ts +0 -83
- package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-people.js +0 -160
- package/esm/funcs/linkedin-search-search-people.js.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts +0 -71
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.js +0 -148
- 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-posts.js +0 -97
- package/esm/funcs/profile-get-posts.js.map +0 -1
- package/esm/funcs/profile-get-profile-views.d.ts +0 -18
- package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.js +0 -85
- package/esm/funcs/profile-get-profile-views.js.map +0 -1
- package/esm/funcs/sales-nav-search-people.d.ts +0 -53
- package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
- package/esm/funcs/sales-nav-search-people.js +0 -130
- package/esm/funcs/sales-nav-search-people.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts +0 -33
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.js +0 -110
- package/esm/funcs/sales-navigator-search-search-companies.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search.d.ts +0 -39
- package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search.js +0 -116
- package/esm/funcs/sales-navigator-search-search.js.map +0 -1
- package/esm/models/errors/collect-linked-in-likes.d.ts +0 -211
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +0 -1
- package/esm/models/errors/collect-linked-in-likes.js +0 -306
- package/esm/models/errors/collect-linked-in-likes.js.map +0 -1
- package/esm/models/operations/get-campaign-stats-response.d.ts +0 -1550
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
- package/esm/models/operations/get-campaign-stats-response.js +0 -961
- package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
- package/esm/models/operations/scraping-weekly.d.ts +0 -2946
- package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
- package/esm/models/operations/scraping-weekly.js +0 -1594
- package/esm/models/operations/scraping-weekly.js.map +0 -1
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts +0 -2412
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
- package/esm/models/operations/search-linked-in-by-url-type-post.js +0 -1577
- package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
- package/esm/models/operations/upsert-contacts.d.ts +0 -182
- package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
- package/esm/models/operations/upsert-contacts.js +0 -116
- package/esm/models/operations/upsert-contacts.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 -40
- package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-chat-2.js +0 -58
- 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 -149
- package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
- package/esm/sdk/linked-in-search-1.js +0 -161
- 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 -58
- package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat-1.js +0 -82
- 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/examples/linkedinScrapersCollectLikes.example.ts +0 -30
- package/src/funcs/campaigns-get-stats.ts +0 -222
- package/src/funcs/company-pages-get-posts.ts +0 -215
- package/src/funcs/linked-in-actions-create-comment.ts +0 -215
- package/src/funcs/linked-in-actions-decline-invitation.ts +0 -218
- package/src/funcs/linked-in-actions-like-comment.ts +0 -215
- package/src/funcs/linked-in-actions-publish-post.ts +0 -215
- package/src/funcs/linked-in-actions-save-post.ts +0 -215
- package/src/funcs/linked-in-actions-unfollow-profile.ts +0 -215
- package/src/funcs/linked-in-chat-list-starred.ts +0 -220
- package/src/funcs/linked-in-chat-mark-seen.ts +0 -215
- package/src/funcs/linked-in-chat-star.ts +0 -215
- package/src/funcs/linked-in-chat-unarchive.ts +0 -215
- package/src/funcs/linked-in-chat-unstar.ts +0 -215
- package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +0 -218
- package/src/funcs/linked-in-scrapers-get-feed.ts +0 -220
- package/src/funcs/linked-in-search-resolve-parameters.ts +0 -250
- package/src/funcs/linked-in-search-search-companies.ts +0 -272
- package/src/funcs/linked-in-search-search.ts +0 -251
- package/src/funcs/linkedin-actions-accept-invitation.ts +0 -215
- package/src/funcs/linkedin-actions-edit-comment.ts +0 -215
- package/src/funcs/linkedin-actions-edit-post.ts +0 -215
- package/src/funcs/linkedin-actions-follow-profile.ts +0 -215
- package/src/funcs/linkedin-actions-like-post.ts +0 -215
- package/src/funcs/linkedin-actions-list-invitations.ts +0 -220
- package/src/funcs/linkedin-actions-reply-to-comment.ts +0 -215
- package/src/funcs/linkedin-actions-repost-post.ts +0 -215
- package/src/funcs/linkedin-actions-unfollow-company.ts +0 -215
- package/src/funcs/linkedin-actions-unlike-comment.ts +0 -215
- package/src/funcs/linkedin-actions-unlike-post.ts +0 -215
- package/src/funcs/linkedin-actions-unsave-post.ts +0 -215
- package/src/funcs/linkedin-actions-withdraw-invitation.ts +0 -218
- package/src/funcs/linkedin-chat-get-messages.ts +0 -219
- package/src/funcs/linkedin-chat-get-unread-count.ts +0 -199
- package/src/funcs/linkedin-chat-list-archived.ts +0 -220
- package/src/funcs/linkedin-chat-list-inbox-conversations.ts +0 -215
- package/src/funcs/linkedin-chat-mark-all-read.ts +0 -199
- package/src/funcs/linkedin-chat-react.ts +0 -214
- package/src/funcs/linkedin-chat-send-typing-indicator.ts +0 -215
- package/src/funcs/linkedin-scrapers-collect-comments.ts +0 -215
- package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +0 -218
- package/src/funcs/linkedin-scrapers-collect-likes.ts +0 -215
- package/src/funcs/linkedin-scrapers-list-saved-posts.ts +0 -218
- package/src/funcs/linkedin-scrapers-visit-company.ts +0 -215
- package/src/funcs/linkedin-search-search-by-url.ts +0 -266
- package/src/funcs/linkedin-search-search-jobs.ts +0 -293
- package/src/funcs/linkedin-search-search-people.ts +0 -280
- package/src/funcs/linkedin-search-search-posts.ts +0 -268
- package/src/funcs/profile-get-posts.ts +0 -220
- package/src/funcs/profile-get-profile-views.ts +0 -199
- package/src/funcs/sales-nav-search-people.ts +0 -250
- package/src/funcs/sales-navigator-search-search-companies.ts +0 -230
- package/src/funcs/sales-navigator-search-search.ts +0 -235
- package/src/models/errors/collect-linked-in-likes.ts +0 -494
- package/src/models/operations/get-campaign-stats-response.ts +0 -3367
- package/src/models/operations/scraping-weekly.ts +0 -5707
- package/src/models/operations/search-linked-in-by-url-type-post.ts +0 -4897
- package/src/models/operations/upsert-contacts.ts +0 -305
- package/src/sdk/linked-in-actions-2.ts +0 -117
- package/src/sdk/linked-in-chat-2.ts +0 -99
- package/src/sdk/linked-in-scrapers-2.ts +0 -45
- package/src/sdk/linked-in-search-1.ts +0 -186
- package/src/sdk/linkedin-actions-1.ts +0 -243
- package/src/sdk/linkedin-chat-1.ts +0 -139
- 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
|
@@ -0,0 +1,2800 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import * as discriminatedUnionTypes from "../../types/discriminated-union.js";
|
|
3
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
4
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
5
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
6
|
+
/**
|
|
7
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SearchJobsDatePosted: {
|
|
10
|
+
readonly Past24h: "past-24h";
|
|
11
|
+
readonly PastWeek: "past-week";
|
|
12
|
+
readonly PastMonth: "past-month";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
16
|
+
*/
|
|
17
|
+
export type SearchJobsDatePosted = ClosedEnum<typeof SearchJobsDatePosted>;
|
|
18
|
+
/**
|
|
19
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
20
|
+
*/
|
|
21
|
+
export declare const SearchJobsSortBy: {
|
|
22
|
+
readonly Relevance: "relevance";
|
|
23
|
+
readonly Date: "date";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
27
|
+
*/
|
|
28
|
+
export type SearchJobsSortBy = ClosedEnum<typeof SearchJobsSortBy>;
|
|
29
|
+
export declare const SearchJobsJobType: {
|
|
30
|
+
readonly F: "F";
|
|
31
|
+
readonly P: "P";
|
|
32
|
+
readonly C: "C";
|
|
33
|
+
readonly T: "T";
|
|
34
|
+
readonly I: "I";
|
|
35
|
+
readonly V: "V";
|
|
36
|
+
readonly O: "O";
|
|
37
|
+
};
|
|
38
|
+
export type SearchJobsJobType = ClosedEnum<typeof SearchJobsJobType>;
|
|
39
|
+
export declare const SearchJobsExperienceLevel: {
|
|
40
|
+
readonly One: "1";
|
|
41
|
+
readonly Two: "2";
|
|
42
|
+
readonly Three: "3";
|
|
43
|
+
readonly Four: "4";
|
|
44
|
+
readonly Five: "5";
|
|
45
|
+
readonly Six: "6";
|
|
46
|
+
};
|
|
47
|
+
export type SearchJobsExperienceLevel = ClosedEnum<typeof SearchJobsExperienceLevel>;
|
|
48
|
+
export declare const SearchJobsWorkplaceType: {
|
|
49
|
+
readonly One: "1";
|
|
50
|
+
readonly Two: "2";
|
|
51
|
+
readonly Three: "3";
|
|
52
|
+
};
|
|
53
|
+
export type SearchJobsWorkplaceType = ClosedEnum<typeof SearchJobsWorkplaceType>;
|
|
54
|
+
export type SearchJobsRequest = {
|
|
55
|
+
/**
|
|
56
|
+
* Search keywords. Matches against job title, company name, and description. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "frontend engineer"), AND to require both terms, OR for alternatives (e.g. React OR Vue OR Angular), NOT to exclude (e.g. engineer NOT intern), and parentheses to group (e.g. (React OR Vue) AND "senior engineer"). Operators must be UPPERCASE.
|
|
57
|
+
*/
|
|
58
|
+
keywords?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
61
|
+
*/
|
|
62
|
+
url?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Filter by job location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
|
|
65
|
+
*/
|
|
66
|
+
location?: Array<string> | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
69
|
+
*/
|
|
70
|
+
datePosted?: SearchJobsDatePosted | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
73
|
+
*/
|
|
74
|
+
sortBy?: SearchJobsSortBy | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Filter by employment type. Multiple values accepted (OR logic). Codes: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other.
|
|
77
|
+
*/
|
|
78
|
+
jobType?: Array<SearchJobsJobType> | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Filter by seniority. Multiple values accepted (OR logic). Codes: 1=Internship, 2=Entry level, 3=Associate, 4=Mid-Senior level, 5=Director, 6=Executive.
|
|
81
|
+
*/
|
|
82
|
+
experienceLevel?: Array<SearchJobsExperienceLevel> | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Filter by workplace type. Multiple values accepted (OR logic). Codes: 1=On-site, 2=Remote, 3=Hybrid.
|
|
85
|
+
*/
|
|
86
|
+
workplaceType?: Array<SearchJobsWorkplaceType> | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
89
|
+
*/
|
|
90
|
+
start?: number | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Results per page (default 10, max 50).
|
|
93
|
+
*/
|
|
94
|
+
count?: number | undefined;
|
|
95
|
+
};
|
|
96
|
+
export declare const SearchJobsCategory: {
|
|
97
|
+
readonly Jobs: "jobs";
|
|
98
|
+
};
|
|
99
|
+
export type SearchJobsCategory = ClosedEnum<typeof SearchJobsCategory>;
|
|
100
|
+
export declare const SearchJobsType: {
|
|
101
|
+
readonly Job: "JOB";
|
|
102
|
+
};
|
|
103
|
+
export type SearchJobsType = ClosedEnum<typeof SearchJobsType>;
|
|
104
|
+
export type SearchJobsItem = {
|
|
105
|
+
type: SearchJobsType;
|
|
106
|
+
title: string;
|
|
107
|
+
company: string | null;
|
|
108
|
+
companyUrl: string | null;
|
|
109
|
+
companyLogo: string | null;
|
|
110
|
+
location: string | null;
|
|
111
|
+
workplaceType: string | null;
|
|
112
|
+
postedAt: string | null;
|
|
113
|
+
jobUrl: string;
|
|
114
|
+
listingId: string;
|
|
115
|
+
};
|
|
116
|
+
export type SearchJobsPaging = {
|
|
117
|
+
start: number;
|
|
118
|
+
count: number;
|
|
119
|
+
total: number;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* List of LinkedIn job listings matching the search criteria
|
|
123
|
+
*/
|
|
124
|
+
export type SearchJobsResponse = {
|
|
125
|
+
success: true;
|
|
126
|
+
category: SearchJobsCategory;
|
|
127
|
+
items: Array<SearchJobsItem>;
|
|
128
|
+
paging: SearchJobsPaging;
|
|
129
|
+
hasMore: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
132
|
+
*/
|
|
133
|
+
creditsUsed: number;
|
|
134
|
+
/**
|
|
135
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
136
|
+
*/
|
|
137
|
+
retryAfter: number;
|
|
138
|
+
};
|
|
139
|
+
export type SearchByUrlRequest = {
|
|
140
|
+
/**
|
|
141
|
+
* A LinkedIn search URL. The endpoint automatically extracts the category, keywords, and all filters from the URL. Example: 'https://www.linkedin.com/search/results/people/?keywords=engineer&network=%5B%22S%22%5D'
|
|
142
|
+
*/
|
|
143
|
+
url: string;
|
|
144
|
+
/**
|
|
145
|
+
* Override pagination offset. If not provided, uses the page from the URL (or defaults to 0).
|
|
146
|
+
*/
|
|
147
|
+
start?: number | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* Override results per page (default 10, max 50).
|
|
150
|
+
*/
|
|
151
|
+
count?: number | undefined;
|
|
152
|
+
};
|
|
153
|
+
export declare const SearchByUrlCategory: {
|
|
154
|
+
readonly Posts: "posts";
|
|
155
|
+
readonly People: "people";
|
|
156
|
+
readonly Companies: "companies";
|
|
157
|
+
readonly Jobs: "jobs";
|
|
158
|
+
};
|
|
159
|
+
export type SearchByUrlCategory = OpenEnum<typeof SearchByUrlCategory>;
|
|
160
|
+
export declare const SearchByUrlTypeJob: {
|
|
161
|
+
readonly Job: "JOB";
|
|
162
|
+
};
|
|
163
|
+
export type SearchByUrlTypeJob = ClosedEnum<typeof SearchByUrlTypeJob>;
|
|
164
|
+
export type SearchByUrlItemsJob = {
|
|
165
|
+
type: SearchByUrlTypeJob;
|
|
166
|
+
title: string;
|
|
167
|
+
company: string | null;
|
|
168
|
+
companyUrl: string | null;
|
|
169
|
+
companyLogo: string | null;
|
|
170
|
+
location: string | null;
|
|
171
|
+
workplaceType: string | null;
|
|
172
|
+
postedAt: string | null;
|
|
173
|
+
jobUrl: string;
|
|
174
|
+
listingId: string;
|
|
175
|
+
};
|
|
176
|
+
export declare const SearchByUrlTypeCompany: {
|
|
177
|
+
readonly Company: "COMPANY";
|
|
178
|
+
};
|
|
179
|
+
export type SearchByUrlTypeCompany = ClosedEnum<typeof SearchByUrlTypeCompany>;
|
|
180
|
+
export type SearchByUrlItemsCompany = {
|
|
181
|
+
type: SearchByUrlTypeCompany;
|
|
182
|
+
name: string;
|
|
183
|
+
profileUrl: string | null;
|
|
184
|
+
summary: string | null;
|
|
185
|
+
industry: string | null;
|
|
186
|
+
location: string | null;
|
|
187
|
+
followersCount: number | null;
|
|
188
|
+
};
|
|
189
|
+
export declare const SearchByUrlTypePeople: {
|
|
190
|
+
readonly People: "PEOPLE";
|
|
191
|
+
};
|
|
192
|
+
export type SearchByUrlTypePeople = ClosedEnum<typeof SearchByUrlTypePeople>;
|
|
193
|
+
export declare const SearchByUrlNetworkDistance: {
|
|
194
|
+
readonly Distance1: "DISTANCE_1";
|
|
195
|
+
readonly Distance2: "DISTANCE_2";
|
|
196
|
+
readonly Distance3: "DISTANCE_3";
|
|
197
|
+
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
198
|
+
};
|
|
199
|
+
export type SearchByUrlNetworkDistance = OpenEnum<typeof SearchByUrlNetworkDistance>;
|
|
200
|
+
export type SearchByUrlCurrentPosition = {
|
|
201
|
+
company: string | null;
|
|
202
|
+
role: string | null;
|
|
203
|
+
};
|
|
204
|
+
export type SearchByUrlItemsPeople = {
|
|
205
|
+
type: SearchByUrlTypePeople;
|
|
206
|
+
name: string;
|
|
207
|
+
profileUrl: string | null;
|
|
208
|
+
headline: string | null;
|
|
209
|
+
location: string | null;
|
|
210
|
+
profilePicture: string | null;
|
|
211
|
+
networkDistance: SearchByUrlNetworkDistance | null;
|
|
212
|
+
currentPositions: Array<SearchByUrlCurrentPosition>;
|
|
213
|
+
/**
|
|
214
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
|
|
215
|
+
*/
|
|
216
|
+
profileUrn: string | null;
|
|
217
|
+
/**
|
|
218
|
+
* Vanity slug from profile URL (e.g. john-doe) when not URN-based
|
|
219
|
+
*/
|
|
220
|
+
publicIdentifier: string | null;
|
|
221
|
+
};
|
|
222
|
+
export declare const SearchByUrlTypePost: {
|
|
223
|
+
readonly Post: "POST";
|
|
224
|
+
};
|
|
225
|
+
export type SearchByUrlTypePost = ClosedEnum<typeof SearchByUrlTypePost>;
|
|
226
|
+
export type SearchByUrlAuthor = {
|
|
227
|
+
name: string;
|
|
228
|
+
profileUrl: string | null;
|
|
229
|
+
headline: string | null;
|
|
230
|
+
profilePicture: string | null;
|
|
231
|
+
isCompany: boolean;
|
|
232
|
+
/**
|
|
233
|
+
* Vanity slug when not URN-based
|
|
234
|
+
*/
|
|
235
|
+
publicIdentifier: string | null;
|
|
236
|
+
/**
|
|
237
|
+
* LinkedIn profile URN when available
|
|
238
|
+
*/
|
|
239
|
+
profileUrn: string | null;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Type of media attached to the post.
|
|
243
|
+
*/
|
|
244
|
+
export declare const SearchByUrlMediaType: {
|
|
245
|
+
readonly Image: "image";
|
|
246
|
+
readonly Video: "video";
|
|
247
|
+
readonly Document: "document";
|
|
248
|
+
readonly Article: "article";
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Type of media attached to the post.
|
|
252
|
+
*/
|
|
253
|
+
export type SearchByUrlMediaType = OpenEnum<typeof SearchByUrlMediaType>;
|
|
254
|
+
/**
|
|
255
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
256
|
+
*/
|
|
257
|
+
export type SearchByUrlMedia = {
|
|
258
|
+
/**
|
|
259
|
+
* Type of media attached to the post.
|
|
260
|
+
*/
|
|
261
|
+
type: SearchByUrlMediaType;
|
|
262
|
+
/**
|
|
263
|
+
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
264
|
+
*/
|
|
265
|
+
urls: Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
* Title of the article or document, when available.
|
|
268
|
+
*/
|
|
269
|
+
title?: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* Thumbnail URL for videos, articles, or document covers.
|
|
272
|
+
*/
|
|
273
|
+
thumbnailUrl?: string | undefined;
|
|
274
|
+
};
|
|
275
|
+
export type SearchByUrlItemsPost = {
|
|
276
|
+
type: SearchByUrlTypePost;
|
|
277
|
+
postUrl: string;
|
|
278
|
+
text: string;
|
|
279
|
+
date: number;
|
|
280
|
+
likesCount: number;
|
|
281
|
+
commentsCount: number;
|
|
282
|
+
sharesCount: number;
|
|
283
|
+
postUrn: string;
|
|
284
|
+
postId: string;
|
|
285
|
+
author: SearchByUrlAuthor;
|
|
286
|
+
isRepost: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
289
|
+
*/
|
|
290
|
+
media?: SearchByUrlMedia | undefined;
|
|
291
|
+
};
|
|
292
|
+
export type SearchByUrlItemsUnion = Array<SearchByUrlItemsPost> | Array<SearchByUrlItemsPeople> | Array<SearchByUrlItemsCompany> | Array<SearchByUrlItemsJob>;
|
|
293
|
+
export type SearchByUrlPaging = {
|
|
294
|
+
start: number;
|
|
295
|
+
count: number;
|
|
296
|
+
total: number;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Search results parsed from the LinkedIn URL
|
|
300
|
+
*/
|
|
301
|
+
export type SearchByUrlResponse = {
|
|
302
|
+
success: true;
|
|
303
|
+
category: SearchByUrlCategory;
|
|
304
|
+
items: Array<SearchByUrlItemsPost> | Array<SearchByUrlItemsPeople> | Array<SearchByUrlItemsCompany> | Array<SearchByUrlItemsJob>;
|
|
305
|
+
paging: SearchByUrlPaging;
|
|
306
|
+
hasMore: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
309
|
+
*/
|
|
310
|
+
creditsUsed: number;
|
|
311
|
+
/**
|
|
312
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
313
|
+
*/
|
|
314
|
+
retryAfter: number;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Parameter type to resolve
|
|
318
|
+
*/
|
|
319
|
+
export declare const ResolveParametersType: {
|
|
320
|
+
readonly Geo: "GEO";
|
|
321
|
+
readonly Company: "COMPANY";
|
|
322
|
+
readonly Industry: "INDUSTRY";
|
|
323
|
+
readonly School: "SCHOOL";
|
|
324
|
+
readonly Connections: "CONNECTIONS";
|
|
325
|
+
readonly People: "PEOPLE";
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* Parameter type to resolve
|
|
329
|
+
*/
|
|
330
|
+
export type ResolveParametersType = ClosedEnum<typeof ResolveParametersType>;
|
|
331
|
+
export type ResolveParametersRequest = {
|
|
332
|
+
/**
|
|
333
|
+
* Parameter type to resolve
|
|
334
|
+
*/
|
|
335
|
+
type: ResolveParametersType;
|
|
336
|
+
/**
|
|
337
|
+
* Text to resolve into LinkedIn IDs
|
|
338
|
+
*/
|
|
339
|
+
keywords: string;
|
|
340
|
+
/**
|
|
341
|
+
* Max results (default 10, max 50)
|
|
342
|
+
*/
|
|
343
|
+
limit?: number | undefined;
|
|
344
|
+
};
|
|
345
|
+
export type ResolveParametersItem = {
|
|
346
|
+
id: string;
|
|
347
|
+
title: string;
|
|
348
|
+
type: string;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Resolved search parameter items
|
|
352
|
+
*/
|
|
353
|
+
export type ResolveParametersResponse = {
|
|
354
|
+
success: true;
|
|
355
|
+
items: Array<ResolveParametersItem>;
|
|
356
|
+
count: number;
|
|
357
|
+
/**
|
|
358
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
359
|
+
*/
|
|
360
|
+
creditsUsed: number;
|
|
361
|
+
/**
|
|
362
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
363
|
+
*/
|
|
364
|
+
retryAfter: number;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
368
|
+
*/
|
|
369
|
+
export declare const SearchSalesNavCategoryRequest: {
|
|
370
|
+
readonly People: "people";
|
|
371
|
+
readonly Companies: "companies";
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
375
|
+
*/
|
|
376
|
+
export type SearchSalesNavCategoryRequest = ClosedEnum<typeof SearchSalesNavCategoryRequest>;
|
|
377
|
+
/**
|
|
378
|
+
* Company filter with include/exclude (people only). Use LinkedIn company IDs. Resolve via /search/linkedin/parameters with type='COMPANY'.
|
|
379
|
+
*/
|
|
380
|
+
export type SearchSalesNavCompany = {
|
|
381
|
+
/**
|
|
382
|
+
* IDs to include
|
|
383
|
+
*/
|
|
384
|
+
include?: Array<string> | undefined;
|
|
385
|
+
/**
|
|
386
|
+
* IDs to exclude
|
|
387
|
+
*/
|
|
388
|
+
exclude?: Array<string> | undefined;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
392
|
+
*/
|
|
393
|
+
export type SearchSalesNavIndustry = {
|
|
394
|
+
/**
|
|
395
|
+
* IDs to include
|
|
396
|
+
*/
|
|
397
|
+
include?: Array<string> | undefined;
|
|
398
|
+
/**
|
|
399
|
+
* IDs to exclude
|
|
400
|
+
*/
|
|
401
|
+
exclude?: Array<string> | undefined;
|
|
402
|
+
};
|
|
403
|
+
export type SearchSalesNavTenure = {
|
|
404
|
+
/**
|
|
405
|
+
* Minimum years
|
|
406
|
+
*/
|
|
407
|
+
min?: number | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* Maximum years
|
|
410
|
+
*/
|
|
411
|
+
max?: number | undefined;
|
|
412
|
+
};
|
|
413
|
+
export type SearchSalesNavRequest = {
|
|
414
|
+
/**
|
|
415
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
416
|
+
*/
|
|
417
|
+
category?: SearchSalesNavCategoryRequest | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* Sales Navigator search URL — paste directly from your browser. Category and filters are extracted automatically. Explicit params override URL-derived values. Example: https://www.linkedin.com/sales/search/people?query=...
|
|
420
|
+
*/
|
|
421
|
+
url?: string | undefined;
|
|
422
|
+
/**
|
|
423
|
+
* Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases, AND/OR/NOT operators (UPPERCASE), and parentheses for grouping.
|
|
424
|
+
*/
|
|
425
|
+
keywords?: string | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* Job title keywords (people only). Supports Boolean OR: 'CEO OR CTO OR Founder'.
|
|
428
|
+
*/
|
|
429
|
+
title?: string | undefined;
|
|
430
|
+
/**
|
|
431
|
+
* Company filter with include/exclude (people only). Use LinkedIn company IDs. Resolve via /search/linkedin/parameters with type='COMPANY'.
|
|
432
|
+
*/
|
|
433
|
+
company?: SearchSalesNavCompany | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
436
|
+
*/
|
|
437
|
+
industry?: SearchSalesNavIndustry | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* Geography IDs (people & companies). Resolve via /search/linkedin/parameters with type='GEO'.
|
|
440
|
+
*/
|
|
441
|
+
location?: Array<string> | undefined;
|
|
442
|
+
/**
|
|
443
|
+
* Seniority levels (people only). Values: '1'=Intern, '2'=Entry, '3'=Associate, '4'=Mid-Senior, '5'=Director, '6'=VP, '7'=CXO, '8'=Partner, '9'=Owner, '10'=Training.
|
|
444
|
+
*/
|
|
445
|
+
seniority?: Array<string> | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* Job function IDs (people only). Resolve via /search/linkedin/parameters.
|
|
448
|
+
*/
|
|
449
|
+
function?: Array<string> | undefined;
|
|
450
|
+
/**
|
|
451
|
+
* Years at current company (people only). Array of ranges, e.g. [{min:3}, {max:10}].
|
|
452
|
+
*/
|
|
453
|
+
tenure?: Array<SearchSalesNavTenure> | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* Profile language codes e.g. ['en','fr'] (people only).
|
|
456
|
+
*/
|
|
457
|
+
profileLanguage?: Array<string> | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* Network distance: '1'=1st, '2'=2nd, '3'=3rd+ (people only).
|
|
460
|
+
*/
|
|
461
|
+
connectionDegree?: Array<string> | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* School IDs (people only). Resolve via /search/linkedin/parameters.
|
|
464
|
+
*/
|
|
465
|
+
school?: Array<string> | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* Overall years of experience ranges (people only). Values: 'lessThanOne', 'oneToTwo', 'threeToFive', 'sixToTen', 'moreThanTen'.
|
|
468
|
+
*/
|
|
469
|
+
yearsOfExperience?: Array<string> | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* Employee count ranges (companies only). Values: 'A'=1-10, 'B'=11-50, 'C'=51-200, 'D'=201-500, 'E'=501-1K, 'F'=1K-5K, 'G'=5K-10K, 'H'=10K+.
|
|
472
|
+
*/
|
|
473
|
+
companyHeadcount?: Array<string> | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* Company types (companies only). Values: 'C'=Public, 'D'=Educational, 'N'=Non-profit, 'O'=Privately Held, 'P'=Partnership, 'S'=Self-Employed, 'G'=Government.
|
|
476
|
+
*/
|
|
477
|
+
companyType?: Array<string> | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* Annual revenue ranges (companies only).
|
|
480
|
+
*/
|
|
481
|
+
annualRevenue?: Array<string> | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* Pagination offset (default 0).
|
|
484
|
+
*/
|
|
485
|
+
start?: number | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* Results per page (default 25, max 25).
|
|
488
|
+
*/
|
|
489
|
+
count?: number | undefined;
|
|
490
|
+
};
|
|
491
|
+
export declare const SearchSalesNavTypeCompany: {
|
|
492
|
+
readonly Company: "COMPANY";
|
|
493
|
+
};
|
|
494
|
+
export type SearchSalesNavTypeCompany = ClosedEnum<typeof SearchSalesNavTypeCompany>;
|
|
495
|
+
export type SearchSalesNavItemCompany = {
|
|
496
|
+
type: SearchSalesNavTypeCompany;
|
|
497
|
+
/**
|
|
498
|
+
* Sales Navigator company ID
|
|
499
|
+
*/
|
|
500
|
+
id: string;
|
|
501
|
+
name: string;
|
|
502
|
+
/**
|
|
503
|
+
* Sales Navigator company URL
|
|
504
|
+
*/
|
|
505
|
+
profileUrl: string | null;
|
|
506
|
+
summary: string | null;
|
|
507
|
+
industry: string | null;
|
|
508
|
+
location: string | null;
|
|
509
|
+
/**
|
|
510
|
+
* Employee count or range
|
|
511
|
+
*/
|
|
512
|
+
headcount: string | null;
|
|
513
|
+
};
|
|
514
|
+
export type SearchSalesNavPaging2 = {
|
|
515
|
+
start: number;
|
|
516
|
+
count: number;
|
|
517
|
+
total: number;
|
|
518
|
+
};
|
|
519
|
+
export type Companies = {
|
|
520
|
+
success: true;
|
|
521
|
+
category: "companies";
|
|
522
|
+
items: Array<SearchSalesNavItemCompany>;
|
|
523
|
+
paging: SearchSalesNavPaging2;
|
|
524
|
+
hasMore: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
527
|
+
*/
|
|
528
|
+
creditsUsed: number;
|
|
529
|
+
/**
|
|
530
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
531
|
+
*/
|
|
532
|
+
retryAfter: number;
|
|
533
|
+
};
|
|
534
|
+
export declare const SearchSalesNavTypePeople: {
|
|
535
|
+
readonly People: "PEOPLE";
|
|
536
|
+
};
|
|
537
|
+
export type SearchSalesNavTypePeople = ClosedEnum<typeof SearchSalesNavTypePeople>;
|
|
538
|
+
export declare const SearchSalesNavNetworkDistance: {
|
|
539
|
+
readonly Distance1: "DISTANCE_1";
|
|
540
|
+
readonly Distance2: "DISTANCE_2";
|
|
541
|
+
readonly Distance3: "DISTANCE_3";
|
|
542
|
+
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
543
|
+
};
|
|
544
|
+
export type SearchSalesNavNetworkDistance = OpenEnum<typeof SearchSalesNavNetworkDistance>;
|
|
545
|
+
export type SearchSalesNavTenureAtCompany = {
|
|
546
|
+
years?: number | undefined;
|
|
547
|
+
months?: number | undefined;
|
|
548
|
+
};
|
|
549
|
+
export type SearchSalesNavTenureAtRole = {
|
|
550
|
+
years?: number | undefined;
|
|
551
|
+
months?: number | undefined;
|
|
552
|
+
};
|
|
553
|
+
export type SearchSalesNavCurrentPosition = {
|
|
554
|
+
company: string | null;
|
|
555
|
+
companyId: string | null;
|
|
556
|
+
role: string | null;
|
|
557
|
+
description: string | null;
|
|
558
|
+
location: string | null;
|
|
559
|
+
tenureAtCompany: SearchSalesNavTenureAtCompany | null;
|
|
560
|
+
tenureAtRole: SearchSalesNavTenureAtRole | null;
|
|
561
|
+
};
|
|
562
|
+
export type SearchSalesNavItemPeople = {
|
|
563
|
+
type: SearchSalesNavTypePeople;
|
|
564
|
+
/**
|
|
565
|
+
* Sales Navigator lead ID
|
|
566
|
+
*/
|
|
567
|
+
id: string;
|
|
568
|
+
name: string;
|
|
569
|
+
firstName: string | null;
|
|
570
|
+
lastName: string | null;
|
|
571
|
+
/**
|
|
572
|
+
* LinkedIn member URN (e.g. urn:li:member:12345)
|
|
573
|
+
*/
|
|
574
|
+
memberUrn: string | null;
|
|
575
|
+
/**
|
|
576
|
+
* LinkedIn vanity URL slug
|
|
577
|
+
*/
|
|
578
|
+
publicIdentifier: string | null;
|
|
579
|
+
/**
|
|
580
|
+
* Public LinkedIn profile URL
|
|
581
|
+
*/
|
|
582
|
+
profileUrl: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* Sales Navigator lead URL
|
|
585
|
+
*/
|
|
586
|
+
salesNavUrl: string | null;
|
|
587
|
+
profilePicture: string | null;
|
|
588
|
+
headline: string | null;
|
|
589
|
+
location: string | null;
|
|
590
|
+
networkDistance: SearchSalesNavNetworkDistance | null;
|
|
591
|
+
premium: boolean | null;
|
|
592
|
+
openProfile: boolean | null;
|
|
593
|
+
pendingInvitation: boolean | null;
|
|
594
|
+
currentPositions: Array<SearchSalesNavCurrentPosition>;
|
|
595
|
+
};
|
|
596
|
+
export type SearchSalesNavPaging1 = {
|
|
597
|
+
start: number;
|
|
598
|
+
count: number;
|
|
599
|
+
total: number;
|
|
600
|
+
};
|
|
601
|
+
export type People = {
|
|
602
|
+
success: true;
|
|
603
|
+
category: "people";
|
|
604
|
+
items: Array<SearchSalesNavItemPeople>;
|
|
605
|
+
paging: SearchSalesNavPaging1;
|
|
606
|
+
hasMore: boolean;
|
|
607
|
+
/**
|
|
608
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
609
|
+
*/
|
|
610
|
+
creditsUsed: number;
|
|
611
|
+
/**
|
|
612
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
613
|
+
*/
|
|
614
|
+
retryAfter: number;
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* Search results from Sales Navigator
|
|
618
|
+
*/
|
|
619
|
+
export type SearchSalesNavResponse = People | Companies | discriminatedUnionTypes.Unknown<"category">;
|
|
620
|
+
/**
|
|
621
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
622
|
+
*/
|
|
623
|
+
export declare const SearchSalesNavPeopleCategoryRequest: {
|
|
624
|
+
readonly People: "people";
|
|
625
|
+
readonly Companies: "companies";
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
629
|
+
*/
|
|
630
|
+
export type SearchSalesNavPeopleCategoryRequest = ClosedEnum<typeof SearchSalesNavPeopleCategoryRequest>;
|
|
631
|
+
/**
|
|
632
|
+
* Company filter with include/exclude (people only). Use LinkedIn company IDs. Resolve via /search/linkedin/parameters with type='COMPANY'.
|
|
633
|
+
*/
|
|
634
|
+
export type SearchSalesNavPeopleCompany = {
|
|
635
|
+
/**
|
|
636
|
+
* IDs to include
|
|
637
|
+
*/
|
|
638
|
+
include?: Array<string> | undefined;
|
|
639
|
+
/**
|
|
640
|
+
* IDs to exclude
|
|
641
|
+
*/
|
|
642
|
+
exclude?: Array<string> | undefined;
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
646
|
+
*/
|
|
647
|
+
export type SearchSalesNavPeopleIndustry = {
|
|
648
|
+
/**
|
|
649
|
+
* IDs to include
|
|
650
|
+
*/
|
|
651
|
+
include?: Array<string> | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* IDs to exclude
|
|
654
|
+
*/
|
|
655
|
+
exclude?: Array<string> | undefined;
|
|
656
|
+
};
|
|
657
|
+
export type SearchSalesNavPeopleTenure = {
|
|
658
|
+
/**
|
|
659
|
+
* Minimum years
|
|
660
|
+
*/
|
|
661
|
+
min?: number | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Maximum years
|
|
664
|
+
*/
|
|
665
|
+
max?: number | undefined;
|
|
666
|
+
};
|
|
667
|
+
export type SearchSalesNavPeopleRequest = {
|
|
668
|
+
/**
|
|
669
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
670
|
+
*/
|
|
671
|
+
category?: SearchSalesNavPeopleCategoryRequest | undefined;
|
|
672
|
+
/**
|
|
673
|
+
* Sales Navigator search URL — paste directly from your browser. Category and filters are extracted automatically. Explicit params override URL-derived values. Example: https://www.linkedin.com/sales/search/people?query=...
|
|
674
|
+
*/
|
|
675
|
+
url?: string | undefined;
|
|
676
|
+
/**
|
|
677
|
+
* Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases, AND/OR/NOT operators (UPPERCASE), and parentheses for grouping.
|
|
678
|
+
*/
|
|
679
|
+
keywords?: string | undefined;
|
|
680
|
+
/**
|
|
681
|
+
* Job title keywords (people only). Supports Boolean OR: 'CEO OR CTO OR Founder'.
|
|
682
|
+
*/
|
|
683
|
+
title?: string | undefined;
|
|
684
|
+
/**
|
|
685
|
+
* Company filter with include/exclude (people only). Use LinkedIn company IDs. Resolve via /search/linkedin/parameters with type='COMPANY'.
|
|
686
|
+
*/
|
|
687
|
+
company?: SearchSalesNavPeopleCompany | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
690
|
+
*/
|
|
691
|
+
industry?: SearchSalesNavPeopleIndustry | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* Geography IDs (people & companies). Resolve via /search/linkedin/parameters with type='GEO'.
|
|
694
|
+
*/
|
|
695
|
+
location?: Array<string> | undefined;
|
|
696
|
+
/**
|
|
697
|
+
* Seniority levels (people only). Values: '1'=Intern, '2'=Entry, '3'=Associate, '4'=Mid-Senior, '5'=Director, '6'=VP, '7'=CXO, '8'=Partner, '9'=Owner, '10'=Training.
|
|
698
|
+
*/
|
|
699
|
+
seniority?: Array<string> | undefined;
|
|
700
|
+
/**
|
|
701
|
+
* Job function IDs (people only). Resolve via /search/linkedin/parameters.
|
|
702
|
+
*/
|
|
703
|
+
function?: Array<string> | undefined;
|
|
704
|
+
/**
|
|
705
|
+
* Years at current company (people only). Array of ranges, e.g. [{min:3}, {max:10}].
|
|
706
|
+
*/
|
|
707
|
+
tenure?: Array<SearchSalesNavPeopleTenure> | undefined;
|
|
708
|
+
/**
|
|
709
|
+
* Profile language codes e.g. ['en','fr'] (people only).
|
|
710
|
+
*/
|
|
711
|
+
profileLanguage?: Array<string> | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* Network distance: '1'=1st, '2'=2nd, '3'=3rd+ (people only).
|
|
714
|
+
*/
|
|
715
|
+
connectionDegree?: Array<string> | undefined;
|
|
716
|
+
/**
|
|
717
|
+
* School IDs (people only). Resolve via /search/linkedin/parameters.
|
|
718
|
+
*/
|
|
719
|
+
school?: Array<string> | undefined;
|
|
720
|
+
/**
|
|
721
|
+
* Overall years of experience ranges (people only). Values: 'lessThanOne', 'oneToTwo', 'threeToFive', 'sixToTen', 'moreThanTen'.
|
|
722
|
+
*/
|
|
723
|
+
yearsOfExperience?: Array<string> | undefined;
|
|
724
|
+
/**
|
|
725
|
+
* Pagination offset (default 0).
|
|
726
|
+
*/
|
|
727
|
+
start?: number | undefined;
|
|
728
|
+
/**
|
|
729
|
+
* Results per page (default 25, max 25).
|
|
730
|
+
*/
|
|
731
|
+
count?: number | undefined;
|
|
732
|
+
};
|
|
733
|
+
export declare const SearchSalesNavPeopleCategoryPeople: {
|
|
734
|
+
readonly People: "people";
|
|
735
|
+
};
|
|
736
|
+
export type SearchSalesNavPeopleCategoryPeople = ClosedEnum<typeof SearchSalesNavPeopleCategoryPeople>;
|
|
737
|
+
export declare const SearchSalesNavPeopleType: {
|
|
738
|
+
readonly People: "PEOPLE";
|
|
739
|
+
};
|
|
740
|
+
export type SearchSalesNavPeopleType = ClosedEnum<typeof SearchSalesNavPeopleType>;
|
|
741
|
+
export declare const SearchSalesNavPeopleNetworkDistance: {
|
|
742
|
+
readonly Distance1: "DISTANCE_1";
|
|
743
|
+
readonly Distance2: "DISTANCE_2";
|
|
744
|
+
readonly Distance3: "DISTANCE_3";
|
|
745
|
+
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
746
|
+
};
|
|
747
|
+
export type SearchSalesNavPeopleNetworkDistance = OpenEnum<typeof SearchSalesNavPeopleNetworkDistance>;
|
|
748
|
+
export type SearchSalesNavPeopleTenureAtCompany = {
|
|
749
|
+
years?: number | undefined;
|
|
750
|
+
months?: number | undefined;
|
|
751
|
+
};
|
|
752
|
+
export type SearchSalesNavPeopleTenureAtRole = {
|
|
753
|
+
years?: number | undefined;
|
|
754
|
+
months?: number | undefined;
|
|
755
|
+
};
|
|
756
|
+
export type SearchSalesNavPeopleCurrentPosition = {
|
|
757
|
+
company: string | null;
|
|
758
|
+
companyId: string | null;
|
|
759
|
+
role: string | null;
|
|
760
|
+
description: string | null;
|
|
761
|
+
location: string | null;
|
|
762
|
+
tenureAtCompany: SearchSalesNavPeopleTenureAtCompany | null;
|
|
763
|
+
tenureAtRole: SearchSalesNavPeopleTenureAtRole | null;
|
|
764
|
+
};
|
|
765
|
+
export type SearchSalesNavPeopleItem = {
|
|
766
|
+
type: SearchSalesNavPeopleType;
|
|
767
|
+
/**
|
|
768
|
+
* Sales Navigator lead ID
|
|
769
|
+
*/
|
|
770
|
+
id: string;
|
|
771
|
+
name: string;
|
|
772
|
+
firstName: string | null;
|
|
773
|
+
lastName: string | null;
|
|
774
|
+
/**
|
|
775
|
+
* LinkedIn member URN (e.g. urn:li:member:12345)
|
|
776
|
+
*/
|
|
777
|
+
memberUrn: string | null;
|
|
778
|
+
/**
|
|
779
|
+
* LinkedIn vanity URL slug
|
|
780
|
+
*/
|
|
781
|
+
publicIdentifier: string | null;
|
|
782
|
+
/**
|
|
783
|
+
* Public LinkedIn profile URL
|
|
784
|
+
*/
|
|
785
|
+
profileUrl: string | null;
|
|
786
|
+
/**
|
|
787
|
+
* Sales Navigator lead URL
|
|
788
|
+
*/
|
|
789
|
+
salesNavUrl: string | null;
|
|
790
|
+
profilePicture: string | null;
|
|
791
|
+
headline: string | null;
|
|
792
|
+
location: string | null;
|
|
793
|
+
networkDistance: SearchSalesNavPeopleNetworkDistance | null;
|
|
794
|
+
premium: boolean | null;
|
|
795
|
+
openProfile: boolean | null;
|
|
796
|
+
pendingInvitation: boolean | null;
|
|
797
|
+
currentPositions: Array<SearchSalesNavPeopleCurrentPosition>;
|
|
798
|
+
};
|
|
799
|
+
export type SearchSalesNavPeoplePaging = {
|
|
800
|
+
start: number;
|
|
801
|
+
count: number;
|
|
802
|
+
total: number;
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* Sales Navigator people search results
|
|
806
|
+
*/
|
|
807
|
+
export type SearchSalesNavPeopleResponse = {
|
|
808
|
+
success: true;
|
|
809
|
+
category: SearchSalesNavPeopleCategoryPeople;
|
|
810
|
+
items: Array<SearchSalesNavPeopleItem>;
|
|
811
|
+
paging: SearchSalesNavPeoplePaging;
|
|
812
|
+
hasMore: boolean;
|
|
813
|
+
/**
|
|
814
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
815
|
+
*/
|
|
816
|
+
creditsUsed: number;
|
|
817
|
+
/**
|
|
818
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
819
|
+
*/
|
|
820
|
+
retryAfter: number;
|
|
821
|
+
};
|
|
822
|
+
/**
|
|
823
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
824
|
+
*/
|
|
825
|
+
export declare const SearchSalesNavCompaniesCategoryRequest: {
|
|
826
|
+
readonly People: "people";
|
|
827
|
+
readonly Companies: "companies";
|
|
828
|
+
};
|
|
829
|
+
/**
|
|
830
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
831
|
+
*/
|
|
832
|
+
export type SearchSalesNavCompaniesCategoryRequest = ClosedEnum<typeof SearchSalesNavCompaniesCategoryRequest>;
|
|
833
|
+
/**
|
|
834
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
835
|
+
*/
|
|
836
|
+
export type SearchSalesNavCompaniesIndustry = {
|
|
837
|
+
/**
|
|
838
|
+
* IDs to include
|
|
839
|
+
*/
|
|
840
|
+
include?: Array<string> | undefined;
|
|
841
|
+
/**
|
|
842
|
+
* IDs to exclude
|
|
843
|
+
*/
|
|
844
|
+
exclude?: Array<string> | undefined;
|
|
845
|
+
};
|
|
846
|
+
export type SearchSalesNavCompaniesRequest = {
|
|
847
|
+
/**
|
|
848
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
849
|
+
*/
|
|
850
|
+
category?: SearchSalesNavCompaniesCategoryRequest | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* Sales Navigator search URL — paste directly from your browser. Category and filters are extracted automatically. Explicit params override URL-derived values. Example: https://www.linkedin.com/sales/search/people?query=...
|
|
853
|
+
*/
|
|
854
|
+
url?: string | undefined;
|
|
855
|
+
/**
|
|
856
|
+
* Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases, AND/OR/NOT operators (UPPERCASE), and parentheses for grouping.
|
|
857
|
+
*/
|
|
858
|
+
keywords?: string | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
861
|
+
*/
|
|
862
|
+
industry?: SearchSalesNavCompaniesIndustry | undefined;
|
|
863
|
+
/**
|
|
864
|
+
* Geography IDs (people & companies). Resolve via /search/linkedin/parameters with type='GEO'.
|
|
865
|
+
*/
|
|
866
|
+
location?: Array<string> | undefined;
|
|
867
|
+
/**
|
|
868
|
+
* Employee count ranges (companies only). Values: 'A'=1-10, 'B'=11-50, 'C'=51-200, 'D'=201-500, 'E'=501-1K, 'F'=1K-5K, 'G'=5K-10K, 'H'=10K+.
|
|
869
|
+
*/
|
|
870
|
+
companyHeadcount?: Array<string> | undefined;
|
|
871
|
+
/**
|
|
872
|
+
* Company types (companies only). Values: 'C'=Public, 'D'=Educational, 'N'=Non-profit, 'O'=Privately Held, 'P'=Partnership, 'S'=Self-Employed, 'G'=Government.
|
|
873
|
+
*/
|
|
874
|
+
companyType?: Array<string> | undefined;
|
|
875
|
+
/**
|
|
876
|
+
* Annual revenue ranges (companies only).
|
|
877
|
+
*/
|
|
878
|
+
annualRevenue?: Array<string> | undefined;
|
|
879
|
+
/**
|
|
880
|
+
* Pagination offset (default 0).
|
|
881
|
+
*/
|
|
882
|
+
start?: number | undefined;
|
|
883
|
+
/**
|
|
884
|
+
* Results per page (default 25, max 25).
|
|
885
|
+
*/
|
|
886
|
+
count?: number | undefined;
|
|
887
|
+
};
|
|
888
|
+
export declare const SearchSalesNavCompaniesCategoryCompanies: {
|
|
889
|
+
readonly Companies: "companies";
|
|
890
|
+
};
|
|
891
|
+
export type SearchSalesNavCompaniesCategoryCompanies = ClosedEnum<typeof SearchSalesNavCompaniesCategoryCompanies>;
|
|
892
|
+
export declare const SearchSalesNavCompaniesType: {
|
|
893
|
+
readonly Company: "COMPANY";
|
|
894
|
+
};
|
|
895
|
+
export type SearchSalesNavCompaniesType = ClosedEnum<typeof SearchSalesNavCompaniesType>;
|
|
896
|
+
export type SearchSalesNavCompaniesItem = {
|
|
897
|
+
type: SearchSalesNavCompaniesType;
|
|
898
|
+
/**
|
|
899
|
+
* Sales Navigator company ID
|
|
900
|
+
*/
|
|
901
|
+
id: string;
|
|
902
|
+
name: string;
|
|
903
|
+
/**
|
|
904
|
+
* Sales Navigator company URL
|
|
905
|
+
*/
|
|
906
|
+
profileUrl: string | null;
|
|
907
|
+
summary: string | null;
|
|
908
|
+
industry: string | null;
|
|
909
|
+
location: string | null;
|
|
910
|
+
/**
|
|
911
|
+
* Employee count or range
|
|
912
|
+
*/
|
|
913
|
+
headcount: string | null;
|
|
914
|
+
};
|
|
915
|
+
export type SearchSalesNavCompaniesPaging = {
|
|
916
|
+
start: number;
|
|
917
|
+
count: number;
|
|
918
|
+
total: number;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* Sales Navigator company search results
|
|
922
|
+
*/
|
|
923
|
+
export type SearchSalesNavCompaniesResponse = {
|
|
924
|
+
success: true;
|
|
925
|
+
category: SearchSalesNavCompaniesCategoryCompanies;
|
|
926
|
+
items: Array<SearchSalesNavCompaniesItem>;
|
|
927
|
+
paging: SearchSalesNavCompaniesPaging;
|
|
928
|
+
hasMore: boolean;
|
|
929
|
+
/**
|
|
930
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
931
|
+
*/
|
|
932
|
+
creditsUsed: number;
|
|
933
|
+
/**
|
|
934
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
935
|
+
*/
|
|
936
|
+
retryAfter: number;
|
|
937
|
+
};
|
|
938
|
+
export type ConnectProfileRequest = {
|
|
939
|
+
/**
|
|
940
|
+
* LinkedIn profile identifier. Accepts full URLs (e.g. https://www.linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
|
|
941
|
+
*/
|
|
942
|
+
profile: string;
|
|
943
|
+
/**
|
|
944
|
+
* Campaign identifier for deduplication. Dedup by profile automatically.
|
|
945
|
+
*/
|
|
946
|
+
campaignSlug?: string | undefined;
|
|
947
|
+
/**
|
|
948
|
+
* Deprecated. Use campaignSlug only.
|
|
949
|
+
*
|
|
950
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
951
|
+
*/
|
|
952
|
+
actionSlug?: string | undefined;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* Connection request sent successfully
|
|
956
|
+
*/
|
|
957
|
+
export type ConnectProfileResponse = {
|
|
958
|
+
success: true;
|
|
959
|
+
message: string;
|
|
960
|
+
/**
|
|
961
|
+
* True if a connection request was already successfully sent to this profile this week
|
|
962
|
+
*/
|
|
963
|
+
duplicate?: boolean | undefined;
|
|
964
|
+
/**
|
|
965
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
966
|
+
*/
|
|
967
|
+
creditsUsed: number;
|
|
968
|
+
/**
|
|
969
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
970
|
+
*/
|
|
971
|
+
retryAfter: number;
|
|
972
|
+
};
|
|
973
|
+
export type ListInvitationsRequest = {
|
|
974
|
+
/**
|
|
975
|
+
* Pagination offset (0-based)
|
|
976
|
+
*/
|
|
977
|
+
start?: number | undefined;
|
|
978
|
+
/**
|
|
979
|
+
* Number of invitations to return (max 100)
|
|
980
|
+
*/
|
|
981
|
+
count?: number | undefined;
|
|
982
|
+
};
|
|
983
|
+
/**
|
|
984
|
+
* Profile info of the person who sent the invitation
|
|
985
|
+
*/
|
|
986
|
+
export type FromMember = {
|
|
987
|
+
name: string | null;
|
|
988
|
+
headline: string | null;
|
|
989
|
+
profileUrl: string | null;
|
|
990
|
+
profilePicture: string | null;
|
|
991
|
+
publicIdentifier: string | null;
|
|
992
|
+
profileUrn: string | null;
|
|
993
|
+
};
|
|
994
|
+
export type ListInvitationsInvitation = {
|
|
995
|
+
/**
|
|
996
|
+
* Invitation ID needed for accepting
|
|
997
|
+
*/
|
|
998
|
+
invitationId: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Shared secret needed for accepting
|
|
1001
|
+
*/
|
|
1002
|
+
sharedSecret: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Full invitation URN
|
|
1005
|
+
*/
|
|
1006
|
+
entityUrn: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* ISO 8601 timestamp when invitation was sent
|
|
1009
|
+
*/
|
|
1010
|
+
sentAt: string | null;
|
|
1011
|
+
/**
|
|
1012
|
+
* Custom message included with the invitation
|
|
1013
|
+
*/
|
|
1014
|
+
message: string | null;
|
|
1015
|
+
/**
|
|
1016
|
+
* Sender's profile ID (pass to accept endpoint)
|
|
1017
|
+
*/
|
|
1018
|
+
senderProfileId: string | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* Sender's first name (pass to accept endpoint)
|
|
1021
|
+
*/
|
|
1022
|
+
senderFirstName: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Sender's last name (pass to accept endpoint)
|
|
1025
|
+
*/
|
|
1026
|
+
senderLastName: string | null;
|
|
1027
|
+
/**
|
|
1028
|
+
* Profile info of the person who sent the invitation
|
|
1029
|
+
*/
|
|
1030
|
+
fromMember: FromMember | null;
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* List of pending invitations
|
|
1034
|
+
*/
|
|
1035
|
+
export type ListInvitationsResponse = {
|
|
1036
|
+
success: true;
|
|
1037
|
+
invitations: Array<ListInvitationsInvitation>;
|
|
1038
|
+
/**
|
|
1039
|
+
* Total number of pending invitations
|
|
1040
|
+
*/
|
|
1041
|
+
total: number;
|
|
1042
|
+
start: number;
|
|
1043
|
+
count: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1046
|
+
*/
|
|
1047
|
+
creditsUsed: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1050
|
+
*/
|
|
1051
|
+
retryAfter: number;
|
|
1052
|
+
};
|
|
1053
|
+
export type AcceptInvitationRequest = {
|
|
1054
|
+
/**
|
|
1055
|
+
* Invitation ID (from the list invitations endpoint)
|
|
1056
|
+
*/
|
|
1057
|
+
invitationId: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Shared secret / validation token (from the list invitations endpoint)
|
|
1060
|
+
*/
|
|
1061
|
+
sharedSecret: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Sender's profile ID (from the list invitations endpoint, e.g. 'ACoAAB6pI5sB...'). Recommended for reliability.
|
|
1064
|
+
*/
|
|
1065
|
+
senderProfileId?: string | undefined;
|
|
1066
|
+
/**
|
|
1067
|
+
* Sender's first name (from the list invitations endpoint). Recommended for reliability.
|
|
1068
|
+
*/
|
|
1069
|
+
firstName?: string | undefined;
|
|
1070
|
+
/**
|
|
1071
|
+
* Sender's last name (from the list invitations endpoint). Recommended for reliability.
|
|
1072
|
+
*/
|
|
1073
|
+
lastName?: string | undefined;
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* Invitation accepted successfully
|
|
1077
|
+
*/
|
|
1078
|
+
export type AcceptInvitationResponse = {
|
|
1079
|
+
success: true;
|
|
1080
|
+
message: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1083
|
+
*/
|
|
1084
|
+
creditsUsed: number;
|
|
1085
|
+
/**
|
|
1086
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1087
|
+
*/
|
|
1088
|
+
retryAfter: number;
|
|
1089
|
+
};
|
|
1090
|
+
export type SendMessageRequest = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Accepts full LinkedIn profile URLs (e.g. https://www.linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:member:123456).
|
|
1093
|
+
*/
|
|
1094
|
+
profile?: string | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* LinkedIn conversation URN. When provided, bypasses profile URL lookup and replies to an existing conversation.
|
|
1097
|
+
*/
|
|
1098
|
+
conversationUrn?: string | undefined;
|
|
1099
|
+
/**
|
|
1100
|
+
* Message content to send
|
|
1101
|
+
*/
|
|
1102
|
+
message: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Campaign identifier for deduplication. Dedup by profile automatically.
|
|
1105
|
+
*/
|
|
1106
|
+
campaignSlug?: string | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* Deprecated. Use campaignSlug only.
|
|
1109
|
+
*
|
|
1110
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1111
|
+
*/
|
|
1112
|
+
actionSlug?: string | undefined;
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* Message sent successfully
|
|
1116
|
+
*/
|
|
1117
|
+
export type SendMessageResponse = {
|
|
1118
|
+
success: true;
|
|
1119
|
+
messageId: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1122
|
+
*/
|
|
1123
|
+
duplicate?: boolean | undefined;
|
|
1124
|
+
/**
|
|
1125
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1126
|
+
*/
|
|
1127
|
+
creditsUsed: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1130
|
+
*/
|
|
1131
|
+
retryAfter: number;
|
|
1132
|
+
};
|
|
1133
|
+
export type ReplyToCommentRequest = {
|
|
1134
|
+
/**
|
|
1135
|
+
* LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
|
|
1136
|
+
*/
|
|
1137
|
+
commentUrn: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Reply message text
|
|
1140
|
+
*/
|
|
1141
|
+
message: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Campaign identifier for deduplication. Dedup by commentUrn automatically.
|
|
1144
|
+
*/
|
|
1145
|
+
campaignSlug?: string | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* Deprecated. Use campaignSlug only.
|
|
1148
|
+
*
|
|
1149
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1150
|
+
*/
|
|
1151
|
+
actionSlug?: string | undefined;
|
|
1152
|
+
};
|
|
1153
|
+
/**
|
|
1154
|
+
* Reply sent successfully
|
|
1155
|
+
*/
|
|
1156
|
+
export type ReplyToCommentResponse = {
|
|
1157
|
+
success: true;
|
|
1158
|
+
/**
|
|
1159
|
+
* URN of the created reply comment
|
|
1160
|
+
*/
|
|
1161
|
+
replyUrn?: string | undefined;
|
|
1162
|
+
/**
|
|
1163
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1164
|
+
*/
|
|
1165
|
+
duplicate?: boolean | undefined;
|
|
1166
|
+
/**
|
|
1167
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1168
|
+
*/
|
|
1169
|
+
creditsUsed: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1172
|
+
*/
|
|
1173
|
+
retryAfter: number;
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* Reaction type (default: LIKE)
|
|
1177
|
+
*/
|
|
1178
|
+
export declare const LikeCommentReactionType: {
|
|
1179
|
+
readonly Like: "LIKE";
|
|
1180
|
+
readonly Love: "LOVE";
|
|
1181
|
+
readonly Celebrate: "CELEBRATE";
|
|
1182
|
+
readonly Support: "SUPPORT";
|
|
1183
|
+
readonly Funny: "FUNNY";
|
|
1184
|
+
readonly Insightful: "INSIGHTFUL";
|
|
1185
|
+
};
|
|
1186
|
+
/**
|
|
1187
|
+
* Reaction type (default: LIKE)
|
|
1188
|
+
*/
|
|
1189
|
+
export type LikeCommentReactionType = ClosedEnum<typeof LikeCommentReactionType>;
|
|
1190
|
+
export type LikeCommentRequest = {
|
|
1191
|
+
/**
|
|
1192
|
+
* LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
|
|
1193
|
+
*/
|
|
1194
|
+
commentUrn: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* Reaction type (default: LIKE)
|
|
1197
|
+
*/
|
|
1198
|
+
reactionType?: LikeCommentReactionType | undefined;
|
|
1199
|
+
/**
|
|
1200
|
+
* Campaign identifier for deduplication. Dedup by commentUrn automatically.
|
|
1201
|
+
*/
|
|
1202
|
+
campaignSlug?: string | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* Deprecated. Use campaignSlug only.
|
|
1205
|
+
*
|
|
1206
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1207
|
+
*/
|
|
1208
|
+
actionSlug?: string | undefined;
|
|
1209
|
+
};
|
|
1210
|
+
/**
|
|
1211
|
+
* Comment liked successfully
|
|
1212
|
+
*/
|
|
1213
|
+
export type LikeCommentResponse = {
|
|
1214
|
+
success: true;
|
|
1215
|
+
/**
|
|
1216
|
+
* Resource key of the created reaction
|
|
1217
|
+
*/
|
|
1218
|
+
resourceKey?: string | undefined;
|
|
1219
|
+
/**
|
|
1220
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1221
|
+
*/
|
|
1222
|
+
duplicate?: boolean | undefined;
|
|
1223
|
+
/**
|
|
1224
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1225
|
+
*/
|
|
1226
|
+
creditsUsed: number;
|
|
1227
|
+
/**
|
|
1228
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1229
|
+
*/
|
|
1230
|
+
retryAfter: number;
|
|
1231
|
+
};
|
|
1232
|
+
/**
|
|
1233
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1234
|
+
*/
|
|
1235
|
+
export declare const PublishPostMode: {
|
|
1236
|
+
readonly Scheduled: "scheduled";
|
|
1237
|
+
readonly Instant: "instant";
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1241
|
+
*/
|
|
1242
|
+
export type PublishPostMode = ClosedEnum<typeof PublishPostMode>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Post visibility
|
|
1245
|
+
*/
|
|
1246
|
+
export declare const Visibility: {
|
|
1247
|
+
readonly Anyone: "ANYONE";
|
|
1248
|
+
readonly Connections: "CONNECTIONS";
|
|
1249
|
+
};
|
|
1250
|
+
/**
|
|
1251
|
+
* Post visibility
|
|
1252
|
+
*/
|
|
1253
|
+
export type Visibility = ClosedEnum<typeof Visibility>;
|
|
1254
|
+
export type Mention = {
|
|
1255
|
+
/**
|
|
1256
|
+
* LinkedIn profile URN of the mentioned person (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B...')
|
|
1257
|
+
*/
|
|
1258
|
+
profileUrn: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* Start character offset in the text where the mention begins
|
|
1261
|
+
*/
|
|
1262
|
+
start: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* Length of the mention text in characters
|
|
1265
|
+
*/
|
|
1266
|
+
length: number;
|
|
1267
|
+
};
|
|
1268
|
+
export type PublishPostRequest = {
|
|
1269
|
+
/**
|
|
1270
|
+
* Post commentary text
|
|
1271
|
+
*/
|
|
1272
|
+
text: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1275
|
+
*/
|
|
1276
|
+
mode: PublishPostMode;
|
|
1277
|
+
/**
|
|
1278
|
+
* Timestamp in milliseconds for scheduled posts (required when mode='scheduled')
|
|
1279
|
+
*/
|
|
1280
|
+
scheduledAt?: number | undefined;
|
|
1281
|
+
/**
|
|
1282
|
+
* If provided, post will be published as this company page (organization ID). User must be admin of the page.
|
|
1283
|
+
*/
|
|
1284
|
+
companyId?: string | undefined;
|
|
1285
|
+
/**
|
|
1286
|
+
* URL of an image to attach to the post. Mutually exclusive with imageBase64.
|
|
1287
|
+
*/
|
|
1288
|
+
imageUrl?: string | undefined;
|
|
1289
|
+
/**
|
|
1290
|
+
* Base64-encoded image data to attach to the post (e.g. data:image/png;base64,iVBOR... or raw base64). Mutually exclusive with imageUrl.
|
|
1291
|
+
*/
|
|
1292
|
+
imageBase64?: string | undefined;
|
|
1293
|
+
/**
|
|
1294
|
+
* Filename for the uploaded image (e.g. 'banner.png'). Used with imageBase64. Defaults to 'image.jpg'.
|
|
1295
|
+
*/
|
|
1296
|
+
imageFileName?: string | undefined;
|
|
1297
|
+
/**
|
|
1298
|
+
* Post visibility
|
|
1299
|
+
*/
|
|
1300
|
+
visibility?: Visibility | undefined;
|
|
1301
|
+
/**
|
|
1302
|
+
* Profile mentions with text positions
|
|
1303
|
+
*/
|
|
1304
|
+
mentions?: Array<Mention> | undefined;
|
|
1305
|
+
/**
|
|
1306
|
+
* Campaign identifier for deduplication.
|
|
1307
|
+
*/
|
|
1308
|
+
campaignSlug?: string | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* Deprecated. Use campaignSlug only.
|
|
1311
|
+
*
|
|
1312
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1313
|
+
*/
|
|
1314
|
+
actionSlug?: string | undefined;
|
|
1315
|
+
};
|
|
1316
|
+
/**
|
|
1317
|
+
* Post published or scheduled successfully
|
|
1318
|
+
*/
|
|
1319
|
+
export type PublishPostResponse = {
|
|
1320
|
+
success: true;
|
|
1321
|
+
/**
|
|
1322
|
+
* URN of the created share (e.g., 'urn:li:fsd_share:urn:li:share:123...')
|
|
1323
|
+
*/
|
|
1324
|
+
shareUrn: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Activity URN (only available for instant mode)
|
|
1327
|
+
*/
|
|
1328
|
+
activityUrn: string | null;
|
|
1329
|
+
/**
|
|
1330
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1331
|
+
*/
|
|
1332
|
+
duplicate?: boolean | undefined;
|
|
1333
|
+
/**
|
|
1334
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1335
|
+
*/
|
|
1336
|
+
creditsUsed: number;
|
|
1337
|
+
/**
|
|
1338
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1339
|
+
*/
|
|
1340
|
+
retryAfter: number;
|
|
1341
|
+
};
|
|
1342
|
+
export type CreateCommentRequest = {
|
|
1343
|
+
/**
|
|
1344
|
+
* LinkedIn post URL (e.g., 'https://www.linkedin.com/feed/update/urn:li:activity:7399026485694537728/')
|
|
1345
|
+
*/
|
|
1346
|
+
postUrl: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* Comment text
|
|
1349
|
+
*/
|
|
1350
|
+
message: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* If provided, comment will be posted as this company page (organization ID). User must be admin of the page.
|
|
1353
|
+
*/
|
|
1354
|
+
companyId?: string | undefined;
|
|
1355
|
+
/**
|
|
1356
|
+
* Campaign identifier for deduplication. Dedup by postUrl automatically.
|
|
1357
|
+
*/
|
|
1358
|
+
campaignSlug?: string | undefined;
|
|
1359
|
+
/**
|
|
1360
|
+
* Deprecated. Use campaignSlug only.
|
|
1361
|
+
*
|
|
1362
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1363
|
+
*/
|
|
1364
|
+
actionSlug?: string | undefined;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* Comment posted successfully
|
|
1368
|
+
*/
|
|
1369
|
+
export type CreateCommentResponse = {
|
|
1370
|
+
success: true;
|
|
1371
|
+
/**
|
|
1372
|
+
* URN of the created comment (e.g., 'urn:li:comment:(activity:PARENT_ID,COMMENT_ID)')
|
|
1373
|
+
*/
|
|
1374
|
+
commentUrn?: string | undefined;
|
|
1375
|
+
/**
|
|
1376
|
+
* FSD-format comment URN for use with the edit comment endpoint.
|
|
1377
|
+
*/
|
|
1378
|
+
fsdCommentUrn?: string | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1381
|
+
*/
|
|
1382
|
+
duplicate?: boolean | undefined;
|
|
1383
|
+
/**
|
|
1384
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1385
|
+
*/
|
|
1386
|
+
creditsUsed: number;
|
|
1387
|
+
/**
|
|
1388
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1389
|
+
*/
|
|
1390
|
+
retryAfter: number;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* Reaction type (default: LIKE)
|
|
1394
|
+
*/
|
|
1395
|
+
export declare const LikePostReactionType: {
|
|
1396
|
+
readonly Like: "LIKE";
|
|
1397
|
+
readonly Love: "LOVE";
|
|
1398
|
+
readonly Celebrate: "CELEBRATE";
|
|
1399
|
+
readonly Support: "SUPPORT";
|
|
1400
|
+
readonly Funny: "FUNNY";
|
|
1401
|
+
readonly Insightful: "INSIGHTFUL";
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* Reaction type (default: LIKE)
|
|
1405
|
+
*/
|
|
1406
|
+
export type LikePostReactionType = ClosedEnum<typeof LikePostReactionType>;
|
|
1407
|
+
export type LikePostRequest = {
|
|
1408
|
+
/**
|
|
1409
|
+
* LinkedIn post URL (e.g., 'https://www.linkedin.com/feed/update/urn:li:activity:7399026485694537728/')
|
|
1410
|
+
*/
|
|
1411
|
+
postUrl: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Reaction type (default: LIKE)
|
|
1414
|
+
*/
|
|
1415
|
+
reactionType?: LikePostReactionType | undefined;
|
|
1416
|
+
/**
|
|
1417
|
+
* Act as a company page. Pass the numeric company ID from listCompanyPages. Requires admin access.
|
|
1418
|
+
*/
|
|
1419
|
+
companyId?: string | undefined;
|
|
1420
|
+
/**
|
|
1421
|
+
* Campaign identifier for deduplication. Dedup by postUrl automatically.
|
|
1422
|
+
*/
|
|
1423
|
+
campaignSlug?: string | undefined;
|
|
1424
|
+
/**
|
|
1425
|
+
* Deprecated. Use campaignSlug only.
|
|
1426
|
+
*
|
|
1427
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1428
|
+
*/
|
|
1429
|
+
actionSlug?: string | undefined;
|
|
1430
|
+
};
|
|
1431
|
+
/**
|
|
1432
|
+
* Post liked successfully
|
|
1433
|
+
*/
|
|
1434
|
+
export type LikePostResponse = {
|
|
1435
|
+
success: true;
|
|
1436
|
+
/**
|
|
1437
|
+
* Resource key of the created reaction
|
|
1438
|
+
*/
|
|
1439
|
+
resourceKey?: string | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1442
|
+
*/
|
|
1443
|
+
duplicate?: boolean | undefined;
|
|
1444
|
+
/**
|
|
1445
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1446
|
+
*/
|
|
1447
|
+
creditsUsed: number;
|
|
1448
|
+
/**
|
|
1449
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1450
|
+
*/
|
|
1451
|
+
retryAfter: number;
|
|
1452
|
+
};
|
|
1453
|
+
export type DeclineInvitationRequest = {
|
|
1454
|
+
/**
|
|
1455
|
+
* Invitation ID from the list invitations endpoint
|
|
1456
|
+
*/
|
|
1457
|
+
invitationId: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* Shared secret / validation token from the list invitations endpoint
|
|
1460
|
+
*/
|
|
1461
|
+
sharedSecret: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* Sender's profile ID (optional, improves accuracy)
|
|
1464
|
+
*/
|
|
1465
|
+
senderProfileId?: string | undefined;
|
|
1466
|
+
};
|
|
1467
|
+
/**
|
|
1468
|
+
* Invitation declined
|
|
1469
|
+
*/
|
|
1470
|
+
export type DeclineInvitationResponse = {
|
|
1471
|
+
success: true;
|
|
1472
|
+
message: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1475
|
+
*/
|
|
1476
|
+
creditsUsed: number;
|
|
1477
|
+
/**
|
|
1478
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1479
|
+
*/
|
|
1480
|
+
retryAfter: number;
|
|
1481
|
+
};
|
|
1482
|
+
export type ListSentInvitationsRequest = {
|
|
1483
|
+
/**
|
|
1484
|
+
* Pagination offset
|
|
1485
|
+
*/
|
|
1486
|
+
start?: number | undefined;
|
|
1487
|
+
/**
|
|
1488
|
+
* Number of invitations to return
|
|
1489
|
+
*/
|
|
1490
|
+
count?: number | undefined;
|
|
1491
|
+
};
|
|
1492
|
+
export type ToMember = {
|
|
1493
|
+
name: string;
|
|
1494
|
+
headline: string | null;
|
|
1495
|
+
profileUrl: string | null;
|
|
1496
|
+
profilePicture: string | null;
|
|
1497
|
+
publicIdentifier: string | null;
|
|
1498
|
+
profileUrn: string | null;
|
|
1499
|
+
};
|
|
1500
|
+
export type ListSentInvitationsInvitation = {
|
|
1501
|
+
invitationId: string;
|
|
1502
|
+
invitationUrn: string;
|
|
1503
|
+
entityUrn: string;
|
|
1504
|
+
sentAt: string | null;
|
|
1505
|
+
message: string | null;
|
|
1506
|
+
targetProfileId: string | null;
|
|
1507
|
+
targetFirstName: string | null;
|
|
1508
|
+
targetLastName: string | null;
|
|
1509
|
+
toMember: ToMember | null;
|
|
1510
|
+
};
|
|
1511
|
+
/**
|
|
1512
|
+
* Sent invitations
|
|
1513
|
+
*/
|
|
1514
|
+
export type ListSentInvitationsResponse = {
|
|
1515
|
+
success: true;
|
|
1516
|
+
invitations: Array<ListSentInvitationsInvitation>;
|
|
1517
|
+
total: number;
|
|
1518
|
+
start: number;
|
|
1519
|
+
count: number;
|
|
1520
|
+
/**
|
|
1521
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1522
|
+
*/
|
|
1523
|
+
creditsUsed: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1526
|
+
*/
|
|
1527
|
+
retryAfter: number;
|
|
1528
|
+
};
|
|
1529
|
+
export type WithdrawInvitationRequest = {
|
|
1530
|
+
/**
|
|
1531
|
+
* Full invitation URN (e.g. urn:li:fs_relInvitation:123) or numeric invitation ID
|
|
1532
|
+
*/
|
|
1533
|
+
invitationUrn: string;
|
|
1534
|
+
};
|
|
1535
|
+
/**
|
|
1536
|
+
* Invitation withdrawn
|
|
1537
|
+
*/
|
|
1538
|
+
export type WithdrawInvitationResponse = {
|
|
1539
|
+
success: true;
|
|
1540
|
+
message: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1543
|
+
*/
|
|
1544
|
+
creditsUsed: number;
|
|
1545
|
+
/**
|
|
1546
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1547
|
+
*/
|
|
1548
|
+
retryAfter: number;
|
|
1549
|
+
};
|
|
1550
|
+
export type FollowProfileRequest = {
|
|
1551
|
+
/**
|
|
1552
|
+
* Accepts full LinkedIn profile URLs (e.g. linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
|
|
1553
|
+
*/
|
|
1554
|
+
profile: string;
|
|
1555
|
+
};
|
|
1556
|
+
/**
|
|
1557
|
+
* Profile followed
|
|
1558
|
+
*/
|
|
1559
|
+
export type FollowProfileResponse = {
|
|
1560
|
+
success: true;
|
|
1561
|
+
message: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1564
|
+
*/
|
|
1565
|
+
creditsUsed: number;
|
|
1566
|
+
/**
|
|
1567
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1568
|
+
*/
|
|
1569
|
+
retryAfter: number;
|
|
1570
|
+
};
|
|
1571
|
+
export type UnfollowProfileRequest = {
|
|
1572
|
+
/**
|
|
1573
|
+
* Accepts full LinkedIn profile URLs (e.g. linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
|
|
1574
|
+
*/
|
|
1575
|
+
profile: string;
|
|
1576
|
+
};
|
|
1577
|
+
/**
|
|
1578
|
+
* Profile unfollowed
|
|
1579
|
+
*/
|
|
1580
|
+
export type UnfollowProfileResponse = {
|
|
1581
|
+
success: true;
|
|
1582
|
+
message: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1585
|
+
*/
|
|
1586
|
+
creditsUsed: number;
|
|
1587
|
+
/**
|
|
1588
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1589
|
+
*/
|
|
1590
|
+
retryAfter: number;
|
|
1591
|
+
};
|
|
1592
|
+
export type EditPostRequest = {
|
|
1593
|
+
/**
|
|
1594
|
+
* LinkedIn post URL or URN
|
|
1595
|
+
*/
|
|
1596
|
+
postUrl: string;
|
|
1597
|
+
/**
|
|
1598
|
+
* New text content for the post
|
|
1599
|
+
*/
|
|
1600
|
+
text: string;
|
|
1601
|
+
};
|
|
1602
|
+
/**
|
|
1603
|
+
* Post edited
|
|
1604
|
+
*/
|
|
1605
|
+
export type EditPostResponse = {
|
|
1606
|
+
success: true;
|
|
1607
|
+
/**
|
|
1608
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1609
|
+
*/
|
|
1610
|
+
creditsUsed: number;
|
|
1611
|
+
/**
|
|
1612
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1613
|
+
*/
|
|
1614
|
+
retryAfter: number;
|
|
1615
|
+
};
|
|
1616
|
+
export type EditCommentRequest = {
|
|
1617
|
+
/**
|
|
1618
|
+
* urn:li:fsd_comment:(COMMENT_ID,urn:li:ugcPost:POST_ID) - from comment API response
|
|
1619
|
+
*/
|
|
1620
|
+
fsdCommentUrn?: string | undefined;
|
|
1621
|
+
/**
|
|
1622
|
+
* Legacy comment URN format
|
|
1623
|
+
*/
|
|
1624
|
+
commentUrn?: string | undefined;
|
|
1625
|
+
/**
|
|
1626
|
+
* New comment text
|
|
1627
|
+
*/
|
|
1628
|
+
text: string;
|
|
1629
|
+
};
|
|
1630
|
+
/**
|
|
1631
|
+
* Comment edited
|
|
1632
|
+
*/
|
|
1633
|
+
export type EditCommentResponse = {
|
|
1634
|
+
success: true;
|
|
1635
|
+
/**
|
|
1636
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1637
|
+
*/
|
|
1638
|
+
creditsUsed: number;
|
|
1639
|
+
/**
|
|
1640
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1641
|
+
*/
|
|
1642
|
+
retryAfter: number;
|
|
1643
|
+
};
|
|
1644
|
+
export type RepostPostRequest = {
|
|
1645
|
+
/**
|
|
1646
|
+
* LinkedIn post URL to repost
|
|
1647
|
+
*/
|
|
1648
|
+
postUrl: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Quote text for the repost (required by LinkedIn)
|
|
1651
|
+
*/
|
|
1652
|
+
text: string;
|
|
1653
|
+
};
|
|
1654
|
+
/**
|
|
1655
|
+
* Post reposted
|
|
1656
|
+
*/
|
|
1657
|
+
export type RepostPostResponse = {
|
|
1658
|
+
success: true;
|
|
1659
|
+
shareUrn: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1662
|
+
*/
|
|
1663
|
+
creditsUsed: number;
|
|
1664
|
+
/**
|
|
1665
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1666
|
+
*/
|
|
1667
|
+
retryAfter: number;
|
|
1668
|
+
};
|
|
1669
|
+
export type UnlikePostRequest = {
|
|
1670
|
+
/**
|
|
1671
|
+
* LinkedIn post URL or URN to unlike
|
|
1672
|
+
*/
|
|
1673
|
+
postUrl: string;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* Reaction removed
|
|
1677
|
+
*/
|
|
1678
|
+
export type UnlikePostResponse = {
|
|
1679
|
+
success: true;
|
|
1680
|
+
/**
|
|
1681
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1682
|
+
*/
|
|
1683
|
+
creditsUsed: number;
|
|
1684
|
+
/**
|
|
1685
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1686
|
+
*/
|
|
1687
|
+
retryAfter: number;
|
|
1688
|
+
};
|
|
1689
|
+
export type UnlikeCommentRequest = {
|
|
1690
|
+
/**
|
|
1691
|
+
* Full comment URN to unlike (e.g. urn:li:comment:(urn:li:activity:123,456))
|
|
1692
|
+
*/
|
|
1693
|
+
commentUrn: string;
|
|
1694
|
+
};
|
|
1695
|
+
/**
|
|
1696
|
+
* Reaction removed
|
|
1697
|
+
*/
|
|
1698
|
+
export type UnlikeCommentResponse = {
|
|
1699
|
+
success: true;
|
|
1700
|
+
/**
|
|
1701
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1702
|
+
*/
|
|
1703
|
+
creditsUsed: number;
|
|
1704
|
+
/**
|
|
1705
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1706
|
+
*/
|
|
1707
|
+
retryAfter: number;
|
|
1708
|
+
};
|
|
1709
|
+
export type SavePostRequest = {
|
|
1710
|
+
/**
|
|
1711
|
+
* LinkedIn post URL or URN to save/unsave
|
|
1712
|
+
*/
|
|
1713
|
+
postUrl: string;
|
|
1714
|
+
};
|
|
1715
|
+
/**
|
|
1716
|
+
* Post saved
|
|
1717
|
+
*/
|
|
1718
|
+
export type SavePostResponse = {
|
|
1719
|
+
success: true;
|
|
1720
|
+
/**
|
|
1721
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1722
|
+
*/
|
|
1723
|
+
creditsUsed: number;
|
|
1724
|
+
/**
|
|
1725
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1726
|
+
*/
|
|
1727
|
+
retryAfter: number;
|
|
1728
|
+
};
|
|
1729
|
+
export type UnsavePostRequest = {
|
|
1730
|
+
/**
|
|
1731
|
+
* LinkedIn post URL or URN to save/unsave
|
|
1732
|
+
*/
|
|
1733
|
+
postUrl: string;
|
|
1734
|
+
};
|
|
1735
|
+
/**
|
|
1736
|
+
* Post unsaved
|
|
1737
|
+
*/
|
|
1738
|
+
export type UnsavePostResponse = {
|
|
1739
|
+
success: true;
|
|
1740
|
+
/**
|
|
1741
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1742
|
+
*/
|
|
1743
|
+
creditsUsed: number;
|
|
1744
|
+
/**
|
|
1745
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1746
|
+
*/
|
|
1747
|
+
retryAfter: number;
|
|
1748
|
+
};
|
|
1749
|
+
export type FollowCompanyRequest = {
|
|
1750
|
+
/**
|
|
1751
|
+
* LinkedIn company URL or URN
|
|
1752
|
+
*/
|
|
1753
|
+
company: string;
|
|
1754
|
+
};
|
|
1755
|
+
/**
|
|
1756
|
+
* Company followed
|
|
1757
|
+
*/
|
|
1758
|
+
export type FollowCompanyResponse = {
|
|
1759
|
+
success: true;
|
|
1760
|
+
/**
|
|
1761
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1762
|
+
*/
|
|
1763
|
+
creditsUsed: number;
|
|
1764
|
+
/**
|
|
1765
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1766
|
+
*/
|
|
1767
|
+
retryAfter: number;
|
|
1768
|
+
};
|
|
1769
|
+
export type UnfollowCompanyRequest = {
|
|
1770
|
+
/**
|
|
1771
|
+
* LinkedIn company URL or URN
|
|
1772
|
+
*/
|
|
1773
|
+
company: string;
|
|
1774
|
+
};
|
|
1775
|
+
/**
|
|
1776
|
+
* Company unfollowed
|
|
1777
|
+
*/
|
|
1778
|
+
export type UnfollowCompanyResponse = {
|
|
1779
|
+
success: true;
|
|
1780
|
+
/**
|
|
1781
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1782
|
+
*/
|
|
1783
|
+
creditsUsed: number;
|
|
1784
|
+
/**
|
|
1785
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1786
|
+
*/
|
|
1787
|
+
retryAfter: number;
|
|
1788
|
+
};
|
|
1789
|
+
export type GetProfilePositionStartDate = {
|
|
1790
|
+
month: number | null;
|
|
1791
|
+
year: number;
|
|
1792
|
+
};
|
|
1793
|
+
export type GetProfilePositionEndDate = {
|
|
1794
|
+
month: number | null;
|
|
1795
|
+
year: number;
|
|
1796
|
+
};
|
|
1797
|
+
export type GetProfilePosition = {
|
|
1798
|
+
companyName: string | null;
|
|
1799
|
+
title: string | null;
|
|
1800
|
+
/**
|
|
1801
|
+
* Position description / responsibilities text
|
|
1802
|
+
*/
|
|
1803
|
+
description: string | null;
|
|
1804
|
+
companyUrl: string | null;
|
|
1805
|
+
companyLogo: string | null;
|
|
1806
|
+
/**
|
|
1807
|
+
* Short description of the company (from LinkedIn company page)
|
|
1808
|
+
*/
|
|
1809
|
+
companyDescription: string | null;
|
|
1810
|
+
startDate: GetProfilePositionStartDate | null;
|
|
1811
|
+
endDate: GetProfilePositionEndDate | null;
|
|
1812
|
+
isCurrent: boolean;
|
|
1813
|
+
};
|
|
1814
|
+
export type GetProfileEducationStartDate = {
|
|
1815
|
+
month: number | null;
|
|
1816
|
+
year: number;
|
|
1817
|
+
};
|
|
1818
|
+
export type GetProfileEducationEndDate = {
|
|
1819
|
+
month: number | null;
|
|
1820
|
+
year: number;
|
|
1821
|
+
};
|
|
1822
|
+
export type GetProfileEducation = {
|
|
1823
|
+
schoolName: string | null;
|
|
1824
|
+
degreeName: string | null;
|
|
1825
|
+
fieldOfStudy: string | null;
|
|
1826
|
+
schoolUrl: string | null;
|
|
1827
|
+
schoolLogo: string | null;
|
|
1828
|
+
startDate: GetProfileEducationStartDate | null;
|
|
1829
|
+
endDate: GetProfileEducationEndDate | null;
|
|
1830
|
+
};
|
|
1831
|
+
/**
|
|
1832
|
+
* Profile location
|
|
1833
|
+
*/
|
|
1834
|
+
export type GetProfileLocation = {
|
|
1835
|
+
countryCode: string;
|
|
1836
|
+
postalCode?: string | undefined;
|
|
1837
|
+
};
|
|
1838
|
+
export declare const GetProfileType: {
|
|
1839
|
+
readonly Activity: "activity";
|
|
1840
|
+
readonly UgcPost: "ugcPost";
|
|
1841
|
+
readonly Share: "share";
|
|
1842
|
+
};
|
|
1843
|
+
export type GetProfileType = OpenEnum<typeof GetProfileType>;
|
|
1844
|
+
/**
|
|
1845
|
+
* Type of media attached to the post.
|
|
1846
|
+
*/
|
|
1847
|
+
export declare const GetProfileMediaType: {
|
|
1848
|
+
readonly Image: "image";
|
|
1849
|
+
readonly Video: "video";
|
|
1850
|
+
readonly Document: "document";
|
|
1851
|
+
readonly Article: "article";
|
|
1852
|
+
};
|
|
1853
|
+
/**
|
|
1854
|
+
* Type of media attached to the post.
|
|
1855
|
+
*/
|
|
1856
|
+
export type GetProfileMediaType = OpenEnum<typeof GetProfileMediaType>;
|
|
1857
|
+
/**
|
|
1858
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1859
|
+
*/
|
|
1860
|
+
export type GetProfileMedia = {
|
|
1861
|
+
/**
|
|
1862
|
+
* Type of media attached to the post.
|
|
1863
|
+
*/
|
|
1864
|
+
type: GetProfileMediaType;
|
|
1865
|
+
/**
|
|
1866
|
+
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
1867
|
+
*/
|
|
1868
|
+
urls: Array<string>;
|
|
1869
|
+
/**
|
|
1870
|
+
* Title of the article or document, when available.
|
|
1871
|
+
*/
|
|
1872
|
+
title?: string | undefined;
|
|
1873
|
+
/**
|
|
1874
|
+
* Thumbnail URL for videos, articles, or document covers.
|
|
1875
|
+
*/
|
|
1876
|
+
thumbnailUrl?: string | undefined;
|
|
1877
|
+
};
|
|
1878
|
+
export type GetProfileLastPost = {
|
|
1879
|
+
postUrl: string;
|
|
1880
|
+
text: string;
|
|
1881
|
+
date: number;
|
|
1882
|
+
likesCount: number;
|
|
1883
|
+
commentsCount: number;
|
|
1884
|
+
sharesCount: number;
|
|
1885
|
+
postUrn: string;
|
|
1886
|
+
postId: string;
|
|
1887
|
+
type: GetProfileType;
|
|
1888
|
+
/**
|
|
1889
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1890
|
+
*/
|
|
1891
|
+
media?: GetProfileMedia | undefined;
|
|
1892
|
+
};
|
|
1893
|
+
/**
|
|
1894
|
+
* Stored LinkedIn profile data
|
|
1895
|
+
*/
|
|
1896
|
+
export type GetProfileResponse = {
|
|
1897
|
+
success: true;
|
|
1898
|
+
/**
|
|
1899
|
+
* LinkedIn vanity name (e.g., 'alexandre-sarfati')
|
|
1900
|
+
*/
|
|
1901
|
+
linkedinProfileId: string | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* Full name from LinkedIn
|
|
1904
|
+
*/
|
|
1905
|
+
linkedinName: string | null;
|
|
1906
|
+
/**
|
|
1907
|
+
* Email from LinkedIn profile
|
|
1908
|
+
*/
|
|
1909
|
+
linkedinEmail: string | null;
|
|
1910
|
+
/**
|
|
1911
|
+
* LinkedIn profile URN
|
|
1912
|
+
*/
|
|
1913
|
+
profileUrn: string | null;
|
|
1914
|
+
/**
|
|
1915
|
+
* LinkedIn headline
|
|
1916
|
+
*/
|
|
1917
|
+
headline: string | null;
|
|
1918
|
+
/**
|
|
1919
|
+
* Profile picture URL
|
|
1920
|
+
*/
|
|
1921
|
+
profilePic: string | null;
|
|
1922
|
+
/**
|
|
1923
|
+
* Full LinkedIn profile URL
|
|
1924
|
+
*/
|
|
1925
|
+
profileUrl: string | null;
|
|
1926
|
+
/**
|
|
1927
|
+
* Work positions (populated after /refresh)
|
|
1928
|
+
*/
|
|
1929
|
+
positions?: Array<GetProfilePosition> | undefined;
|
|
1930
|
+
/**
|
|
1931
|
+
* Education entries (populated after /refresh)
|
|
1932
|
+
*/
|
|
1933
|
+
educations?: Array<GetProfileEducation> | undefined;
|
|
1934
|
+
/**
|
|
1935
|
+
* Total LinkedIn connections
|
|
1936
|
+
*/
|
|
1937
|
+
connectionsCount: number | null;
|
|
1938
|
+
/**
|
|
1939
|
+
* Profile location
|
|
1940
|
+
*/
|
|
1941
|
+
location: GetProfileLocation | null;
|
|
1942
|
+
/**
|
|
1943
|
+
* LinkedIn verification status
|
|
1944
|
+
*/
|
|
1945
|
+
isVerified: boolean | null;
|
|
1946
|
+
/**
|
|
1947
|
+
* Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
|
|
1948
|
+
*/
|
|
1949
|
+
lastPosts?: Array<GetProfileLastPost> | undefined;
|
|
1950
|
+
/**
|
|
1951
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1952
|
+
*/
|
|
1953
|
+
creditsUsed: number;
|
|
1954
|
+
/**
|
|
1955
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1956
|
+
*/
|
|
1957
|
+
retryAfter: number;
|
|
1958
|
+
};
|
|
1959
|
+
/**
|
|
1960
|
+
* Proxy status for this account. Full config is masked; only enabled flag is exposed.
|
|
1961
|
+
*/
|
|
1962
|
+
export type ListAccountsProxyConfig = {
|
|
1963
|
+
enabled: boolean;
|
|
1964
|
+
};
|
|
1965
|
+
export type ListAccountsAccount = {
|
|
1966
|
+
id: string;
|
|
1967
|
+
label: string | null;
|
|
1968
|
+
isDefault: boolean;
|
|
1969
|
+
/**
|
|
1970
|
+
* Whether this account is the one used by the current API token.
|
|
1971
|
+
*/
|
|
1972
|
+
isCurrent: boolean;
|
|
1973
|
+
linkedinProfileId: string | null;
|
|
1974
|
+
linkedinName: string | null;
|
|
1975
|
+
linkedinEmail: string | null;
|
|
1976
|
+
profileUrl: string | null;
|
|
1977
|
+
headline: string | null;
|
|
1978
|
+
profilePic: string | null;
|
|
1979
|
+
profileUrn: string | null;
|
|
1980
|
+
isActive: boolean;
|
|
1981
|
+
isValid: boolean;
|
|
1982
|
+
/**
|
|
1983
|
+
* Account plan tier (e.g. 'free', 'pro', 'team').
|
|
1984
|
+
*/
|
|
1985
|
+
accountPlan: string | null;
|
|
1986
|
+
/**
|
|
1987
|
+
* Whether this account has unlimited credits.
|
|
1988
|
+
*/
|
|
1989
|
+
isUnlimited: boolean;
|
|
1990
|
+
/**
|
|
1991
|
+
* Monthly credit limit for this account. Null if unlimited.
|
|
1992
|
+
*/
|
|
1993
|
+
creditsLimit: number | null;
|
|
1994
|
+
/**
|
|
1995
|
+
* Credits used in the current billing period.
|
|
1996
|
+
*/
|
|
1997
|
+
creditsCount: number;
|
|
1998
|
+
/**
|
|
1999
|
+
* Proxy status for this account. Full config is masked; only enabled flag is exposed.
|
|
2000
|
+
*/
|
|
2001
|
+
proxyConfig: ListAccountsProxyConfig | null;
|
|
2002
|
+
createdAt: string;
|
|
2003
|
+
updatedAt: string;
|
|
2004
|
+
};
|
|
2005
|
+
/**
|
|
2006
|
+
* List of LinkedIn accounts
|
|
2007
|
+
*/
|
|
2008
|
+
export type ListAccountsResponse = {
|
|
2009
|
+
success: true;
|
|
2010
|
+
accounts: Array<ListAccountsAccount>;
|
|
2011
|
+
total: number;
|
|
2012
|
+
/**
|
|
2013
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
2014
|
+
*/
|
|
2015
|
+
creditsUsed: number;
|
|
2016
|
+
/**
|
|
2017
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
2018
|
+
*/
|
|
2019
|
+
retryAfter: number;
|
|
2020
|
+
};
|
|
2021
|
+
export type ProxyConfigIsp = {
|
|
2022
|
+
mode: "isp";
|
|
2023
|
+
/**
|
|
2024
|
+
* ISO country code (reference only).
|
|
2025
|
+
*/
|
|
2026
|
+
country: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* Dedicated ISP IPv4 address from Decodo.
|
|
2029
|
+
*/
|
|
2030
|
+
staticIp: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* Port for the static IP.
|
|
2033
|
+
*/
|
|
2034
|
+
staticPort: number;
|
|
2035
|
+
};
|
|
2036
|
+
export type ProxyConfigResidential = {
|
|
2037
|
+
mode: "residential";
|
|
2038
|
+
/**
|
|
2039
|
+
* ISO 3166-1 alpha-2 country code.
|
|
2040
|
+
*/
|
|
2041
|
+
country: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* City for geo-targeting.
|
|
2044
|
+
*/
|
|
2045
|
+
city?: string | undefined;
|
|
2046
|
+
/**
|
|
2047
|
+
* Sticky IP rotation in hours (default 1).
|
|
2048
|
+
*/
|
|
2049
|
+
rotationHours?: number | undefined;
|
|
2050
|
+
};
|
|
2051
|
+
/**
|
|
2052
|
+
* Proxy config. Null = disable proxy. Object = enable with mode.
|
|
2053
|
+
*/
|
|
2054
|
+
export type ProxyConfig = ProxyConfigResidential | ProxyConfigIsp;
|
|
2055
|
+
export type UpdateAccountRequest = {
|
|
2056
|
+
/**
|
|
2057
|
+
* ID of the LinkedIn account to update.
|
|
2058
|
+
*/
|
|
2059
|
+
accountId: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* User-facing label (e.g. 'Personal', 'Company SDR').
|
|
2062
|
+
*/
|
|
2063
|
+
label?: string | null | undefined;
|
|
2064
|
+
/**
|
|
2065
|
+
* Set as the default account. Clears default from other accounts.
|
|
2066
|
+
*/
|
|
2067
|
+
isDefault?: boolean | undefined;
|
|
2068
|
+
/**
|
|
2069
|
+
* Proxy config. Null = disable proxy. Object = enable with mode.
|
|
2070
|
+
*/
|
|
2071
|
+
proxyConfig?: ProxyConfigResidential | ProxyConfigIsp | null | undefined;
|
|
2072
|
+
};
|
|
2073
|
+
export type UpdateAccountProxyConfigResponse = {
|
|
2074
|
+
city: string | null;
|
|
2075
|
+
mode: string | null;
|
|
2076
|
+
country: string | null;
|
|
2077
|
+
rotationHours: number | null;
|
|
2078
|
+
};
|
|
2079
|
+
export type UpdateAccountAccount = {
|
|
2080
|
+
id: string;
|
|
2081
|
+
label: string | null;
|
|
2082
|
+
isDefault: boolean;
|
|
2083
|
+
linkedinProfileId: string | null;
|
|
2084
|
+
linkedinName: string | null;
|
|
2085
|
+
headline: string | null;
|
|
2086
|
+
profilePic: string | null;
|
|
2087
|
+
isValid: boolean;
|
|
2088
|
+
proxyConfig: UpdateAccountProxyConfigResponse | null;
|
|
2089
|
+
};
|
|
2090
|
+
/**
|
|
2091
|
+
* Updated account
|
|
2092
|
+
*/
|
|
2093
|
+
export type UpdateAccountResponse = {
|
|
2094
|
+
success: true;
|
|
2095
|
+
account: UpdateAccountAccount;
|
|
2096
|
+
/**
|
|
2097
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
2098
|
+
*/
|
|
2099
|
+
creditsUsed: number;
|
|
2100
|
+
/**
|
|
2101
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
2102
|
+
*/
|
|
2103
|
+
retryAfter: number;
|
|
2104
|
+
};
|
|
2105
|
+
/** @internal */
|
|
2106
|
+
export declare const SearchJobsDatePosted$outboundSchema: z.ZodMiniEnum<typeof SearchJobsDatePosted>;
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export declare const SearchJobsSortBy$outboundSchema: z.ZodMiniEnum<typeof SearchJobsSortBy>;
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
export declare const SearchJobsJobType$outboundSchema: z.ZodMiniEnum<typeof SearchJobsJobType>;
|
|
2111
|
+
/** @internal */
|
|
2112
|
+
export declare const SearchJobsExperienceLevel$outboundSchema: z.ZodMiniEnum<typeof SearchJobsExperienceLevel>;
|
|
2113
|
+
/** @internal */
|
|
2114
|
+
export declare const SearchJobsWorkplaceType$outboundSchema: z.ZodMiniEnum<typeof SearchJobsWorkplaceType>;
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export type SearchJobsRequest$Outbound = {
|
|
2117
|
+
keywords?: string | undefined;
|
|
2118
|
+
url?: string | undefined;
|
|
2119
|
+
location?: Array<string> | undefined;
|
|
2120
|
+
datePosted?: string | undefined;
|
|
2121
|
+
sortBy?: string | undefined;
|
|
2122
|
+
jobType?: Array<string> | undefined;
|
|
2123
|
+
experienceLevel?: Array<string> | undefined;
|
|
2124
|
+
workplaceType?: Array<string> | undefined;
|
|
2125
|
+
start?: number | undefined;
|
|
2126
|
+
count?: number | undefined;
|
|
2127
|
+
};
|
|
2128
|
+
/** @internal */
|
|
2129
|
+
export declare const SearchJobsRequest$outboundSchema: z.ZodMiniType<SearchJobsRequest$Outbound, SearchJobsRequest>;
|
|
2130
|
+
export declare function searchJobsRequestToJSON(searchJobsRequest: SearchJobsRequest): string;
|
|
2131
|
+
/** @internal */
|
|
2132
|
+
export declare const SearchJobsCategory$inboundSchema: z.ZodMiniEnum<typeof SearchJobsCategory>;
|
|
2133
|
+
/** @internal */
|
|
2134
|
+
export declare const SearchJobsType$inboundSchema: z.ZodMiniEnum<typeof SearchJobsType>;
|
|
2135
|
+
/** @internal */
|
|
2136
|
+
export declare const SearchJobsItem$inboundSchema: z.ZodMiniType<SearchJobsItem, unknown>;
|
|
2137
|
+
export declare function searchJobsItemFromJSON(jsonString: string): SafeParseResult<SearchJobsItem, SDKValidationError>;
|
|
2138
|
+
/** @internal */
|
|
2139
|
+
export declare const SearchJobsPaging$inboundSchema: z.ZodMiniType<SearchJobsPaging, unknown>;
|
|
2140
|
+
export declare function searchJobsPagingFromJSON(jsonString: string): SafeParseResult<SearchJobsPaging, SDKValidationError>;
|
|
2141
|
+
/** @internal */
|
|
2142
|
+
export declare const SearchJobsResponse$inboundSchema: z.ZodMiniType<SearchJobsResponse, unknown>;
|
|
2143
|
+
export declare function searchJobsResponseFromJSON(jsonString: string): SafeParseResult<SearchJobsResponse, SDKValidationError>;
|
|
2144
|
+
/** @internal */
|
|
2145
|
+
export type SearchByUrlRequest$Outbound = {
|
|
2146
|
+
url: string;
|
|
2147
|
+
start?: number | undefined;
|
|
2148
|
+
count?: number | undefined;
|
|
2149
|
+
};
|
|
2150
|
+
/** @internal */
|
|
2151
|
+
export declare const SearchByUrlRequest$outboundSchema: z.ZodMiniType<SearchByUrlRequest$Outbound, SearchByUrlRequest>;
|
|
2152
|
+
export declare function searchByUrlRequestToJSON(searchByUrlRequest: SearchByUrlRequest): string;
|
|
2153
|
+
/** @internal */
|
|
2154
|
+
export declare const SearchByUrlCategory$inboundSchema: z.ZodMiniType<SearchByUrlCategory, unknown>;
|
|
2155
|
+
/** @internal */
|
|
2156
|
+
export declare const SearchByUrlTypeJob$inboundSchema: z.ZodMiniEnum<typeof SearchByUrlTypeJob>;
|
|
2157
|
+
/** @internal */
|
|
2158
|
+
export declare const SearchByUrlItemsJob$inboundSchema: z.ZodMiniType<SearchByUrlItemsJob, unknown>;
|
|
2159
|
+
export declare function searchByUrlItemsJobFromJSON(jsonString: string): SafeParseResult<SearchByUrlItemsJob, SDKValidationError>;
|
|
2160
|
+
/** @internal */
|
|
2161
|
+
export declare const SearchByUrlTypeCompany$inboundSchema: z.ZodMiniEnum<typeof SearchByUrlTypeCompany>;
|
|
2162
|
+
/** @internal */
|
|
2163
|
+
export declare const SearchByUrlItemsCompany$inboundSchema: z.ZodMiniType<SearchByUrlItemsCompany, unknown>;
|
|
2164
|
+
export declare function searchByUrlItemsCompanyFromJSON(jsonString: string): SafeParseResult<SearchByUrlItemsCompany, SDKValidationError>;
|
|
2165
|
+
/** @internal */
|
|
2166
|
+
export declare const SearchByUrlTypePeople$inboundSchema: z.ZodMiniEnum<typeof SearchByUrlTypePeople>;
|
|
2167
|
+
/** @internal */
|
|
2168
|
+
export declare const SearchByUrlNetworkDistance$inboundSchema: z.ZodMiniType<SearchByUrlNetworkDistance, unknown>;
|
|
2169
|
+
/** @internal */
|
|
2170
|
+
export declare const SearchByUrlCurrentPosition$inboundSchema: z.ZodMiniType<SearchByUrlCurrentPosition, unknown>;
|
|
2171
|
+
export declare function searchByUrlCurrentPositionFromJSON(jsonString: string): SafeParseResult<SearchByUrlCurrentPosition, SDKValidationError>;
|
|
2172
|
+
/** @internal */
|
|
2173
|
+
export declare const SearchByUrlItemsPeople$inboundSchema: z.ZodMiniType<SearchByUrlItemsPeople, unknown>;
|
|
2174
|
+
export declare function searchByUrlItemsPeopleFromJSON(jsonString: string): SafeParseResult<SearchByUrlItemsPeople, SDKValidationError>;
|
|
2175
|
+
/** @internal */
|
|
2176
|
+
export declare const SearchByUrlTypePost$inboundSchema: z.ZodMiniEnum<typeof SearchByUrlTypePost>;
|
|
2177
|
+
/** @internal */
|
|
2178
|
+
export declare const SearchByUrlAuthor$inboundSchema: z.ZodMiniType<SearchByUrlAuthor, unknown>;
|
|
2179
|
+
export declare function searchByUrlAuthorFromJSON(jsonString: string): SafeParseResult<SearchByUrlAuthor, SDKValidationError>;
|
|
2180
|
+
/** @internal */
|
|
2181
|
+
export declare const SearchByUrlMediaType$inboundSchema: z.ZodMiniType<SearchByUrlMediaType, unknown>;
|
|
2182
|
+
/** @internal */
|
|
2183
|
+
export declare const SearchByUrlMedia$inboundSchema: z.ZodMiniType<SearchByUrlMedia, unknown>;
|
|
2184
|
+
export declare function searchByUrlMediaFromJSON(jsonString: string): SafeParseResult<SearchByUrlMedia, SDKValidationError>;
|
|
2185
|
+
/** @internal */
|
|
2186
|
+
export declare const SearchByUrlItemsPost$inboundSchema: z.ZodMiniType<SearchByUrlItemsPost, unknown>;
|
|
2187
|
+
export declare function searchByUrlItemsPostFromJSON(jsonString: string): SafeParseResult<SearchByUrlItemsPost, SDKValidationError>;
|
|
2188
|
+
/** @internal */
|
|
2189
|
+
export declare const SearchByUrlItemsUnion$inboundSchema: z.ZodMiniType<SearchByUrlItemsUnion, unknown>;
|
|
2190
|
+
export declare function searchByUrlItemsUnionFromJSON(jsonString: string): SafeParseResult<SearchByUrlItemsUnion, SDKValidationError>;
|
|
2191
|
+
/** @internal */
|
|
2192
|
+
export declare const SearchByUrlPaging$inboundSchema: z.ZodMiniType<SearchByUrlPaging, unknown>;
|
|
2193
|
+
export declare function searchByUrlPagingFromJSON(jsonString: string): SafeParseResult<SearchByUrlPaging, SDKValidationError>;
|
|
2194
|
+
/** @internal */
|
|
2195
|
+
export declare const SearchByUrlResponse$inboundSchema: z.ZodMiniType<SearchByUrlResponse, unknown>;
|
|
2196
|
+
export declare function searchByUrlResponseFromJSON(jsonString: string): SafeParseResult<SearchByUrlResponse, SDKValidationError>;
|
|
2197
|
+
/** @internal */
|
|
2198
|
+
export declare const ResolveParametersType$outboundSchema: z.ZodMiniEnum<typeof ResolveParametersType>;
|
|
2199
|
+
/** @internal */
|
|
2200
|
+
export type ResolveParametersRequest$Outbound = {
|
|
2201
|
+
type: string;
|
|
2202
|
+
keywords: string;
|
|
2203
|
+
limit?: number | undefined;
|
|
2204
|
+
};
|
|
2205
|
+
/** @internal */
|
|
2206
|
+
export declare const ResolveParametersRequest$outboundSchema: z.ZodMiniType<ResolveParametersRequest$Outbound, ResolveParametersRequest>;
|
|
2207
|
+
export declare function resolveParametersRequestToJSON(resolveParametersRequest: ResolveParametersRequest): string;
|
|
2208
|
+
/** @internal */
|
|
2209
|
+
export declare const ResolveParametersItem$inboundSchema: z.ZodMiniType<ResolveParametersItem, unknown>;
|
|
2210
|
+
export declare function resolveParametersItemFromJSON(jsonString: string): SafeParseResult<ResolveParametersItem, SDKValidationError>;
|
|
2211
|
+
/** @internal */
|
|
2212
|
+
export declare const ResolveParametersResponse$inboundSchema: z.ZodMiniType<ResolveParametersResponse, unknown>;
|
|
2213
|
+
export declare function resolveParametersResponseFromJSON(jsonString: string): SafeParseResult<ResolveParametersResponse, SDKValidationError>;
|
|
2214
|
+
/** @internal */
|
|
2215
|
+
export declare const SearchSalesNavCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCategoryRequest>;
|
|
2216
|
+
/** @internal */
|
|
2217
|
+
export type SearchSalesNavCompany$Outbound = {
|
|
2218
|
+
include?: Array<string> | undefined;
|
|
2219
|
+
exclude?: Array<string> | undefined;
|
|
2220
|
+
};
|
|
2221
|
+
/** @internal */
|
|
2222
|
+
export declare const SearchSalesNavCompany$outboundSchema: z.ZodMiniType<SearchSalesNavCompany$Outbound, SearchSalesNavCompany>;
|
|
2223
|
+
export declare function searchSalesNavCompanyToJSON(searchSalesNavCompany: SearchSalesNavCompany): string;
|
|
2224
|
+
/** @internal */
|
|
2225
|
+
export type SearchSalesNavIndustry$Outbound = {
|
|
2226
|
+
include?: Array<string> | undefined;
|
|
2227
|
+
exclude?: Array<string> | undefined;
|
|
2228
|
+
};
|
|
2229
|
+
/** @internal */
|
|
2230
|
+
export declare const SearchSalesNavIndustry$outboundSchema: z.ZodMiniType<SearchSalesNavIndustry$Outbound, SearchSalesNavIndustry>;
|
|
2231
|
+
export declare function searchSalesNavIndustryToJSON(searchSalesNavIndustry: SearchSalesNavIndustry): string;
|
|
2232
|
+
/** @internal */
|
|
2233
|
+
export type SearchSalesNavTenure$Outbound = {
|
|
2234
|
+
min?: number | undefined;
|
|
2235
|
+
max?: number | undefined;
|
|
2236
|
+
};
|
|
2237
|
+
/** @internal */
|
|
2238
|
+
export declare const SearchSalesNavTenure$outboundSchema: z.ZodMiniType<SearchSalesNavTenure$Outbound, SearchSalesNavTenure>;
|
|
2239
|
+
export declare function searchSalesNavTenureToJSON(searchSalesNavTenure: SearchSalesNavTenure): string;
|
|
2240
|
+
/** @internal */
|
|
2241
|
+
export type SearchSalesNavRequest$Outbound = {
|
|
2242
|
+
category?: string | undefined;
|
|
2243
|
+
url?: string | undefined;
|
|
2244
|
+
keywords?: string | undefined;
|
|
2245
|
+
title?: string | undefined;
|
|
2246
|
+
company?: SearchSalesNavCompany$Outbound | undefined;
|
|
2247
|
+
industry?: SearchSalesNavIndustry$Outbound | undefined;
|
|
2248
|
+
location?: Array<string> | undefined;
|
|
2249
|
+
seniority?: Array<string> | undefined;
|
|
2250
|
+
function?: Array<string> | undefined;
|
|
2251
|
+
tenure?: Array<SearchSalesNavTenure$Outbound> | undefined;
|
|
2252
|
+
profileLanguage?: Array<string> | undefined;
|
|
2253
|
+
connectionDegree?: Array<string> | undefined;
|
|
2254
|
+
school?: Array<string> | undefined;
|
|
2255
|
+
yearsOfExperience?: Array<string> | undefined;
|
|
2256
|
+
companyHeadcount?: Array<string> | undefined;
|
|
2257
|
+
companyType?: Array<string> | undefined;
|
|
2258
|
+
annualRevenue?: Array<string> | undefined;
|
|
2259
|
+
start?: number | undefined;
|
|
2260
|
+
count?: number | undefined;
|
|
2261
|
+
};
|
|
2262
|
+
/** @internal */
|
|
2263
|
+
export declare const SearchSalesNavRequest$outboundSchema: z.ZodMiniType<SearchSalesNavRequest$Outbound, SearchSalesNavRequest>;
|
|
2264
|
+
export declare function searchSalesNavRequestToJSON(searchSalesNavRequest: SearchSalesNavRequest): string;
|
|
2265
|
+
/** @internal */
|
|
2266
|
+
export declare const SearchSalesNavTypeCompany$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavTypeCompany>;
|
|
2267
|
+
/** @internal */
|
|
2268
|
+
export declare const SearchSalesNavItemCompany$inboundSchema: z.ZodMiniType<SearchSalesNavItemCompany, unknown>;
|
|
2269
|
+
export declare function searchSalesNavItemCompanyFromJSON(jsonString: string): SafeParseResult<SearchSalesNavItemCompany, SDKValidationError>;
|
|
2270
|
+
/** @internal */
|
|
2271
|
+
export declare const SearchSalesNavPaging2$inboundSchema: z.ZodMiniType<SearchSalesNavPaging2, unknown>;
|
|
2272
|
+
export declare function searchSalesNavPaging2FromJSON(jsonString: string): SafeParseResult<SearchSalesNavPaging2, SDKValidationError>;
|
|
2273
|
+
/** @internal */
|
|
2274
|
+
export declare const Companies$inboundSchema: z.ZodMiniType<Companies, unknown>;
|
|
2275
|
+
export declare function companiesFromJSON(jsonString: string): SafeParseResult<Companies, SDKValidationError>;
|
|
2276
|
+
/** @internal */
|
|
2277
|
+
export declare const SearchSalesNavTypePeople$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavTypePeople>;
|
|
2278
|
+
/** @internal */
|
|
2279
|
+
export declare const SearchSalesNavNetworkDistance$inboundSchema: z.ZodMiniType<SearchSalesNavNetworkDistance, unknown>;
|
|
2280
|
+
/** @internal */
|
|
2281
|
+
export declare const SearchSalesNavTenureAtCompany$inboundSchema: z.ZodMiniType<SearchSalesNavTenureAtCompany, unknown>;
|
|
2282
|
+
export declare function searchSalesNavTenureAtCompanyFromJSON(jsonString: string): SafeParseResult<SearchSalesNavTenureAtCompany, SDKValidationError>;
|
|
2283
|
+
/** @internal */
|
|
2284
|
+
export declare const SearchSalesNavTenureAtRole$inboundSchema: z.ZodMiniType<SearchSalesNavTenureAtRole, unknown>;
|
|
2285
|
+
export declare function searchSalesNavTenureAtRoleFromJSON(jsonString: string): SafeParseResult<SearchSalesNavTenureAtRole, SDKValidationError>;
|
|
2286
|
+
/** @internal */
|
|
2287
|
+
export declare const SearchSalesNavCurrentPosition$inboundSchema: z.ZodMiniType<SearchSalesNavCurrentPosition, unknown>;
|
|
2288
|
+
export declare function searchSalesNavCurrentPositionFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCurrentPosition, SDKValidationError>;
|
|
2289
|
+
/** @internal */
|
|
2290
|
+
export declare const SearchSalesNavItemPeople$inboundSchema: z.ZodMiniType<SearchSalesNavItemPeople, unknown>;
|
|
2291
|
+
export declare function searchSalesNavItemPeopleFromJSON(jsonString: string): SafeParseResult<SearchSalesNavItemPeople, SDKValidationError>;
|
|
2292
|
+
/** @internal */
|
|
2293
|
+
export declare const SearchSalesNavPaging1$inboundSchema: z.ZodMiniType<SearchSalesNavPaging1, unknown>;
|
|
2294
|
+
export declare function searchSalesNavPaging1FromJSON(jsonString: string): SafeParseResult<SearchSalesNavPaging1, SDKValidationError>;
|
|
2295
|
+
/** @internal */
|
|
2296
|
+
export declare const People$inboundSchema: z.ZodMiniType<People, unknown>;
|
|
2297
|
+
export declare function peopleFromJSON(jsonString: string): SafeParseResult<People, SDKValidationError>;
|
|
2298
|
+
/** @internal */
|
|
2299
|
+
export declare const SearchSalesNavResponse$inboundSchema: z.ZodMiniType<SearchSalesNavResponse, unknown>;
|
|
2300
|
+
export declare function searchSalesNavResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavResponse, SDKValidationError>;
|
|
2301
|
+
/** @internal */
|
|
2302
|
+
export declare const SearchSalesNavPeopleCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchSalesNavPeopleCategoryRequest>;
|
|
2303
|
+
/** @internal */
|
|
2304
|
+
export type SearchSalesNavPeopleCompany$Outbound = {
|
|
2305
|
+
include?: Array<string> | undefined;
|
|
2306
|
+
exclude?: Array<string> | undefined;
|
|
2307
|
+
};
|
|
2308
|
+
/** @internal */
|
|
2309
|
+
export declare const SearchSalesNavPeopleCompany$outboundSchema: z.ZodMiniType<SearchSalesNavPeopleCompany$Outbound, SearchSalesNavPeopleCompany>;
|
|
2310
|
+
export declare function searchSalesNavPeopleCompanyToJSON(searchSalesNavPeopleCompany: SearchSalesNavPeopleCompany): string;
|
|
2311
|
+
/** @internal */
|
|
2312
|
+
export type SearchSalesNavPeopleIndustry$Outbound = {
|
|
2313
|
+
include?: Array<string> | undefined;
|
|
2314
|
+
exclude?: Array<string> | undefined;
|
|
2315
|
+
};
|
|
2316
|
+
/** @internal */
|
|
2317
|
+
export declare const SearchSalesNavPeopleIndustry$outboundSchema: z.ZodMiniType<SearchSalesNavPeopleIndustry$Outbound, SearchSalesNavPeopleIndustry>;
|
|
2318
|
+
export declare function searchSalesNavPeopleIndustryToJSON(searchSalesNavPeopleIndustry: SearchSalesNavPeopleIndustry): string;
|
|
2319
|
+
/** @internal */
|
|
2320
|
+
export type SearchSalesNavPeopleTenure$Outbound = {
|
|
2321
|
+
min?: number | undefined;
|
|
2322
|
+
max?: number | undefined;
|
|
2323
|
+
};
|
|
2324
|
+
/** @internal */
|
|
2325
|
+
export declare const SearchSalesNavPeopleTenure$outboundSchema: z.ZodMiniType<SearchSalesNavPeopleTenure$Outbound, SearchSalesNavPeopleTenure>;
|
|
2326
|
+
export declare function searchSalesNavPeopleTenureToJSON(searchSalesNavPeopleTenure: SearchSalesNavPeopleTenure): string;
|
|
2327
|
+
/** @internal */
|
|
2328
|
+
export type SearchSalesNavPeopleRequest$Outbound = {
|
|
2329
|
+
category?: string | undefined;
|
|
2330
|
+
url?: string | undefined;
|
|
2331
|
+
keywords?: string | undefined;
|
|
2332
|
+
title?: string | undefined;
|
|
2333
|
+
company?: SearchSalesNavPeopleCompany$Outbound | undefined;
|
|
2334
|
+
industry?: SearchSalesNavPeopleIndustry$Outbound | undefined;
|
|
2335
|
+
location?: Array<string> | undefined;
|
|
2336
|
+
seniority?: Array<string> | undefined;
|
|
2337
|
+
function?: Array<string> | undefined;
|
|
2338
|
+
tenure?: Array<SearchSalesNavPeopleTenure$Outbound> | undefined;
|
|
2339
|
+
profileLanguage?: Array<string> | undefined;
|
|
2340
|
+
connectionDegree?: Array<string> | undefined;
|
|
2341
|
+
school?: Array<string> | undefined;
|
|
2342
|
+
yearsOfExperience?: Array<string> | undefined;
|
|
2343
|
+
start?: number | undefined;
|
|
2344
|
+
count?: number | undefined;
|
|
2345
|
+
};
|
|
2346
|
+
/** @internal */
|
|
2347
|
+
export declare const SearchSalesNavPeopleRequest$outboundSchema: z.ZodMiniType<SearchSalesNavPeopleRequest$Outbound, SearchSalesNavPeopleRequest>;
|
|
2348
|
+
export declare function searchSalesNavPeopleRequestToJSON(searchSalesNavPeopleRequest: SearchSalesNavPeopleRequest): string;
|
|
2349
|
+
/** @internal */
|
|
2350
|
+
export declare const SearchSalesNavPeopleCategoryPeople$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavPeopleCategoryPeople>;
|
|
2351
|
+
/** @internal */
|
|
2352
|
+
export declare const SearchSalesNavPeopleType$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavPeopleType>;
|
|
2353
|
+
/** @internal */
|
|
2354
|
+
export declare const SearchSalesNavPeopleNetworkDistance$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleNetworkDistance, unknown>;
|
|
2355
|
+
/** @internal */
|
|
2356
|
+
export declare const SearchSalesNavPeopleTenureAtCompany$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleTenureAtCompany, unknown>;
|
|
2357
|
+
export declare function searchSalesNavPeopleTenureAtCompanyFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeopleTenureAtCompany, SDKValidationError>;
|
|
2358
|
+
/** @internal */
|
|
2359
|
+
export declare const SearchSalesNavPeopleTenureAtRole$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleTenureAtRole, unknown>;
|
|
2360
|
+
export declare function searchSalesNavPeopleTenureAtRoleFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeopleTenureAtRole, SDKValidationError>;
|
|
2361
|
+
/** @internal */
|
|
2362
|
+
export declare const SearchSalesNavPeopleCurrentPosition$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleCurrentPosition, unknown>;
|
|
2363
|
+
export declare function searchSalesNavPeopleCurrentPositionFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeopleCurrentPosition, SDKValidationError>;
|
|
2364
|
+
/** @internal */
|
|
2365
|
+
export declare const SearchSalesNavPeopleItem$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleItem, unknown>;
|
|
2366
|
+
export declare function searchSalesNavPeopleItemFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeopleItem, SDKValidationError>;
|
|
2367
|
+
/** @internal */
|
|
2368
|
+
export declare const SearchSalesNavPeoplePaging$inboundSchema: z.ZodMiniType<SearchSalesNavPeoplePaging, unknown>;
|
|
2369
|
+
export declare function searchSalesNavPeoplePagingFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeoplePaging, SDKValidationError>;
|
|
2370
|
+
/** @internal */
|
|
2371
|
+
export declare const SearchSalesNavPeopleResponse$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleResponse, unknown>;
|
|
2372
|
+
export declare function searchSalesNavPeopleResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeopleResponse, SDKValidationError>;
|
|
2373
|
+
/** @internal */
|
|
2374
|
+
export declare const SearchSalesNavCompaniesCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesCategoryRequest>;
|
|
2375
|
+
/** @internal */
|
|
2376
|
+
export type SearchSalesNavCompaniesIndustry$Outbound = {
|
|
2377
|
+
include?: Array<string> | undefined;
|
|
2378
|
+
exclude?: Array<string> | undefined;
|
|
2379
|
+
};
|
|
2380
|
+
/** @internal */
|
|
2381
|
+
export declare const SearchSalesNavCompaniesIndustry$outboundSchema: z.ZodMiniType<SearchSalesNavCompaniesIndustry$Outbound, SearchSalesNavCompaniesIndustry>;
|
|
2382
|
+
export declare function searchSalesNavCompaniesIndustryToJSON(searchSalesNavCompaniesIndustry: SearchSalesNavCompaniesIndustry): string;
|
|
2383
|
+
/** @internal */
|
|
2384
|
+
export type SearchSalesNavCompaniesRequest$Outbound = {
|
|
2385
|
+
category?: string | undefined;
|
|
2386
|
+
url?: string | undefined;
|
|
2387
|
+
keywords?: string | undefined;
|
|
2388
|
+
industry?: SearchSalesNavCompaniesIndustry$Outbound | undefined;
|
|
2389
|
+
location?: Array<string> | undefined;
|
|
2390
|
+
companyHeadcount?: Array<string> | undefined;
|
|
2391
|
+
companyType?: Array<string> | undefined;
|
|
2392
|
+
annualRevenue?: Array<string> | undefined;
|
|
2393
|
+
start?: number | undefined;
|
|
2394
|
+
count?: number | undefined;
|
|
2395
|
+
};
|
|
2396
|
+
/** @internal */
|
|
2397
|
+
export declare const SearchSalesNavCompaniesRequest$outboundSchema: z.ZodMiniType<SearchSalesNavCompaniesRequest$Outbound, SearchSalesNavCompaniesRequest>;
|
|
2398
|
+
export declare function searchSalesNavCompaniesRequestToJSON(searchSalesNavCompaniesRequest: SearchSalesNavCompaniesRequest): string;
|
|
2399
|
+
/** @internal */
|
|
2400
|
+
export declare const SearchSalesNavCompaniesCategoryCompanies$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesCategoryCompanies>;
|
|
2401
|
+
/** @internal */
|
|
2402
|
+
export declare const SearchSalesNavCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesType>;
|
|
2403
|
+
/** @internal */
|
|
2404
|
+
export declare const SearchSalesNavCompaniesItem$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesItem, unknown>;
|
|
2405
|
+
export declare function searchSalesNavCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesItem, SDKValidationError>;
|
|
2406
|
+
/** @internal */
|
|
2407
|
+
export declare const SearchSalesNavCompaniesPaging$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesPaging, unknown>;
|
|
2408
|
+
export declare function searchSalesNavCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesPaging, SDKValidationError>;
|
|
2409
|
+
/** @internal */
|
|
2410
|
+
export declare const SearchSalesNavCompaniesResponse$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesResponse, unknown>;
|
|
2411
|
+
export declare function searchSalesNavCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesResponse, SDKValidationError>;
|
|
2412
|
+
/** @internal */
|
|
2413
|
+
export type ConnectProfileRequest$Outbound = {
|
|
2414
|
+
profile: string;
|
|
2415
|
+
campaignSlug?: string | undefined;
|
|
2416
|
+
actionSlug?: string | undefined;
|
|
2417
|
+
};
|
|
2418
|
+
/** @internal */
|
|
2419
|
+
export declare const ConnectProfileRequest$outboundSchema: z.ZodMiniType<ConnectProfileRequest$Outbound, ConnectProfileRequest>;
|
|
2420
|
+
export declare function connectProfileRequestToJSON(connectProfileRequest: ConnectProfileRequest): string;
|
|
2421
|
+
/** @internal */
|
|
2422
|
+
export declare const ConnectProfileResponse$inboundSchema: z.ZodMiniType<ConnectProfileResponse, unknown>;
|
|
2423
|
+
export declare function connectProfileResponseFromJSON(jsonString: string): SafeParseResult<ConnectProfileResponse, SDKValidationError>;
|
|
2424
|
+
/** @internal */
|
|
2425
|
+
export type ListInvitationsRequest$Outbound = {
|
|
2426
|
+
start: number;
|
|
2427
|
+
count: number;
|
|
2428
|
+
};
|
|
2429
|
+
/** @internal */
|
|
2430
|
+
export declare const ListInvitationsRequest$outboundSchema: z.ZodMiniType<ListInvitationsRequest$Outbound, ListInvitationsRequest>;
|
|
2431
|
+
export declare function listInvitationsRequestToJSON(listInvitationsRequest: ListInvitationsRequest): string;
|
|
2432
|
+
/** @internal */
|
|
2433
|
+
export declare const FromMember$inboundSchema: z.ZodMiniType<FromMember, unknown>;
|
|
2434
|
+
export declare function fromMemberFromJSON(jsonString: string): SafeParseResult<FromMember, SDKValidationError>;
|
|
2435
|
+
/** @internal */
|
|
2436
|
+
export declare const ListInvitationsInvitation$inboundSchema: z.ZodMiniType<ListInvitationsInvitation, unknown>;
|
|
2437
|
+
export declare function listInvitationsInvitationFromJSON(jsonString: string): SafeParseResult<ListInvitationsInvitation, SDKValidationError>;
|
|
2438
|
+
/** @internal */
|
|
2439
|
+
export declare const ListInvitationsResponse$inboundSchema: z.ZodMiniType<ListInvitationsResponse, unknown>;
|
|
2440
|
+
export declare function listInvitationsResponseFromJSON(jsonString: string): SafeParseResult<ListInvitationsResponse, SDKValidationError>;
|
|
2441
|
+
/** @internal */
|
|
2442
|
+
export type AcceptInvitationRequest$Outbound = {
|
|
2443
|
+
invitationId: string;
|
|
2444
|
+
sharedSecret: string;
|
|
2445
|
+
senderProfileId?: string | undefined;
|
|
2446
|
+
firstName?: string | undefined;
|
|
2447
|
+
lastName?: string | undefined;
|
|
2448
|
+
};
|
|
2449
|
+
/** @internal */
|
|
2450
|
+
export declare const AcceptInvitationRequest$outboundSchema: z.ZodMiniType<AcceptInvitationRequest$Outbound, AcceptInvitationRequest>;
|
|
2451
|
+
export declare function acceptInvitationRequestToJSON(acceptInvitationRequest: AcceptInvitationRequest): string;
|
|
2452
|
+
/** @internal */
|
|
2453
|
+
export declare const AcceptInvitationResponse$inboundSchema: z.ZodMiniType<AcceptInvitationResponse, unknown>;
|
|
2454
|
+
export declare function acceptInvitationResponseFromJSON(jsonString: string): SafeParseResult<AcceptInvitationResponse, SDKValidationError>;
|
|
2455
|
+
/** @internal */
|
|
2456
|
+
export type SendMessageRequest$Outbound = {
|
|
2457
|
+
profile?: string | undefined;
|
|
2458
|
+
conversationUrn?: string | undefined;
|
|
2459
|
+
message: string;
|
|
2460
|
+
campaignSlug?: string | undefined;
|
|
2461
|
+
actionSlug?: string | undefined;
|
|
2462
|
+
};
|
|
2463
|
+
/** @internal */
|
|
2464
|
+
export declare const SendMessageRequest$outboundSchema: z.ZodMiniType<SendMessageRequest$Outbound, SendMessageRequest>;
|
|
2465
|
+
export declare function sendMessageRequestToJSON(sendMessageRequest: SendMessageRequest): string;
|
|
2466
|
+
/** @internal */
|
|
2467
|
+
export declare const SendMessageResponse$inboundSchema: z.ZodMiniType<SendMessageResponse, unknown>;
|
|
2468
|
+
export declare function sendMessageResponseFromJSON(jsonString: string): SafeParseResult<SendMessageResponse, SDKValidationError>;
|
|
2469
|
+
/** @internal */
|
|
2470
|
+
export type ReplyToCommentRequest$Outbound = {
|
|
2471
|
+
commentUrn: string;
|
|
2472
|
+
message: string;
|
|
2473
|
+
campaignSlug?: string | undefined;
|
|
2474
|
+
actionSlug?: string | undefined;
|
|
2475
|
+
};
|
|
2476
|
+
/** @internal */
|
|
2477
|
+
export declare const ReplyToCommentRequest$outboundSchema: z.ZodMiniType<ReplyToCommentRequest$Outbound, ReplyToCommentRequest>;
|
|
2478
|
+
export declare function replyToCommentRequestToJSON(replyToCommentRequest: ReplyToCommentRequest): string;
|
|
2479
|
+
/** @internal */
|
|
2480
|
+
export declare const ReplyToCommentResponse$inboundSchema: z.ZodMiniType<ReplyToCommentResponse, unknown>;
|
|
2481
|
+
export declare function replyToCommentResponseFromJSON(jsonString: string): SafeParseResult<ReplyToCommentResponse, SDKValidationError>;
|
|
2482
|
+
/** @internal */
|
|
2483
|
+
export declare const LikeCommentReactionType$outboundSchema: z.ZodMiniEnum<typeof LikeCommentReactionType>;
|
|
2484
|
+
/** @internal */
|
|
2485
|
+
export type LikeCommentRequest$Outbound = {
|
|
2486
|
+
commentUrn: string;
|
|
2487
|
+
reactionType: string;
|
|
2488
|
+
campaignSlug?: string | undefined;
|
|
2489
|
+
actionSlug?: string | undefined;
|
|
2490
|
+
};
|
|
2491
|
+
/** @internal */
|
|
2492
|
+
export declare const LikeCommentRequest$outboundSchema: z.ZodMiniType<LikeCommentRequest$Outbound, LikeCommentRequest>;
|
|
2493
|
+
export declare function likeCommentRequestToJSON(likeCommentRequest: LikeCommentRequest): string;
|
|
2494
|
+
/** @internal */
|
|
2495
|
+
export declare const LikeCommentResponse$inboundSchema: z.ZodMiniType<LikeCommentResponse, unknown>;
|
|
2496
|
+
export declare function likeCommentResponseFromJSON(jsonString: string): SafeParseResult<LikeCommentResponse, SDKValidationError>;
|
|
2497
|
+
/** @internal */
|
|
2498
|
+
export declare const PublishPostMode$outboundSchema: z.ZodMiniEnum<typeof PublishPostMode>;
|
|
2499
|
+
/** @internal */
|
|
2500
|
+
export declare const Visibility$outboundSchema: z.ZodMiniEnum<typeof Visibility>;
|
|
2501
|
+
/** @internal */
|
|
2502
|
+
export type Mention$Outbound = {
|
|
2503
|
+
profileUrn: string;
|
|
2504
|
+
start: number;
|
|
2505
|
+
length: number;
|
|
2506
|
+
};
|
|
2507
|
+
/** @internal */
|
|
2508
|
+
export declare const Mention$outboundSchema: z.ZodMiniType<Mention$Outbound, Mention>;
|
|
2509
|
+
export declare function mentionToJSON(mention: Mention): string;
|
|
2510
|
+
/** @internal */
|
|
2511
|
+
export type PublishPostRequest$Outbound = {
|
|
2512
|
+
text: string;
|
|
2513
|
+
mode: string;
|
|
2514
|
+
scheduledAt?: number | undefined;
|
|
2515
|
+
companyId?: string | undefined;
|
|
2516
|
+
imageUrl?: string | undefined;
|
|
2517
|
+
imageBase64?: string | undefined;
|
|
2518
|
+
imageFileName?: string | undefined;
|
|
2519
|
+
visibility: string;
|
|
2520
|
+
mentions?: Array<Mention$Outbound> | undefined;
|
|
2521
|
+
campaignSlug?: string | undefined;
|
|
2522
|
+
actionSlug?: string | undefined;
|
|
2523
|
+
};
|
|
2524
|
+
/** @internal */
|
|
2525
|
+
export declare const PublishPostRequest$outboundSchema: z.ZodMiniType<PublishPostRequest$Outbound, PublishPostRequest>;
|
|
2526
|
+
export declare function publishPostRequestToJSON(publishPostRequest: PublishPostRequest): string;
|
|
2527
|
+
/** @internal */
|
|
2528
|
+
export declare const PublishPostResponse$inboundSchema: z.ZodMiniType<PublishPostResponse, unknown>;
|
|
2529
|
+
export declare function publishPostResponseFromJSON(jsonString: string): SafeParseResult<PublishPostResponse, SDKValidationError>;
|
|
2530
|
+
/** @internal */
|
|
2531
|
+
export type CreateCommentRequest$Outbound = {
|
|
2532
|
+
postUrl: string;
|
|
2533
|
+
message: string;
|
|
2534
|
+
companyId?: string | undefined;
|
|
2535
|
+
campaignSlug?: string | undefined;
|
|
2536
|
+
actionSlug?: string | undefined;
|
|
2537
|
+
};
|
|
2538
|
+
/** @internal */
|
|
2539
|
+
export declare const CreateCommentRequest$outboundSchema: z.ZodMiniType<CreateCommentRequest$Outbound, CreateCommentRequest>;
|
|
2540
|
+
export declare function createCommentRequestToJSON(createCommentRequest: CreateCommentRequest): string;
|
|
2541
|
+
/** @internal */
|
|
2542
|
+
export declare const CreateCommentResponse$inboundSchema: z.ZodMiniType<CreateCommentResponse, unknown>;
|
|
2543
|
+
export declare function createCommentResponseFromJSON(jsonString: string): SafeParseResult<CreateCommentResponse, SDKValidationError>;
|
|
2544
|
+
/** @internal */
|
|
2545
|
+
export declare const LikePostReactionType$outboundSchema: z.ZodMiniEnum<typeof LikePostReactionType>;
|
|
2546
|
+
/** @internal */
|
|
2547
|
+
export type LikePostRequest$Outbound = {
|
|
2548
|
+
postUrl: string;
|
|
2549
|
+
reactionType: string;
|
|
2550
|
+
companyId?: string | undefined;
|
|
2551
|
+
campaignSlug?: string | undefined;
|
|
2552
|
+
actionSlug?: string | undefined;
|
|
2553
|
+
};
|
|
2554
|
+
/** @internal */
|
|
2555
|
+
export declare const LikePostRequest$outboundSchema: z.ZodMiniType<LikePostRequest$Outbound, LikePostRequest>;
|
|
2556
|
+
export declare function likePostRequestToJSON(likePostRequest: LikePostRequest): string;
|
|
2557
|
+
/** @internal */
|
|
2558
|
+
export declare const LikePostResponse$inboundSchema: z.ZodMiniType<LikePostResponse, unknown>;
|
|
2559
|
+
export declare function likePostResponseFromJSON(jsonString: string): SafeParseResult<LikePostResponse, SDKValidationError>;
|
|
2560
|
+
/** @internal */
|
|
2561
|
+
export type DeclineInvitationRequest$Outbound = {
|
|
2562
|
+
invitationId: string;
|
|
2563
|
+
sharedSecret: string;
|
|
2564
|
+
senderProfileId?: string | undefined;
|
|
2565
|
+
};
|
|
2566
|
+
/** @internal */
|
|
2567
|
+
export declare const DeclineInvitationRequest$outboundSchema: z.ZodMiniType<DeclineInvitationRequest$Outbound, DeclineInvitationRequest>;
|
|
2568
|
+
export declare function declineInvitationRequestToJSON(declineInvitationRequest: DeclineInvitationRequest): string;
|
|
2569
|
+
/** @internal */
|
|
2570
|
+
export declare const DeclineInvitationResponse$inboundSchema: z.ZodMiniType<DeclineInvitationResponse, unknown>;
|
|
2571
|
+
export declare function declineInvitationResponseFromJSON(jsonString: string): SafeParseResult<DeclineInvitationResponse, SDKValidationError>;
|
|
2572
|
+
/** @internal */
|
|
2573
|
+
export type ListSentInvitationsRequest$Outbound = {
|
|
2574
|
+
start: number;
|
|
2575
|
+
count: number;
|
|
2576
|
+
};
|
|
2577
|
+
/** @internal */
|
|
2578
|
+
export declare const ListSentInvitationsRequest$outboundSchema: z.ZodMiniType<ListSentInvitationsRequest$Outbound, ListSentInvitationsRequest>;
|
|
2579
|
+
export declare function listSentInvitationsRequestToJSON(listSentInvitationsRequest: ListSentInvitationsRequest): string;
|
|
2580
|
+
/** @internal */
|
|
2581
|
+
export declare const ToMember$inboundSchema: z.ZodMiniType<ToMember, unknown>;
|
|
2582
|
+
export declare function toMemberFromJSON(jsonString: string): SafeParseResult<ToMember, SDKValidationError>;
|
|
2583
|
+
/** @internal */
|
|
2584
|
+
export declare const ListSentInvitationsInvitation$inboundSchema: z.ZodMiniType<ListSentInvitationsInvitation, unknown>;
|
|
2585
|
+
export declare function listSentInvitationsInvitationFromJSON(jsonString: string): SafeParseResult<ListSentInvitationsInvitation, SDKValidationError>;
|
|
2586
|
+
/** @internal */
|
|
2587
|
+
export declare const ListSentInvitationsResponse$inboundSchema: z.ZodMiniType<ListSentInvitationsResponse, unknown>;
|
|
2588
|
+
export declare function listSentInvitationsResponseFromJSON(jsonString: string): SafeParseResult<ListSentInvitationsResponse, SDKValidationError>;
|
|
2589
|
+
/** @internal */
|
|
2590
|
+
export type WithdrawInvitationRequest$Outbound = {
|
|
2591
|
+
invitationUrn: string;
|
|
2592
|
+
};
|
|
2593
|
+
/** @internal */
|
|
2594
|
+
export declare const WithdrawInvitationRequest$outboundSchema: z.ZodMiniType<WithdrawInvitationRequest$Outbound, WithdrawInvitationRequest>;
|
|
2595
|
+
export declare function withdrawInvitationRequestToJSON(withdrawInvitationRequest: WithdrawInvitationRequest): string;
|
|
2596
|
+
/** @internal */
|
|
2597
|
+
export declare const WithdrawInvitationResponse$inboundSchema: z.ZodMiniType<WithdrawInvitationResponse, unknown>;
|
|
2598
|
+
export declare function withdrawInvitationResponseFromJSON(jsonString: string): SafeParseResult<WithdrawInvitationResponse, SDKValidationError>;
|
|
2599
|
+
/** @internal */
|
|
2600
|
+
export type FollowProfileRequest$Outbound = {
|
|
2601
|
+
profile: string;
|
|
2602
|
+
};
|
|
2603
|
+
/** @internal */
|
|
2604
|
+
export declare const FollowProfileRequest$outboundSchema: z.ZodMiniType<FollowProfileRequest$Outbound, FollowProfileRequest>;
|
|
2605
|
+
export declare function followProfileRequestToJSON(followProfileRequest: FollowProfileRequest): string;
|
|
2606
|
+
/** @internal */
|
|
2607
|
+
export declare const FollowProfileResponse$inboundSchema: z.ZodMiniType<FollowProfileResponse, unknown>;
|
|
2608
|
+
export declare function followProfileResponseFromJSON(jsonString: string): SafeParseResult<FollowProfileResponse, SDKValidationError>;
|
|
2609
|
+
/** @internal */
|
|
2610
|
+
export type UnfollowProfileRequest$Outbound = {
|
|
2611
|
+
profile: string;
|
|
2612
|
+
};
|
|
2613
|
+
/** @internal */
|
|
2614
|
+
export declare const UnfollowProfileRequest$outboundSchema: z.ZodMiniType<UnfollowProfileRequest$Outbound, UnfollowProfileRequest>;
|
|
2615
|
+
export declare function unfollowProfileRequestToJSON(unfollowProfileRequest: UnfollowProfileRequest): string;
|
|
2616
|
+
/** @internal */
|
|
2617
|
+
export declare const UnfollowProfileResponse$inboundSchema: z.ZodMiniType<UnfollowProfileResponse, unknown>;
|
|
2618
|
+
export declare function unfollowProfileResponseFromJSON(jsonString: string): SafeParseResult<UnfollowProfileResponse, SDKValidationError>;
|
|
2619
|
+
/** @internal */
|
|
2620
|
+
export type EditPostRequest$Outbound = {
|
|
2621
|
+
postUrl: string;
|
|
2622
|
+
text: string;
|
|
2623
|
+
};
|
|
2624
|
+
/** @internal */
|
|
2625
|
+
export declare const EditPostRequest$outboundSchema: z.ZodMiniType<EditPostRequest$Outbound, EditPostRequest>;
|
|
2626
|
+
export declare function editPostRequestToJSON(editPostRequest: EditPostRequest): string;
|
|
2627
|
+
/** @internal */
|
|
2628
|
+
export declare const EditPostResponse$inboundSchema: z.ZodMiniType<EditPostResponse, unknown>;
|
|
2629
|
+
export declare function editPostResponseFromJSON(jsonString: string): SafeParseResult<EditPostResponse, SDKValidationError>;
|
|
2630
|
+
/** @internal */
|
|
2631
|
+
export type EditCommentRequest$Outbound = {
|
|
2632
|
+
fsdCommentUrn?: string | undefined;
|
|
2633
|
+
commentUrn?: string | undefined;
|
|
2634
|
+
text: string;
|
|
2635
|
+
};
|
|
2636
|
+
/** @internal */
|
|
2637
|
+
export declare const EditCommentRequest$outboundSchema: z.ZodMiniType<EditCommentRequest$Outbound, EditCommentRequest>;
|
|
2638
|
+
export declare function editCommentRequestToJSON(editCommentRequest: EditCommentRequest): string;
|
|
2639
|
+
/** @internal */
|
|
2640
|
+
export declare const EditCommentResponse$inboundSchema: z.ZodMiniType<EditCommentResponse, unknown>;
|
|
2641
|
+
export declare function editCommentResponseFromJSON(jsonString: string): SafeParseResult<EditCommentResponse, SDKValidationError>;
|
|
2642
|
+
/** @internal */
|
|
2643
|
+
export type RepostPostRequest$Outbound = {
|
|
2644
|
+
postUrl: string;
|
|
2645
|
+
text: string;
|
|
2646
|
+
};
|
|
2647
|
+
/** @internal */
|
|
2648
|
+
export declare const RepostPostRequest$outboundSchema: z.ZodMiniType<RepostPostRequest$Outbound, RepostPostRequest>;
|
|
2649
|
+
export declare function repostPostRequestToJSON(repostPostRequest: RepostPostRequest): string;
|
|
2650
|
+
/** @internal */
|
|
2651
|
+
export declare const RepostPostResponse$inboundSchema: z.ZodMiniType<RepostPostResponse, unknown>;
|
|
2652
|
+
export declare function repostPostResponseFromJSON(jsonString: string): SafeParseResult<RepostPostResponse, SDKValidationError>;
|
|
2653
|
+
/** @internal */
|
|
2654
|
+
export type UnlikePostRequest$Outbound = {
|
|
2655
|
+
postUrl: string;
|
|
2656
|
+
};
|
|
2657
|
+
/** @internal */
|
|
2658
|
+
export declare const UnlikePostRequest$outboundSchema: z.ZodMiniType<UnlikePostRequest$Outbound, UnlikePostRequest>;
|
|
2659
|
+
export declare function unlikePostRequestToJSON(unlikePostRequest: UnlikePostRequest): string;
|
|
2660
|
+
/** @internal */
|
|
2661
|
+
export declare const UnlikePostResponse$inboundSchema: z.ZodMiniType<UnlikePostResponse, unknown>;
|
|
2662
|
+
export declare function unlikePostResponseFromJSON(jsonString: string): SafeParseResult<UnlikePostResponse, SDKValidationError>;
|
|
2663
|
+
/** @internal */
|
|
2664
|
+
export type UnlikeCommentRequest$Outbound = {
|
|
2665
|
+
commentUrn: string;
|
|
2666
|
+
};
|
|
2667
|
+
/** @internal */
|
|
2668
|
+
export declare const UnlikeCommentRequest$outboundSchema: z.ZodMiniType<UnlikeCommentRequest$Outbound, UnlikeCommentRequest>;
|
|
2669
|
+
export declare function unlikeCommentRequestToJSON(unlikeCommentRequest: UnlikeCommentRequest): string;
|
|
2670
|
+
/** @internal */
|
|
2671
|
+
export declare const UnlikeCommentResponse$inboundSchema: z.ZodMiniType<UnlikeCommentResponse, unknown>;
|
|
2672
|
+
export declare function unlikeCommentResponseFromJSON(jsonString: string): SafeParseResult<UnlikeCommentResponse, SDKValidationError>;
|
|
2673
|
+
/** @internal */
|
|
2674
|
+
export type SavePostRequest$Outbound = {
|
|
2675
|
+
postUrl: string;
|
|
2676
|
+
};
|
|
2677
|
+
/** @internal */
|
|
2678
|
+
export declare const SavePostRequest$outboundSchema: z.ZodMiniType<SavePostRequest$Outbound, SavePostRequest>;
|
|
2679
|
+
export declare function savePostRequestToJSON(savePostRequest: SavePostRequest): string;
|
|
2680
|
+
/** @internal */
|
|
2681
|
+
export declare const SavePostResponse$inboundSchema: z.ZodMiniType<SavePostResponse, unknown>;
|
|
2682
|
+
export declare function savePostResponseFromJSON(jsonString: string): SafeParseResult<SavePostResponse, SDKValidationError>;
|
|
2683
|
+
/** @internal */
|
|
2684
|
+
export type UnsavePostRequest$Outbound = {
|
|
2685
|
+
postUrl: string;
|
|
2686
|
+
};
|
|
2687
|
+
/** @internal */
|
|
2688
|
+
export declare const UnsavePostRequest$outboundSchema: z.ZodMiniType<UnsavePostRequest$Outbound, UnsavePostRequest>;
|
|
2689
|
+
export declare function unsavePostRequestToJSON(unsavePostRequest: UnsavePostRequest): string;
|
|
2690
|
+
/** @internal */
|
|
2691
|
+
export declare const UnsavePostResponse$inboundSchema: z.ZodMiniType<UnsavePostResponse, unknown>;
|
|
2692
|
+
export declare function unsavePostResponseFromJSON(jsonString: string): SafeParseResult<UnsavePostResponse, SDKValidationError>;
|
|
2693
|
+
/** @internal */
|
|
2694
|
+
export type FollowCompanyRequest$Outbound = {
|
|
2695
|
+
company: string;
|
|
2696
|
+
};
|
|
2697
|
+
/** @internal */
|
|
2698
|
+
export declare const FollowCompanyRequest$outboundSchema: z.ZodMiniType<FollowCompanyRequest$Outbound, FollowCompanyRequest>;
|
|
2699
|
+
export declare function followCompanyRequestToJSON(followCompanyRequest: FollowCompanyRequest): string;
|
|
2700
|
+
/** @internal */
|
|
2701
|
+
export declare const FollowCompanyResponse$inboundSchema: z.ZodMiniType<FollowCompanyResponse, unknown>;
|
|
2702
|
+
export declare function followCompanyResponseFromJSON(jsonString: string): SafeParseResult<FollowCompanyResponse, SDKValidationError>;
|
|
2703
|
+
/** @internal */
|
|
2704
|
+
export type UnfollowCompanyRequest$Outbound = {
|
|
2705
|
+
company: string;
|
|
2706
|
+
};
|
|
2707
|
+
/** @internal */
|
|
2708
|
+
export declare const UnfollowCompanyRequest$outboundSchema: z.ZodMiniType<UnfollowCompanyRequest$Outbound, UnfollowCompanyRequest>;
|
|
2709
|
+
export declare function unfollowCompanyRequestToJSON(unfollowCompanyRequest: UnfollowCompanyRequest): string;
|
|
2710
|
+
/** @internal */
|
|
2711
|
+
export declare const UnfollowCompanyResponse$inboundSchema: z.ZodMiniType<UnfollowCompanyResponse, unknown>;
|
|
2712
|
+
export declare function unfollowCompanyResponseFromJSON(jsonString: string): SafeParseResult<UnfollowCompanyResponse, SDKValidationError>;
|
|
2713
|
+
/** @internal */
|
|
2714
|
+
export declare const GetProfilePositionStartDate$inboundSchema: z.ZodMiniType<GetProfilePositionStartDate, unknown>;
|
|
2715
|
+
export declare function getProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<GetProfilePositionStartDate, SDKValidationError>;
|
|
2716
|
+
/** @internal */
|
|
2717
|
+
export declare const GetProfilePositionEndDate$inboundSchema: z.ZodMiniType<GetProfilePositionEndDate, unknown>;
|
|
2718
|
+
export declare function getProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<GetProfilePositionEndDate, SDKValidationError>;
|
|
2719
|
+
/** @internal */
|
|
2720
|
+
export declare const GetProfilePosition$inboundSchema: z.ZodMiniType<GetProfilePosition, unknown>;
|
|
2721
|
+
export declare function getProfilePositionFromJSON(jsonString: string): SafeParseResult<GetProfilePosition, SDKValidationError>;
|
|
2722
|
+
/** @internal */
|
|
2723
|
+
export declare const GetProfileEducationStartDate$inboundSchema: z.ZodMiniType<GetProfileEducationStartDate, unknown>;
|
|
2724
|
+
export declare function getProfileEducationStartDateFromJSON(jsonString: string): SafeParseResult<GetProfileEducationStartDate, SDKValidationError>;
|
|
2725
|
+
/** @internal */
|
|
2726
|
+
export declare const GetProfileEducationEndDate$inboundSchema: z.ZodMiniType<GetProfileEducationEndDate, unknown>;
|
|
2727
|
+
export declare function getProfileEducationEndDateFromJSON(jsonString: string): SafeParseResult<GetProfileEducationEndDate, SDKValidationError>;
|
|
2728
|
+
/** @internal */
|
|
2729
|
+
export declare const GetProfileEducation$inboundSchema: z.ZodMiniType<GetProfileEducation, unknown>;
|
|
2730
|
+
export declare function getProfileEducationFromJSON(jsonString: string): SafeParseResult<GetProfileEducation, SDKValidationError>;
|
|
2731
|
+
/** @internal */
|
|
2732
|
+
export declare const GetProfileLocation$inboundSchema: z.ZodMiniType<GetProfileLocation, unknown>;
|
|
2733
|
+
export declare function getProfileLocationFromJSON(jsonString: string): SafeParseResult<GetProfileLocation, SDKValidationError>;
|
|
2734
|
+
/** @internal */
|
|
2735
|
+
export declare const GetProfileType$inboundSchema: z.ZodMiniType<GetProfileType, unknown>;
|
|
2736
|
+
/** @internal */
|
|
2737
|
+
export declare const GetProfileMediaType$inboundSchema: z.ZodMiniType<GetProfileMediaType, unknown>;
|
|
2738
|
+
/** @internal */
|
|
2739
|
+
export declare const GetProfileMedia$inboundSchema: z.ZodMiniType<GetProfileMedia, unknown>;
|
|
2740
|
+
export declare function getProfileMediaFromJSON(jsonString: string): SafeParseResult<GetProfileMedia, SDKValidationError>;
|
|
2741
|
+
/** @internal */
|
|
2742
|
+
export declare const GetProfileLastPost$inboundSchema: z.ZodMiniType<GetProfileLastPost, unknown>;
|
|
2743
|
+
export declare function getProfileLastPostFromJSON(jsonString: string): SafeParseResult<GetProfileLastPost, SDKValidationError>;
|
|
2744
|
+
/** @internal */
|
|
2745
|
+
export declare const GetProfileResponse$inboundSchema: z.ZodMiniType<GetProfileResponse, unknown>;
|
|
2746
|
+
export declare function getProfileResponseFromJSON(jsonString: string): SafeParseResult<GetProfileResponse, SDKValidationError>;
|
|
2747
|
+
/** @internal */
|
|
2748
|
+
export declare const ListAccountsProxyConfig$inboundSchema: z.ZodMiniType<ListAccountsProxyConfig, unknown>;
|
|
2749
|
+
export declare function listAccountsProxyConfigFromJSON(jsonString: string): SafeParseResult<ListAccountsProxyConfig, SDKValidationError>;
|
|
2750
|
+
/** @internal */
|
|
2751
|
+
export declare const ListAccountsAccount$inboundSchema: z.ZodMiniType<ListAccountsAccount, unknown>;
|
|
2752
|
+
export declare function listAccountsAccountFromJSON(jsonString: string): SafeParseResult<ListAccountsAccount, SDKValidationError>;
|
|
2753
|
+
/** @internal */
|
|
2754
|
+
export declare const ListAccountsResponse$inboundSchema: z.ZodMiniType<ListAccountsResponse, unknown>;
|
|
2755
|
+
export declare function listAccountsResponseFromJSON(jsonString: string): SafeParseResult<ListAccountsResponse, SDKValidationError>;
|
|
2756
|
+
/** @internal */
|
|
2757
|
+
export type ProxyConfigIsp$Outbound = {
|
|
2758
|
+
mode: "isp";
|
|
2759
|
+
country: string;
|
|
2760
|
+
staticIp: string;
|
|
2761
|
+
staticPort: number;
|
|
2762
|
+
};
|
|
2763
|
+
/** @internal */
|
|
2764
|
+
export declare const ProxyConfigIsp$outboundSchema: z.ZodMiniType<ProxyConfigIsp$Outbound, ProxyConfigIsp>;
|
|
2765
|
+
export declare function proxyConfigIspToJSON(proxyConfigIsp: ProxyConfigIsp): string;
|
|
2766
|
+
/** @internal */
|
|
2767
|
+
export type ProxyConfigResidential$Outbound = {
|
|
2768
|
+
mode: "residential";
|
|
2769
|
+
country: string;
|
|
2770
|
+
city?: string | undefined;
|
|
2771
|
+
rotationHours: number;
|
|
2772
|
+
};
|
|
2773
|
+
/** @internal */
|
|
2774
|
+
export declare const ProxyConfigResidential$outboundSchema: z.ZodMiniType<ProxyConfigResidential$Outbound, ProxyConfigResidential>;
|
|
2775
|
+
export declare function proxyConfigResidentialToJSON(proxyConfigResidential: ProxyConfigResidential): string;
|
|
2776
|
+
/** @internal */
|
|
2777
|
+
export type ProxyConfig$Outbound = ProxyConfigResidential$Outbound | ProxyConfigIsp$Outbound;
|
|
2778
|
+
/** @internal */
|
|
2779
|
+
export declare const ProxyConfig$outboundSchema: z.ZodMiniType<ProxyConfig$Outbound, ProxyConfig>;
|
|
2780
|
+
export declare function proxyConfigToJSON(proxyConfig: ProxyConfig): string;
|
|
2781
|
+
/** @internal */
|
|
2782
|
+
export type UpdateAccountRequest$Outbound = {
|
|
2783
|
+
accountId: string;
|
|
2784
|
+
label?: string | null | undefined;
|
|
2785
|
+
isDefault?: boolean | undefined;
|
|
2786
|
+
proxyConfig?: ProxyConfigResidential$Outbound | ProxyConfigIsp$Outbound | null | undefined;
|
|
2787
|
+
};
|
|
2788
|
+
/** @internal */
|
|
2789
|
+
export declare const UpdateAccountRequest$outboundSchema: z.ZodMiniType<UpdateAccountRequest$Outbound, UpdateAccountRequest>;
|
|
2790
|
+
export declare function updateAccountRequestToJSON(updateAccountRequest: UpdateAccountRequest): string;
|
|
2791
|
+
/** @internal */
|
|
2792
|
+
export declare const UpdateAccountProxyConfigResponse$inboundSchema: z.ZodMiniType<UpdateAccountProxyConfigResponse, unknown>;
|
|
2793
|
+
export declare function updateAccountProxyConfigResponseFromJSON(jsonString: string): SafeParseResult<UpdateAccountProxyConfigResponse, SDKValidationError>;
|
|
2794
|
+
/** @internal */
|
|
2795
|
+
export declare const UpdateAccountAccount$inboundSchema: z.ZodMiniType<UpdateAccountAccount, unknown>;
|
|
2796
|
+
export declare function updateAccountAccountFromJSON(jsonString: string): SafeParseResult<UpdateAccountAccount, SDKValidationError>;
|
|
2797
|
+
/** @internal */
|
|
2798
|
+
export declare const UpdateAccountResponse$inboundSchema: z.ZodMiniType<UpdateAccountResponse, unknown>;
|
|
2799
|
+
export declare function updateAccountResponseFromJSON(jsonString: string): SafeParseResult<UpdateAccountResponse, SDKValidationError>;
|
|
2800
|
+
//# sourceMappingURL=update-account-response.d.ts.map
|