bereach 1.3.2 → 1.4.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +235 -149
- package/esm/funcs/actions-accept-invitation.d.ts +18 -0
- package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/actions-accept-invitation.js +97 -0
- package/esm/funcs/actions-accept-invitation.js.map +1 -0
- package/esm/funcs/actions-connect-profile.d.ts +2 -2
- package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
- package/esm/funcs/actions-connect-profile.js +6 -4
- package/esm/funcs/actions-connect-profile.js.map +1 -1
- package/esm/funcs/actions-create-comment.d.ts +18 -0
- package/esm/funcs/actions-create-comment.d.ts.map +1 -0
- package/esm/funcs/actions-create-comment.js +97 -0
- package/esm/funcs/actions-create-comment.js.map +1 -0
- package/esm/funcs/actions-decline-invitation.d.ts +18 -0
- package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/actions-decline-invitation.js +97 -0
- package/esm/funcs/actions-decline-invitation.js.map +1 -0
- package/esm/funcs/actions-edit-comment.d.ts +18 -0
- package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
- package/esm/funcs/actions-edit-comment.js +97 -0
- package/esm/funcs/actions-edit-comment.js.map +1 -0
- package/esm/funcs/actions-edit-post.d.ts +18 -0
- package/esm/funcs/actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/actions-edit-post.js +97 -0
- package/esm/funcs/actions-edit-post.js.map +1 -0
- package/esm/funcs/actions-follow-company.d.ts +1 -1
- package/esm/funcs/actions-follow-company.d.ts.map +1 -1
- package/esm/funcs/actions-follow-company.js +5 -3
- package/esm/funcs/actions-follow-company.js.map +1 -1
- package/esm/funcs/actions-follow-profile.d.ts +18 -0
- package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
- package/esm/funcs/actions-follow-profile.js +97 -0
- package/esm/funcs/actions-follow-profile.js.map +1 -0
- package/esm/funcs/actions-like-comment.d.ts +18 -0
- package/esm/funcs/actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/actions-like-comment.js +97 -0
- package/esm/funcs/actions-like-comment.js.map +1 -0
- package/esm/funcs/actions-like-post.d.ts +18 -0
- package/esm/funcs/actions-like-post.d.ts.map +1 -0
- package/esm/funcs/actions-like-post.js +97 -0
- package/esm/funcs/actions-like-post.js.map +1 -0
- package/esm/funcs/actions-list-invitations.d.ts +18 -0
- package/esm/funcs/actions-list-invitations.d.ts.map +1 -0
- package/esm/funcs/actions-list-invitations.js +99 -0
- package/esm/funcs/actions-list-invitations.js.map +1 -0
- package/esm/funcs/actions-list-sent-invitations.d.ts +1 -1
- package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -1
- package/esm/funcs/actions-list-sent-invitations.js +5 -3
- package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
- package/esm/funcs/actions-publish-post.d.ts +18 -0
- package/esm/funcs/actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/actions-publish-post.js +97 -0
- package/esm/funcs/actions-publish-post.js.map +1 -0
- package/esm/funcs/actions-reply-to-comment.d.ts +18 -0
- package/esm/funcs/actions-reply-to-comment.d.ts.map +1 -0
- package/esm/funcs/actions-reply-to-comment.js +97 -0
- package/esm/funcs/actions-reply-to-comment.js.map +1 -0
- package/esm/funcs/actions-repost-post.d.ts +18 -0
- package/esm/funcs/actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/actions-repost-post.js +97 -0
- package/esm/funcs/actions-repost-post.js.map +1 -0
- package/esm/funcs/actions-save-post.d.ts +18 -0
- package/esm/funcs/actions-save-post.d.ts.map +1 -0
- package/esm/funcs/actions-save-post.js +97 -0
- package/esm/funcs/actions-save-post.js.map +1 -0
- package/esm/funcs/actions-send-message.d.ts +2 -2
- package/esm/funcs/actions-send-message.d.ts.map +1 -1
- package/esm/funcs/actions-send-message.js +6 -4
- package/esm/funcs/actions-send-message.js.map +1 -1
- package/esm/funcs/actions-unfollow-company.d.ts +18 -0
- package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/actions-unfollow-company.js +97 -0
- package/esm/funcs/actions-unfollow-company.js.map +1 -0
- package/esm/funcs/actions-unfollow-profile.d.ts +18 -0
- package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
- package/esm/funcs/actions-unfollow-profile.js +97 -0
- package/esm/funcs/actions-unfollow-profile.js.map +1 -0
- package/esm/funcs/actions-unlike-comment.d.ts +18 -0
- package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
- package/esm/funcs/actions-unlike-comment.js +97 -0
- package/esm/funcs/actions-unlike-comment.js.map +1 -0
- package/esm/funcs/actions-unlike-post.d.ts +18 -0
- package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/actions-unlike-post.js +97 -0
- package/esm/funcs/actions-unlike-post.js.map +1 -0
- package/esm/funcs/actions-unsave-post.d.ts +18 -0
- package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/actions-unsave-post.js +97 -0
- package/esm/funcs/actions-unsave-post.js.map +1 -0
- package/esm/funcs/actions-withdraw-invitation.d.ts +18 -0
- package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/actions-withdraw-invitation.js +97 -0
- package/esm/funcs/actions-withdraw-invitation.js.map +1 -0
- package/esm/funcs/campaigns-filter.d.ts +1 -1
- package/esm/funcs/campaigns-filter.d.ts.map +1 -1
- package/esm/funcs/campaigns-filter.js +5 -3
- package/esm/funcs/campaigns-filter.js.map +1 -1
- package/esm/funcs/campaigns-get-status.d.ts +1 -1
- package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
- package/esm/funcs/campaigns-get-status.js +5 -3
- package/esm/funcs/campaigns-get-status.js.map +1 -1
- package/esm/funcs/campaigns-stats.d.ts +18 -0
- package/esm/funcs/campaigns-stats.d.ts.map +1 -0
- package/esm/funcs/campaigns-stats.js +102 -0
- package/esm/funcs/campaigns-stats.js.map +1 -0
- package/esm/funcs/campaigns-sync.d.ts +1 -1
- package/esm/funcs/campaigns-sync.d.ts.map +1 -1
- package/esm/funcs/campaigns-sync.js +5 -3
- package/esm/funcs/campaigns-sync.js.map +1 -1
- package/esm/funcs/chat-archive.d.ts +1 -1
- package/esm/funcs/chat-archive.d.ts.map +1 -1
- package/esm/funcs/chat-archive.js +5 -3
- package/esm/funcs/chat-archive.js.map +1 -1
- package/esm/funcs/chat-find-conversation.d.ts +2 -9
- package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
- package/esm/funcs/chat-find-conversation.js +6 -11
- package/esm/funcs/chat-find-conversation.js.map +1 -1
- package/esm/funcs/chat-get-messages.d.ts +22 -0
- package/esm/funcs/chat-get-messages.d.ts.map +1 -0
- package/esm/funcs/chat-get-messages.js +105 -0
- package/esm/funcs/chat-get-messages.js.map +1 -0
- package/esm/funcs/chat-get-unread-count.d.ts +18 -0
- package/esm/funcs/chat-get-unread-count.d.ts.map +1 -0
- package/esm/funcs/chat-get-unread-count.js +86 -0
- package/esm/funcs/chat-get-unread-count.js.map +1 -0
- package/esm/funcs/chat-list-archived.d.ts +18 -0
- package/esm/funcs/chat-list-archived.d.ts.map +1 -0
- package/esm/funcs/chat-list-archived.js +100 -0
- package/esm/funcs/chat-list-archived.js.map +1 -0
- package/esm/funcs/chat-list-inbox.d.ts +18 -0
- package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
- package/esm/funcs/chat-list-inbox.js +99 -0
- package/esm/funcs/chat-list-inbox.js.map +1 -0
- package/esm/funcs/chat-list-starred.d.ts +18 -0
- package/esm/funcs/chat-list-starred.d.ts.map +1 -0
- package/esm/funcs/chat-list-starred.js +100 -0
- package/esm/funcs/chat-list-starred.js.map +1 -0
- package/esm/funcs/chat-mark-all-read.d.ts +18 -0
- package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/chat-mark-all-read.js +87 -0
- package/esm/funcs/chat-mark-all-read.js.map +1 -0
- package/esm/funcs/chat-mark-seen.d.ts +18 -0
- package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/chat-mark-seen.js +97 -0
- package/esm/funcs/chat-mark-seen.js.map +1 -0
- package/esm/funcs/chat-react.d.ts +18 -0
- package/esm/funcs/chat-react.d.ts.map +1 -0
- package/esm/funcs/chat-react.js +97 -0
- package/esm/funcs/chat-react.js.map +1 -0
- package/esm/funcs/chat-search-conversations.d.ts +2 -2
- package/esm/funcs/chat-search-conversations.d.ts.map +1 -1
- package/esm/funcs/chat-search-conversations.js +14 -8
- package/esm/funcs/chat-search-conversations.js.map +1 -1
- package/esm/funcs/chat-send-typing-indicator.d.ts +18 -0
- package/esm/funcs/chat-send-typing-indicator.d.ts.map +1 -0
- package/esm/funcs/chat-send-typing-indicator.js +97 -0
- package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/chat-star.d.ts +18 -0
- package/esm/funcs/chat-star.d.ts.map +1 -0
- package/esm/funcs/chat-star.js +97 -0
- package/esm/funcs/chat-star.js.map +1 -0
- package/esm/funcs/chat-unarchive.d.ts +18 -0
- package/esm/funcs/chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/chat-unarchive.js +97 -0
- package/esm/funcs/chat-unarchive.js.map +1 -0
- package/esm/funcs/chat-unreact.d.ts +1 -1
- package/esm/funcs/chat-unreact.d.ts.map +1 -1
- package/esm/funcs/chat-unreact.js +5 -3
- package/esm/funcs/chat-unreact.js.map +1 -1
- package/esm/funcs/chat-unstar.d.ts +18 -0
- package/esm/funcs/chat-unstar.d.ts.map +1 -0
- package/esm/funcs/chat-unstar.js +97 -0
- package/esm/funcs/chat-unstar.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
- package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
- package/esm/funcs/company-pages-get-analytics.js +5 -3
- package/esm/funcs/company-pages-get-analytics.js.map +1 -1
- package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
- package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
- package/esm/funcs/company-pages-get-permissions.js +5 -3
- package/esm/funcs/company-pages-get-permissions.js.map +1 -1
- package/esm/funcs/company-pages-list.d.ts +1 -1
- package/esm/funcs/company-pages-list.d.ts.map +1 -1
- package/esm/funcs/company-pages-list.js +4 -2
- package/esm/funcs/company-pages-list.js.map +1 -1
- package/esm/funcs/company-pages-posts.d.ts +18 -0
- package/esm/funcs/company-pages-posts.d.ts.map +1 -0
- package/esm/funcs/company-pages-posts.js +97 -0
- package/esm/funcs/company-pages-posts.js.map +1 -0
- package/esm/funcs/contacts-add-activities.d.ts +18 -0
- package/esm/funcs/contacts-add-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-add-activities.js +103 -0
- package/esm/funcs/contacts-add-activities.js.map +1 -0
- package/esm/funcs/contacts-add-to-campaign.d.ts +18 -0
- package/esm/funcs/contacts-add-to-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-add-to-campaign.js +103 -0
- package/esm/funcs/contacts-add-to-campaign.js.map +1 -0
- package/esm/funcs/contacts-bulk-update.d.ts +18 -0
- package/esm/funcs/contacts-bulk-update.d.ts.map +1 -0
- package/esm/funcs/contacts-bulk-update.js +97 -0
- package/esm/funcs/contacts-bulk-update.js.map +1 -0
- package/esm/funcs/contacts-campaign-status-transition.d.ts +18 -0
- package/esm/funcs/contacts-campaign-status-transition.d.ts.map +1 -0
- package/esm/funcs/contacts-campaign-status-transition.js +103 -0
- package/esm/funcs/contacts-campaign-status-transition.js.map +1 -0
- package/esm/funcs/contacts-create-campaign.d.ts +18 -0
- package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-create-campaign.js +97 -0
- package/esm/funcs/contacts-create-campaign.js.map +1 -0
- package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-delete-agent-state.js +102 -0
- package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
- package/esm/funcs/contacts-delete-campaign.d.ts +18 -0
- package/esm/funcs/contacts-delete-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-delete-campaign.js +102 -0
- package/esm/funcs/contacts-delete-campaign.js.map +1 -0
- package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-get-agent-state.js +102 -0
- package/esm/funcs/contacts-get-agent-state.js.map +1 -0
- package/esm/funcs/contacts-get-by-url.d.ts +18 -0
- package/esm/funcs/contacts-get-by-url.d.ts.map +1 -0
- package/esm/funcs/contacts-get-by-url.js +100 -0
- package/esm/funcs/contacts-get-by-url.js.map +1 -0
- package/esm/funcs/contacts-get-campaign.d.ts +18 -0
- package/esm/funcs/contacts-get-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-get-campaign.js +102 -0
- package/esm/funcs/contacts-get-campaign.js.map +1 -0
- package/esm/funcs/contacts-get.d.ts +18 -0
- package/esm/funcs/contacts-get.d.ts.map +1 -0
- package/esm/funcs/contacts-get.js +102 -0
- package/esm/funcs/contacts-get.js.map +1 -0
- package/esm/funcs/contacts-list-activities.d.ts +18 -0
- package/esm/funcs/contacts-list-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-list-activities.js +108 -0
- package/esm/funcs/contacts-list-activities.js.map +1 -0
- package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
- package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
- package/esm/funcs/contacts-list-agent-states.js +100 -0
- package/esm/funcs/contacts-list-agent-states.js.map +1 -0
- package/esm/funcs/contacts-list-by-campaign.d.ts +18 -0
- package/esm/funcs/contacts-list-by-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-list-by-campaign.js +111 -0
- package/esm/funcs/contacts-list-by-campaign.js.map +1 -0
- package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
- package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
- package/esm/funcs/contacts-list-campaigns.js +103 -0
- package/esm/funcs/contacts-list-campaigns.js.map +1 -0
- package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-patch-agent-state.js +103 -0
- package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
- package/esm/funcs/contacts-search.d.ts +18 -0
- package/esm/funcs/contacts-search.d.ts.map +1 -0
- package/esm/funcs/contacts-search.js +112 -0
- package/esm/funcs/contacts-search.js.map +1 -0
- package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
- package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
- package/esm/funcs/contacts-set-agent-state.js +103 -0
- package/esm/funcs/contacts-set-agent-state.js.map +1 -0
- package/esm/funcs/contacts-stats.d.ts +18 -0
- package/esm/funcs/contacts-stats.d.ts.map +1 -0
- package/esm/funcs/contacts-stats.js +100 -0
- package/esm/funcs/contacts-stats.js.map +1 -0
- package/esm/funcs/contacts-update-campaign.d.ts +18 -0
- package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
- package/esm/funcs/contacts-update-campaign.js +103 -0
- package/esm/funcs/contacts-update-campaign.js.map +1 -0
- package/esm/funcs/contacts-update.d.ts +18 -0
- package/esm/funcs/contacts-update.d.ts.map +1 -0
- package/esm/funcs/contacts-update.js +103 -0
- package/esm/funcs/contacts-update.js.map +1 -0
- package/esm/funcs/contacts-upsert.d.ts +3 -2
- package/esm/funcs/contacts-upsert.d.ts.map +1 -1
- package/esm/funcs/contacts-upsert.js +23 -5
- package/esm/funcs/contacts-upsert.js.map +1 -1
- package/esm/funcs/context-delete.d.ts +18 -0
- package/esm/funcs/context-delete.d.ts.map +1 -0
- package/esm/funcs/context-delete.js +101 -0
- package/esm/funcs/context-delete.js.map +1 -0
- package/esm/funcs/context-list-entries.d.ts +18 -0
- package/esm/funcs/context-list-entries.d.ts.map +1 -0
- package/esm/funcs/context-list-entries.js +101 -0
- package/esm/funcs/context-list-entries.js.map +1 -0
- package/esm/funcs/context-set.d.ts +18 -0
- package/esm/funcs/context-set.d.ts.map +1 -0
- package/esm/funcs/context-set.js +97 -0
- package/esm/funcs/context-set.js.map +1 -0
- package/esm/funcs/cron-list-schedules.d.ts +18 -0
- package/esm/funcs/cron-list-schedules.d.ts.map +1 -0
- package/esm/funcs/cron-list-schedules.js +86 -0
- package/esm/funcs/cron-list-schedules.js.map +1 -0
- package/esm/funcs/cron-update-schedule.d.ts +18 -0
- package/esm/funcs/cron-update-schedule.d.ts.map +1 -0
- package/esm/funcs/cron-update-schedule.js +103 -0
- package/esm/funcs/cron-update-schedule.js.map +1 -0
- package/esm/funcs/profile-get-credits.d.ts +1 -1
- package/esm/funcs/profile-get-credits.d.ts.map +1 -1
- package/esm/funcs/profile-get-credits.js +5 -3
- package/esm/funcs/profile-get-credits.js.map +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
- package/esm/funcs/profile-get-follower-analytics.js +4 -2
- package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
- package/esm/funcs/profile-get-followers.d.ts +1 -1
- package/esm/funcs/profile-get-followers.d.ts.map +1 -1
- package/esm/funcs/profile-get-followers.js +5 -3
- package/esm/funcs/profile-get-followers.js.map +1 -1
- package/esm/funcs/profile-get-limits.d.ts +1 -1
- package/esm/funcs/profile-get-limits.d.ts.map +1 -1
- package/esm/funcs/profile-get-limits.js +5 -3
- package/esm/funcs/profile-get-limits.js.map +1 -1
- package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
- package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
- package/esm/funcs/profile-get-post-analytics.js +6 -4
- package/esm/funcs/profile-get-post-analytics.js.map +1 -1
- package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
- package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
- package/esm/funcs/profile-get-search-appearances.js +4 -2
- package/esm/funcs/profile-get-search-appearances.js.map +1 -1
- package/esm/funcs/profile-get.d.ts +1 -1
- package/esm/funcs/profile-get.d.ts.map +1 -1
- package/esm/funcs/profile-get.js +5 -3
- package/esm/funcs/profile-get.js.map +1 -1
- package/esm/funcs/profile-list-accounts.d.ts +1 -1
- package/esm/funcs/profile-list-accounts.d.ts.map +1 -1
- package/esm/funcs/profile-list-accounts.js +5 -3
- package/esm/funcs/profile-list-accounts.js.map +1 -1
- package/esm/funcs/profile-list-connections.d.ts +18 -0
- package/esm/funcs/profile-list-connections.d.ts.map +1 -0
- package/esm/funcs/profile-list-connections.js +103 -0
- package/esm/funcs/profile-list-connections.js.map +1 -0
- package/esm/funcs/profile-posts.d.ts +18 -0
- package/esm/funcs/profile-posts.d.ts.map +1 -0
- package/esm/funcs/profile-posts.js +99 -0
- package/esm/funcs/profile-posts.js.map +1 -0
- package/esm/funcs/profile-refresh.d.ts +1 -1
- package/esm/funcs/profile-refresh.d.ts.map +1 -1
- package/esm/funcs/profile-refresh.js +4 -2
- package/esm/funcs/profile-refresh.js.map +1 -1
- package/esm/funcs/profile-switch-account.d.ts +18 -0
- package/esm/funcs/profile-switch-account.d.ts.map +1 -0
- package/esm/funcs/profile-switch-account.js +97 -0
- package/esm/funcs/profile-switch-account.js.map +1 -0
- package/esm/funcs/profile-update-account.d.ts +1 -1
- package/esm/funcs/profile-update-account.d.ts.map +1 -1
- package/esm/funcs/profile-update-account.js +5 -3
- package/esm/funcs/profile-update-account.js.map +1 -1
- package/esm/funcs/profile-views.d.ts +18 -0
- package/esm/funcs/profile-views.d.ts.map +1 -0
- package/esm/funcs/profile-views.js +87 -0
- package/esm/funcs/profile-views.js.map +1 -0
- package/esm/funcs/sales-nav-companies.d.ts +33 -0
- package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
- package/esm/funcs/sales-nav-companies.js +112 -0
- package/esm/funcs/sales-nav-companies.js.map +1 -0
- package/esm/funcs/sales-nav-people.d.ts +53 -0
- package/esm/funcs/sales-nav-people.d.ts.map +1 -0
- package/esm/funcs/sales-nav-people.js +132 -0
- package/esm/funcs/sales-nav-people.js.map +1 -0
- package/esm/funcs/sales-nav-search.d.ts +39 -0
- package/esm/funcs/sales-nav-search.d.ts.map +1 -0
- package/esm/funcs/sales-nav-search.js +118 -0
- package/esm/funcs/sales-nav-search.js.map +1 -0
- package/esm/funcs/scheduled-messages-batch-schedule.d.ts +18 -0
- package/esm/funcs/scheduled-messages-batch-schedule.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-batch-schedule.js +97 -0
- package/esm/funcs/scheduled-messages-batch-schedule.js.map +1 -0
- package/esm/funcs/scheduled-messages-cancel.d.ts +18 -0
- package/esm/funcs/scheduled-messages-cancel.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-cancel.js +97 -0
- package/esm/funcs/scheduled-messages-cancel.js.map +1 -0
- package/esm/funcs/scheduled-messages-create.d.ts +18 -0
- package/esm/funcs/scheduled-messages-create.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-create.js +97 -0
- package/esm/funcs/scheduled-messages-create.js.map +1 -0
- package/esm/funcs/scheduled-messages-list.d.ts +18 -0
- package/esm/funcs/scheduled-messages-list.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-list.js +104 -0
- package/esm/funcs/scheduled-messages-list.js.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts +18 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.js +102 -0
- package/esm/funcs/scrapers-bulk-visit-batch-status.js.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-profile.d.ts +18 -0
- package/esm/funcs/scrapers-bulk-visit-profile.d.ts.map +1 -0
- package/esm/funcs/scrapers-bulk-visit-profile.js +97 -0
- package/esm/funcs/scrapers-bulk-visit-profile.js.map +1 -0
- package/esm/funcs/scrapers-collect-comment-replies.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comment-replies.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-comment-replies.js +97 -0
- package/esm/funcs/scrapers-collect-comment-replies.js.map +1 -0
- package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-comments.js +97 -0
- package/esm/funcs/scrapers-collect-comments.js.map +1 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.d.ts +18 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.js +97 -0
- package/esm/funcs/scrapers-collect-hashtag-posts.js.map +1 -0
- package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/scrapers-collect-likes.js +97 -0
- package/esm/funcs/scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
- package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
- package/esm/funcs/scrapers-collect-posts.js +6 -4
- package/esm/funcs/scrapers-collect-posts.js.map +1 -1
- package/esm/funcs/scrapers-get-feed.d.ts +18 -0
- package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/scrapers-get-feed.js +99 -0
- package/esm/funcs/scrapers-get-feed.js.map +1 -0
- package/esm/funcs/scrapers-list-saved-posts.d.ts +18 -0
- package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/scrapers-list-saved-posts.js +97 -0
- package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/scrapers-visit-company.d.ts +18 -0
- package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/scrapers-visit-company.js +97 -0
- package/esm/funcs/scrapers-visit-company.js.map +1 -0
- package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
- package/esm/funcs/scrapers-visit-profile.js +8 -4
- package/esm/funcs/scrapers-visit-profile.js.map +1 -1
- package/esm/funcs/search-by-url.d.ts +69 -0
- package/esm/funcs/search-by-url.d.ts.map +1 -0
- package/esm/funcs/search-by-url.js +148 -0
- package/esm/funcs/search-by-url.js.map +1 -0
- package/esm/funcs/search-companies.d.ts +75 -0
- package/esm/funcs/search-companies.d.ts.map +1 -0
- package/esm/funcs/search-companies.js +154 -0
- package/esm/funcs/search-companies.js.map +1 -0
- package/esm/funcs/search-jobs.d.ts +96 -0
- package/esm/funcs/search-jobs.d.ts.map +1 -0
- package/esm/funcs/search-jobs.js +175 -0
- package/esm/funcs/search-jobs.js.map +1 -0
- package/esm/funcs/search-people.d.ts +83 -0
- package/esm/funcs/search-people.d.ts.map +1 -0
- package/esm/funcs/search-people.js +162 -0
- package/esm/funcs/search-people.js.map +1 -0
- package/esm/funcs/search-posts.d.ts +71 -0
- package/esm/funcs/search-posts.d.ts.map +1 -0
- package/esm/funcs/search-posts.js +150 -0
- package/esm/funcs/search-posts.js.map +1 -0
- package/esm/funcs/search-resolve-parameters.d.ts +50 -0
- package/esm/funcs/search-resolve-parameters.d.ts.map +1 -0
- package/esm/funcs/search-resolve-parameters.js +134 -0
- package/esm/funcs/search-resolve-parameters.js.map +1 -0
- package/esm/funcs/search-search.d.ts +55 -0
- package/esm/funcs/search-search.d.ts.map +1 -0
- package/esm/funcs/search-search.js +134 -0
- package/esm/funcs/search-search.js.map +1 -0
- package/esm/lib/config.d.ts +5 -5
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +8 -4
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/files.d.ts +13 -0
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +18 -0
- package/esm/lib/files.js.map +1 -1
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +8 -4
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/url.d.ts.map +1 -1
- package/esm/lib/url.js +4 -2
- package/esm/lib/url.js.map +1 -1
- package/esm/models/errors/collect-likes.d.ts +257 -0
- package/esm/models/errors/collect-likes.d.ts.map +1 -0
- package/esm/models/errors/collect-likes.js +372 -0
- package/esm/models/errors/collect-likes.js.map +1 -0
- package/esm/models/errors/index.d.ts +1 -1
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +1 -1
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/operations/index.d.ts +4 -4
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +4 -4
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/search-companies-response.d.ts +2499 -0
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/search-companies-response.js +1626 -0
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-contact.d.ts +2635 -0
- package/esm/models/operations/search-contacts-contact.d.ts.map +1 -0
- package/esm/models/operations/search-contacts-contact.js +1605 -0
- package/esm/models/operations/search-contacts-contact.js.map +1 -0
- package/esm/models/operations/update-account-response.d.ts +2800 -0
- package/esm/models/operations/update-account-response.d.ts.map +1 -0
- package/esm/models/operations/update-account-response.js +1575 -0
- package/esm/models/operations/update-account-response.js.map +1 -0
- package/esm/models/operations/update-schedule-response.d.ts +2216 -0
- package/esm/models/operations/update-schedule-response.d.ts.map +1 -0
- package/esm/models/operations/update-schedule-response.js +1459 -0
- package/esm/models/operations/update-schedule-response.js.map +1 -0
- package/esm/sdk/actions.d.ts +139 -6
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +192 -2
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/campaigns.d.ts +4 -4
- package/esm/sdk/campaigns.d.ts.map +1 -1
- package/esm/sdk/campaigns.js +3 -3
- package/esm/sdk/campaigns.js.map +1 -1
- package/esm/sdk/chat.d.ts +91 -10
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +125 -8
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +4 -4
- package/esm/sdk/company-pages.d.ts.map +1 -1
- package/esm/sdk/company-pages.js +3 -3
- package/esm/sdk/company-pages.js.map +1 -1
- package/esm/sdk/contacts.d.ts +149 -2
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +211 -1
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/context.d.ts +26 -0
- package/esm/sdk/context.d.ts.map +1 -0
- package/esm/sdk/context.js +38 -0
- package/esm/sdk/context.js.map +1 -0
- package/esm/sdk/cron.d.ts +19 -0
- package/esm/sdk/cron.d.ts.map +1 -0
- package/esm/sdk/cron.js +28 -0
- package/esm/sdk/cron.js.map +1 -0
- package/esm/sdk/profile.d.ts +27 -13
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +27 -7
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +51 -1
- package/esm/sdk/sales-nav.d.ts.map +1 -1
- package/esm/sdk/sales-nav.js +59 -3
- package/esm/sdk/sales-nav.js.map +1 -1
- package/esm/sdk/scheduled-messages.d.ts +33 -0
- package/esm/sdk/scheduled-messages.d.ts.map +1 -0
- package/esm/sdk/scheduled-messages.js +48 -0
- package/esm/sdk/scheduled-messages.js.map +1 -0
- package/esm/sdk/scrapers.d.ts +69 -4
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +94 -2
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +12 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +19 -44
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +427 -0
- package/esm/sdk/search.d.ts.map +1 -0
- package/esm/sdk/search.js +451 -0
- package/esm/sdk/search.js.map +1 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/node_modules/@types/node/console.d.ts +452 -0
- package/examples/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/node_modules/@types/node/events.d.ts +977 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/node_modules/@types/node/http2.d.ts +2631 -0
- package/examples/node_modules/@types/node/https.d.ts +578 -0
- package/examples/node_modules/@types/node/index.d.ts +93 -0
- package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/node_modules/@types/node/module.d.ts +539 -0
- package/examples/node_modules/@types/node/net.d.ts +1012 -0
- package/examples/node_modules/@types/node/os.d.ts +506 -0
- package/examples/node_modules/@types/node/path.d.ts +200 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/node_modules/@types/node/stream.d.ts +1675 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/node_modules/@types/node/url.d.ts +964 -0
- package/examples/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/node_modules/dotenv/config.d.ts +1 -0
- package/examples/node_modules/dotenv/config.js +9 -0
- package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/node_modules/dotenv/lib/main.js +386 -0
- package/examples/node_modules/esbuild/install.js +289 -0
- package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
- package/examples/node_modules/esbuild/lib/main.js +2242 -0
- package/examples/node_modules/get-tsconfig/dist/index.mjs +7 -0
- package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/cli.mjs +55 -0
- package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
- package/examples/node_modules/tsx/dist/esm/index.mjs +2 -0
- package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +1 -0
- package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +14 -0
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
- package/examples/node_modules/tsx/dist/loader.mjs +1 -0
- package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +1 -0
- package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +1 -0
- package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
- package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +1 -0
- package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +4 -0
- package/examples/node_modules/tsx/dist/repl.mjs +3 -0
- package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +1 -0
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
- package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +1 -0
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
- package/examples/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/node_modules/undici-types/api.d.ts +43 -0
- package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/node_modules/undici-types/client.d.ts +108 -0
- package/examples/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/node_modules/undici-types/file.d.ts +39 -0
- package/examples/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/node_modules/undici-types/header.d.ts +4 -0
- package/examples/node_modules/undici-types/index.d.ts +71 -0
- package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/node_modules/undici-types/util.d.ts +18 -0
- package/examples/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/node_modules/undici-types/websocket.d.ts +150 -0
- package/examples/scrapersCollectLikes.example.ts +30 -0
- package/jsr.json +1 -1
- package/package.json +2 -4
- package/src/funcs/actions-accept-invitation.ts +225 -0
- package/src/funcs/actions-connect-profile.ts +19 -10
- package/src/funcs/actions-create-comment.ts +224 -0
- package/src/funcs/actions-decline-invitation.ts +225 -0
- package/src/funcs/actions-edit-comment.ts +224 -0
- package/src/funcs/actions-edit-post.ts +224 -0
- package/src/funcs/actions-follow-company.ts +18 -9
- package/src/funcs/actions-follow-profile.ts +224 -0
- package/src/funcs/actions-like-comment.ts +224 -0
- package/src/funcs/actions-like-post.ts +224 -0
- package/src/funcs/actions-list-invitations.ts +230 -0
- package/src/funcs/actions-list-sent-invitations.ts +18 -11
- package/src/funcs/actions-publish-post.ts +224 -0
- package/src/funcs/actions-reply-to-comment.ts +224 -0
- package/src/funcs/actions-repost-post.ts +224 -0
- package/src/funcs/actions-save-post.ts +224 -0
- package/src/funcs/actions-send-message.ts +19 -10
- package/src/funcs/actions-unfollow-company.ts +224 -0
- package/src/funcs/actions-unfollow-profile.ts +224 -0
- package/src/funcs/actions-unlike-comment.ts +224 -0
- package/src/funcs/actions-unlike-post.ts +224 -0
- package/src/funcs/actions-unsave-post.ts +224 -0
- package/src/funcs/actions-withdraw-invitation.ts +225 -0
- package/src/funcs/campaigns-filter.ts +18 -9
- package/src/funcs/campaigns-get-status.ts +18 -10
- package/src/funcs/campaigns-stats.ts +230 -0
- package/src/funcs/campaigns-sync.ts +18 -10
- package/src/funcs/chat-archive.ts +18 -9
- package/src/funcs/chat-find-conversation.ts +19 -16
- package/src/funcs/chat-get-messages.ts +233 -0
- package/src/funcs/chat-get-unread-count.ts +205 -0
- package/src/funcs/chat-list-archived.ts +229 -0
- package/src/funcs/chat-list-inbox.ts +227 -0
- package/src/funcs/chat-list-starred.ts +229 -0
- package/src/funcs/chat-mark-all-read.ts +209 -0
- package/src/funcs/chat-mark-seen.ts +224 -0
- package/src/funcs/chat-react.ts +224 -0
- package/src/funcs/chat-search-conversations.ts +28 -16
- package/src/funcs/chat-send-typing-indicator.ts +225 -0
- package/src/funcs/chat-star.ts +224 -0
- package/src/funcs/chat-unarchive.ts +224 -0
- package/src/funcs/chat-unreact.ts +18 -9
- package/src/funcs/chat-unstar.ts +224 -0
- package/src/funcs/company-pages-get-analytics.ts +18 -9
- package/src/funcs/company-pages-get-permissions.ts +18 -12
- package/src/funcs/company-pages-list.ts +15 -5
- package/src/funcs/company-pages-posts.ts +224 -0
- package/src/funcs/contacts-add-activities.ts +230 -0
- package/src/funcs/contacts-add-to-campaign.ts +233 -0
- package/src/funcs/contacts-bulk-update.ts +224 -0
- package/src/funcs/contacts-campaign-status-transition.ts +233 -0
- package/src/funcs/contacts-create-campaign.ts +224 -0
- package/src/funcs/contacts-delete-agent-state.ts +230 -0
- package/src/funcs/contacts-delete-campaign.ts +229 -0
- package/src/funcs/contacts-get-agent-state.ts +229 -0
- package/src/funcs/contacts-get-by-url.ts +228 -0
- package/src/funcs/contacts-get-campaign.ts +229 -0
- package/src/funcs/contacts-get.ts +229 -0
- package/src/funcs/contacts-list-activities.ts +236 -0
- package/src/funcs/contacts-list-agent-states.ts +232 -0
- package/src/funcs/contacts-list-by-campaign.ts +242 -0
- package/src/funcs/contacts-list-campaigns.ts +235 -0
- package/src/funcs/contacts-patch-agent-state.ts +230 -0
- package/src/funcs/contacts-search.ts +244 -0
- package/src/funcs/contacts-set-agent-state.ts +230 -0
- package/src/funcs/contacts-stats.ts +232 -0
- package/src/funcs/contacts-update-campaign.ts +230 -0
- package/src/funcs/contacts-update.ts +230 -0
- package/src/funcs/contacts-upsert.ts +74 -11
- package/src/funcs/context-delete.ts +229 -0
- package/src/funcs/context-list-entries.ts +230 -0
- package/src/funcs/context-set.ts +224 -0
- package/src/funcs/cron-list-schedules.ts +205 -0
- package/src/funcs/cron-update-schedule.ts +230 -0
- package/src/funcs/profile-get-credits.ts +16 -6
- package/src/funcs/profile-get-follower-analytics.ts +17 -7
- package/src/funcs/profile-get-followers.ts +18 -11
- package/src/funcs/profile-get-limits.ts +16 -6
- package/src/funcs/profile-get-post-analytics.ts +19 -9
- package/src/funcs/profile-get-search-appearances.ts +17 -7
- package/src/funcs/profile-get.ts +16 -6
- package/src/funcs/profile-list-accounts.ts +16 -6
- package/src/funcs/profile-list-connections.ts +235 -0
- package/src/funcs/profile-posts.ts +227 -0
- package/src/funcs/profile-refresh.ts +15 -5
- package/src/funcs/profile-switch-account.ts +224 -0
- package/src/funcs/profile-update-account.ts +18 -9
- package/src/funcs/profile-views.ts +209 -0
- package/src/funcs/sales-nav-companies.ts +240 -0
- package/src/funcs/sales-nav-people.ts +260 -0
- package/src/funcs/sales-nav-search.ts +245 -0
- package/src/funcs/scheduled-messages-batch-schedule.ts +224 -0
- package/src/funcs/scheduled-messages-cancel.ts +224 -0
- package/src/funcs/scheduled-messages-create.ts +224 -0
- package/src/funcs/scheduled-messages-list.ts +233 -0
- package/src/funcs/scrapers-bulk-visit-batch-status.ts +230 -0
- package/src/funcs/scrapers-bulk-visit-profile.ts +225 -0
- package/src/funcs/scrapers-collect-comment-replies.ts +225 -0
- package/src/funcs/scrapers-collect-comments.ts +224 -0
- package/src/funcs/scrapers-collect-hashtag-posts.ts +225 -0
- package/src/funcs/scrapers-collect-likes.ts +224 -0
- package/src/funcs/scrapers-collect-posts.ts +19 -10
- package/src/funcs/scrapers-get-feed.ts +227 -0
- package/src/funcs/scrapers-list-saved-posts.ts +224 -0
- package/src/funcs/scrapers-visit-company.ts +224 -0
- package/src/funcs/scrapers-visit-profile.ts +21 -10
- package/src/funcs/search-by-url.ts +275 -0
- package/src/funcs/search-companies.ts +281 -0
- package/src/funcs/search-jobs.ts +302 -0
- package/src/funcs/search-people.ts +289 -0
- package/src/funcs/search-posts.ts +277 -0
- package/src/funcs/search-resolve-parameters.ts +263 -0
- package/src/funcs/search-search.ts +261 -0
- package/src/lib/config.ts +8 -4
- package/src/lib/files.ts +22 -0
- package/src/lib/sdks.ts +7 -5
- package/src/lib/url.ts +16 -14
- package/src/models/errors/collect-likes.ts +600 -0
- package/src/models/errors/index.ts +1 -1
- package/src/models/operations/index.ts +4 -4
- package/src/models/operations/search-companies-response.ts +4888 -0
- package/src/models/operations/search-contacts-contact.ts +5287 -0
- package/src/models/operations/update-account-response.ts +5354 -0
- package/src/models/operations/update-schedule-response.ts +4456 -0
- package/src/sdk/actions.ts +352 -10
- package/src/sdk/campaigns.ts +9 -9
- package/src/sdk/chat.ts +227 -16
- package/src/sdk/company-pages.ts +10 -10
- package/src/sdk/contacts.ts +381 -3
- package/src/sdk/context.ts +63 -0
- package/src/sdk/cron.ts +43 -0
- package/src/sdk/profile.ts +62 -26
- package/src/sdk/sales-nav.ts +75 -3
- package/src/sdk/scheduled-messages.ts +81 -0
- package/src/sdk/scrapers.ts +170 -6
- package/src/sdk/sdk.ts +22 -54
- package/src/sdk/search.ts +508 -0
- package/esm/funcs/campaigns-get-stats.d.ts +0 -18
- package/esm/funcs/campaigns-get-stats.d.ts.map +0 -1
- package/esm/funcs/campaigns-get-stats.js +0 -101
- package/esm/funcs/campaigns-get-stats.js.map +0 -1
- package/esm/funcs/company-pages-get-posts.d.ts +0 -18
- package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
- package/esm/funcs/company-pages-get-posts.js +0 -95
- package/esm/funcs/company-pages-get-posts.js.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.d.ts +0 -18
- package/esm/funcs/linked-in-actions-create-comment.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.js +0 -95
- package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js +0 -95
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.d.ts +0 -18
- package/esm/funcs/linked-in-actions-like-comment.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.js +0 -95
- package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts +0 -18
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.js +0 -95
- package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts +0 -18
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.js +0 -95
- package/esm/funcs/linked-in-actions-save-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js +0 -95
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
- package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
- package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-list-starred.js +0 -97
- package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts +0 -18
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.js +0 -95
- package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
- package/esm/funcs/linked-in-chat-star.d.ts +0 -18
- package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-star.js +0 -95
- package/esm/funcs/linked-in-chat-star.js.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.d.ts +0 -18
- package/esm/funcs/linked-in-chat-unarchive.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.js +0 -95
- package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts +0 -18
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.js +0 -95
- package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +0 -18
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +0 -95
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts +0 -18
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.js +0 -97
- package/esm/funcs/linked-in-scrapers-get-feed.js.map +0 -1
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts +0 -47
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-resolve-parameters.js +0 -124
- package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts +0 -75
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.js +0 -152
- package/esm/funcs/linked-in-search-search-companies.js.map +0 -1
- package/esm/funcs/linked-in-search-search.d.ts +0 -55
- package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search.js +0 -132
- package/esm/funcs/linked-in-search-search.js.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts +0 -18
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js +0 -95
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts +0 -18
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.js +0 -95
- package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-edit-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-post.js +0 -95
- package/esm/funcs/linkedin-actions-edit-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts +0 -18
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.js +0 -95
- package/esm/funcs/linkedin-actions-follow-profile.js.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.js +0 -95
- package/esm/funcs/linkedin-actions-like-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts +0 -18
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.js +0 -97
- package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +0 -18
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.js +0 -95
- package/esm/funcs/linkedin-actions-reply-to-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.js +0 -95
- package/esm/funcs/linkedin-actions-repost-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js +0 -95
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js +0 -95
- package/esm/funcs/linkedin-actions-unlike-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.js +0 -95
- package/esm/funcs/linkedin-actions-unlike-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.js +0 -95
- package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +0 -18
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js +0 -95
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
- package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
- package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-get-messages.js +0 -99
- package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts +0 -18
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-get-unread-count.js +0 -85
- package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-archived.d.ts +0 -18
- package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-archived.js +0 -97
- package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +0 -18
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js +0 -95
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts +0 -18
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js +0 -85
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
- package/esm/funcs/linkedin-chat-react.d.ts +0 -18
- package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-react.js +0 -95
- package/esm/funcs/linkedin-chat-react.js.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js +0 -95
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js +0 -95
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +0 -95
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js +0 -95
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js +0 -95
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts +0 -18
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js +0 -95
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts +0 -69
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.js +0 -146
- package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts +0 -96
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.js +0 -173
- package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
- package/esm/funcs/linkedin-search-search-people.d.ts +0 -83
- package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-people.js +0 -160
- package/esm/funcs/linkedin-search-search-people.js.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts +0 -71
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.js +0 -148
- package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
- package/esm/funcs/profile-get-posts.d.ts +0 -18
- package/esm/funcs/profile-get-posts.d.ts.map +0 -1
- package/esm/funcs/profile-get-posts.js +0 -97
- package/esm/funcs/profile-get-posts.js.map +0 -1
- package/esm/funcs/profile-get-profile-views.d.ts +0 -18
- package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.js +0 -85
- package/esm/funcs/profile-get-profile-views.js.map +0 -1
- package/esm/funcs/sales-nav-search-people.d.ts +0 -53
- package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
- package/esm/funcs/sales-nav-search-people.js +0 -130
- package/esm/funcs/sales-nav-search-people.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts +0 -33
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.js +0 -110
- package/esm/funcs/sales-navigator-search-search-companies.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search.d.ts +0 -39
- package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search.js +0 -116
- package/esm/funcs/sales-navigator-search-search.js.map +0 -1
- package/esm/models/errors/collect-linked-in-likes.d.ts +0 -211
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +0 -1
- package/esm/models/errors/collect-linked-in-likes.js +0 -306
- package/esm/models/errors/collect-linked-in-likes.js.map +0 -1
- package/esm/models/operations/get-campaign-stats-response.d.ts +0 -1550
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
- package/esm/models/operations/get-campaign-stats-response.js +0 -961
- package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
- package/esm/models/operations/scraping-weekly.d.ts +0 -2946
- package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
- package/esm/models/operations/scraping-weekly.js +0 -1594
- package/esm/models/operations/scraping-weekly.js.map +0 -1
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts +0 -2412
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
- package/esm/models/operations/search-linked-in-by-url-type-post.js +0 -1577
- package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
- package/esm/models/operations/upsert-contacts.d.ts +0 -182
- package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
- package/esm/models/operations/upsert-contacts.js +0 -116
- package/esm/models/operations/upsert-contacts.js.map +0 -1
- package/esm/sdk/linked-in-actions-2.d.ts +0 -47
- package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-actions-2.js +0 -68
- package/esm/sdk/linked-in-actions-2.js.map +0 -1
- package/esm/sdk/linked-in-chat-2.d.ts +0 -40
- package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-chat-2.js +0 -58
- package/esm/sdk/linked-in-chat-2.js.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.js +0 -28
- package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
- package/esm/sdk/linked-in-search-1.d.ts +0 -149
- package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
- package/esm/sdk/linked-in-search-1.js +0 -161
- package/esm/sdk/linked-in-search-1.js.map +0 -1
- package/esm/sdk/linkedin-actions-1.d.ts +0 -96
- package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions-1.js +0 -138
- package/esm/sdk/linkedin-actions-1.js.map +0 -1
- package/esm/sdk/linkedin-chat-1.d.ts +0 -58
- package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat-1.js +0 -82
- package/esm/sdk/linkedin-chat-1.js.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.js +0 -58
- package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
- package/esm/sdk/linkedin-search-2.d.ts +0 -280
- package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
- package/esm/sdk/linkedin-search-2.js +0 -295
- package/esm/sdk/linkedin-search-2.js.map +0 -1
- package/esm/sdk/sales-navigator-search.d.ts +0 -55
- package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
- package/esm/sdk/sales-navigator-search.js +0 -64
- package/esm/sdk/sales-navigator-search.js.map +0 -1
- package/examples/linkedinScrapersCollectLikes.example.ts +0 -30
- package/src/funcs/campaigns-get-stats.ts +0 -222
- package/src/funcs/company-pages-get-posts.ts +0 -215
- package/src/funcs/linked-in-actions-create-comment.ts +0 -215
- package/src/funcs/linked-in-actions-decline-invitation.ts +0 -218
- package/src/funcs/linked-in-actions-like-comment.ts +0 -215
- package/src/funcs/linked-in-actions-publish-post.ts +0 -215
- package/src/funcs/linked-in-actions-save-post.ts +0 -215
- package/src/funcs/linked-in-actions-unfollow-profile.ts +0 -215
- package/src/funcs/linked-in-chat-list-starred.ts +0 -220
- package/src/funcs/linked-in-chat-mark-seen.ts +0 -215
- package/src/funcs/linked-in-chat-star.ts +0 -215
- package/src/funcs/linked-in-chat-unarchive.ts +0 -215
- package/src/funcs/linked-in-chat-unstar.ts +0 -215
- package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +0 -218
- package/src/funcs/linked-in-scrapers-get-feed.ts +0 -220
- package/src/funcs/linked-in-search-resolve-parameters.ts +0 -250
- package/src/funcs/linked-in-search-search-companies.ts +0 -272
- package/src/funcs/linked-in-search-search.ts +0 -251
- package/src/funcs/linkedin-actions-accept-invitation.ts +0 -215
- package/src/funcs/linkedin-actions-edit-comment.ts +0 -215
- package/src/funcs/linkedin-actions-edit-post.ts +0 -215
- package/src/funcs/linkedin-actions-follow-profile.ts +0 -215
- package/src/funcs/linkedin-actions-like-post.ts +0 -215
- package/src/funcs/linkedin-actions-list-invitations.ts +0 -220
- package/src/funcs/linkedin-actions-reply-to-comment.ts +0 -215
- package/src/funcs/linkedin-actions-repost-post.ts +0 -215
- package/src/funcs/linkedin-actions-unfollow-company.ts +0 -215
- package/src/funcs/linkedin-actions-unlike-comment.ts +0 -215
- package/src/funcs/linkedin-actions-unlike-post.ts +0 -215
- package/src/funcs/linkedin-actions-unsave-post.ts +0 -215
- package/src/funcs/linkedin-actions-withdraw-invitation.ts +0 -218
- package/src/funcs/linkedin-chat-get-messages.ts +0 -219
- package/src/funcs/linkedin-chat-get-unread-count.ts +0 -199
- package/src/funcs/linkedin-chat-list-archived.ts +0 -220
- package/src/funcs/linkedin-chat-list-inbox-conversations.ts +0 -215
- package/src/funcs/linkedin-chat-mark-all-read.ts +0 -199
- package/src/funcs/linkedin-chat-react.ts +0 -214
- package/src/funcs/linkedin-chat-send-typing-indicator.ts +0 -215
- package/src/funcs/linkedin-scrapers-collect-comments.ts +0 -215
- package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +0 -218
- package/src/funcs/linkedin-scrapers-collect-likes.ts +0 -215
- package/src/funcs/linkedin-scrapers-list-saved-posts.ts +0 -218
- package/src/funcs/linkedin-scrapers-visit-company.ts +0 -215
- package/src/funcs/linkedin-search-search-by-url.ts +0 -266
- package/src/funcs/linkedin-search-search-jobs.ts +0 -293
- package/src/funcs/linkedin-search-search-people.ts +0 -280
- package/src/funcs/linkedin-search-search-posts.ts +0 -268
- package/src/funcs/profile-get-posts.ts +0 -220
- package/src/funcs/profile-get-profile-views.ts +0 -199
- package/src/funcs/sales-nav-search-people.ts +0 -250
- package/src/funcs/sales-navigator-search-search-companies.ts +0 -230
- package/src/funcs/sales-navigator-search-search.ts +0 -235
- package/src/models/errors/collect-linked-in-likes.ts +0 -494
- package/src/models/operations/get-campaign-stats-response.ts +0 -3367
- package/src/models/operations/scraping-weekly.ts +0 -5707
- package/src/models/operations/search-linked-in-by-url-type-post.ts +0 -4897
- package/src/models/operations/upsert-contacts.ts +0 -305
- package/src/sdk/linked-in-actions-2.ts +0 -117
- package/src/sdk/linked-in-chat-2.ts +0 -99
- package/src/sdk/linked-in-scrapers-2.ts +0 -45
- package/src/sdk/linked-in-search-1.ts +0 -186
- package/src/sdk/linkedin-actions-1.ts +0 -243
- package/src/sdk/linkedin-chat-1.ts +0 -139
- package/src/sdk/linkedin-scrapers-1.ts +0 -99
- package/src/sdk/linkedin-search-2.ts +0 -328
- package/src/sdk/sales-navigator-search.ts +0 -81
|
@@ -0,0 +1,1575 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { discriminatedUnion } from "../../types/discriminated-union.js";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
|
+
/**
|
|
11
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
12
|
+
*/
|
|
13
|
+
export const SearchJobsDatePosted = {
|
|
14
|
+
Past24h: "past-24h",
|
|
15
|
+
PastWeek: "past-week",
|
|
16
|
+
PastMonth: "past-month",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
20
|
+
*/
|
|
21
|
+
export const SearchJobsSortBy = {
|
|
22
|
+
Relevance: "relevance",
|
|
23
|
+
Date: "date",
|
|
24
|
+
};
|
|
25
|
+
export const SearchJobsJobType = {
|
|
26
|
+
F: "F",
|
|
27
|
+
P: "P",
|
|
28
|
+
C: "C",
|
|
29
|
+
T: "T",
|
|
30
|
+
I: "I",
|
|
31
|
+
V: "V",
|
|
32
|
+
O: "O",
|
|
33
|
+
};
|
|
34
|
+
export const SearchJobsExperienceLevel = {
|
|
35
|
+
One: "1",
|
|
36
|
+
Two: "2",
|
|
37
|
+
Three: "3",
|
|
38
|
+
Four: "4",
|
|
39
|
+
Five: "5",
|
|
40
|
+
Six: "6",
|
|
41
|
+
};
|
|
42
|
+
export const SearchJobsWorkplaceType = {
|
|
43
|
+
One: "1",
|
|
44
|
+
Two: "2",
|
|
45
|
+
Three: "3",
|
|
46
|
+
};
|
|
47
|
+
export const SearchJobsCategory = {
|
|
48
|
+
Jobs: "jobs",
|
|
49
|
+
};
|
|
50
|
+
export const SearchJobsType = {
|
|
51
|
+
Job: "JOB",
|
|
52
|
+
};
|
|
53
|
+
export const SearchByUrlCategory = {
|
|
54
|
+
Posts: "posts",
|
|
55
|
+
People: "people",
|
|
56
|
+
Companies: "companies",
|
|
57
|
+
Jobs: "jobs",
|
|
58
|
+
};
|
|
59
|
+
export const SearchByUrlTypeJob = {
|
|
60
|
+
Job: "JOB",
|
|
61
|
+
};
|
|
62
|
+
export const SearchByUrlTypeCompany = {
|
|
63
|
+
Company: "COMPANY",
|
|
64
|
+
};
|
|
65
|
+
export const SearchByUrlTypePeople = {
|
|
66
|
+
People: "PEOPLE",
|
|
67
|
+
};
|
|
68
|
+
export const SearchByUrlNetworkDistance = {
|
|
69
|
+
Distance1: "DISTANCE_1",
|
|
70
|
+
Distance2: "DISTANCE_2",
|
|
71
|
+
Distance3: "DISTANCE_3",
|
|
72
|
+
OutOfNetwork: "OUT_OF_NETWORK",
|
|
73
|
+
};
|
|
74
|
+
export const SearchByUrlTypePost = {
|
|
75
|
+
Post: "POST",
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Type of media attached to the post.
|
|
79
|
+
*/
|
|
80
|
+
export const SearchByUrlMediaType = {
|
|
81
|
+
Image: "image",
|
|
82
|
+
Video: "video",
|
|
83
|
+
Document: "document",
|
|
84
|
+
Article: "article",
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Parameter type to resolve
|
|
88
|
+
*/
|
|
89
|
+
export const ResolveParametersType = {
|
|
90
|
+
Geo: "GEO",
|
|
91
|
+
Company: "COMPANY",
|
|
92
|
+
Industry: "INDUSTRY",
|
|
93
|
+
School: "SCHOOL",
|
|
94
|
+
Connections: "CONNECTIONS",
|
|
95
|
+
People: "PEOPLE",
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
99
|
+
*/
|
|
100
|
+
export const SearchSalesNavCategoryRequest = {
|
|
101
|
+
People: "people",
|
|
102
|
+
Companies: "companies",
|
|
103
|
+
};
|
|
104
|
+
export const SearchSalesNavTypeCompany = {
|
|
105
|
+
Company: "COMPANY",
|
|
106
|
+
};
|
|
107
|
+
export const SearchSalesNavTypePeople = {
|
|
108
|
+
People: "PEOPLE",
|
|
109
|
+
};
|
|
110
|
+
export const SearchSalesNavNetworkDistance = {
|
|
111
|
+
Distance1: "DISTANCE_1",
|
|
112
|
+
Distance2: "DISTANCE_2",
|
|
113
|
+
Distance3: "DISTANCE_3",
|
|
114
|
+
OutOfNetwork: "OUT_OF_NETWORK",
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
118
|
+
*/
|
|
119
|
+
export const SearchSalesNavPeopleCategoryRequest = {
|
|
120
|
+
People: "people",
|
|
121
|
+
Companies: "companies",
|
|
122
|
+
};
|
|
123
|
+
export const SearchSalesNavPeopleCategoryPeople = {
|
|
124
|
+
People: "people",
|
|
125
|
+
};
|
|
126
|
+
export const SearchSalesNavPeopleType = {
|
|
127
|
+
People: "PEOPLE",
|
|
128
|
+
};
|
|
129
|
+
export const SearchSalesNavPeopleNetworkDistance = {
|
|
130
|
+
Distance1: "DISTANCE_1",
|
|
131
|
+
Distance2: "DISTANCE_2",
|
|
132
|
+
Distance3: "DISTANCE_3",
|
|
133
|
+
OutOfNetwork: "OUT_OF_NETWORK",
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
137
|
+
*/
|
|
138
|
+
export const SearchSalesNavCompaniesCategoryRequest = {
|
|
139
|
+
People: "people",
|
|
140
|
+
Companies: "companies",
|
|
141
|
+
};
|
|
142
|
+
export const SearchSalesNavCompaniesCategoryCompanies = {
|
|
143
|
+
Companies: "companies",
|
|
144
|
+
};
|
|
145
|
+
export const SearchSalesNavCompaniesType = {
|
|
146
|
+
Company: "COMPANY",
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Reaction type (default: LIKE)
|
|
150
|
+
*/
|
|
151
|
+
export const LikeCommentReactionType = {
|
|
152
|
+
Like: "LIKE",
|
|
153
|
+
Love: "LOVE",
|
|
154
|
+
Celebrate: "CELEBRATE",
|
|
155
|
+
Support: "SUPPORT",
|
|
156
|
+
Funny: "FUNNY",
|
|
157
|
+
Insightful: "INSIGHTFUL",
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
161
|
+
*/
|
|
162
|
+
export const PublishPostMode = {
|
|
163
|
+
Scheduled: "scheduled",
|
|
164
|
+
Instant: "instant",
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Post visibility
|
|
168
|
+
*/
|
|
169
|
+
export const Visibility = {
|
|
170
|
+
Anyone: "ANYONE",
|
|
171
|
+
Connections: "CONNECTIONS",
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Reaction type (default: LIKE)
|
|
175
|
+
*/
|
|
176
|
+
export const LikePostReactionType = {
|
|
177
|
+
Like: "LIKE",
|
|
178
|
+
Love: "LOVE",
|
|
179
|
+
Celebrate: "CELEBRATE",
|
|
180
|
+
Support: "SUPPORT",
|
|
181
|
+
Funny: "FUNNY",
|
|
182
|
+
Insightful: "INSIGHTFUL",
|
|
183
|
+
};
|
|
184
|
+
export const GetProfileType = {
|
|
185
|
+
Activity: "activity",
|
|
186
|
+
UgcPost: "ugcPost",
|
|
187
|
+
Share: "share",
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Type of media attached to the post.
|
|
191
|
+
*/
|
|
192
|
+
export const GetProfileMediaType = {
|
|
193
|
+
Image: "image",
|
|
194
|
+
Video: "video",
|
|
195
|
+
Document: "document",
|
|
196
|
+
Article: "article",
|
|
197
|
+
};
|
|
198
|
+
/** @internal */
|
|
199
|
+
export const SearchJobsDatePosted$outboundSchema = z.enum(SearchJobsDatePosted);
|
|
200
|
+
/** @internal */
|
|
201
|
+
export const SearchJobsSortBy$outboundSchema = z.enum(SearchJobsSortBy);
|
|
202
|
+
/** @internal */
|
|
203
|
+
export const SearchJobsJobType$outboundSchema = z.enum(SearchJobsJobType);
|
|
204
|
+
/** @internal */
|
|
205
|
+
export const SearchJobsExperienceLevel$outboundSchema = z.enum(SearchJobsExperienceLevel);
|
|
206
|
+
/** @internal */
|
|
207
|
+
export const SearchJobsWorkplaceType$outboundSchema = z.enum(SearchJobsWorkplaceType);
|
|
208
|
+
/** @internal */
|
|
209
|
+
export const SearchJobsRequest$outboundSchema = z.object({
|
|
210
|
+
keywords: z.optional(z.string()),
|
|
211
|
+
url: z.optional(z.string()),
|
|
212
|
+
location: z.optional(z.array(z.string())),
|
|
213
|
+
datePosted: z.optional(SearchJobsDatePosted$outboundSchema),
|
|
214
|
+
sortBy: z.optional(SearchJobsSortBy$outboundSchema),
|
|
215
|
+
jobType: z.optional(z.array(SearchJobsJobType$outboundSchema)),
|
|
216
|
+
experienceLevel: z.optional(z.array(SearchJobsExperienceLevel$outboundSchema)),
|
|
217
|
+
workplaceType: z.optional(z.array(SearchJobsWorkplaceType$outboundSchema)),
|
|
218
|
+
start: z.optional(z.int()),
|
|
219
|
+
count: z.optional(z.int()),
|
|
220
|
+
});
|
|
221
|
+
export function searchJobsRequestToJSON(searchJobsRequest) {
|
|
222
|
+
return JSON.stringify(SearchJobsRequest$outboundSchema.parse(searchJobsRequest));
|
|
223
|
+
}
|
|
224
|
+
/** @internal */
|
|
225
|
+
export const SearchJobsCategory$inboundSchema = z.enum(SearchJobsCategory);
|
|
226
|
+
/** @internal */
|
|
227
|
+
export const SearchJobsType$inboundSchema = z.enum(SearchJobsType);
|
|
228
|
+
/** @internal */
|
|
229
|
+
export const SearchJobsItem$inboundSchema = z.object({
|
|
230
|
+
type: SearchJobsType$inboundSchema,
|
|
231
|
+
title: types.string(),
|
|
232
|
+
company: types.nullable(types.string()),
|
|
233
|
+
companyUrl: types.nullable(types.string()),
|
|
234
|
+
companyLogo: types.nullable(types.string()),
|
|
235
|
+
location: types.nullable(types.string()),
|
|
236
|
+
workplaceType: types.nullable(types.string()),
|
|
237
|
+
postedAt: types.nullable(types.string()),
|
|
238
|
+
jobUrl: types.string(),
|
|
239
|
+
listingId: types.string(),
|
|
240
|
+
});
|
|
241
|
+
export function searchJobsItemFromJSON(jsonString) {
|
|
242
|
+
return safeParse(jsonString, (x) => SearchJobsItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchJobsItem' from JSON`);
|
|
243
|
+
}
|
|
244
|
+
/** @internal */
|
|
245
|
+
export const SearchJobsPaging$inboundSchema = z.object({
|
|
246
|
+
start: types.number(),
|
|
247
|
+
count: types.number(),
|
|
248
|
+
total: types.number(),
|
|
249
|
+
});
|
|
250
|
+
export function searchJobsPagingFromJSON(jsonString) {
|
|
251
|
+
return safeParse(jsonString, (x) => SearchJobsPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchJobsPaging' from JSON`);
|
|
252
|
+
}
|
|
253
|
+
/** @internal */
|
|
254
|
+
export const SearchJobsResponse$inboundSchema = z.object({
|
|
255
|
+
success: types.literal(true),
|
|
256
|
+
category: SearchJobsCategory$inboundSchema,
|
|
257
|
+
items: z.array(z.lazy(() => SearchJobsItem$inboundSchema)),
|
|
258
|
+
paging: z.lazy(() => SearchJobsPaging$inboundSchema),
|
|
259
|
+
hasMore: types.boolean(),
|
|
260
|
+
creditsUsed: types.number(),
|
|
261
|
+
retryAfter: types.number(),
|
|
262
|
+
});
|
|
263
|
+
export function searchJobsResponseFromJSON(jsonString) {
|
|
264
|
+
return safeParse(jsonString, (x) => SearchJobsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchJobsResponse' from JSON`);
|
|
265
|
+
}
|
|
266
|
+
/** @internal */
|
|
267
|
+
export const SearchByUrlRequest$outboundSchema = z.object({
|
|
268
|
+
url: z.string(),
|
|
269
|
+
start: z.optional(z.int()),
|
|
270
|
+
count: z.optional(z.int()),
|
|
271
|
+
});
|
|
272
|
+
export function searchByUrlRequestToJSON(searchByUrlRequest) {
|
|
273
|
+
return JSON.stringify(SearchByUrlRequest$outboundSchema.parse(searchByUrlRequest));
|
|
274
|
+
}
|
|
275
|
+
/** @internal */
|
|
276
|
+
export const SearchByUrlCategory$inboundSchema = openEnums.inboundSchema(SearchByUrlCategory);
|
|
277
|
+
/** @internal */
|
|
278
|
+
export const SearchByUrlTypeJob$inboundSchema = z.enum(SearchByUrlTypeJob);
|
|
279
|
+
/** @internal */
|
|
280
|
+
export const SearchByUrlItemsJob$inboundSchema = z.object({
|
|
281
|
+
type: SearchByUrlTypeJob$inboundSchema,
|
|
282
|
+
title: types.string(),
|
|
283
|
+
company: types.nullable(types.string()),
|
|
284
|
+
companyUrl: types.nullable(types.string()),
|
|
285
|
+
companyLogo: types.nullable(types.string()),
|
|
286
|
+
location: types.nullable(types.string()),
|
|
287
|
+
workplaceType: types.nullable(types.string()),
|
|
288
|
+
postedAt: types.nullable(types.string()),
|
|
289
|
+
jobUrl: types.string(),
|
|
290
|
+
listingId: types.string(),
|
|
291
|
+
});
|
|
292
|
+
export function searchByUrlItemsJobFromJSON(jsonString) {
|
|
293
|
+
return safeParse(jsonString, (x) => SearchByUrlItemsJob$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlItemsJob' from JSON`);
|
|
294
|
+
}
|
|
295
|
+
/** @internal */
|
|
296
|
+
export const SearchByUrlTypeCompany$inboundSchema = z.enum(SearchByUrlTypeCompany);
|
|
297
|
+
/** @internal */
|
|
298
|
+
export const SearchByUrlItemsCompany$inboundSchema = z.object({
|
|
299
|
+
type: SearchByUrlTypeCompany$inboundSchema,
|
|
300
|
+
name: types.string(),
|
|
301
|
+
profileUrl: types.nullable(types.string()),
|
|
302
|
+
summary: types.nullable(types.string()),
|
|
303
|
+
industry: types.nullable(types.string()),
|
|
304
|
+
location: types.nullable(types.string()),
|
|
305
|
+
followersCount: types.nullable(types.number()),
|
|
306
|
+
});
|
|
307
|
+
export function searchByUrlItemsCompanyFromJSON(jsonString) {
|
|
308
|
+
return safeParse(jsonString, (x) => SearchByUrlItemsCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlItemsCompany' from JSON`);
|
|
309
|
+
}
|
|
310
|
+
/** @internal */
|
|
311
|
+
export const SearchByUrlTypePeople$inboundSchema = z.enum(SearchByUrlTypePeople);
|
|
312
|
+
/** @internal */
|
|
313
|
+
export const SearchByUrlNetworkDistance$inboundSchema = openEnums.inboundSchema(SearchByUrlNetworkDistance);
|
|
314
|
+
/** @internal */
|
|
315
|
+
export const SearchByUrlCurrentPosition$inboundSchema = z.object({
|
|
316
|
+
company: types.nullable(types.string()),
|
|
317
|
+
role: types.nullable(types.string()),
|
|
318
|
+
});
|
|
319
|
+
export function searchByUrlCurrentPositionFromJSON(jsonString) {
|
|
320
|
+
return safeParse(jsonString, (x) => SearchByUrlCurrentPosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlCurrentPosition' from JSON`);
|
|
321
|
+
}
|
|
322
|
+
/** @internal */
|
|
323
|
+
export const SearchByUrlItemsPeople$inboundSchema = z.object({
|
|
324
|
+
type: SearchByUrlTypePeople$inboundSchema,
|
|
325
|
+
name: types.string(),
|
|
326
|
+
profileUrl: types.nullable(types.string()),
|
|
327
|
+
headline: types.nullable(types.string()),
|
|
328
|
+
location: types.nullable(types.string()),
|
|
329
|
+
profilePicture: types.nullable(types.string()),
|
|
330
|
+
networkDistance: types.nullable(SearchByUrlNetworkDistance$inboundSchema),
|
|
331
|
+
currentPositions: z.array(z.lazy(() => SearchByUrlCurrentPosition$inboundSchema)),
|
|
332
|
+
profileUrn: types.nullable(types.string()),
|
|
333
|
+
publicIdentifier: types.nullable(types.string()),
|
|
334
|
+
});
|
|
335
|
+
export function searchByUrlItemsPeopleFromJSON(jsonString) {
|
|
336
|
+
return safeParse(jsonString, (x) => SearchByUrlItemsPeople$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlItemsPeople' from JSON`);
|
|
337
|
+
}
|
|
338
|
+
/** @internal */
|
|
339
|
+
export const SearchByUrlTypePost$inboundSchema = z.enum(SearchByUrlTypePost);
|
|
340
|
+
/** @internal */
|
|
341
|
+
export const SearchByUrlAuthor$inboundSchema = z.object({
|
|
342
|
+
name: types.string(),
|
|
343
|
+
profileUrl: types.nullable(types.string()),
|
|
344
|
+
headline: types.nullable(types.string()),
|
|
345
|
+
profilePicture: types.nullable(types.string()),
|
|
346
|
+
isCompany: types.boolean(),
|
|
347
|
+
publicIdentifier: types.nullable(types.string()),
|
|
348
|
+
profileUrn: types.nullable(types.string()),
|
|
349
|
+
});
|
|
350
|
+
export function searchByUrlAuthorFromJSON(jsonString) {
|
|
351
|
+
return safeParse(jsonString, (x) => SearchByUrlAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlAuthor' from JSON`);
|
|
352
|
+
}
|
|
353
|
+
/** @internal */
|
|
354
|
+
export const SearchByUrlMediaType$inboundSchema = openEnums.inboundSchema(SearchByUrlMediaType);
|
|
355
|
+
/** @internal */
|
|
356
|
+
export const SearchByUrlMedia$inboundSchema = z.object({
|
|
357
|
+
type: SearchByUrlMediaType$inboundSchema,
|
|
358
|
+
urls: z.array(types.string()),
|
|
359
|
+
title: types.optional(types.string()),
|
|
360
|
+
thumbnailUrl: types.optional(types.string()),
|
|
361
|
+
});
|
|
362
|
+
export function searchByUrlMediaFromJSON(jsonString) {
|
|
363
|
+
return safeParse(jsonString, (x) => SearchByUrlMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlMedia' from JSON`);
|
|
364
|
+
}
|
|
365
|
+
/** @internal */
|
|
366
|
+
export const SearchByUrlItemsPost$inboundSchema = z.object({
|
|
367
|
+
type: SearchByUrlTypePost$inboundSchema,
|
|
368
|
+
postUrl: types.string(),
|
|
369
|
+
text: types.string(),
|
|
370
|
+
date: types.number(),
|
|
371
|
+
likesCount: types.number(),
|
|
372
|
+
commentsCount: types.number(),
|
|
373
|
+
sharesCount: types.number(),
|
|
374
|
+
postUrn: types.string(),
|
|
375
|
+
postId: types.string(),
|
|
376
|
+
author: z.lazy(() => SearchByUrlAuthor$inboundSchema),
|
|
377
|
+
isRepost: types.boolean(),
|
|
378
|
+
media: types.optional(z.lazy(() => SearchByUrlMedia$inboundSchema)),
|
|
379
|
+
});
|
|
380
|
+
export function searchByUrlItemsPostFromJSON(jsonString) {
|
|
381
|
+
return safeParse(jsonString, (x) => SearchByUrlItemsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlItemsPost' from JSON`);
|
|
382
|
+
}
|
|
383
|
+
/** @internal */
|
|
384
|
+
export const SearchByUrlItemsUnion$inboundSchema = smartUnion([
|
|
385
|
+
z.array(z.lazy(() => SearchByUrlItemsPost$inboundSchema)),
|
|
386
|
+
z.array(z.lazy(() => SearchByUrlItemsPeople$inboundSchema)),
|
|
387
|
+
z.array(z.lazy(() => SearchByUrlItemsCompany$inboundSchema)),
|
|
388
|
+
z.array(z.lazy(() => SearchByUrlItemsJob$inboundSchema)),
|
|
389
|
+
]);
|
|
390
|
+
export function searchByUrlItemsUnionFromJSON(jsonString) {
|
|
391
|
+
return safeParse(jsonString, (x) => SearchByUrlItemsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlItemsUnion' from JSON`);
|
|
392
|
+
}
|
|
393
|
+
/** @internal */
|
|
394
|
+
export const SearchByUrlPaging$inboundSchema = z.object({
|
|
395
|
+
start: types.number(),
|
|
396
|
+
count: types.number(),
|
|
397
|
+
total: types.number(),
|
|
398
|
+
});
|
|
399
|
+
export function searchByUrlPagingFromJSON(jsonString) {
|
|
400
|
+
return safeParse(jsonString, (x) => SearchByUrlPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlPaging' from JSON`);
|
|
401
|
+
}
|
|
402
|
+
/** @internal */
|
|
403
|
+
export const SearchByUrlResponse$inboundSchema = z.object({
|
|
404
|
+
success: types.literal(true),
|
|
405
|
+
category: SearchByUrlCategory$inboundSchema,
|
|
406
|
+
items: smartUnion([
|
|
407
|
+
z.array(z.lazy(() => SearchByUrlItemsPost$inboundSchema)),
|
|
408
|
+
z.array(z.lazy(() => SearchByUrlItemsPeople$inboundSchema)),
|
|
409
|
+
z.array(z.lazy(() => SearchByUrlItemsCompany$inboundSchema)),
|
|
410
|
+
z.array(z.lazy(() => SearchByUrlItemsJob$inboundSchema)),
|
|
411
|
+
]),
|
|
412
|
+
paging: z.lazy(() => SearchByUrlPaging$inboundSchema),
|
|
413
|
+
hasMore: types.boolean(),
|
|
414
|
+
creditsUsed: types.number(),
|
|
415
|
+
retryAfter: types.number(),
|
|
416
|
+
});
|
|
417
|
+
export function searchByUrlResponseFromJSON(jsonString) {
|
|
418
|
+
return safeParse(jsonString, (x) => SearchByUrlResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchByUrlResponse' from JSON`);
|
|
419
|
+
}
|
|
420
|
+
/** @internal */
|
|
421
|
+
export const ResolveParametersType$outboundSchema = z.enum(ResolveParametersType);
|
|
422
|
+
/** @internal */
|
|
423
|
+
export const ResolveParametersRequest$outboundSchema = z.object({
|
|
424
|
+
type: ResolveParametersType$outboundSchema,
|
|
425
|
+
keywords: z.string(),
|
|
426
|
+
limit: z.optional(z.int()),
|
|
427
|
+
});
|
|
428
|
+
export function resolveParametersRequestToJSON(resolveParametersRequest) {
|
|
429
|
+
return JSON.stringify(ResolveParametersRequest$outboundSchema.parse(resolveParametersRequest));
|
|
430
|
+
}
|
|
431
|
+
/** @internal */
|
|
432
|
+
export const ResolveParametersItem$inboundSchema = z.object({
|
|
433
|
+
id: types.string(),
|
|
434
|
+
title: types.string(),
|
|
435
|
+
type: types.string(),
|
|
436
|
+
});
|
|
437
|
+
export function resolveParametersItemFromJSON(jsonString) {
|
|
438
|
+
return safeParse(jsonString, (x) => ResolveParametersItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResolveParametersItem' from JSON`);
|
|
439
|
+
}
|
|
440
|
+
/** @internal */
|
|
441
|
+
export const ResolveParametersResponse$inboundSchema = z.object({
|
|
442
|
+
success: types.literal(true),
|
|
443
|
+
items: z.array(z.lazy(() => ResolveParametersItem$inboundSchema)),
|
|
444
|
+
count: types.number(),
|
|
445
|
+
creditsUsed: types.number(),
|
|
446
|
+
retryAfter: types.number(),
|
|
447
|
+
});
|
|
448
|
+
export function resolveParametersResponseFromJSON(jsonString) {
|
|
449
|
+
return safeParse(jsonString, (x) => ResolveParametersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResolveParametersResponse' from JSON`);
|
|
450
|
+
}
|
|
451
|
+
/** @internal */
|
|
452
|
+
export const SearchSalesNavCategoryRequest$outboundSchema = z.enum(SearchSalesNavCategoryRequest);
|
|
453
|
+
/** @internal */
|
|
454
|
+
export const SearchSalesNavCompany$outboundSchema = z.object({
|
|
455
|
+
include: z.optional(z.array(z.string())),
|
|
456
|
+
exclude: z.optional(z.array(z.string())),
|
|
457
|
+
});
|
|
458
|
+
export function searchSalesNavCompanyToJSON(searchSalesNavCompany) {
|
|
459
|
+
return JSON.stringify(SearchSalesNavCompany$outboundSchema.parse(searchSalesNavCompany));
|
|
460
|
+
}
|
|
461
|
+
/** @internal */
|
|
462
|
+
export const SearchSalesNavIndustry$outboundSchema = z.object({
|
|
463
|
+
include: z.optional(z.array(z.string())),
|
|
464
|
+
exclude: z.optional(z.array(z.string())),
|
|
465
|
+
});
|
|
466
|
+
export function searchSalesNavIndustryToJSON(searchSalesNavIndustry) {
|
|
467
|
+
return JSON.stringify(SearchSalesNavIndustry$outboundSchema.parse(searchSalesNavIndustry));
|
|
468
|
+
}
|
|
469
|
+
/** @internal */
|
|
470
|
+
export const SearchSalesNavTenure$outboundSchema = z.object({
|
|
471
|
+
min: z.optional(z.int()),
|
|
472
|
+
max: z.optional(z.int()),
|
|
473
|
+
});
|
|
474
|
+
export function searchSalesNavTenureToJSON(searchSalesNavTenure) {
|
|
475
|
+
return JSON.stringify(SearchSalesNavTenure$outboundSchema.parse(searchSalesNavTenure));
|
|
476
|
+
}
|
|
477
|
+
/** @internal */
|
|
478
|
+
export const SearchSalesNavRequest$outboundSchema = z.object({
|
|
479
|
+
category: z.optional(SearchSalesNavCategoryRequest$outboundSchema),
|
|
480
|
+
url: z.optional(z.string()),
|
|
481
|
+
keywords: z.optional(z.string()),
|
|
482
|
+
title: z.optional(z.string()),
|
|
483
|
+
company: z.optional(z.lazy(() => SearchSalesNavCompany$outboundSchema)),
|
|
484
|
+
industry: z.optional(z.lazy(() => SearchSalesNavIndustry$outboundSchema)),
|
|
485
|
+
location: z.optional(z.array(z.string())),
|
|
486
|
+
seniority: z.optional(z.array(z.string())),
|
|
487
|
+
function: z.optional(z.array(z.string())),
|
|
488
|
+
tenure: z.optional(z.array(z.lazy(() => SearchSalesNavTenure$outboundSchema))),
|
|
489
|
+
profileLanguage: z.optional(z.array(z.string())),
|
|
490
|
+
connectionDegree: z.optional(z.array(z.string())),
|
|
491
|
+
school: z.optional(z.array(z.string())),
|
|
492
|
+
yearsOfExperience: z.optional(z.array(z.string())),
|
|
493
|
+
companyHeadcount: z.optional(z.array(z.string())),
|
|
494
|
+
companyType: z.optional(z.array(z.string())),
|
|
495
|
+
annualRevenue: z.optional(z.array(z.string())),
|
|
496
|
+
start: z.optional(z.int()),
|
|
497
|
+
count: z.optional(z.int()),
|
|
498
|
+
});
|
|
499
|
+
export function searchSalesNavRequestToJSON(searchSalesNavRequest) {
|
|
500
|
+
return JSON.stringify(SearchSalesNavRequest$outboundSchema.parse(searchSalesNavRequest));
|
|
501
|
+
}
|
|
502
|
+
/** @internal */
|
|
503
|
+
export const SearchSalesNavTypeCompany$inboundSchema = z.enum(SearchSalesNavTypeCompany);
|
|
504
|
+
/** @internal */
|
|
505
|
+
export const SearchSalesNavItemCompany$inboundSchema = z.object({
|
|
506
|
+
type: SearchSalesNavTypeCompany$inboundSchema,
|
|
507
|
+
id: types.string(),
|
|
508
|
+
name: types.string(),
|
|
509
|
+
profileUrl: types.nullable(types.string()),
|
|
510
|
+
summary: types.nullable(types.string()),
|
|
511
|
+
industry: types.nullable(types.string()),
|
|
512
|
+
location: types.nullable(types.string()),
|
|
513
|
+
headcount: types.nullable(types.string()),
|
|
514
|
+
});
|
|
515
|
+
export function searchSalesNavItemCompanyFromJSON(jsonString) {
|
|
516
|
+
return safeParse(jsonString, (x) => SearchSalesNavItemCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavItemCompany' from JSON`);
|
|
517
|
+
}
|
|
518
|
+
/** @internal */
|
|
519
|
+
export const SearchSalesNavPaging2$inboundSchema = z.object({
|
|
520
|
+
start: types.number(),
|
|
521
|
+
count: types.number(),
|
|
522
|
+
total: types.number(),
|
|
523
|
+
});
|
|
524
|
+
export function searchSalesNavPaging2FromJSON(jsonString) {
|
|
525
|
+
return safeParse(jsonString, (x) => SearchSalesNavPaging2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPaging2' from JSON`);
|
|
526
|
+
}
|
|
527
|
+
/** @internal */
|
|
528
|
+
export const Companies$inboundSchema = z
|
|
529
|
+
.object({
|
|
530
|
+
success: types.literal(true),
|
|
531
|
+
category: types.literal("companies"),
|
|
532
|
+
items: z.array(z.lazy(() => SearchSalesNavItemCompany$inboundSchema)),
|
|
533
|
+
paging: z.lazy(() => SearchSalesNavPaging2$inboundSchema),
|
|
534
|
+
hasMore: types.boolean(),
|
|
535
|
+
creditsUsed: types.number(),
|
|
536
|
+
retryAfter: types.number(),
|
|
537
|
+
});
|
|
538
|
+
export function companiesFromJSON(jsonString) {
|
|
539
|
+
return safeParse(jsonString, (x) => Companies$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Companies' from JSON`);
|
|
540
|
+
}
|
|
541
|
+
/** @internal */
|
|
542
|
+
export const SearchSalesNavTypePeople$inboundSchema = z.enum(SearchSalesNavTypePeople);
|
|
543
|
+
/** @internal */
|
|
544
|
+
export const SearchSalesNavNetworkDistance$inboundSchema = openEnums.inboundSchema(SearchSalesNavNetworkDistance);
|
|
545
|
+
/** @internal */
|
|
546
|
+
export const SearchSalesNavTenureAtCompany$inboundSchema = z.object({
|
|
547
|
+
years: types.optional(types.number()),
|
|
548
|
+
months: types.optional(types.number()),
|
|
549
|
+
});
|
|
550
|
+
export function searchSalesNavTenureAtCompanyFromJSON(jsonString) {
|
|
551
|
+
return safeParse(jsonString, (x) => SearchSalesNavTenureAtCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavTenureAtCompany' from JSON`);
|
|
552
|
+
}
|
|
553
|
+
/** @internal */
|
|
554
|
+
export const SearchSalesNavTenureAtRole$inboundSchema = z.object({
|
|
555
|
+
years: types.optional(types.number()),
|
|
556
|
+
months: types.optional(types.number()),
|
|
557
|
+
});
|
|
558
|
+
export function searchSalesNavTenureAtRoleFromJSON(jsonString) {
|
|
559
|
+
return safeParse(jsonString, (x) => SearchSalesNavTenureAtRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavTenureAtRole' from JSON`);
|
|
560
|
+
}
|
|
561
|
+
/** @internal */
|
|
562
|
+
export const SearchSalesNavCurrentPosition$inboundSchema = z.object({
|
|
563
|
+
company: types.nullable(types.string()),
|
|
564
|
+
companyId: types.nullable(types.string()),
|
|
565
|
+
role: types.nullable(types.string()),
|
|
566
|
+
description: types.nullable(types.string()),
|
|
567
|
+
location: types.nullable(types.string()),
|
|
568
|
+
tenureAtCompany: types.nullable(z.lazy(() => SearchSalesNavTenureAtCompany$inboundSchema)),
|
|
569
|
+
tenureAtRole: types.nullable(z.lazy(() => SearchSalesNavTenureAtRole$inboundSchema)),
|
|
570
|
+
});
|
|
571
|
+
export function searchSalesNavCurrentPositionFromJSON(jsonString) {
|
|
572
|
+
return safeParse(jsonString, (x) => SearchSalesNavCurrentPosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCurrentPosition' from JSON`);
|
|
573
|
+
}
|
|
574
|
+
/** @internal */
|
|
575
|
+
export const SearchSalesNavItemPeople$inboundSchema = z.object({
|
|
576
|
+
type: SearchSalesNavTypePeople$inboundSchema,
|
|
577
|
+
id: types.string(),
|
|
578
|
+
name: types.string(),
|
|
579
|
+
firstName: types.nullable(types.string()),
|
|
580
|
+
lastName: types.nullable(types.string()),
|
|
581
|
+
memberUrn: types.nullable(types.string()),
|
|
582
|
+
publicIdentifier: types.nullable(types.string()),
|
|
583
|
+
profileUrl: types.nullable(types.string()),
|
|
584
|
+
salesNavUrl: types.nullable(types.string()),
|
|
585
|
+
profilePicture: types.nullable(types.string()),
|
|
586
|
+
headline: types.nullable(types.string()),
|
|
587
|
+
location: types.nullable(types.string()),
|
|
588
|
+
networkDistance: types.nullable(SearchSalesNavNetworkDistance$inboundSchema),
|
|
589
|
+
premium: types.nullable(types.boolean()),
|
|
590
|
+
openProfile: types.nullable(types.boolean()),
|
|
591
|
+
pendingInvitation: types.nullable(types.boolean()),
|
|
592
|
+
currentPositions: z.array(z.lazy(() => SearchSalesNavCurrentPosition$inboundSchema)),
|
|
593
|
+
});
|
|
594
|
+
export function searchSalesNavItemPeopleFromJSON(jsonString) {
|
|
595
|
+
return safeParse(jsonString, (x) => SearchSalesNavItemPeople$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavItemPeople' from JSON`);
|
|
596
|
+
}
|
|
597
|
+
/** @internal */
|
|
598
|
+
export const SearchSalesNavPaging1$inboundSchema = z.object({
|
|
599
|
+
start: types.number(),
|
|
600
|
+
count: types.number(),
|
|
601
|
+
total: types.number(),
|
|
602
|
+
});
|
|
603
|
+
export function searchSalesNavPaging1FromJSON(jsonString) {
|
|
604
|
+
return safeParse(jsonString, (x) => SearchSalesNavPaging1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPaging1' from JSON`);
|
|
605
|
+
}
|
|
606
|
+
/** @internal */
|
|
607
|
+
export const People$inboundSchema = z.object({
|
|
608
|
+
success: types.literal(true),
|
|
609
|
+
category: types.literal("people"),
|
|
610
|
+
items: z.array(z.lazy(() => SearchSalesNavItemPeople$inboundSchema)),
|
|
611
|
+
paging: z.lazy(() => SearchSalesNavPaging1$inboundSchema),
|
|
612
|
+
hasMore: types.boolean(),
|
|
613
|
+
creditsUsed: types.number(),
|
|
614
|
+
retryAfter: types.number(),
|
|
615
|
+
});
|
|
616
|
+
export function peopleFromJSON(jsonString) {
|
|
617
|
+
return safeParse(jsonString, (x) => People$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'People' from JSON`);
|
|
618
|
+
}
|
|
619
|
+
/** @internal */
|
|
620
|
+
export const SearchSalesNavResponse$inboundSchema = discriminatedUnion("category", {
|
|
621
|
+
people: z.lazy(() => People$inboundSchema),
|
|
622
|
+
companies: z.lazy(() => Companies$inboundSchema),
|
|
623
|
+
});
|
|
624
|
+
export function searchSalesNavResponseFromJSON(jsonString) {
|
|
625
|
+
return safeParse(jsonString, (x) => SearchSalesNavResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavResponse' from JSON`);
|
|
626
|
+
}
|
|
627
|
+
/** @internal */
|
|
628
|
+
export const SearchSalesNavPeopleCategoryRequest$outboundSchema = z.enum(SearchSalesNavPeopleCategoryRequest);
|
|
629
|
+
/** @internal */
|
|
630
|
+
export const SearchSalesNavPeopleCompany$outboundSchema = z.object({
|
|
631
|
+
include: z.optional(z.array(z.string())),
|
|
632
|
+
exclude: z.optional(z.array(z.string())),
|
|
633
|
+
});
|
|
634
|
+
export function searchSalesNavPeopleCompanyToJSON(searchSalesNavPeopleCompany) {
|
|
635
|
+
return JSON.stringify(SearchSalesNavPeopleCompany$outboundSchema.parse(searchSalesNavPeopleCompany));
|
|
636
|
+
}
|
|
637
|
+
/** @internal */
|
|
638
|
+
export const SearchSalesNavPeopleIndustry$outboundSchema = z.object({
|
|
639
|
+
include: z.optional(z.array(z.string())),
|
|
640
|
+
exclude: z.optional(z.array(z.string())),
|
|
641
|
+
});
|
|
642
|
+
export function searchSalesNavPeopleIndustryToJSON(searchSalesNavPeopleIndustry) {
|
|
643
|
+
return JSON.stringify(SearchSalesNavPeopleIndustry$outboundSchema.parse(searchSalesNavPeopleIndustry));
|
|
644
|
+
}
|
|
645
|
+
/** @internal */
|
|
646
|
+
export const SearchSalesNavPeopleTenure$outboundSchema = z.object({
|
|
647
|
+
min: z.optional(z.int()),
|
|
648
|
+
max: z.optional(z.int()),
|
|
649
|
+
});
|
|
650
|
+
export function searchSalesNavPeopleTenureToJSON(searchSalesNavPeopleTenure) {
|
|
651
|
+
return JSON.stringify(SearchSalesNavPeopleTenure$outboundSchema.parse(searchSalesNavPeopleTenure));
|
|
652
|
+
}
|
|
653
|
+
/** @internal */
|
|
654
|
+
export const SearchSalesNavPeopleRequest$outboundSchema = z.object({
|
|
655
|
+
category: z.optional(SearchSalesNavPeopleCategoryRequest$outboundSchema),
|
|
656
|
+
url: z.optional(z.string()),
|
|
657
|
+
keywords: z.optional(z.string()),
|
|
658
|
+
title: z.optional(z.string()),
|
|
659
|
+
company: z.optional(z.lazy(() => SearchSalesNavPeopleCompany$outboundSchema)),
|
|
660
|
+
industry: z.optional(z.lazy(() => SearchSalesNavPeopleIndustry$outboundSchema)),
|
|
661
|
+
location: z.optional(z.array(z.string())),
|
|
662
|
+
seniority: z.optional(z.array(z.string())),
|
|
663
|
+
function: z.optional(z.array(z.string())),
|
|
664
|
+
tenure: z.optional(z.array(z.lazy(() => SearchSalesNavPeopleTenure$outboundSchema))),
|
|
665
|
+
profileLanguage: z.optional(z.array(z.string())),
|
|
666
|
+
connectionDegree: z.optional(z.array(z.string())),
|
|
667
|
+
school: z.optional(z.array(z.string())),
|
|
668
|
+
yearsOfExperience: z.optional(z.array(z.string())),
|
|
669
|
+
start: z.optional(z.int()),
|
|
670
|
+
count: z.optional(z.int()),
|
|
671
|
+
});
|
|
672
|
+
export function searchSalesNavPeopleRequestToJSON(searchSalesNavPeopleRequest) {
|
|
673
|
+
return JSON.stringify(SearchSalesNavPeopleRequest$outboundSchema.parse(searchSalesNavPeopleRequest));
|
|
674
|
+
}
|
|
675
|
+
/** @internal */
|
|
676
|
+
export const SearchSalesNavPeopleCategoryPeople$inboundSchema = z.enum(SearchSalesNavPeopleCategoryPeople);
|
|
677
|
+
/** @internal */
|
|
678
|
+
export const SearchSalesNavPeopleType$inboundSchema = z.enum(SearchSalesNavPeopleType);
|
|
679
|
+
/** @internal */
|
|
680
|
+
export const SearchSalesNavPeopleNetworkDistance$inboundSchema = openEnums.inboundSchema(SearchSalesNavPeopleNetworkDistance);
|
|
681
|
+
/** @internal */
|
|
682
|
+
export const SearchSalesNavPeopleTenureAtCompany$inboundSchema = z.object({
|
|
683
|
+
years: types.optional(types.number()),
|
|
684
|
+
months: types.optional(types.number()),
|
|
685
|
+
});
|
|
686
|
+
export function searchSalesNavPeopleTenureAtCompanyFromJSON(jsonString) {
|
|
687
|
+
return safeParse(jsonString, (x) => SearchSalesNavPeopleTenureAtCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeopleTenureAtCompany' from JSON`);
|
|
688
|
+
}
|
|
689
|
+
/** @internal */
|
|
690
|
+
export const SearchSalesNavPeopleTenureAtRole$inboundSchema = z.object({
|
|
691
|
+
years: types.optional(types.number()),
|
|
692
|
+
months: types.optional(types.number()),
|
|
693
|
+
});
|
|
694
|
+
export function searchSalesNavPeopleTenureAtRoleFromJSON(jsonString) {
|
|
695
|
+
return safeParse(jsonString, (x) => SearchSalesNavPeopleTenureAtRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeopleTenureAtRole' from JSON`);
|
|
696
|
+
}
|
|
697
|
+
/** @internal */
|
|
698
|
+
export const SearchSalesNavPeopleCurrentPosition$inboundSchema = z.object({
|
|
699
|
+
company: types.nullable(types.string()),
|
|
700
|
+
companyId: types.nullable(types.string()),
|
|
701
|
+
role: types.nullable(types.string()),
|
|
702
|
+
description: types.nullable(types.string()),
|
|
703
|
+
location: types.nullable(types.string()),
|
|
704
|
+
tenureAtCompany: types.nullable(z.lazy(() => SearchSalesNavPeopleTenureAtCompany$inboundSchema)),
|
|
705
|
+
tenureAtRole: types.nullable(z.lazy(() => SearchSalesNavPeopleTenureAtRole$inboundSchema)),
|
|
706
|
+
});
|
|
707
|
+
export function searchSalesNavPeopleCurrentPositionFromJSON(jsonString) {
|
|
708
|
+
return safeParse(jsonString, (x) => SearchSalesNavPeopleCurrentPosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeopleCurrentPosition' from JSON`);
|
|
709
|
+
}
|
|
710
|
+
/** @internal */
|
|
711
|
+
export const SearchSalesNavPeopleItem$inboundSchema = z.object({
|
|
712
|
+
type: SearchSalesNavPeopleType$inboundSchema,
|
|
713
|
+
id: types.string(),
|
|
714
|
+
name: types.string(),
|
|
715
|
+
firstName: types.nullable(types.string()),
|
|
716
|
+
lastName: types.nullable(types.string()),
|
|
717
|
+
memberUrn: types.nullable(types.string()),
|
|
718
|
+
publicIdentifier: types.nullable(types.string()),
|
|
719
|
+
profileUrl: types.nullable(types.string()),
|
|
720
|
+
salesNavUrl: types.nullable(types.string()),
|
|
721
|
+
profilePicture: types.nullable(types.string()),
|
|
722
|
+
headline: types.nullable(types.string()),
|
|
723
|
+
location: types.nullable(types.string()),
|
|
724
|
+
networkDistance: types.nullable(SearchSalesNavPeopleNetworkDistance$inboundSchema),
|
|
725
|
+
premium: types.nullable(types.boolean()),
|
|
726
|
+
openProfile: types.nullable(types.boolean()),
|
|
727
|
+
pendingInvitation: types.nullable(types.boolean()),
|
|
728
|
+
currentPositions: z.array(z.lazy(() => SearchSalesNavPeopleCurrentPosition$inboundSchema)),
|
|
729
|
+
});
|
|
730
|
+
export function searchSalesNavPeopleItemFromJSON(jsonString) {
|
|
731
|
+
return safeParse(jsonString, (x) => SearchSalesNavPeopleItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeopleItem' from JSON`);
|
|
732
|
+
}
|
|
733
|
+
/** @internal */
|
|
734
|
+
export const SearchSalesNavPeoplePaging$inboundSchema = z.object({
|
|
735
|
+
start: types.number(),
|
|
736
|
+
count: types.number(),
|
|
737
|
+
total: types.number(),
|
|
738
|
+
});
|
|
739
|
+
export function searchSalesNavPeoplePagingFromJSON(jsonString) {
|
|
740
|
+
return safeParse(jsonString, (x) => SearchSalesNavPeoplePaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeoplePaging' from JSON`);
|
|
741
|
+
}
|
|
742
|
+
/** @internal */
|
|
743
|
+
export const SearchSalesNavPeopleResponse$inboundSchema = z.object({
|
|
744
|
+
success: types.literal(true),
|
|
745
|
+
category: SearchSalesNavPeopleCategoryPeople$inboundSchema,
|
|
746
|
+
items: z.array(z.lazy(() => SearchSalesNavPeopleItem$inboundSchema)),
|
|
747
|
+
paging: z.lazy(() => SearchSalesNavPeoplePaging$inboundSchema),
|
|
748
|
+
hasMore: types.boolean(),
|
|
749
|
+
creditsUsed: types.number(),
|
|
750
|
+
retryAfter: types.number(),
|
|
751
|
+
});
|
|
752
|
+
export function searchSalesNavPeopleResponseFromJSON(jsonString) {
|
|
753
|
+
return safeParse(jsonString, (x) => SearchSalesNavPeopleResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeopleResponse' from JSON`);
|
|
754
|
+
}
|
|
755
|
+
/** @internal */
|
|
756
|
+
export const SearchSalesNavCompaniesCategoryRequest$outboundSchema = z.enum(SearchSalesNavCompaniesCategoryRequest);
|
|
757
|
+
/** @internal */
|
|
758
|
+
export const SearchSalesNavCompaniesIndustry$outboundSchema = z.object({
|
|
759
|
+
include: z.optional(z.array(z.string())),
|
|
760
|
+
exclude: z.optional(z.array(z.string())),
|
|
761
|
+
});
|
|
762
|
+
export function searchSalesNavCompaniesIndustryToJSON(searchSalesNavCompaniesIndustry) {
|
|
763
|
+
return JSON.stringify(SearchSalesNavCompaniesIndustry$outboundSchema.parse(searchSalesNavCompaniesIndustry));
|
|
764
|
+
}
|
|
765
|
+
/** @internal */
|
|
766
|
+
export const SearchSalesNavCompaniesRequest$outboundSchema = z.object({
|
|
767
|
+
category: z.optional(SearchSalesNavCompaniesCategoryRequest$outboundSchema),
|
|
768
|
+
url: z.optional(z.string()),
|
|
769
|
+
keywords: z.optional(z.string()),
|
|
770
|
+
industry: z.optional(z.lazy(() => SearchSalesNavCompaniesIndustry$outboundSchema)),
|
|
771
|
+
location: z.optional(z.array(z.string())),
|
|
772
|
+
companyHeadcount: z.optional(z.array(z.string())),
|
|
773
|
+
companyType: z.optional(z.array(z.string())),
|
|
774
|
+
annualRevenue: z.optional(z.array(z.string())),
|
|
775
|
+
start: z.optional(z.int()),
|
|
776
|
+
count: z.optional(z.int()),
|
|
777
|
+
});
|
|
778
|
+
export function searchSalesNavCompaniesRequestToJSON(searchSalesNavCompaniesRequest) {
|
|
779
|
+
return JSON.stringify(SearchSalesNavCompaniesRequest$outboundSchema.parse(searchSalesNavCompaniesRequest));
|
|
780
|
+
}
|
|
781
|
+
/** @internal */
|
|
782
|
+
export const SearchSalesNavCompaniesCategoryCompanies$inboundSchema = z.enum(SearchSalesNavCompaniesCategoryCompanies);
|
|
783
|
+
/** @internal */
|
|
784
|
+
export const SearchSalesNavCompaniesType$inboundSchema = z.enum(SearchSalesNavCompaniesType);
|
|
785
|
+
/** @internal */
|
|
786
|
+
export const SearchSalesNavCompaniesItem$inboundSchema = z.object({
|
|
787
|
+
type: SearchSalesNavCompaniesType$inboundSchema,
|
|
788
|
+
id: types.string(),
|
|
789
|
+
name: types.string(),
|
|
790
|
+
profileUrl: types.nullable(types.string()),
|
|
791
|
+
summary: types.nullable(types.string()),
|
|
792
|
+
industry: types.nullable(types.string()),
|
|
793
|
+
location: types.nullable(types.string()),
|
|
794
|
+
headcount: types.nullable(types.string()),
|
|
795
|
+
});
|
|
796
|
+
export function searchSalesNavCompaniesItemFromJSON(jsonString) {
|
|
797
|
+
return safeParse(jsonString, (x) => SearchSalesNavCompaniesItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesItem' from JSON`);
|
|
798
|
+
}
|
|
799
|
+
/** @internal */
|
|
800
|
+
export const SearchSalesNavCompaniesPaging$inboundSchema = z.object({
|
|
801
|
+
start: types.number(),
|
|
802
|
+
count: types.number(),
|
|
803
|
+
total: types.number(),
|
|
804
|
+
});
|
|
805
|
+
export function searchSalesNavCompaniesPagingFromJSON(jsonString) {
|
|
806
|
+
return safeParse(jsonString, (x) => SearchSalesNavCompaniesPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesPaging' from JSON`);
|
|
807
|
+
}
|
|
808
|
+
/** @internal */
|
|
809
|
+
export const SearchSalesNavCompaniesResponse$inboundSchema = z.object({
|
|
810
|
+
success: types.literal(true),
|
|
811
|
+
category: SearchSalesNavCompaniesCategoryCompanies$inboundSchema,
|
|
812
|
+
items: z.array(z.lazy(() => SearchSalesNavCompaniesItem$inboundSchema)),
|
|
813
|
+
paging: z.lazy(() => SearchSalesNavCompaniesPaging$inboundSchema),
|
|
814
|
+
hasMore: types.boolean(),
|
|
815
|
+
creditsUsed: types.number(),
|
|
816
|
+
retryAfter: types.number(),
|
|
817
|
+
});
|
|
818
|
+
export function searchSalesNavCompaniesResponseFromJSON(jsonString) {
|
|
819
|
+
return safeParse(jsonString, (x) => SearchSalesNavCompaniesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesResponse' from JSON`);
|
|
820
|
+
}
|
|
821
|
+
/** @internal */
|
|
822
|
+
export const ConnectProfileRequest$outboundSchema = z.object({
|
|
823
|
+
profile: z.string(),
|
|
824
|
+
campaignSlug: z.optional(z.string()),
|
|
825
|
+
actionSlug: z.optional(z.string()),
|
|
826
|
+
});
|
|
827
|
+
export function connectProfileRequestToJSON(connectProfileRequest) {
|
|
828
|
+
return JSON.stringify(ConnectProfileRequest$outboundSchema.parse(connectProfileRequest));
|
|
829
|
+
}
|
|
830
|
+
/** @internal */
|
|
831
|
+
export const ConnectProfileResponse$inboundSchema = z.object({
|
|
832
|
+
success: types.literal(true),
|
|
833
|
+
message: types.string(),
|
|
834
|
+
duplicate: types.optional(types.boolean()),
|
|
835
|
+
creditsUsed: types.number(),
|
|
836
|
+
retryAfter: types.number(),
|
|
837
|
+
});
|
|
838
|
+
export function connectProfileResponseFromJSON(jsonString) {
|
|
839
|
+
return safeParse(jsonString, (x) => ConnectProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectProfileResponse' from JSON`);
|
|
840
|
+
}
|
|
841
|
+
/** @internal */
|
|
842
|
+
export const ListInvitationsRequest$outboundSchema = z.object({
|
|
843
|
+
start: z._default(z.int(), 0),
|
|
844
|
+
count: z._default(z.int(), 10),
|
|
845
|
+
});
|
|
846
|
+
export function listInvitationsRequestToJSON(listInvitationsRequest) {
|
|
847
|
+
return JSON.stringify(ListInvitationsRequest$outboundSchema.parse(listInvitationsRequest));
|
|
848
|
+
}
|
|
849
|
+
/** @internal */
|
|
850
|
+
export const FromMember$inboundSchema = z
|
|
851
|
+
.object({
|
|
852
|
+
name: types.nullable(types.string()),
|
|
853
|
+
headline: types.nullable(types.string()),
|
|
854
|
+
profileUrl: types.nullable(types.string()),
|
|
855
|
+
profilePicture: types.nullable(types.string()),
|
|
856
|
+
publicIdentifier: types.nullable(types.string()),
|
|
857
|
+
profileUrn: types.nullable(types.string()),
|
|
858
|
+
});
|
|
859
|
+
export function fromMemberFromJSON(jsonString) {
|
|
860
|
+
return safeParse(jsonString, (x) => FromMember$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FromMember' from JSON`);
|
|
861
|
+
}
|
|
862
|
+
/** @internal */
|
|
863
|
+
export const ListInvitationsInvitation$inboundSchema = z.object({
|
|
864
|
+
invitationId: types.string(),
|
|
865
|
+
sharedSecret: types.string(),
|
|
866
|
+
entityUrn: types.string(),
|
|
867
|
+
sentAt: types.nullable(types.string()),
|
|
868
|
+
message: types.nullable(types.string()),
|
|
869
|
+
senderProfileId: types.nullable(types.string()),
|
|
870
|
+
senderFirstName: types.nullable(types.string()),
|
|
871
|
+
senderLastName: types.nullable(types.string()),
|
|
872
|
+
fromMember: types.nullable(z.lazy(() => FromMember$inboundSchema)),
|
|
873
|
+
});
|
|
874
|
+
export function listInvitationsInvitationFromJSON(jsonString) {
|
|
875
|
+
return safeParse(jsonString, (x) => ListInvitationsInvitation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvitationsInvitation' from JSON`);
|
|
876
|
+
}
|
|
877
|
+
/** @internal */
|
|
878
|
+
export const ListInvitationsResponse$inboundSchema = z.object({
|
|
879
|
+
success: types.literal(true),
|
|
880
|
+
invitations: z.array(z.lazy(() => ListInvitationsInvitation$inboundSchema)),
|
|
881
|
+
total: types.number(),
|
|
882
|
+
start: types.number(),
|
|
883
|
+
count: types.number(),
|
|
884
|
+
creditsUsed: types.number(),
|
|
885
|
+
retryAfter: types.number(),
|
|
886
|
+
});
|
|
887
|
+
export function listInvitationsResponseFromJSON(jsonString) {
|
|
888
|
+
return safeParse(jsonString, (x) => ListInvitationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvitationsResponse' from JSON`);
|
|
889
|
+
}
|
|
890
|
+
/** @internal */
|
|
891
|
+
export const AcceptInvitationRequest$outboundSchema = z.object({
|
|
892
|
+
invitationId: z.string(),
|
|
893
|
+
sharedSecret: z.string(),
|
|
894
|
+
senderProfileId: z.optional(z.string()),
|
|
895
|
+
firstName: z.optional(z.string()),
|
|
896
|
+
lastName: z.optional(z.string()),
|
|
897
|
+
});
|
|
898
|
+
export function acceptInvitationRequestToJSON(acceptInvitationRequest) {
|
|
899
|
+
return JSON.stringify(AcceptInvitationRequest$outboundSchema.parse(acceptInvitationRequest));
|
|
900
|
+
}
|
|
901
|
+
/** @internal */
|
|
902
|
+
export const AcceptInvitationResponse$inboundSchema = z.object({
|
|
903
|
+
success: types.literal(true),
|
|
904
|
+
message: types.string(),
|
|
905
|
+
creditsUsed: types.number(),
|
|
906
|
+
retryAfter: types.number(),
|
|
907
|
+
});
|
|
908
|
+
export function acceptInvitationResponseFromJSON(jsonString) {
|
|
909
|
+
return safeParse(jsonString, (x) => AcceptInvitationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AcceptInvitationResponse' from JSON`);
|
|
910
|
+
}
|
|
911
|
+
/** @internal */
|
|
912
|
+
export const SendMessageRequest$outboundSchema = z.object({
|
|
913
|
+
profile: z.optional(z.string()),
|
|
914
|
+
conversationUrn: z.optional(z.string()),
|
|
915
|
+
message: z.string(),
|
|
916
|
+
campaignSlug: z.optional(z.string()),
|
|
917
|
+
actionSlug: z.optional(z.string()),
|
|
918
|
+
});
|
|
919
|
+
export function sendMessageRequestToJSON(sendMessageRequest) {
|
|
920
|
+
return JSON.stringify(SendMessageRequest$outboundSchema.parse(sendMessageRequest));
|
|
921
|
+
}
|
|
922
|
+
/** @internal */
|
|
923
|
+
export const SendMessageResponse$inboundSchema = z.object({
|
|
924
|
+
success: types.literal(true),
|
|
925
|
+
messageId: types.string(),
|
|
926
|
+
duplicate: types.optional(types.boolean()),
|
|
927
|
+
creditsUsed: types.number(),
|
|
928
|
+
retryAfter: types.number(),
|
|
929
|
+
});
|
|
930
|
+
export function sendMessageResponseFromJSON(jsonString) {
|
|
931
|
+
return safeParse(jsonString, (x) => SendMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendMessageResponse' from JSON`);
|
|
932
|
+
}
|
|
933
|
+
/** @internal */
|
|
934
|
+
export const ReplyToCommentRequest$outboundSchema = z.object({
|
|
935
|
+
commentUrn: z.string(),
|
|
936
|
+
message: z.string(),
|
|
937
|
+
campaignSlug: z.optional(z.string()),
|
|
938
|
+
actionSlug: z.optional(z.string()),
|
|
939
|
+
});
|
|
940
|
+
export function replyToCommentRequestToJSON(replyToCommentRequest) {
|
|
941
|
+
return JSON.stringify(ReplyToCommentRequest$outboundSchema.parse(replyToCommentRequest));
|
|
942
|
+
}
|
|
943
|
+
/** @internal */
|
|
944
|
+
export const ReplyToCommentResponse$inboundSchema = z.object({
|
|
945
|
+
success: types.literal(true),
|
|
946
|
+
replyUrn: types.optional(types.string()),
|
|
947
|
+
duplicate: types.optional(types.boolean()),
|
|
948
|
+
creditsUsed: types.number(),
|
|
949
|
+
retryAfter: types.number(),
|
|
950
|
+
});
|
|
951
|
+
export function replyToCommentResponseFromJSON(jsonString) {
|
|
952
|
+
return safeParse(jsonString, (x) => ReplyToCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReplyToCommentResponse' from JSON`);
|
|
953
|
+
}
|
|
954
|
+
/** @internal */
|
|
955
|
+
export const LikeCommentReactionType$outboundSchema = z.enum(LikeCommentReactionType);
|
|
956
|
+
/** @internal */
|
|
957
|
+
export const LikeCommentRequest$outboundSchema = z.object({
|
|
958
|
+
commentUrn: z.string(),
|
|
959
|
+
reactionType: z._default(LikeCommentReactionType$outboundSchema, "LIKE"),
|
|
960
|
+
campaignSlug: z.optional(z.string()),
|
|
961
|
+
actionSlug: z.optional(z.string()),
|
|
962
|
+
});
|
|
963
|
+
export function likeCommentRequestToJSON(likeCommentRequest) {
|
|
964
|
+
return JSON.stringify(LikeCommentRequest$outboundSchema.parse(likeCommentRequest));
|
|
965
|
+
}
|
|
966
|
+
/** @internal */
|
|
967
|
+
export const LikeCommentResponse$inboundSchema = z.object({
|
|
968
|
+
success: types.literal(true),
|
|
969
|
+
resourceKey: types.optional(types.string()),
|
|
970
|
+
duplicate: types.optional(types.boolean()),
|
|
971
|
+
creditsUsed: types.number(),
|
|
972
|
+
retryAfter: types.number(),
|
|
973
|
+
});
|
|
974
|
+
export function likeCommentResponseFromJSON(jsonString) {
|
|
975
|
+
return safeParse(jsonString, (x) => LikeCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LikeCommentResponse' from JSON`);
|
|
976
|
+
}
|
|
977
|
+
/** @internal */
|
|
978
|
+
export const PublishPostMode$outboundSchema = z.enum(PublishPostMode);
|
|
979
|
+
/** @internal */
|
|
980
|
+
export const Visibility$outboundSchema = z
|
|
981
|
+
.enum(Visibility);
|
|
982
|
+
/** @internal */
|
|
983
|
+
export const Mention$outboundSchema = z.object({
|
|
984
|
+
profileUrn: z.string(),
|
|
985
|
+
start: z.int(),
|
|
986
|
+
length: z.int(),
|
|
987
|
+
});
|
|
988
|
+
export function mentionToJSON(mention) {
|
|
989
|
+
return JSON.stringify(Mention$outboundSchema.parse(mention));
|
|
990
|
+
}
|
|
991
|
+
/** @internal */
|
|
992
|
+
export const PublishPostRequest$outboundSchema = z.object({
|
|
993
|
+
text: z.string(),
|
|
994
|
+
mode: PublishPostMode$outboundSchema,
|
|
995
|
+
scheduledAt: z.optional(z.int()),
|
|
996
|
+
companyId: z.optional(z.string()),
|
|
997
|
+
imageUrl: z.optional(z.string()),
|
|
998
|
+
imageBase64: z.optional(z.string()),
|
|
999
|
+
imageFileName: z.optional(z.string()),
|
|
1000
|
+
visibility: z._default(Visibility$outboundSchema, "ANYONE"),
|
|
1001
|
+
mentions: z.optional(z.array(z.lazy(() => Mention$outboundSchema))),
|
|
1002
|
+
campaignSlug: z.optional(z.string()),
|
|
1003
|
+
actionSlug: z.optional(z.string()),
|
|
1004
|
+
});
|
|
1005
|
+
export function publishPostRequestToJSON(publishPostRequest) {
|
|
1006
|
+
return JSON.stringify(PublishPostRequest$outboundSchema.parse(publishPostRequest));
|
|
1007
|
+
}
|
|
1008
|
+
/** @internal */
|
|
1009
|
+
export const PublishPostResponse$inboundSchema = z.object({
|
|
1010
|
+
success: types.literal(true),
|
|
1011
|
+
shareUrn: types.string(),
|
|
1012
|
+
activityUrn: types.nullable(types.string()),
|
|
1013
|
+
duplicate: types.optional(types.boolean()),
|
|
1014
|
+
creditsUsed: types.number(),
|
|
1015
|
+
retryAfter: types.number(),
|
|
1016
|
+
});
|
|
1017
|
+
export function publishPostResponseFromJSON(jsonString) {
|
|
1018
|
+
return safeParse(jsonString, (x) => PublishPostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PublishPostResponse' from JSON`);
|
|
1019
|
+
}
|
|
1020
|
+
/** @internal */
|
|
1021
|
+
export const CreateCommentRequest$outboundSchema = z.object({
|
|
1022
|
+
postUrl: z.string(),
|
|
1023
|
+
message: z.string(),
|
|
1024
|
+
companyId: z.optional(z.string()),
|
|
1025
|
+
campaignSlug: z.optional(z.string()),
|
|
1026
|
+
actionSlug: z.optional(z.string()),
|
|
1027
|
+
});
|
|
1028
|
+
export function createCommentRequestToJSON(createCommentRequest) {
|
|
1029
|
+
return JSON.stringify(CreateCommentRequest$outboundSchema.parse(createCommentRequest));
|
|
1030
|
+
}
|
|
1031
|
+
/** @internal */
|
|
1032
|
+
export const CreateCommentResponse$inboundSchema = z.object({
|
|
1033
|
+
success: types.literal(true),
|
|
1034
|
+
commentUrn: types.optional(types.string()),
|
|
1035
|
+
fsdCommentUrn: types.optional(types.string()),
|
|
1036
|
+
duplicate: types.optional(types.boolean()),
|
|
1037
|
+
creditsUsed: types.number(),
|
|
1038
|
+
retryAfter: types.number(),
|
|
1039
|
+
});
|
|
1040
|
+
export function createCommentResponseFromJSON(jsonString) {
|
|
1041
|
+
return safeParse(jsonString, (x) => CreateCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCommentResponse' from JSON`);
|
|
1042
|
+
}
|
|
1043
|
+
/** @internal */
|
|
1044
|
+
export const LikePostReactionType$outboundSchema = z.enum(LikePostReactionType);
|
|
1045
|
+
/** @internal */
|
|
1046
|
+
export const LikePostRequest$outboundSchema = z.object({
|
|
1047
|
+
postUrl: z.string(),
|
|
1048
|
+
reactionType: z._default(LikePostReactionType$outboundSchema, "LIKE"),
|
|
1049
|
+
companyId: z.optional(z.string()),
|
|
1050
|
+
campaignSlug: z.optional(z.string()),
|
|
1051
|
+
actionSlug: z.optional(z.string()),
|
|
1052
|
+
});
|
|
1053
|
+
export function likePostRequestToJSON(likePostRequest) {
|
|
1054
|
+
return JSON.stringify(LikePostRequest$outboundSchema.parse(likePostRequest));
|
|
1055
|
+
}
|
|
1056
|
+
/** @internal */
|
|
1057
|
+
export const LikePostResponse$inboundSchema = z.object({
|
|
1058
|
+
success: types.literal(true),
|
|
1059
|
+
resourceKey: types.optional(types.string()),
|
|
1060
|
+
duplicate: types.optional(types.boolean()),
|
|
1061
|
+
creditsUsed: types.number(),
|
|
1062
|
+
retryAfter: types.number(),
|
|
1063
|
+
});
|
|
1064
|
+
export function likePostResponseFromJSON(jsonString) {
|
|
1065
|
+
return safeParse(jsonString, (x) => LikePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LikePostResponse' from JSON`);
|
|
1066
|
+
}
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export const DeclineInvitationRequest$outboundSchema = z.object({
|
|
1069
|
+
invitationId: z.string(),
|
|
1070
|
+
sharedSecret: z.string(),
|
|
1071
|
+
senderProfileId: z.optional(z.string()),
|
|
1072
|
+
});
|
|
1073
|
+
export function declineInvitationRequestToJSON(declineInvitationRequest) {
|
|
1074
|
+
return JSON.stringify(DeclineInvitationRequest$outboundSchema.parse(declineInvitationRequest));
|
|
1075
|
+
}
|
|
1076
|
+
/** @internal */
|
|
1077
|
+
export const DeclineInvitationResponse$inboundSchema = z.object({
|
|
1078
|
+
success: types.literal(true),
|
|
1079
|
+
message: types.string(),
|
|
1080
|
+
creditsUsed: types.number(),
|
|
1081
|
+
retryAfter: types.number(),
|
|
1082
|
+
});
|
|
1083
|
+
export function declineInvitationResponseFromJSON(jsonString) {
|
|
1084
|
+
return safeParse(jsonString, (x) => DeclineInvitationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeclineInvitationResponse' from JSON`);
|
|
1085
|
+
}
|
|
1086
|
+
/** @internal */
|
|
1087
|
+
export const ListSentInvitationsRequest$outboundSchema = z.object({
|
|
1088
|
+
start: z._default(z.int(), 0),
|
|
1089
|
+
count: z._default(z.int(), 10),
|
|
1090
|
+
});
|
|
1091
|
+
export function listSentInvitationsRequestToJSON(listSentInvitationsRequest) {
|
|
1092
|
+
return JSON.stringify(ListSentInvitationsRequest$outboundSchema.parse(listSentInvitationsRequest));
|
|
1093
|
+
}
|
|
1094
|
+
/** @internal */
|
|
1095
|
+
export const ToMember$inboundSchema = z
|
|
1096
|
+
.object({
|
|
1097
|
+
name: types.string(),
|
|
1098
|
+
headline: types.nullable(types.string()),
|
|
1099
|
+
profileUrl: types.nullable(types.string()),
|
|
1100
|
+
profilePicture: types.nullable(types.string()),
|
|
1101
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1102
|
+
profileUrn: types.nullable(types.string()),
|
|
1103
|
+
});
|
|
1104
|
+
export function toMemberFromJSON(jsonString) {
|
|
1105
|
+
return safeParse(jsonString, (x) => ToMember$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToMember' from JSON`);
|
|
1106
|
+
}
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export const ListSentInvitationsInvitation$inboundSchema = z.object({
|
|
1109
|
+
invitationId: types.string(),
|
|
1110
|
+
invitationUrn: types.string(),
|
|
1111
|
+
entityUrn: types.string(),
|
|
1112
|
+
sentAt: types.nullable(types.string()),
|
|
1113
|
+
message: types.nullable(types.string()),
|
|
1114
|
+
targetProfileId: types.nullable(types.string()),
|
|
1115
|
+
targetFirstName: types.nullable(types.string()),
|
|
1116
|
+
targetLastName: types.nullable(types.string()),
|
|
1117
|
+
toMember: types.nullable(z.lazy(() => ToMember$inboundSchema)),
|
|
1118
|
+
});
|
|
1119
|
+
export function listSentInvitationsInvitationFromJSON(jsonString) {
|
|
1120
|
+
return safeParse(jsonString, (x) => ListSentInvitationsInvitation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSentInvitationsInvitation' from JSON`);
|
|
1121
|
+
}
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export const ListSentInvitationsResponse$inboundSchema = z.object({
|
|
1124
|
+
success: types.literal(true),
|
|
1125
|
+
invitations: z.array(z.lazy(() => ListSentInvitationsInvitation$inboundSchema)),
|
|
1126
|
+
total: types.number(),
|
|
1127
|
+
start: types.number(),
|
|
1128
|
+
count: types.number(),
|
|
1129
|
+
creditsUsed: types.number(),
|
|
1130
|
+
retryAfter: types.number(),
|
|
1131
|
+
});
|
|
1132
|
+
export function listSentInvitationsResponseFromJSON(jsonString) {
|
|
1133
|
+
return safeParse(jsonString, (x) => ListSentInvitationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSentInvitationsResponse' from JSON`);
|
|
1134
|
+
}
|
|
1135
|
+
/** @internal */
|
|
1136
|
+
export const WithdrawInvitationRequest$outboundSchema = z.object({
|
|
1137
|
+
invitationUrn: z.string(),
|
|
1138
|
+
});
|
|
1139
|
+
export function withdrawInvitationRequestToJSON(withdrawInvitationRequest) {
|
|
1140
|
+
return JSON.stringify(WithdrawInvitationRequest$outboundSchema.parse(withdrawInvitationRequest));
|
|
1141
|
+
}
|
|
1142
|
+
/** @internal */
|
|
1143
|
+
export const WithdrawInvitationResponse$inboundSchema = z.object({
|
|
1144
|
+
success: types.literal(true),
|
|
1145
|
+
message: types.string(),
|
|
1146
|
+
creditsUsed: types.number(),
|
|
1147
|
+
retryAfter: types.number(),
|
|
1148
|
+
});
|
|
1149
|
+
export function withdrawInvitationResponseFromJSON(jsonString) {
|
|
1150
|
+
return safeParse(jsonString, (x) => WithdrawInvitationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WithdrawInvitationResponse' from JSON`);
|
|
1151
|
+
}
|
|
1152
|
+
/** @internal */
|
|
1153
|
+
export const FollowProfileRequest$outboundSchema = z.object({
|
|
1154
|
+
profile: z.string(),
|
|
1155
|
+
});
|
|
1156
|
+
export function followProfileRequestToJSON(followProfileRequest) {
|
|
1157
|
+
return JSON.stringify(FollowProfileRequest$outboundSchema.parse(followProfileRequest));
|
|
1158
|
+
}
|
|
1159
|
+
/** @internal */
|
|
1160
|
+
export const FollowProfileResponse$inboundSchema = z.object({
|
|
1161
|
+
success: types.literal(true),
|
|
1162
|
+
message: types.string(),
|
|
1163
|
+
creditsUsed: types.number(),
|
|
1164
|
+
retryAfter: types.number(),
|
|
1165
|
+
});
|
|
1166
|
+
export function followProfileResponseFromJSON(jsonString) {
|
|
1167
|
+
return safeParse(jsonString, (x) => FollowProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FollowProfileResponse' from JSON`);
|
|
1168
|
+
}
|
|
1169
|
+
/** @internal */
|
|
1170
|
+
export const UnfollowProfileRequest$outboundSchema = z.object({
|
|
1171
|
+
profile: z.string(),
|
|
1172
|
+
});
|
|
1173
|
+
export function unfollowProfileRequestToJSON(unfollowProfileRequest) {
|
|
1174
|
+
return JSON.stringify(UnfollowProfileRequest$outboundSchema.parse(unfollowProfileRequest));
|
|
1175
|
+
}
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
export const UnfollowProfileResponse$inboundSchema = z.object({
|
|
1178
|
+
success: types.literal(true),
|
|
1179
|
+
message: types.string(),
|
|
1180
|
+
creditsUsed: types.number(),
|
|
1181
|
+
retryAfter: types.number(),
|
|
1182
|
+
});
|
|
1183
|
+
export function unfollowProfileResponseFromJSON(jsonString) {
|
|
1184
|
+
return safeParse(jsonString, (x) => UnfollowProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnfollowProfileResponse' from JSON`);
|
|
1185
|
+
}
|
|
1186
|
+
/** @internal */
|
|
1187
|
+
export const EditPostRequest$outboundSchema = z.object({
|
|
1188
|
+
postUrl: z.string(),
|
|
1189
|
+
text: z.string(),
|
|
1190
|
+
});
|
|
1191
|
+
export function editPostRequestToJSON(editPostRequest) {
|
|
1192
|
+
return JSON.stringify(EditPostRequest$outboundSchema.parse(editPostRequest));
|
|
1193
|
+
}
|
|
1194
|
+
/** @internal */
|
|
1195
|
+
export const EditPostResponse$inboundSchema = z.object({
|
|
1196
|
+
success: types.literal(true),
|
|
1197
|
+
creditsUsed: types.number(),
|
|
1198
|
+
retryAfter: types.number(),
|
|
1199
|
+
});
|
|
1200
|
+
export function editPostResponseFromJSON(jsonString) {
|
|
1201
|
+
return safeParse(jsonString, (x) => EditPostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EditPostResponse' from JSON`);
|
|
1202
|
+
}
|
|
1203
|
+
/** @internal */
|
|
1204
|
+
export const EditCommentRequest$outboundSchema = z.object({
|
|
1205
|
+
fsdCommentUrn: z.optional(z.string()),
|
|
1206
|
+
commentUrn: z.optional(z.string()),
|
|
1207
|
+
text: z.string(),
|
|
1208
|
+
});
|
|
1209
|
+
export function editCommentRequestToJSON(editCommentRequest) {
|
|
1210
|
+
return JSON.stringify(EditCommentRequest$outboundSchema.parse(editCommentRequest));
|
|
1211
|
+
}
|
|
1212
|
+
/** @internal */
|
|
1213
|
+
export const EditCommentResponse$inboundSchema = z.object({
|
|
1214
|
+
success: types.literal(true),
|
|
1215
|
+
creditsUsed: types.number(),
|
|
1216
|
+
retryAfter: types.number(),
|
|
1217
|
+
});
|
|
1218
|
+
export function editCommentResponseFromJSON(jsonString) {
|
|
1219
|
+
return safeParse(jsonString, (x) => EditCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EditCommentResponse' from JSON`);
|
|
1220
|
+
}
|
|
1221
|
+
/** @internal */
|
|
1222
|
+
export const RepostPostRequest$outboundSchema = z.object({
|
|
1223
|
+
postUrl: z.string(),
|
|
1224
|
+
text: z.string(),
|
|
1225
|
+
});
|
|
1226
|
+
export function repostPostRequestToJSON(repostPostRequest) {
|
|
1227
|
+
return JSON.stringify(RepostPostRequest$outboundSchema.parse(repostPostRequest));
|
|
1228
|
+
}
|
|
1229
|
+
/** @internal */
|
|
1230
|
+
export const RepostPostResponse$inboundSchema = z.object({
|
|
1231
|
+
success: types.literal(true),
|
|
1232
|
+
shareUrn: types.string(),
|
|
1233
|
+
creditsUsed: types.number(),
|
|
1234
|
+
retryAfter: types.number(),
|
|
1235
|
+
});
|
|
1236
|
+
export function repostPostResponseFromJSON(jsonString) {
|
|
1237
|
+
return safeParse(jsonString, (x) => RepostPostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RepostPostResponse' from JSON`);
|
|
1238
|
+
}
|
|
1239
|
+
/** @internal */
|
|
1240
|
+
export const UnlikePostRequest$outboundSchema = z.object({
|
|
1241
|
+
postUrl: z.string(),
|
|
1242
|
+
});
|
|
1243
|
+
export function unlikePostRequestToJSON(unlikePostRequest) {
|
|
1244
|
+
return JSON.stringify(UnlikePostRequest$outboundSchema.parse(unlikePostRequest));
|
|
1245
|
+
}
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
export const UnlikePostResponse$inboundSchema = z.object({
|
|
1248
|
+
success: types.literal(true),
|
|
1249
|
+
creditsUsed: types.number(),
|
|
1250
|
+
retryAfter: types.number(),
|
|
1251
|
+
});
|
|
1252
|
+
export function unlikePostResponseFromJSON(jsonString) {
|
|
1253
|
+
return safeParse(jsonString, (x) => UnlikePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnlikePostResponse' from JSON`);
|
|
1254
|
+
}
|
|
1255
|
+
/** @internal */
|
|
1256
|
+
export const UnlikeCommentRequest$outboundSchema = z.object({
|
|
1257
|
+
commentUrn: z.string(),
|
|
1258
|
+
});
|
|
1259
|
+
export function unlikeCommentRequestToJSON(unlikeCommentRequest) {
|
|
1260
|
+
return JSON.stringify(UnlikeCommentRequest$outboundSchema.parse(unlikeCommentRequest));
|
|
1261
|
+
}
|
|
1262
|
+
/** @internal */
|
|
1263
|
+
export const UnlikeCommentResponse$inboundSchema = z.object({
|
|
1264
|
+
success: types.literal(true),
|
|
1265
|
+
creditsUsed: types.number(),
|
|
1266
|
+
retryAfter: types.number(),
|
|
1267
|
+
});
|
|
1268
|
+
export function unlikeCommentResponseFromJSON(jsonString) {
|
|
1269
|
+
return safeParse(jsonString, (x) => UnlikeCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnlikeCommentResponse' from JSON`);
|
|
1270
|
+
}
|
|
1271
|
+
/** @internal */
|
|
1272
|
+
export const SavePostRequest$outboundSchema = z.object({
|
|
1273
|
+
postUrl: z.string(),
|
|
1274
|
+
});
|
|
1275
|
+
export function savePostRequestToJSON(savePostRequest) {
|
|
1276
|
+
return JSON.stringify(SavePostRequest$outboundSchema.parse(savePostRequest));
|
|
1277
|
+
}
|
|
1278
|
+
/** @internal */
|
|
1279
|
+
export const SavePostResponse$inboundSchema = z.object({
|
|
1280
|
+
success: types.literal(true),
|
|
1281
|
+
creditsUsed: types.number(),
|
|
1282
|
+
retryAfter: types.number(),
|
|
1283
|
+
});
|
|
1284
|
+
export function savePostResponseFromJSON(jsonString) {
|
|
1285
|
+
return safeParse(jsonString, (x) => SavePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SavePostResponse' from JSON`);
|
|
1286
|
+
}
|
|
1287
|
+
/** @internal */
|
|
1288
|
+
export const UnsavePostRequest$outboundSchema = z.object({
|
|
1289
|
+
postUrl: z.string(),
|
|
1290
|
+
});
|
|
1291
|
+
export function unsavePostRequestToJSON(unsavePostRequest) {
|
|
1292
|
+
return JSON.stringify(UnsavePostRequest$outboundSchema.parse(unsavePostRequest));
|
|
1293
|
+
}
|
|
1294
|
+
/** @internal */
|
|
1295
|
+
export const UnsavePostResponse$inboundSchema = z.object({
|
|
1296
|
+
success: types.literal(true),
|
|
1297
|
+
creditsUsed: types.number(),
|
|
1298
|
+
retryAfter: types.number(),
|
|
1299
|
+
});
|
|
1300
|
+
export function unsavePostResponseFromJSON(jsonString) {
|
|
1301
|
+
return safeParse(jsonString, (x) => UnsavePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnsavePostResponse' from JSON`);
|
|
1302
|
+
}
|
|
1303
|
+
/** @internal */
|
|
1304
|
+
export const FollowCompanyRequest$outboundSchema = z.object({
|
|
1305
|
+
company: z.string(),
|
|
1306
|
+
});
|
|
1307
|
+
export function followCompanyRequestToJSON(followCompanyRequest) {
|
|
1308
|
+
return JSON.stringify(FollowCompanyRequest$outboundSchema.parse(followCompanyRequest));
|
|
1309
|
+
}
|
|
1310
|
+
/** @internal */
|
|
1311
|
+
export const FollowCompanyResponse$inboundSchema = z.object({
|
|
1312
|
+
success: types.literal(true),
|
|
1313
|
+
creditsUsed: types.number(),
|
|
1314
|
+
retryAfter: types.number(),
|
|
1315
|
+
});
|
|
1316
|
+
export function followCompanyResponseFromJSON(jsonString) {
|
|
1317
|
+
return safeParse(jsonString, (x) => FollowCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FollowCompanyResponse' from JSON`);
|
|
1318
|
+
}
|
|
1319
|
+
/** @internal */
|
|
1320
|
+
export const UnfollowCompanyRequest$outboundSchema = z.object({
|
|
1321
|
+
company: z.string(),
|
|
1322
|
+
});
|
|
1323
|
+
export function unfollowCompanyRequestToJSON(unfollowCompanyRequest) {
|
|
1324
|
+
return JSON.stringify(UnfollowCompanyRequest$outboundSchema.parse(unfollowCompanyRequest));
|
|
1325
|
+
}
|
|
1326
|
+
/** @internal */
|
|
1327
|
+
export const UnfollowCompanyResponse$inboundSchema = z.object({
|
|
1328
|
+
success: types.literal(true),
|
|
1329
|
+
creditsUsed: types.number(),
|
|
1330
|
+
retryAfter: types.number(),
|
|
1331
|
+
});
|
|
1332
|
+
export function unfollowCompanyResponseFromJSON(jsonString) {
|
|
1333
|
+
return safeParse(jsonString, (x) => UnfollowCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnfollowCompanyResponse' from JSON`);
|
|
1334
|
+
}
|
|
1335
|
+
/** @internal */
|
|
1336
|
+
export const GetProfilePositionStartDate$inboundSchema = z.object({
|
|
1337
|
+
month: types.nullable(types.number()),
|
|
1338
|
+
year: types.number(),
|
|
1339
|
+
});
|
|
1340
|
+
export function getProfilePositionStartDateFromJSON(jsonString) {
|
|
1341
|
+
return safeParse(jsonString, (x) => GetProfilePositionStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfilePositionStartDate' from JSON`);
|
|
1342
|
+
}
|
|
1343
|
+
/** @internal */
|
|
1344
|
+
export const GetProfilePositionEndDate$inboundSchema = z.object({
|
|
1345
|
+
month: types.nullable(types.number()),
|
|
1346
|
+
year: types.number(),
|
|
1347
|
+
});
|
|
1348
|
+
export function getProfilePositionEndDateFromJSON(jsonString) {
|
|
1349
|
+
return safeParse(jsonString, (x) => GetProfilePositionEndDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfilePositionEndDate' from JSON`);
|
|
1350
|
+
}
|
|
1351
|
+
/** @internal */
|
|
1352
|
+
export const GetProfilePosition$inboundSchema = z.object({
|
|
1353
|
+
companyName: types.nullable(types.string()),
|
|
1354
|
+
title: types.nullable(types.string()),
|
|
1355
|
+
description: types.nullable(types.string()),
|
|
1356
|
+
companyUrl: types.nullable(types.string()),
|
|
1357
|
+
companyLogo: types.nullable(types.string()),
|
|
1358
|
+
companyDescription: types.nullable(types.string()),
|
|
1359
|
+
startDate: types.nullable(z.lazy(() => GetProfilePositionStartDate$inboundSchema)),
|
|
1360
|
+
endDate: types.nullable(z.lazy(() => GetProfilePositionEndDate$inboundSchema)),
|
|
1361
|
+
isCurrent: types.boolean(),
|
|
1362
|
+
});
|
|
1363
|
+
export function getProfilePositionFromJSON(jsonString) {
|
|
1364
|
+
return safeParse(jsonString, (x) => GetProfilePosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfilePosition' from JSON`);
|
|
1365
|
+
}
|
|
1366
|
+
/** @internal */
|
|
1367
|
+
export const GetProfileEducationStartDate$inboundSchema = z.object({
|
|
1368
|
+
month: types.nullable(types.number()),
|
|
1369
|
+
year: types.number(),
|
|
1370
|
+
});
|
|
1371
|
+
export function getProfileEducationStartDateFromJSON(jsonString) {
|
|
1372
|
+
return safeParse(jsonString, (x) => GetProfileEducationStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileEducationStartDate' from JSON`);
|
|
1373
|
+
}
|
|
1374
|
+
/** @internal */
|
|
1375
|
+
export const GetProfileEducationEndDate$inboundSchema = z.object({
|
|
1376
|
+
month: types.nullable(types.number()),
|
|
1377
|
+
year: types.number(),
|
|
1378
|
+
});
|
|
1379
|
+
export function getProfileEducationEndDateFromJSON(jsonString) {
|
|
1380
|
+
return safeParse(jsonString, (x) => GetProfileEducationEndDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileEducationEndDate' from JSON`);
|
|
1381
|
+
}
|
|
1382
|
+
/** @internal */
|
|
1383
|
+
export const GetProfileEducation$inboundSchema = z.object({
|
|
1384
|
+
schoolName: types.nullable(types.string()),
|
|
1385
|
+
degreeName: types.nullable(types.string()),
|
|
1386
|
+
fieldOfStudy: types.nullable(types.string()),
|
|
1387
|
+
schoolUrl: types.nullable(types.string()),
|
|
1388
|
+
schoolLogo: types.nullable(types.string()),
|
|
1389
|
+
startDate: types.nullable(z.lazy(() => GetProfileEducationStartDate$inboundSchema)),
|
|
1390
|
+
endDate: types.nullable(z.lazy(() => GetProfileEducationEndDate$inboundSchema)),
|
|
1391
|
+
});
|
|
1392
|
+
export function getProfileEducationFromJSON(jsonString) {
|
|
1393
|
+
return safeParse(jsonString, (x) => GetProfileEducation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileEducation' from JSON`);
|
|
1394
|
+
}
|
|
1395
|
+
/** @internal */
|
|
1396
|
+
export const GetProfileLocation$inboundSchema = z.object({
|
|
1397
|
+
countryCode: types.string(),
|
|
1398
|
+
postalCode: types.optional(types.string()),
|
|
1399
|
+
});
|
|
1400
|
+
export function getProfileLocationFromJSON(jsonString) {
|
|
1401
|
+
return safeParse(jsonString, (x) => GetProfileLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileLocation' from JSON`);
|
|
1402
|
+
}
|
|
1403
|
+
/** @internal */
|
|
1404
|
+
export const GetProfileType$inboundSchema = openEnums.inboundSchema(GetProfileType);
|
|
1405
|
+
/** @internal */
|
|
1406
|
+
export const GetProfileMediaType$inboundSchema = openEnums.inboundSchema(GetProfileMediaType);
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export const GetProfileMedia$inboundSchema = z.object({
|
|
1409
|
+
type: GetProfileMediaType$inboundSchema,
|
|
1410
|
+
urls: z.array(types.string()),
|
|
1411
|
+
title: types.optional(types.string()),
|
|
1412
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1413
|
+
});
|
|
1414
|
+
export function getProfileMediaFromJSON(jsonString) {
|
|
1415
|
+
return safeParse(jsonString, (x) => GetProfileMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileMedia' from JSON`);
|
|
1416
|
+
}
|
|
1417
|
+
/** @internal */
|
|
1418
|
+
export const GetProfileLastPost$inboundSchema = z.object({
|
|
1419
|
+
postUrl: types.string(),
|
|
1420
|
+
text: types.string(),
|
|
1421
|
+
date: types.number(),
|
|
1422
|
+
likesCount: types.number(),
|
|
1423
|
+
commentsCount: types.number(),
|
|
1424
|
+
sharesCount: types.number(),
|
|
1425
|
+
postUrn: types.string(),
|
|
1426
|
+
postId: types.string(),
|
|
1427
|
+
type: GetProfileType$inboundSchema,
|
|
1428
|
+
media: types.optional(z.lazy(() => GetProfileMedia$inboundSchema)),
|
|
1429
|
+
});
|
|
1430
|
+
export function getProfileLastPostFromJSON(jsonString) {
|
|
1431
|
+
return safeParse(jsonString, (x) => GetProfileLastPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileLastPost' from JSON`);
|
|
1432
|
+
}
|
|
1433
|
+
/** @internal */
|
|
1434
|
+
export const GetProfileResponse$inboundSchema = z.object({
|
|
1435
|
+
success: types.literal(true),
|
|
1436
|
+
linkedinProfileId: types.nullable(types.string()),
|
|
1437
|
+
linkedinName: types.nullable(types.string()),
|
|
1438
|
+
linkedinEmail: types.nullable(types.string()),
|
|
1439
|
+
profileUrn: types.nullable(types.string()),
|
|
1440
|
+
headline: types.nullable(types.string()),
|
|
1441
|
+
profilePic: types.nullable(types.string()),
|
|
1442
|
+
profileUrl: types.nullable(types.string()),
|
|
1443
|
+
positions: types.optional(z.array(z.lazy(() => GetProfilePosition$inboundSchema))),
|
|
1444
|
+
educations: types.optional(z.array(z.lazy(() => GetProfileEducation$inboundSchema))),
|
|
1445
|
+
connectionsCount: types.nullable(types.number()),
|
|
1446
|
+
location: types.nullable(z.lazy(() => GetProfileLocation$inboundSchema)),
|
|
1447
|
+
isVerified: types.nullable(types.boolean()),
|
|
1448
|
+
lastPosts: types.optional(z.array(z.lazy(() => GetProfileLastPost$inboundSchema))),
|
|
1449
|
+
creditsUsed: types.number(),
|
|
1450
|
+
retryAfter: types.number(),
|
|
1451
|
+
});
|
|
1452
|
+
export function getProfileResponseFromJSON(jsonString) {
|
|
1453
|
+
return safeParse(jsonString, (x) => GetProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileResponse' from JSON`);
|
|
1454
|
+
}
|
|
1455
|
+
/** @internal */
|
|
1456
|
+
export const ListAccountsProxyConfig$inboundSchema = z.object({
|
|
1457
|
+
enabled: types.boolean(),
|
|
1458
|
+
});
|
|
1459
|
+
export function listAccountsProxyConfigFromJSON(jsonString) {
|
|
1460
|
+
return safeParse(jsonString, (x) => ListAccountsProxyConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAccountsProxyConfig' from JSON`);
|
|
1461
|
+
}
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export const ListAccountsAccount$inboundSchema = z.object({
|
|
1464
|
+
id: types.string(),
|
|
1465
|
+
label: types.nullable(types.string()),
|
|
1466
|
+
isDefault: types.boolean(),
|
|
1467
|
+
isCurrent: types.boolean(),
|
|
1468
|
+
linkedinProfileId: types.nullable(types.string()),
|
|
1469
|
+
linkedinName: types.nullable(types.string()),
|
|
1470
|
+
linkedinEmail: types.nullable(types.string()),
|
|
1471
|
+
profileUrl: types.nullable(types.string()),
|
|
1472
|
+
headline: types.nullable(types.string()),
|
|
1473
|
+
profilePic: types.nullable(types.string()),
|
|
1474
|
+
profileUrn: types.nullable(types.string()),
|
|
1475
|
+
isActive: types.boolean(),
|
|
1476
|
+
isValid: types.boolean(),
|
|
1477
|
+
accountPlan: types.nullable(types.string()),
|
|
1478
|
+
isUnlimited: types.boolean(),
|
|
1479
|
+
creditsLimit: types.nullable(types.number()),
|
|
1480
|
+
creditsCount: types.number(),
|
|
1481
|
+
proxyConfig: types.nullable(z.lazy(() => ListAccountsProxyConfig$inboundSchema)),
|
|
1482
|
+
createdAt: types.string(),
|
|
1483
|
+
updatedAt: types.string(),
|
|
1484
|
+
});
|
|
1485
|
+
export function listAccountsAccountFromJSON(jsonString) {
|
|
1486
|
+
return safeParse(jsonString, (x) => ListAccountsAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAccountsAccount' from JSON`);
|
|
1487
|
+
}
|
|
1488
|
+
/** @internal */
|
|
1489
|
+
export const ListAccountsResponse$inboundSchema = z.object({
|
|
1490
|
+
success: types.literal(true),
|
|
1491
|
+
accounts: z.array(z.lazy(() => ListAccountsAccount$inboundSchema)),
|
|
1492
|
+
total: types.number(),
|
|
1493
|
+
creditsUsed: types.number(),
|
|
1494
|
+
retryAfter: types.number(),
|
|
1495
|
+
});
|
|
1496
|
+
export function listAccountsResponseFromJSON(jsonString) {
|
|
1497
|
+
return safeParse(jsonString, (x) => ListAccountsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListAccountsResponse' from JSON`);
|
|
1498
|
+
}
|
|
1499
|
+
/** @internal */
|
|
1500
|
+
export const ProxyConfigIsp$outboundSchema = z.object({
|
|
1501
|
+
mode: z.literal("isp"),
|
|
1502
|
+
country: z.string(),
|
|
1503
|
+
staticIp: z.string(),
|
|
1504
|
+
staticPort: z.int(),
|
|
1505
|
+
});
|
|
1506
|
+
export function proxyConfigIspToJSON(proxyConfigIsp) {
|
|
1507
|
+
return JSON.stringify(ProxyConfigIsp$outboundSchema.parse(proxyConfigIsp));
|
|
1508
|
+
}
|
|
1509
|
+
/** @internal */
|
|
1510
|
+
export const ProxyConfigResidential$outboundSchema = z.object({
|
|
1511
|
+
mode: z.literal("residential"),
|
|
1512
|
+
country: z.string(),
|
|
1513
|
+
city: z.optional(z.string()),
|
|
1514
|
+
rotationHours: z._default(z.int(), 1),
|
|
1515
|
+
});
|
|
1516
|
+
export function proxyConfigResidentialToJSON(proxyConfigResidential) {
|
|
1517
|
+
return JSON.stringify(ProxyConfigResidential$outboundSchema.parse(proxyConfigResidential));
|
|
1518
|
+
}
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
export const ProxyConfig$outboundSchema = z.union([
|
|
1521
|
+
z.lazy(() => ProxyConfigResidential$outboundSchema),
|
|
1522
|
+
z.lazy(() => ProxyConfigIsp$outboundSchema),
|
|
1523
|
+
]);
|
|
1524
|
+
export function proxyConfigToJSON(proxyConfig) {
|
|
1525
|
+
return JSON.stringify(ProxyConfig$outboundSchema.parse(proxyConfig));
|
|
1526
|
+
}
|
|
1527
|
+
/** @internal */
|
|
1528
|
+
export const UpdateAccountRequest$outboundSchema = z.object({
|
|
1529
|
+
accountId: z.string(),
|
|
1530
|
+
label: z.optional(z.nullable(z.string())),
|
|
1531
|
+
isDefault: z.optional(z.boolean()),
|
|
1532
|
+
proxyConfig: z.optional(z.nullable(z.union([
|
|
1533
|
+
z.lazy(() => ProxyConfigResidential$outboundSchema),
|
|
1534
|
+
z.lazy(() => ProxyConfigIsp$outboundSchema),
|
|
1535
|
+
]))),
|
|
1536
|
+
});
|
|
1537
|
+
export function updateAccountRequestToJSON(updateAccountRequest) {
|
|
1538
|
+
return JSON.stringify(UpdateAccountRequest$outboundSchema.parse(updateAccountRequest));
|
|
1539
|
+
}
|
|
1540
|
+
/** @internal */
|
|
1541
|
+
export const UpdateAccountProxyConfigResponse$inboundSchema = z.object({
|
|
1542
|
+
city: types.nullable(types.string()),
|
|
1543
|
+
mode: types.nullable(types.string()),
|
|
1544
|
+
country: types.nullable(types.string()),
|
|
1545
|
+
rotationHours: types.nullable(types.number()),
|
|
1546
|
+
});
|
|
1547
|
+
export function updateAccountProxyConfigResponseFromJSON(jsonString) {
|
|
1548
|
+
return safeParse(jsonString, (x) => UpdateAccountProxyConfigResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAccountProxyConfigResponse' from JSON`);
|
|
1549
|
+
}
|
|
1550
|
+
/** @internal */
|
|
1551
|
+
export const UpdateAccountAccount$inboundSchema = z.object({
|
|
1552
|
+
id: types.string(),
|
|
1553
|
+
label: types.nullable(types.string()),
|
|
1554
|
+
isDefault: types.boolean(),
|
|
1555
|
+
linkedinProfileId: types.nullable(types.string()),
|
|
1556
|
+
linkedinName: types.nullable(types.string()),
|
|
1557
|
+
headline: types.nullable(types.string()),
|
|
1558
|
+
profilePic: types.nullable(types.string()),
|
|
1559
|
+
isValid: types.boolean(),
|
|
1560
|
+
proxyConfig: types.nullable(z.lazy(() => UpdateAccountProxyConfigResponse$inboundSchema)),
|
|
1561
|
+
});
|
|
1562
|
+
export function updateAccountAccountFromJSON(jsonString) {
|
|
1563
|
+
return safeParse(jsonString, (x) => UpdateAccountAccount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAccountAccount' from JSON`);
|
|
1564
|
+
}
|
|
1565
|
+
/** @internal */
|
|
1566
|
+
export const UpdateAccountResponse$inboundSchema = z.object({
|
|
1567
|
+
success: types.literal(true),
|
|
1568
|
+
account: z.lazy(() => UpdateAccountAccount$inboundSchema),
|
|
1569
|
+
creditsUsed: types.number(),
|
|
1570
|
+
retryAfter: types.number(),
|
|
1571
|
+
});
|
|
1572
|
+
export function updateAccountResponseFromJSON(jsonString) {
|
|
1573
|
+
return safeParse(jsonString, (x) => UpdateAccountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAccountResponse' from JSON`);
|
|
1574
|
+
}
|
|
1575
|
+
//# sourceMappingURL=update-account-response.js.map
|