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
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as errors from "../models/errors/index.js";
|
|
12
|
-
import * as operations from "../models/operations/index.js";
|
|
13
|
-
import { APIPromise } from "../types/async.js";
|
|
14
|
-
/**
|
|
15
|
-
* Search LinkedIn Posts
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* # Search LinkedIn Posts
|
|
19
|
-
*
|
|
20
|
-
* Search LinkedIn's content index for posts matching your keywords and filters. Returns structured post data including full text, engagement metrics, author info, and URLs.
|
|
21
|
-
*
|
|
22
|
-
* ## Required parameters
|
|
23
|
-
* - **keywords** (string, required): The search terms to match against post content. Examples: `"AI automation"`, `"remote work trends"`, `"SaaS growth strategies"`.
|
|
24
|
-
*
|
|
25
|
-
* ## Keyword syntax (Boolean operators)
|
|
26
|
-
* Keywords support LinkedIn Boolean search syntax:
|
|
27
|
-
* - **Exact phrase**: `"outreach automation"` — matches only that exact phrase
|
|
28
|
-
* - **AND**: `AI AND marketing` — both terms required (spaces default to AND)
|
|
29
|
-
* - **OR**: `"growth hacking" OR "growth marketing"` — either term
|
|
30
|
-
* - **NOT**: `outreach NOT webinar` — exclude unwanted terms
|
|
31
|
-
* - **Parentheses**: `(AI OR ML) AND "case study"` — group logic
|
|
32
|
-
*
|
|
33
|
-
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
34
|
-
*
|
|
35
|
-
* ## Available filters
|
|
36
|
-
* | Filter | Type | Description |
|
|
37
|
-
* |--------|------|-------------|
|
|
38
|
-
* | `sortBy` | `"relevance"` \| `"date"` | Sort by relevance (default) or most recent first |
|
|
39
|
-
* | `datePosted` | `"past-24h"` \| `"past-week"` \| `"past-month"` | Filter by publication recency |
|
|
40
|
-
* | `contentType` | `"images"` \| `"videos"` \| `"documents"` | Filter by media type |
|
|
41
|
-
* | `authorIndustry` | string[] | Author's industry IDs (resolve via `/search/linkedin/parameters` with type=`INDUSTRY`) |
|
|
42
|
-
* | `authorCompany` | string[] | Author's company IDs (resolve via `/search/linkedin/parameters` with type=`COMPANY`) |
|
|
43
|
-
*
|
|
44
|
-
* ## Response fields (per item)
|
|
45
|
-
* | Field | Type | Description |
|
|
46
|
-
* |-------|------|-------------|
|
|
47
|
-
* | `postUrl` | string | Direct URL to the LinkedIn post |
|
|
48
|
-
* | `text` | string | Full post text content |
|
|
49
|
-
* | `date` | number | Publication timestamp (ms since epoch) |
|
|
50
|
-
* | `likesCount` | number | Total reactions |
|
|
51
|
-
* | `commentsCount` | number | Total comments |
|
|
52
|
-
* | `sharesCount` | number | Total shares/reposts |
|
|
53
|
-
* | `author.name` | string | Author's display name |
|
|
54
|
-
* | `author.profileUrl` | string | Author's LinkedIn profile URL |
|
|
55
|
-
* | `author.headline` | string | Author's headline |
|
|
56
|
-
* | `author.isCompany` | boolean | Whether the author is a company page |
|
|
57
|
-
* | `isRepost` | boolean | Whether this is a repost of another post |
|
|
58
|
-
*
|
|
59
|
-
* ## Pagination
|
|
60
|
-
* - Default page size: 10, max: 50
|
|
61
|
-
* - Use `start` + `count` to paginate: `start=0, count=10` → page 1, `start=10, count=10` → page 2
|
|
62
|
-
* - Check `hasMore` in the response to know if more pages exist
|
|
63
|
-
* - `paging.total` gives the estimated total number of results
|
|
64
|
-
*
|
|
65
|
-
* ## Example workflows
|
|
66
|
-
* 1. **Content research**: Search for trending topics → analyze top posts → extract engagement patterns
|
|
67
|
-
* 2. **Lead generation**: Search for posts about problems your product solves → extract author profiles
|
|
68
|
-
* 3. **Competitive intelligence**: Search for competitor mentions → track sentiment and engagement
|
|
69
|
-
*
|
|
70
|
-
* ## Credits
|
|
71
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
72
|
-
*/
|
|
73
|
-
export function linkedinSearchSearchPosts(client, request, options) {
|
|
74
|
-
return new APIPromise($do(client, request, options));
|
|
75
|
-
}
|
|
76
|
-
async function $do(client, request, options) {
|
|
77
|
-
const parsed = safeParse(request, (value) => z.parse(operations.SearchLinkedInPostsRequest$outboundSchema, value), "Input validation failed");
|
|
78
|
-
if (!parsed.ok) {
|
|
79
|
-
return [parsed, { status: "invalid" }];
|
|
80
|
-
}
|
|
81
|
-
const payload = parsed.value;
|
|
82
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
83
|
-
const path = pathToFunc("/search/linkedin/posts")();
|
|
84
|
-
const headers = new Headers(compactMap({
|
|
85
|
-
"Content-Type": "application/json",
|
|
86
|
-
Accept: "application/json",
|
|
87
|
-
}));
|
|
88
|
-
const secConfig = await extractSecurity(client._options.token);
|
|
89
|
-
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
90
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
91
|
-
const context = {
|
|
92
|
-
options: client._options,
|
|
93
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
94
|
-
operationID: "searchLinkedInPosts",
|
|
95
|
-
oAuth2Scopes: null,
|
|
96
|
-
resolvedSecurity: requestSecurity,
|
|
97
|
-
securitySource: client._options.token,
|
|
98
|
-
retryConfig: options?.retries
|
|
99
|
-
|| client._options.retryConfig
|
|
100
|
-
|| { strategy: "none" },
|
|
101
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
102
|
-
};
|
|
103
|
-
const requestRes = client._createRequest(context, {
|
|
104
|
-
security: requestSecurity,
|
|
105
|
-
method: "POST",
|
|
106
|
-
baseURL: options?.serverURL,
|
|
107
|
-
path: path,
|
|
108
|
-
headers: headers,
|
|
109
|
-
body: body,
|
|
110
|
-
userAgent: client._options.userAgent,
|
|
111
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
112
|
-
}, options);
|
|
113
|
-
if (!requestRes.ok) {
|
|
114
|
-
return [requestRes, { status: "invalid" }];
|
|
115
|
-
}
|
|
116
|
-
const req = requestRes.value;
|
|
117
|
-
const doResult = await client._do(req, {
|
|
118
|
-
context,
|
|
119
|
-
errorCodes: [
|
|
120
|
-
"400",
|
|
121
|
-
"401",
|
|
122
|
-
"403",
|
|
123
|
-
"404",
|
|
124
|
-
"409",
|
|
125
|
-
"410",
|
|
126
|
-
"422",
|
|
127
|
-
"429",
|
|
128
|
-
"4XX",
|
|
129
|
-
"500",
|
|
130
|
-
"5XX",
|
|
131
|
-
],
|
|
132
|
-
retryConfig: context.retryConfig,
|
|
133
|
-
retryCodes: context.retryCodes,
|
|
134
|
-
});
|
|
135
|
-
if (!doResult.ok) {
|
|
136
|
-
return [doResult, { status: "request-error", request: req }];
|
|
137
|
-
}
|
|
138
|
-
const response = doResult.value;
|
|
139
|
-
const responseFields = {
|
|
140
|
-
HttpMeta: { Response: response, Request: req },
|
|
141
|
-
};
|
|
142
|
-
const [result] = await M.match(M.json(200, operations.SearchLinkedInPostsResponse$inboundSchema), M.jsonErr(400, errors.BadRequestError$inboundSchema), M.jsonErr(401, errors.UnauthorizedError$inboundSchema), M.jsonErr(403, errors.ForbiddenError$inboundSchema), M.jsonErr(404, errors.NotFoundError$inboundSchema), M.jsonErr(409, errors.ConflictError$inboundSchema), M.jsonErr(410, errors.GoneError$inboundSchema), M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema), M.jsonErr(429, errors.TooManyRequestsError$inboundSchema), M.jsonErr(500, errors.InternalServerError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
143
|
-
if (!result.ok) {
|
|
144
|
-
return [result, { status: "complete", request: req, response }];
|
|
145
|
-
}
|
|
146
|
-
return [result, { status: "complete", request: req, response }];
|
|
147
|
-
}
|
|
148
|
-
//# sourceMappingURL=linkedin-search-search-posts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkedin-search-search-posts.js","sourceRoot":"","sources":["../../src/funcs/linkedin-search-search-posts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAAmB,EACnB,OAA8C,EAC9C,OAAwB,EAsBxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAmB,EACnB,OAA8C,EAC9C,OAAwB,EAyBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,yCAAyC,EAAE,KAAK,CAAC,EACtE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE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
|
|
3
|
-
import { BereachError } from "../models/errors/bereach-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
-
import * as errors from "../models/errors/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Get authenticated user's LinkedIn posts
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Returns paginated posts from the authenticated user's own LinkedIn profile. No credits consumed. Requires valid LinkedIn credentials and a stored profileUrn (call /me/linkedin/refresh first if needed).
|
|
16
|
-
*/
|
|
17
|
-
export declare function profileGetPosts(client: BereachCore, request?: operations.GetMyLinkedInPostsRequest | undefined, options?: RequestOptions): APIPromise<Result<operations.GetMyLinkedInPostsResponse, errors.BadRequestError | errors.UnauthorizedError | errors.ForbiddenError | errors.NotFoundError | errors.ConflictError | errors.GoneError | errors.UnprocessableEntityError | errors.TooManyRequestsError | errors.InternalServerError | BereachError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
|
-
//# sourceMappingURL=profile-get-posts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile-get-posts.d.ts","sourceRoot":"","sources":["../../src/funcs/profile-get-posts.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAKzC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,UAAU,CAAC,yBAAyB,GAAG,SAAS,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,MAAM,CAAC,eAAe,GACtB,MAAM,CAAC,iBAAiB,GACxB,MAAM,CAAC,cAAc,GACrB,MAAM,CAAC,aAAa,GACpB,MAAM,CAAC,aAAa,GACpB,MAAM,CAAC,SAAS,GAChB,MAAM,CAAC,wBAAwB,GAC/B,MAAM,CAAC,oBAAoB,GAC3B,MAAM,CAAC,mBAAmB,GAC1B,YAAY,GACZ,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as errors from "../models/errors/index.js";
|
|
12
|
-
import * as operations from "../models/operations/index.js";
|
|
13
|
-
import { APIPromise } from "../types/async.js";
|
|
14
|
-
/**
|
|
15
|
-
* Get authenticated user's LinkedIn posts
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* Returns paginated posts from the authenticated user's own LinkedIn profile. No credits consumed. Requires valid LinkedIn credentials and a stored profileUrn (call /me/linkedin/refresh first if needed).
|
|
19
|
-
*/
|
|
20
|
-
export function profileGetPosts(client, request, options) {
|
|
21
|
-
return new APIPromise($do(client, request, options));
|
|
22
|
-
}
|
|
23
|
-
async function $do(client, request, options) {
|
|
24
|
-
const parsed = safeParse(request, (value) => z.parse(z.optional(operations.GetMyLinkedInPostsRequest$outboundSchema), value), "Input validation failed");
|
|
25
|
-
if (!parsed.ok) {
|
|
26
|
-
return [parsed, { status: "invalid" }];
|
|
27
|
-
}
|
|
28
|
-
const payload = parsed.value;
|
|
29
|
-
const body = payload === undefined
|
|
30
|
-
? null
|
|
31
|
-
: encodeJSON("body", payload, { explode: true });
|
|
32
|
-
const path = pathToFunc("/me/linkedin/posts")();
|
|
33
|
-
const headers = new Headers(compactMap({
|
|
34
|
-
"Content-Type": "application/json",
|
|
35
|
-
Accept: "application/json",
|
|
36
|
-
}));
|
|
37
|
-
const secConfig = await extractSecurity(client._options.token);
|
|
38
|
-
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
39
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
40
|
-
const context = {
|
|
41
|
-
options: client._options,
|
|
42
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
43
|
-
operationID: "getMyLinkedInPosts",
|
|
44
|
-
oAuth2Scopes: null,
|
|
45
|
-
resolvedSecurity: requestSecurity,
|
|
46
|
-
securitySource: client._options.token,
|
|
47
|
-
retryConfig: options?.retries
|
|
48
|
-
|| client._options.retryConfig
|
|
49
|
-
|| { strategy: "none" },
|
|
50
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
51
|
-
};
|
|
52
|
-
const requestRes = client._createRequest(context, {
|
|
53
|
-
security: requestSecurity,
|
|
54
|
-
method: "POST",
|
|
55
|
-
baseURL: options?.serverURL,
|
|
56
|
-
path: path,
|
|
57
|
-
headers: headers,
|
|
58
|
-
body: body,
|
|
59
|
-
userAgent: client._options.userAgent,
|
|
60
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
61
|
-
}, options);
|
|
62
|
-
if (!requestRes.ok) {
|
|
63
|
-
return [requestRes, { status: "invalid" }];
|
|
64
|
-
}
|
|
65
|
-
const req = requestRes.value;
|
|
66
|
-
const doResult = await client._do(req, {
|
|
67
|
-
context,
|
|
68
|
-
errorCodes: [
|
|
69
|
-
"400",
|
|
70
|
-
"401",
|
|
71
|
-
"403",
|
|
72
|
-
"404",
|
|
73
|
-
"409",
|
|
74
|
-
"410",
|
|
75
|
-
"422",
|
|
76
|
-
"429",
|
|
77
|
-
"4XX",
|
|
78
|
-
"500",
|
|
79
|
-
"5XX",
|
|
80
|
-
],
|
|
81
|
-
retryConfig: context.retryConfig,
|
|
82
|
-
retryCodes: context.retryCodes,
|
|
83
|
-
});
|
|
84
|
-
if (!doResult.ok) {
|
|
85
|
-
return [doResult, { status: "request-error", request: req }];
|
|
86
|
-
}
|
|
87
|
-
const response = doResult.value;
|
|
88
|
-
const responseFields = {
|
|
89
|
-
HttpMeta: { Response: response, Request: req },
|
|
90
|
-
};
|
|
91
|
-
const [result] = await M.match(M.json(200, operations.GetMyLinkedInPostsResponse$inboundSchema), M.jsonErr(400, errors.BadRequestError$inboundSchema), M.jsonErr(401, errors.UnauthorizedError$inboundSchema), M.jsonErr(403, errors.ForbiddenError$inboundSchema), M.jsonErr(404, errors.NotFoundError$inboundSchema), M.jsonErr(409, errors.ConflictError$inboundSchema), M.jsonErr(410, errors.GoneError$inboundSchema), M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema), M.jsonErr(429, errors.TooManyRequestsError$inboundSchema), M.jsonErr(500, errors.InternalServerError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
92
|
-
if (!result.ok) {
|
|
93
|
-
return [result, { status: "complete", request: req, response }];
|
|
94
|
-
}
|
|
95
|
-
return [result, { status: "complete", request: req, response }];
|
|
96
|
-
}
|
|
97
|
-
//# sourceMappingURL=profile-get-posts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile-get-posts.js","sourceRoot":"","sources":["../../src/funcs/profile-get-posts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAC7B,MAAmB,EACnB,OAA0D,EAC1D,OAAwB,EAsBxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAmB,EACnB,OAA0D,EAC1D,OAAwB,EAyBxB;IACA,MAAM,MAAM,GAA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AAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BereachCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { BereachError } from "../models/errors/bereach-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
-
import * as errors from "../models/errors/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Get profile views
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Get who viewed your LinkedIn profile with viewer details (name, headline, company, profileUrl). Returns views array and total count. Requires Premium for full viewer details. 1 credit.
|
|
16
|
-
*/
|
|
17
|
-
export declare function profileGetProfileViews(client: BereachCore, _request?: operations.GetLinkedInProfileViewsRequest | undefined, options?: RequestOptions): APIPromise<Result<operations.GetLinkedInProfileViewsResponse, errors.BadRequestError | errors.UnauthorizedError | errors.ForbiddenError | errors.NotFoundError | errors.ConflictError | errors.GoneError | errors.UnprocessableEntityError | errors.TooManyRequestsError | errors.InternalServerError | BereachError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
|
-
//# sourceMappingURL=profile-get-profile-views.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile-get-profile-views.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code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as M from "../lib/matchers.js";
|
|
5
|
-
import { compactMap } from "../lib/primitives.js";
|
|
6
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
7
|
-
import { pathToFunc } from "../lib/url.js";
|
|
8
|
-
import * as errors from "../models/errors/index.js";
|
|
9
|
-
import * as operations from "../models/operations/index.js";
|
|
10
|
-
import { APIPromise } from "../types/async.js";
|
|
11
|
-
/**
|
|
12
|
-
* Get profile views
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Get who viewed your LinkedIn profile with viewer details (name, headline, company, profileUrl). Returns views array and total count. Requires Premium for full viewer details. 1 credit.
|
|
16
|
-
*/
|
|
17
|
-
export function profileGetProfileViews(client, _request, options) {
|
|
18
|
-
return new APIPromise($do(client, _request, options));
|
|
19
|
-
}
|
|
20
|
-
async function $do(client, _request, options) {
|
|
21
|
-
const path = pathToFunc("/analytics/linkedin/profile-views")();
|
|
22
|
-
const headers = new Headers(compactMap({
|
|
23
|
-
"Content-Type": "application/json",
|
|
24
|
-
Accept: "application/json",
|
|
25
|
-
}));
|
|
26
|
-
const secConfig = await extractSecurity(client._options.token);
|
|
27
|
-
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
28
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
29
|
-
const context = {
|
|
30
|
-
options: client._options,
|
|
31
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
32
|
-
operationID: "getLinkedInProfileViews",
|
|
33
|
-
oAuth2Scopes: null,
|
|
34
|
-
resolvedSecurity: requestSecurity,
|
|
35
|
-
securitySource: client._options.token,
|
|
36
|
-
retryConfig: options?.retries
|
|
37
|
-
|| client._options.retryConfig
|
|
38
|
-
|| { strategy: "none" },
|
|
39
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
40
|
-
};
|
|
41
|
-
const requestRes = client._createRequest(context, {
|
|
42
|
-
security: requestSecurity,
|
|
43
|
-
method: "POST",
|
|
44
|
-
baseURL: options?.serverURL,
|
|
45
|
-
path: path,
|
|
46
|
-
headers: headers,
|
|
47
|
-
userAgent: client._options.userAgent,
|
|
48
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
49
|
-
}, options);
|
|
50
|
-
if (!requestRes.ok) {
|
|
51
|
-
return [requestRes, { status: "invalid" }];
|
|
52
|
-
}
|
|
53
|
-
const req = requestRes.value;
|
|
54
|
-
const doResult = await client._do(req, {
|
|
55
|
-
context,
|
|
56
|
-
errorCodes: [
|
|
57
|
-
"400",
|
|
58
|
-
"401",
|
|
59
|
-
"403",
|
|
60
|
-
"404",
|
|
61
|
-
"409",
|
|
62
|
-
"410",
|
|
63
|
-
"422",
|
|
64
|
-
"429",
|
|
65
|
-
"4XX",
|
|
66
|
-
"500",
|
|
67
|
-
"5XX",
|
|
68
|
-
],
|
|
69
|
-
retryConfig: context.retryConfig,
|
|
70
|
-
retryCodes: context.retryCodes,
|
|
71
|
-
});
|
|
72
|
-
if (!doResult.ok) {
|
|
73
|
-
return [doResult, { status: "request-error", request: req }];
|
|
74
|
-
}
|
|
75
|
-
const response = doResult.value;
|
|
76
|
-
const responseFields = {
|
|
77
|
-
HttpMeta: { Response: response, Request: req },
|
|
78
|
-
};
|
|
79
|
-
const [result] = await M.match(M.json(200, operations.GetLinkedInProfileViewsResponse$inboundSchema), M.jsonErr(400, errors.BadRequestError$inboundSchema), M.jsonErr(401, errors.UnauthorizedError$inboundSchema), M.jsonErr(403, errors.ForbiddenError$inboundSchema), M.jsonErr(404, errors.NotFoundError$inboundSchema), M.jsonErr(409, errors.ConflictError$inboundSchema), M.jsonErr(410, errors.GoneError$inboundSchema), M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema), M.jsonErr(429, errors.TooManyRequestsError$inboundSchema), M.jsonErr(500, errors.InternalServerError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
80
|
-
if (!result.ok) {
|
|
81
|
-
return [result, { status: "complete", request: req, response }];
|
|
82
|
-
}
|
|
83
|
-
return [result, { status: "complete", request: req, response }];
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=profile-get-profile-views.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profile-get-profile-views.js","sourceRoot":"","sources":["../../src/funcs/profile-get-profile-views.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CACpC,MAAmB,EACnB,QAAgE,EAChE,OAAwB,EAsBxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,QAAQ,EACR,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAmB,EACnB,QAAgE,EAChE,OAAwB,EAyBxB;IACA,MAAM,IAAI,GAAG,UAAU,CAAC,mCAAmC,CAAC,EAAE,CAAC;IAE/D,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;QACrC,cAAc,EAAE,kBAAkB;QAClC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,aAAa,G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AO,CAAC,GAAG,EAAE,MAAM,CAAC,kCAAkC,CAAC,EACzD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,iCAAiC,CAAC,EACxD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { BereachCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { BereachError } from "../models/errors/bereach-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
5
|
-
import * as errors from "../models/errors/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Sales Navigator People/Lead Search
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* # Sales Navigator People Search
|
|
16
|
-
*
|
|
17
|
-
* Search for leads in LinkedIn Sales Navigator with advanced filters. Returns enriched profile data including tenure, premium status, and open profile flag.
|
|
18
|
-
*
|
|
19
|
-
* ## Available filters
|
|
20
|
-
* | Filter | Type | Description |
|
|
21
|
-
* |--------|------|-------------|
|
|
22
|
-
* | `keywords` | string | Search terms |
|
|
23
|
-
* | `title` | string | Job title keywords |
|
|
24
|
-
* | `company` | {include?, exclude?} | Company IDs with include/exclude |
|
|
25
|
-
* | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
|
|
26
|
-
* | `location` | string[] | Geography IDs |
|
|
27
|
-
* | `seniority` | string[] | Seniority levels (1-10) |
|
|
28
|
-
* | `function` | string[] | Job function IDs |
|
|
29
|
-
* | `tenure` | {min?, max?}[] | Years at current company |
|
|
30
|
-
* | `profileLanguage` | string[] | Profile language codes |
|
|
31
|
-
* | `connectionDegree` | string[] | Network distance (1, 2, 3) |
|
|
32
|
-
* | `school` | string[] | School IDs |
|
|
33
|
-
* | `yearsOfExperience` | string[] | Experience ranges |
|
|
34
|
-
*
|
|
35
|
-
* ## Response fields (per item)
|
|
36
|
-
* | Field | Type | Description |
|
|
37
|
-
* |-------|------|-------------|
|
|
38
|
-
* | `id` | string | Sales Navigator lead ID |
|
|
39
|
-
* | `name`, `firstName`, `lastName` | string | Name |
|
|
40
|
-
* | `memberUrn` | string | LinkedIn member URN |
|
|
41
|
-
* | `profileUrl` | string | Public LinkedIn profile URL |
|
|
42
|
-
* | `salesNavUrl` | string | Sales Navigator lead URL |
|
|
43
|
-
* | `networkDistance` | string | Connection degree |
|
|
44
|
-
* | `premium` | boolean | LinkedIn Premium subscriber |
|
|
45
|
-
* | `openProfile` | boolean | Accepts free InMail |
|
|
46
|
-
* | `pendingInvitation` | boolean | Connection request already sent |
|
|
47
|
-
* | `currentPositions` | array | With company, role, tenure details |
|
|
48
|
-
*
|
|
49
|
-
* ## Credits
|
|
50
|
-
* 1 credit per 10 items returned.
|
|
51
|
-
*/
|
|
52
|
-
export declare function salesNavSearchPeople(client: BereachCore, request: operations.SearchSalesNavPeopleRequest, options?: RequestOptions): APIPromise<Result<operations.SearchSalesNavPeopleResponse, errors.BadRequestError | errors.UnauthorizedError | errors.ForbiddenError | errors.NotFoundError | errors.ConflictError | errors.GoneError | errors.UnprocessableEntityError | errors.TooManyRequestsError | errors.InternalServerError | BereachError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
53
|
-
//# sourceMappingURL=sales-nav-search-people.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sales-nav-search-people.d.ts","sourceRoot":"","sources":["../../src/funcs/sales-nav-search-people.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAKzC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,4BAA4B,EACrC,MAAM,CAAC,eAAe,GACtB,MAAM,CAAC,iBAAiB,GACxB,MAAM,CAAC,cAAc,GACrB,MAAM,CAAC,aAAa,GACpB,MAAM,CAAC,aAAa,GACpB,MAAM,CAAC,SAAS,GAChB,MAAM,CAAC,wBAAwB,GAC/B,MAAM,CAAC,oBAAoB,GAC3B,MAAM,CAAC,mBAAmB,GAC1B,YAAY,GACZ,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as errors from "../models/errors/index.js";
|
|
12
|
-
import * as operations from "../models/operations/index.js";
|
|
13
|
-
import { APIPromise } from "../types/async.js";
|
|
14
|
-
/**
|
|
15
|
-
* Sales Navigator People/Lead Search
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* # Sales Navigator People Search
|
|
19
|
-
*
|
|
20
|
-
* Search for leads in LinkedIn Sales Navigator with advanced filters. Returns enriched profile data including tenure, premium status, and open profile flag.
|
|
21
|
-
*
|
|
22
|
-
* ## Available filters
|
|
23
|
-
* | Filter | Type | Description |
|
|
24
|
-
* |--------|------|-------------|
|
|
25
|
-
* | `keywords` | string | Search terms |
|
|
26
|
-
* | `title` | string | Job title keywords |
|
|
27
|
-
* | `company` | {include?, exclude?} | Company IDs with include/exclude |
|
|
28
|
-
* | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
|
|
29
|
-
* | `location` | string[] | Geography IDs |
|
|
30
|
-
* | `seniority` | string[] | Seniority levels (1-10) |
|
|
31
|
-
* | `function` | string[] | Job function IDs |
|
|
32
|
-
* | `tenure` | {min?, max?}[] | Years at current company |
|
|
33
|
-
* | `profileLanguage` | string[] | Profile language codes |
|
|
34
|
-
* | `connectionDegree` | string[] | Network distance (1, 2, 3) |
|
|
35
|
-
* | `school` | string[] | School IDs |
|
|
36
|
-
* | `yearsOfExperience` | string[] | Experience ranges |
|
|
37
|
-
*
|
|
38
|
-
* ## Response fields (per item)
|
|
39
|
-
* | Field | Type | Description |
|
|
40
|
-
* |-------|------|-------------|
|
|
41
|
-
* | `id` | string | Sales Navigator lead ID |
|
|
42
|
-
* | `name`, `firstName`, `lastName` | string | Name |
|
|
43
|
-
* | `memberUrn` | string | LinkedIn member URN |
|
|
44
|
-
* | `profileUrl` | string | Public LinkedIn profile URL |
|
|
45
|
-
* | `salesNavUrl` | string | Sales Navigator lead URL |
|
|
46
|
-
* | `networkDistance` | string | Connection degree |
|
|
47
|
-
* | `premium` | boolean | LinkedIn Premium subscriber |
|
|
48
|
-
* | `openProfile` | boolean | Accepts free InMail |
|
|
49
|
-
* | `pendingInvitation` | boolean | Connection request already sent |
|
|
50
|
-
* | `currentPositions` | array | With company, role, tenure details |
|
|
51
|
-
*
|
|
52
|
-
* ## Credits
|
|
53
|
-
* 1 credit per 10 items returned.
|
|
54
|
-
*/
|
|
55
|
-
export function salesNavSearchPeople(client, request, options) {
|
|
56
|
-
return new APIPromise($do(client, request, options));
|
|
57
|
-
}
|
|
58
|
-
async function $do(client, request, options) {
|
|
59
|
-
const parsed = safeParse(request, (value) => z.parse(operations.SearchSalesNavPeopleRequest$outboundSchema, value), "Input validation failed");
|
|
60
|
-
if (!parsed.ok) {
|
|
61
|
-
return [parsed, { status: "invalid" }];
|
|
62
|
-
}
|
|
63
|
-
const payload = parsed.value;
|
|
64
|
-
const body = encodeJSON("body", payload, { explode: true });
|
|
65
|
-
const path = pathToFunc("/search/linkedin/sales-nav/people")();
|
|
66
|
-
const headers = new Headers(compactMap({
|
|
67
|
-
"Content-Type": "application/json",
|
|
68
|
-
Accept: "application/json",
|
|
69
|
-
}));
|
|
70
|
-
const secConfig = await extractSecurity(client._options.token);
|
|
71
|
-
const securityInput = secConfig == null ? {} : { token: secConfig };
|
|
72
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73
|
-
const context = {
|
|
74
|
-
options: client._options,
|
|
75
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
76
|
-
operationID: "searchSalesNavPeople",
|
|
77
|
-
oAuth2Scopes: null,
|
|
78
|
-
resolvedSecurity: requestSecurity,
|
|
79
|
-
securitySource: client._options.token,
|
|
80
|
-
retryConfig: options?.retries
|
|
81
|
-
|| client._options.retryConfig
|
|
82
|
-
|| { strategy: "none" },
|
|
83
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
84
|
-
};
|
|
85
|
-
const requestRes = client._createRequest(context, {
|
|
86
|
-
security: requestSecurity,
|
|
87
|
-
method: "POST",
|
|
88
|
-
baseURL: options?.serverURL,
|
|
89
|
-
path: path,
|
|
90
|
-
headers: headers,
|
|
91
|
-
body: body,
|
|
92
|
-
userAgent: client._options.userAgent,
|
|
93
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
94
|
-
}, options);
|
|
95
|
-
if (!requestRes.ok) {
|
|
96
|
-
return [requestRes, { status: "invalid" }];
|
|
97
|
-
}
|
|
98
|
-
const req = requestRes.value;
|
|
99
|
-
const doResult = await client._do(req, {
|
|
100
|
-
context,
|
|
101
|
-
errorCodes: [
|
|
102
|
-
"400",
|
|
103
|
-
"401",
|
|
104
|
-
"403",
|
|
105
|
-
"404",
|
|
106
|
-
"409",
|
|
107
|
-
"410",
|
|
108
|
-
"422",
|
|
109
|
-
"429",
|
|
110
|
-
"4XX",
|
|
111
|
-
"500",
|
|
112
|
-
"5XX",
|
|
113
|
-
],
|
|
114
|
-
retryConfig: context.retryConfig,
|
|
115
|
-
retryCodes: context.retryCodes,
|
|
116
|
-
});
|
|
117
|
-
if (!doResult.ok) {
|
|
118
|
-
return [doResult, { status: "request-error", request: req }];
|
|
119
|
-
}
|
|
120
|
-
const response = doResult.value;
|
|
121
|
-
const responseFields = {
|
|
122
|
-
HttpMeta: { Response: response, Request: req },
|
|
123
|
-
};
|
|
124
|
-
const [result] = await M.match(M.json(200, operations.SearchSalesNavPeopleResponse$inboundSchema), M.jsonErr(400, errors.BadRequestError$inboundSchema), M.jsonErr(401, errors.UnauthorizedError$inboundSchema), M.jsonErr(403, errors.ForbiddenError$inboundSchema), M.jsonErr(404, errors.NotFoundError$inboundSchema), M.jsonErr(409, errors.ConflictError$inboundSchema), M.jsonErr(410, errors.GoneError$inboundSchema), M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema), M.jsonErr(429, errors.TooManyRequestsError$inboundSchema), M.jsonErr(500, errors.InternalServerError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
125
|
-
if (!result.ok) {
|
|
126
|
-
return [result, { status: "complete", request: req, response }];
|
|
127
|
-
}
|
|
128
|
-
return [result, { status: "complete", request: req, response }];
|
|
129
|
-
}
|
|
130
|
-
//# sourceMappingURL=sales-nav-search-people.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sales-nav-search-people.js","sourceRoot":"","sources":["../../src/funcs/sales-nav-search-people.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,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