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,1626 @@
|
|
|
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 * as openEnums from "../../types/enums.js";
|
|
7
|
+
import * as types from "../../types/primitives.js";
|
|
8
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
9
|
+
export const CollectLikesCode = {
|
|
10
|
+
RateLimitExceeded: "rate_limit_exceeded",
|
|
11
|
+
};
|
|
12
|
+
export const CollectLikesType = {
|
|
13
|
+
Like: "like",
|
|
14
|
+
};
|
|
15
|
+
export const CollectCommentsType = {
|
|
16
|
+
Comment: "comment",
|
|
17
|
+
};
|
|
18
|
+
export const CollectCommentRepliesType = {
|
|
19
|
+
Comment: "comment",
|
|
20
|
+
};
|
|
21
|
+
export const CollectPostsType = {
|
|
22
|
+
Activity: "activity",
|
|
23
|
+
UgcPost: "ugcPost",
|
|
24
|
+
Share: "share",
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Type of media attached to the post.
|
|
28
|
+
*/
|
|
29
|
+
export const CollectPostsMediaType = {
|
|
30
|
+
Image: "image",
|
|
31
|
+
Video: "video",
|
|
32
|
+
Document: "document",
|
|
33
|
+
Article: "article",
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
37
|
+
*/
|
|
38
|
+
export const PendingConnection = {
|
|
39
|
+
Pending: "pending",
|
|
40
|
+
Failed: "failed",
|
|
41
|
+
None: "none",
|
|
42
|
+
};
|
|
43
|
+
export const VisitProfileLastPostType = {
|
|
44
|
+
Activity: "activity",
|
|
45
|
+
UgcPost: "ugcPost",
|
|
46
|
+
Share: "share",
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Type of media attached to the post.
|
|
50
|
+
*/
|
|
51
|
+
export const VisitProfileMediaType = {
|
|
52
|
+
Image: "image",
|
|
53
|
+
Video: "video",
|
|
54
|
+
Document: "document",
|
|
55
|
+
Article: "article",
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Activity type: 'comment' for posts the user commented on
|
|
59
|
+
*/
|
|
60
|
+
export const LastCommentType = {
|
|
61
|
+
Comment: "comment",
|
|
62
|
+
Reaction: "reaction",
|
|
63
|
+
};
|
|
64
|
+
export const BulkVisitBatchStatusStatus = {
|
|
65
|
+
Queued: "queued",
|
|
66
|
+
Processing: "processing",
|
|
67
|
+
Completed: "completed",
|
|
68
|
+
Partial: "partial",
|
|
69
|
+
Failed: "failed",
|
|
70
|
+
};
|
|
71
|
+
export const ResultStatus = {
|
|
72
|
+
Visited: "visited",
|
|
73
|
+
Cached: "cached",
|
|
74
|
+
Failed: "failed",
|
|
75
|
+
Skipped: "skipped",
|
|
76
|
+
Pending: "pending",
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Type of media attached to the post.
|
|
80
|
+
*/
|
|
81
|
+
export const ListSavedPostsType = {
|
|
82
|
+
Image: "image",
|
|
83
|
+
Video: "video",
|
|
84
|
+
Document: "document",
|
|
85
|
+
Article: "article",
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
89
|
+
*/
|
|
90
|
+
export const SortOrder = {
|
|
91
|
+
Relevance: "RELEVANCE",
|
|
92
|
+
RevChron: "REV_CHRON",
|
|
93
|
+
};
|
|
94
|
+
export const GetFeedType = {
|
|
95
|
+
Activity: "activity",
|
|
96
|
+
UgcPost: "ugcPost",
|
|
97
|
+
Share: "share",
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Type of media attached to the post.
|
|
101
|
+
*/
|
|
102
|
+
export const GetFeedMediaType = {
|
|
103
|
+
Image: "image",
|
|
104
|
+
Video: "video",
|
|
105
|
+
Document: "document",
|
|
106
|
+
Article: "article",
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Type of media attached to the post.
|
|
110
|
+
*/
|
|
111
|
+
export const CollectHashtagPostsType = {
|
|
112
|
+
Image: "image",
|
|
113
|
+
Video: "video",
|
|
114
|
+
Document: "document",
|
|
115
|
+
Article: "article",
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Type of search to perform (required unless url is provided)
|
|
119
|
+
*/
|
|
120
|
+
export const SearchCategoryRequest = {
|
|
121
|
+
Posts: "posts",
|
|
122
|
+
People: "people",
|
|
123
|
+
Companies: "companies",
|
|
124
|
+
Jobs: "jobs",
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Sort order (posts & jobs)
|
|
128
|
+
*/
|
|
129
|
+
export const SortBy = {
|
|
130
|
+
Relevance: "relevance",
|
|
131
|
+
Date: "date",
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Time filter (posts & jobs)
|
|
135
|
+
*/
|
|
136
|
+
export const DatePosted = {
|
|
137
|
+
Past24h: "past-24h",
|
|
138
|
+
PastWeek: "past-week",
|
|
139
|
+
PastMonth: "past-month",
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Media type filter (posts only)
|
|
143
|
+
*/
|
|
144
|
+
export const ContentType = {
|
|
145
|
+
Images: "images",
|
|
146
|
+
Videos: "videos",
|
|
147
|
+
Documents: "documents",
|
|
148
|
+
};
|
|
149
|
+
export const ConnectionDegree = {
|
|
150
|
+
F: "F",
|
|
151
|
+
S: "S",
|
|
152
|
+
O: "O",
|
|
153
|
+
};
|
|
154
|
+
export const CompanySize = {
|
|
155
|
+
A: "A",
|
|
156
|
+
B: "B",
|
|
157
|
+
C: "C",
|
|
158
|
+
D: "D",
|
|
159
|
+
E: "E",
|
|
160
|
+
F: "F",
|
|
161
|
+
G: "G",
|
|
162
|
+
H: "H",
|
|
163
|
+
I: "I",
|
|
164
|
+
};
|
|
165
|
+
export const JobType = {
|
|
166
|
+
F: "F",
|
|
167
|
+
P: "P",
|
|
168
|
+
C: "C",
|
|
169
|
+
T: "T",
|
|
170
|
+
I: "I",
|
|
171
|
+
V: "V",
|
|
172
|
+
O: "O",
|
|
173
|
+
};
|
|
174
|
+
export const ExperienceLevel = {
|
|
175
|
+
One: "1",
|
|
176
|
+
Two: "2",
|
|
177
|
+
Three: "3",
|
|
178
|
+
Four: "4",
|
|
179
|
+
Five: "5",
|
|
180
|
+
Six: "6",
|
|
181
|
+
};
|
|
182
|
+
export const WorkplaceType = {
|
|
183
|
+
One: "1",
|
|
184
|
+
Two: "2",
|
|
185
|
+
Three: "3",
|
|
186
|
+
};
|
|
187
|
+
export const SearchCategoryResponseBody = {
|
|
188
|
+
Posts: "posts",
|
|
189
|
+
People: "people",
|
|
190
|
+
Companies: "companies",
|
|
191
|
+
Jobs: "jobs",
|
|
192
|
+
};
|
|
193
|
+
export const ItemsTypeJob = {
|
|
194
|
+
Job: "JOB",
|
|
195
|
+
};
|
|
196
|
+
export const ItemsTypeCompany = {
|
|
197
|
+
Company: "COMPANY",
|
|
198
|
+
};
|
|
199
|
+
export const ItemsTypePeople = {
|
|
200
|
+
People: "PEOPLE",
|
|
201
|
+
};
|
|
202
|
+
export const ItemsNetworkDistance = {
|
|
203
|
+
Distance1: "DISTANCE_1",
|
|
204
|
+
Distance2: "DISTANCE_2",
|
|
205
|
+
Distance3: "DISTANCE_3",
|
|
206
|
+
OutOfNetwork: "OUT_OF_NETWORK",
|
|
207
|
+
};
|
|
208
|
+
export const ItemsTypePost = {
|
|
209
|
+
Post: "POST",
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Type of media attached to the post.
|
|
213
|
+
*/
|
|
214
|
+
export const ItemsMediaType = {
|
|
215
|
+
Image: "image",
|
|
216
|
+
Video: "video",
|
|
217
|
+
Document: "document",
|
|
218
|
+
Article: "article",
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
|
|
222
|
+
*/
|
|
223
|
+
export const SearchPostsSortBy = {
|
|
224
|
+
Relevance: "relevance",
|
|
225
|
+
Date: "date",
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Filter by publication date. Useful for finding recent discussions or trending topics.
|
|
229
|
+
*/
|
|
230
|
+
export const SearchPostsDatePosted = {
|
|
231
|
+
Past24h: "past-24h",
|
|
232
|
+
PastWeek: "past-week",
|
|
233
|
+
PastMonth: "past-month",
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
|
|
237
|
+
*/
|
|
238
|
+
export const SearchPostsContentType = {
|
|
239
|
+
Images: "images",
|
|
240
|
+
Videos: "videos",
|
|
241
|
+
Documents: "documents",
|
|
242
|
+
};
|
|
243
|
+
export const SearchPostsCategory = {
|
|
244
|
+
Posts: "posts",
|
|
245
|
+
};
|
|
246
|
+
export const SearchPostsType = {
|
|
247
|
+
Post: "POST",
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Type of media attached to the post.
|
|
251
|
+
*/
|
|
252
|
+
export const SearchPostsMediaType = {
|
|
253
|
+
Image: "image",
|
|
254
|
+
Video: "video",
|
|
255
|
+
Document: "document",
|
|
256
|
+
Article: "article",
|
|
257
|
+
};
|
|
258
|
+
export const SearchPeopleConnectionDegree = {
|
|
259
|
+
F: "F",
|
|
260
|
+
S: "S",
|
|
261
|
+
O: "O",
|
|
262
|
+
};
|
|
263
|
+
export const SearchPeopleCategory = {
|
|
264
|
+
People: "people",
|
|
265
|
+
};
|
|
266
|
+
export const SearchPeopleType = {
|
|
267
|
+
People: "PEOPLE",
|
|
268
|
+
};
|
|
269
|
+
export const SearchPeopleNetworkDistance = {
|
|
270
|
+
Distance1: "DISTANCE_1",
|
|
271
|
+
Distance2: "DISTANCE_2",
|
|
272
|
+
Distance3: "DISTANCE_3",
|
|
273
|
+
OutOfNetwork: "OUT_OF_NETWORK",
|
|
274
|
+
};
|
|
275
|
+
export const SearchCompaniesCompanySize = {
|
|
276
|
+
A: "A",
|
|
277
|
+
B: "B",
|
|
278
|
+
C: "C",
|
|
279
|
+
D: "D",
|
|
280
|
+
E: "E",
|
|
281
|
+
F: "F",
|
|
282
|
+
G: "G",
|
|
283
|
+
H: "H",
|
|
284
|
+
I: "I",
|
|
285
|
+
};
|
|
286
|
+
export const SearchCompaniesCategory = {
|
|
287
|
+
Companies: "companies",
|
|
288
|
+
};
|
|
289
|
+
export const SearchCompaniesType = {
|
|
290
|
+
Company: "COMPANY",
|
|
291
|
+
};
|
|
292
|
+
/** @internal */
|
|
293
|
+
export const CollectLikesRequest$outboundSchema = z.object({
|
|
294
|
+
postUrl: z.string(),
|
|
295
|
+
start: z.optional(z.int()),
|
|
296
|
+
count: z.optional(z.int()),
|
|
297
|
+
});
|
|
298
|
+
export function collectLikesRequestToJSON(collectLikesRequest) {
|
|
299
|
+
return JSON.stringify(CollectLikesRequest$outboundSchema.parse(collectLikesRequest));
|
|
300
|
+
}
|
|
301
|
+
/** @internal */
|
|
302
|
+
export const CollectLikesServiceUnavailableDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
303
|
+
export function collectLikesServiceUnavailableDetailsFromJSON(jsonString) {
|
|
304
|
+
return safeParse(jsonString, (x) => CollectLikesServiceUnavailableDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesServiceUnavailableDetails' from JSON`);
|
|
305
|
+
}
|
|
306
|
+
/** @internal */
|
|
307
|
+
export const CollectLikesServiceUnavailableError$inboundSchema = z.object({
|
|
308
|
+
code: types.string(),
|
|
309
|
+
message: types.string(),
|
|
310
|
+
docs: types.optional(types.string()),
|
|
311
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
312
|
+
});
|
|
313
|
+
export function collectLikesServiceUnavailableErrorFromJSON(jsonString) {
|
|
314
|
+
return safeParse(jsonString, (x) => CollectLikesServiceUnavailableError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesServiceUnavailableError' from JSON`);
|
|
315
|
+
}
|
|
316
|
+
/** @internal */
|
|
317
|
+
export const CollectLikesBadGatewayDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
318
|
+
export function collectLikesBadGatewayDetailsFromJSON(jsonString) {
|
|
319
|
+
return safeParse(jsonString, (x) => CollectLikesBadGatewayDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesBadGatewayDetails' from JSON`);
|
|
320
|
+
}
|
|
321
|
+
/** @internal */
|
|
322
|
+
export const CollectLikesBadGatewayError$inboundSchema = z.object({
|
|
323
|
+
code: types.string(),
|
|
324
|
+
message: types.string(),
|
|
325
|
+
docs: types.optional(types.string()),
|
|
326
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
327
|
+
});
|
|
328
|
+
export function collectLikesBadGatewayErrorFromJSON(jsonString) {
|
|
329
|
+
return safeParse(jsonString, (x) => CollectLikesBadGatewayError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesBadGatewayError' from JSON`);
|
|
330
|
+
}
|
|
331
|
+
/** @internal */
|
|
332
|
+
export const CollectLikesInternalServerErrorDetails$inboundSchema = smartUnion([
|
|
333
|
+
types.string(),
|
|
334
|
+
z.array(types.string()),
|
|
335
|
+
]);
|
|
336
|
+
export function collectLikesInternalServerErrorDetailsFromJSON(jsonString) {
|
|
337
|
+
return safeParse(jsonString, (x) => CollectLikesInternalServerErrorDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesInternalServerErrorDetails' from JSON`);
|
|
338
|
+
}
|
|
339
|
+
/** @internal */
|
|
340
|
+
export const CollectLikesInternalServerErrorError$inboundSchema = z.object({
|
|
341
|
+
code: types.string(),
|
|
342
|
+
message: types.string(),
|
|
343
|
+
docs: types.optional(types.string()),
|
|
344
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
345
|
+
});
|
|
346
|
+
export function collectLikesInternalServerErrorErrorFromJSON(jsonString) {
|
|
347
|
+
return safeParse(jsonString, (x) => CollectLikesInternalServerErrorError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesInternalServerErrorError' from JSON`);
|
|
348
|
+
}
|
|
349
|
+
/** @internal */
|
|
350
|
+
export const CollectLikesCode$inboundSchema = z.enum(CollectLikesCode);
|
|
351
|
+
/** @internal */
|
|
352
|
+
export const CollectLikesDaily$inboundSchema = z.object({
|
|
353
|
+
current: types.number(),
|
|
354
|
+
limit: types.number(),
|
|
355
|
+
});
|
|
356
|
+
export function collectLikesDailyFromJSON(jsonString) {
|
|
357
|
+
return safeParse(jsonString, (x) => CollectLikesDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesDaily' from JSON`);
|
|
358
|
+
}
|
|
359
|
+
/** @internal */
|
|
360
|
+
export const CollectLikesWeekly$inboundSchema = z.object({
|
|
361
|
+
current: types.number(),
|
|
362
|
+
limit: types.number(),
|
|
363
|
+
});
|
|
364
|
+
export function collectLikesWeeklyFromJSON(jsonString) {
|
|
365
|
+
return safeParse(jsonString, (x) => CollectLikesWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesWeekly' from JSON`);
|
|
366
|
+
}
|
|
367
|
+
/** @internal */
|
|
368
|
+
export const CollectLikesTooManyRequestsError$inboundSchema = z.object({
|
|
369
|
+
code: CollectLikesCode$inboundSchema,
|
|
370
|
+
message: types.string(),
|
|
371
|
+
docs: types.optional(types.string()),
|
|
372
|
+
retryAfter: types.number(),
|
|
373
|
+
daily: types.nullable(z.lazy(() => CollectLikesDaily$inboundSchema)),
|
|
374
|
+
weekly: types.nullable(z.lazy(() => CollectLikesWeekly$inboundSchema)),
|
|
375
|
+
});
|
|
376
|
+
export function collectLikesTooManyRequestsErrorFromJSON(jsonString) {
|
|
377
|
+
return safeParse(jsonString, (x) => CollectLikesTooManyRequestsError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesTooManyRequestsError' from JSON`);
|
|
378
|
+
}
|
|
379
|
+
/** @internal */
|
|
380
|
+
export const CollectLikesUnprocessableEntityDetails$inboundSchema = smartUnion([
|
|
381
|
+
types.string(),
|
|
382
|
+
z.array(types.string()),
|
|
383
|
+
]);
|
|
384
|
+
export function collectLikesUnprocessableEntityDetailsFromJSON(jsonString) {
|
|
385
|
+
return safeParse(jsonString, (x) => CollectLikesUnprocessableEntityDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesUnprocessableEntityDetails' from JSON`);
|
|
386
|
+
}
|
|
387
|
+
/** @internal */
|
|
388
|
+
export const CollectLikesUnprocessableEntityError$inboundSchema = z.object({
|
|
389
|
+
code: types.string(),
|
|
390
|
+
message: types.string(),
|
|
391
|
+
docs: types.optional(types.string()),
|
|
392
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
393
|
+
});
|
|
394
|
+
export function collectLikesUnprocessableEntityErrorFromJSON(jsonString) {
|
|
395
|
+
return safeParse(jsonString, (x) => CollectLikesUnprocessableEntityError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesUnprocessableEntityError' from JSON`);
|
|
396
|
+
}
|
|
397
|
+
/** @internal */
|
|
398
|
+
export const CollectLikesGoneDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
399
|
+
export function collectLikesGoneDetailsFromJSON(jsonString) {
|
|
400
|
+
return safeParse(jsonString, (x) => CollectLikesGoneDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesGoneDetails' from JSON`);
|
|
401
|
+
}
|
|
402
|
+
/** @internal */
|
|
403
|
+
export const CollectLikesGoneError$inboundSchema = z.object({
|
|
404
|
+
code: types.string(),
|
|
405
|
+
message: types.string(),
|
|
406
|
+
docs: types.optional(types.string()),
|
|
407
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
408
|
+
});
|
|
409
|
+
export function collectLikesGoneErrorFromJSON(jsonString) {
|
|
410
|
+
return safeParse(jsonString, (x) => CollectLikesGoneError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesGoneError' from JSON`);
|
|
411
|
+
}
|
|
412
|
+
/** @internal */
|
|
413
|
+
export const CollectLikesConflictDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
414
|
+
export function collectLikesConflictDetailsFromJSON(jsonString) {
|
|
415
|
+
return safeParse(jsonString, (x) => CollectLikesConflictDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesConflictDetails' from JSON`);
|
|
416
|
+
}
|
|
417
|
+
/** @internal */
|
|
418
|
+
export const CollectLikesConflictError$inboundSchema = z.object({
|
|
419
|
+
code: types.string(),
|
|
420
|
+
message: types.string(),
|
|
421
|
+
docs: types.optional(types.string()),
|
|
422
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
423
|
+
});
|
|
424
|
+
export function collectLikesConflictErrorFromJSON(jsonString) {
|
|
425
|
+
return safeParse(jsonString, (x) => CollectLikesConflictError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesConflictError' from JSON`);
|
|
426
|
+
}
|
|
427
|
+
/** @internal */
|
|
428
|
+
export const CollectLikesNotFoundDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
429
|
+
export function collectLikesNotFoundDetailsFromJSON(jsonString) {
|
|
430
|
+
return safeParse(jsonString, (x) => CollectLikesNotFoundDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesNotFoundDetails' from JSON`);
|
|
431
|
+
}
|
|
432
|
+
/** @internal */
|
|
433
|
+
export const CollectLikesNotFoundError$inboundSchema = z.object({
|
|
434
|
+
code: types.string(),
|
|
435
|
+
message: types.string(),
|
|
436
|
+
docs: types.optional(types.string()),
|
|
437
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
438
|
+
});
|
|
439
|
+
export function collectLikesNotFoundErrorFromJSON(jsonString) {
|
|
440
|
+
return safeParse(jsonString, (x) => CollectLikesNotFoundError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesNotFoundError' from JSON`);
|
|
441
|
+
}
|
|
442
|
+
/** @internal */
|
|
443
|
+
export const CollectLikesForbiddenDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
444
|
+
export function collectLikesForbiddenDetailsFromJSON(jsonString) {
|
|
445
|
+
return safeParse(jsonString, (x) => CollectLikesForbiddenDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesForbiddenDetails' from JSON`);
|
|
446
|
+
}
|
|
447
|
+
/** @internal */
|
|
448
|
+
export const CollectLikesForbiddenError$inboundSchema = z.object({
|
|
449
|
+
code: types.string(),
|
|
450
|
+
message: types.string(),
|
|
451
|
+
docs: types.optional(types.string()),
|
|
452
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
453
|
+
});
|
|
454
|
+
export function collectLikesForbiddenErrorFromJSON(jsonString) {
|
|
455
|
+
return safeParse(jsonString, (x) => CollectLikesForbiddenError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesForbiddenError' from JSON`);
|
|
456
|
+
}
|
|
457
|
+
/** @internal */
|
|
458
|
+
export const CollectLikesUnauthorizedDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
459
|
+
export function collectLikesUnauthorizedDetailsFromJSON(jsonString) {
|
|
460
|
+
return safeParse(jsonString, (x) => CollectLikesUnauthorizedDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesUnauthorizedDetails' from JSON`);
|
|
461
|
+
}
|
|
462
|
+
/** @internal */
|
|
463
|
+
export const CollectLikesUnauthorizedError$inboundSchema = z.object({
|
|
464
|
+
code: types.string(),
|
|
465
|
+
message: types.string(),
|
|
466
|
+
docs: types.optional(types.string()),
|
|
467
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
468
|
+
});
|
|
469
|
+
export function collectLikesUnauthorizedErrorFromJSON(jsonString) {
|
|
470
|
+
return safeParse(jsonString, (x) => CollectLikesUnauthorizedError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesUnauthorizedError' from JSON`);
|
|
471
|
+
}
|
|
472
|
+
/** @internal */
|
|
473
|
+
export const CollectLikesBadRequestDetails$inboundSchema = smartUnion([types.string(), z.array(types.string())]);
|
|
474
|
+
export function collectLikesBadRequestDetailsFromJSON(jsonString) {
|
|
475
|
+
return safeParse(jsonString, (x) => CollectLikesBadRequestDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesBadRequestDetails' from JSON`);
|
|
476
|
+
}
|
|
477
|
+
/** @internal */
|
|
478
|
+
export const CollectLikesBadRequestError$inboundSchema = z.object({
|
|
479
|
+
code: types.string(),
|
|
480
|
+
message: types.string(),
|
|
481
|
+
docs: types.optional(types.string()),
|
|
482
|
+
details: types.optional(smartUnion([types.string(), z.array(types.string())])),
|
|
483
|
+
});
|
|
484
|
+
export function collectLikesBadRequestErrorFromJSON(jsonString) {
|
|
485
|
+
return safeParse(jsonString, (x) => CollectLikesBadRequestError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesBadRequestError' from JSON`);
|
|
486
|
+
}
|
|
487
|
+
/** @internal */
|
|
488
|
+
export const CollectLikesType$inboundSchema = z.enum(CollectLikesType);
|
|
489
|
+
/** @internal */
|
|
490
|
+
export const CollectLikesProfile$inboundSchema = z.object({
|
|
491
|
+
name: types.string(),
|
|
492
|
+
headline: types.nullable(types.string()),
|
|
493
|
+
profileUrl: types.nullable(types.string()),
|
|
494
|
+
imageUrl: types.nullable(types.string()),
|
|
495
|
+
publicIdentifier: types.nullable(types.string()),
|
|
496
|
+
profileUrn: types.nullable(types.string()),
|
|
497
|
+
type: CollectLikesType$inboundSchema,
|
|
498
|
+
reactionType: types.optional(types.string()),
|
|
499
|
+
});
|
|
500
|
+
export function collectLikesProfileFromJSON(jsonString) {
|
|
501
|
+
return safeParse(jsonString, (x) => CollectLikesProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesProfile' from JSON`);
|
|
502
|
+
}
|
|
503
|
+
/** @internal */
|
|
504
|
+
export const CollectLikesResponse$inboundSchema = z.object({
|
|
505
|
+
success: types.literal(true),
|
|
506
|
+
profiles: z.array(z.lazy(() => CollectLikesProfile$inboundSchema)),
|
|
507
|
+
count: types.number(),
|
|
508
|
+
total: types.number(),
|
|
509
|
+
start: types.number(),
|
|
510
|
+
hasMore: types.boolean(),
|
|
511
|
+
previousTotal: types.nullable(types.number()),
|
|
512
|
+
creditsUsed: types.number(),
|
|
513
|
+
retryAfter: types.number(),
|
|
514
|
+
});
|
|
515
|
+
export function collectLikesResponseFromJSON(jsonString) {
|
|
516
|
+
return safeParse(jsonString, (x) => CollectLikesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLikesResponse' from JSON`);
|
|
517
|
+
}
|
|
518
|
+
/** @internal */
|
|
519
|
+
export const CollectCommentsRequest$outboundSchema = z.object({
|
|
520
|
+
postUrl: z.string(),
|
|
521
|
+
start: z.optional(z.int()),
|
|
522
|
+
count: z.optional(z.int()),
|
|
523
|
+
campaignSlug: z.optional(z.string()),
|
|
524
|
+
});
|
|
525
|
+
export function collectCommentsRequestToJSON(collectCommentsRequest) {
|
|
526
|
+
return JSON.stringify(CollectCommentsRequest$outboundSchema.parse(collectCommentsRequest));
|
|
527
|
+
}
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const CollectCommentsType$inboundSchema = z.enum(CollectCommentsType);
|
|
530
|
+
/** @internal */
|
|
531
|
+
export const CollectCommentsActionsCompleted$inboundSchema = z.object({
|
|
532
|
+
message: types.boolean(),
|
|
533
|
+
reply: types.boolean(),
|
|
534
|
+
like: types.boolean(),
|
|
535
|
+
visit: types.boolean(),
|
|
536
|
+
connect: types.boolean(),
|
|
537
|
+
});
|
|
538
|
+
export function collectCommentsActionsCompletedFromJSON(jsonString) {
|
|
539
|
+
return safeParse(jsonString, (x) => CollectCommentsActionsCompleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectCommentsActionsCompleted' from JSON`);
|
|
540
|
+
}
|
|
541
|
+
/** @internal */
|
|
542
|
+
export const CollectCommentsProfile$inboundSchema = z.object({
|
|
543
|
+
name: types.string(),
|
|
544
|
+
headline: types.nullable(types.string()),
|
|
545
|
+
profileUrl: types.nullable(types.string()),
|
|
546
|
+
imageUrl: types.nullable(types.string()),
|
|
547
|
+
publicIdentifier: types.nullable(types.string()),
|
|
548
|
+
profileUrn: types.nullable(types.string()),
|
|
549
|
+
type: CollectCommentsType$inboundSchema,
|
|
550
|
+
commentText: types.optional(types.string()),
|
|
551
|
+
timestamp: types.nullable(types.number()),
|
|
552
|
+
isEdited: types.optional(types.boolean()),
|
|
553
|
+
commentUrn: types.optional(types.string()),
|
|
554
|
+
commentHash: types.optional(types.string()),
|
|
555
|
+
isPostAuthor: types.optional(types.boolean()),
|
|
556
|
+
repliesCount: types.optional(types.number()),
|
|
557
|
+
hasReplyFromPostAuthor: z.optional(z.nullable(types.boolean())),
|
|
558
|
+
parentCommentUrn: types.optional(types.string()),
|
|
559
|
+
postUrn: types.optional(types.string()),
|
|
560
|
+
postHash: types.optional(types.string()),
|
|
561
|
+
actionsCompleted: types.optional(z.lazy(() => CollectCommentsActionsCompleted$inboundSchema)),
|
|
562
|
+
knownDistance: types.nullable(types.number()),
|
|
563
|
+
});
|
|
564
|
+
export function collectCommentsProfileFromJSON(jsonString) {
|
|
565
|
+
return safeParse(jsonString, (x) => CollectCommentsProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectCommentsProfile' from JSON`);
|
|
566
|
+
}
|
|
567
|
+
/** @internal */
|
|
568
|
+
export const CollectCommentsResponse$inboundSchema = z.object({
|
|
569
|
+
success: types.literal(true),
|
|
570
|
+
profiles: z.array(z.lazy(() => CollectCommentsProfile$inboundSchema)),
|
|
571
|
+
count: types.number(),
|
|
572
|
+
total: types.number(),
|
|
573
|
+
start: types.number(),
|
|
574
|
+
hasMore: types.boolean(),
|
|
575
|
+
previousTotal: types.nullable(types.number()),
|
|
576
|
+
processedCount: types.optional(types.number()),
|
|
577
|
+
newCount: types.optional(types.number()),
|
|
578
|
+
creditsUsed: types.number(),
|
|
579
|
+
retryAfter: types.number(),
|
|
580
|
+
});
|
|
581
|
+
export function collectCommentsResponseFromJSON(jsonString) {
|
|
582
|
+
return safeParse(jsonString, (x) => CollectCommentsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectCommentsResponse' from JSON`);
|
|
583
|
+
}
|
|
584
|
+
/** @internal */
|
|
585
|
+
export const CollectCommentRepliesRequest$outboundSchema = z.object({
|
|
586
|
+
commentUrn: z.string(),
|
|
587
|
+
start: z.optional(z.int()),
|
|
588
|
+
count: z.optional(z.int()),
|
|
589
|
+
});
|
|
590
|
+
export function collectCommentRepliesRequestToJSON(collectCommentRepliesRequest) {
|
|
591
|
+
return JSON.stringify(CollectCommentRepliesRequest$outboundSchema.parse(collectCommentRepliesRequest));
|
|
592
|
+
}
|
|
593
|
+
/** @internal */
|
|
594
|
+
export const CollectCommentRepliesType$inboundSchema = z.enum(CollectCommentRepliesType);
|
|
595
|
+
/** @internal */
|
|
596
|
+
export const CollectCommentRepliesActionsCompleted$inboundSchema = z.object({
|
|
597
|
+
message: types.boolean(),
|
|
598
|
+
reply: types.boolean(),
|
|
599
|
+
like: types.boolean(),
|
|
600
|
+
visit: types.boolean(),
|
|
601
|
+
connect: types.boolean(),
|
|
602
|
+
});
|
|
603
|
+
export function collectCommentRepliesActionsCompletedFromJSON(jsonString) {
|
|
604
|
+
return safeParse(jsonString, (x) => CollectCommentRepliesActionsCompleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectCommentRepliesActionsCompleted' from JSON`);
|
|
605
|
+
}
|
|
606
|
+
/** @internal */
|
|
607
|
+
export const Reply$inboundSchema = z.object({
|
|
608
|
+
name: types.string(),
|
|
609
|
+
headline: types.nullable(types.string()),
|
|
610
|
+
profileUrl: types.nullable(types.string()),
|
|
611
|
+
imageUrl: types.nullable(types.string()),
|
|
612
|
+
publicIdentifier: types.nullable(types.string()),
|
|
613
|
+
profileUrn: types.nullable(types.string()),
|
|
614
|
+
type: CollectCommentRepliesType$inboundSchema,
|
|
615
|
+
commentText: types.optional(types.string()),
|
|
616
|
+
timestamp: types.nullable(types.number()),
|
|
617
|
+
isEdited: types.optional(types.boolean()),
|
|
618
|
+
commentUrn: types.optional(types.string()),
|
|
619
|
+
commentHash: types.optional(types.string()),
|
|
620
|
+
isPostAuthor: types.optional(types.boolean()),
|
|
621
|
+
repliesCount: types.optional(types.number()),
|
|
622
|
+
hasReplyFromPostAuthor: z.optional(z.nullable(types.boolean())),
|
|
623
|
+
parentCommentUrn: types.optional(types.string()),
|
|
624
|
+
postUrn: types.optional(types.string()),
|
|
625
|
+
postHash: types.optional(types.string()),
|
|
626
|
+
actionsCompleted: types.optional(z.lazy(() => CollectCommentRepliesActionsCompleted$inboundSchema)),
|
|
627
|
+
knownDistance: types.nullable(types.number()),
|
|
628
|
+
});
|
|
629
|
+
export function replyFromJSON(jsonString) {
|
|
630
|
+
return safeParse(jsonString, (x) => Reply$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Reply' from JSON`);
|
|
631
|
+
}
|
|
632
|
+
/** @internal */
|
|
633
|
+
export const CollectCommentRepliesResponse$inboundSchema = z.object({
|
|
634
|
+
success: types.literal(true),
|
|
635
|
+
replies: z.array(z.lazy(() => Reply$inboundSchema)),
|
|
636
|
+
count: types.number(),
|
|
637
|
+
total: types.number(),
|
|
638
|
+
start: types.number(),
|
|
639
|
+
hasMore: types.boolean(),
|
|
640
|
+
parentCommentUrn: types.string(),
|
|
641
|
+
previousTotal: types.nullable(types.number()),
|
|
642
|
+
creditsUsed: types.number(),
|
|
643
|
+
retryAfter: types.number(),
|
|
644
|
+
});
|
|
645
|
+
export function collectCommentRepliesResponseFromJSON(jsonString) {
|
|
646
|
+
return safeParse(jsonString, (x) => CollectCommentRepliesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectCommentRepliesResponse' from JSON`);
|
|
647
|
+
}
|
|
648
|
+
/** @internal */
|
|
649
|
+
export const CollectPostsRequest$outboundSchema = z.object({
|
|
650
|
+
profileUrl: z.string(),
|
|
651
|
+
count: z.optional(z.int()),
|
|
652
|
+
start: z.optional(z.int()),
|
|
653
|
+
paginationToken: z.optional(z.string()),
|
|
654
|
+
});
|
|
655
|
+
export function collectPostsRequestToJSON(collectPostsRequest) {
|
|
656
|
+
return JSON.stringify(CollectPostsRequest$outboundSchema.parse(collectPostsRequest));
|
|
657
|
+
}
|
|
658
|
+
/** @internal */
|
|
659
|
+
export const CollectPostsType$inboundSchema = openEnums.inboundSchema(CollectPostsType);
|
|
660
|
+
/** @internal */
|
|
661
|
+
export const CollectPostsMediaType$inboundSchema = openEnums.inboundSchema(CollectPostsMediaType);
|
|
662
|
+
/** @internal */
|
|
663
|
+
export const CollectPostsMedia$inboundSchema = z.object({
|
|
664
|
+
type: CollectPostsMediaType$inboundSchema,
|
|
665
|
+
urls: z.array(types.string()),
|
|
666
|
+
title: types.optional(types.string()),
|
|
667
|
+
thumbnailUrl: types.optional(types.string()),
|
|
668
|
+
});
|
|
669
|
+
export function collectPostsMediaFromJSON(jsonString) {
|
|
670
|
+
return safeParse(jsonString, (x) => CollectPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectPostsMedia' from JSON`);
|
|
671
|
+
}
|
|
672
|
+
/** @internal */
|
|
673
|
+
export const CollectPostsPost$inboundSchema = z.object({
|
|
674
|
+
postUrl: types.string(),
|
|
675
|
+
text: types.string(),
|
|
676
|
+
date: types.number(),
|
|
677
|
+
likesCount: types.number(),
|
|
678
|
+
commentsCount: types.number(),
|
|
679
|
+
sharesCount: types.number(),
|
|
680
|
+
postUrn: types.string(),
|
|
681
|
+
postId: types.string(),
|
|
682
|
+
type: CollectPostsType$inboundSchema,
|
|
683
|
+
media: types.optional(z.lazy(() => CollectPostsMedia$inboundSchema)),
|
|
684
|
+
});
|
|
685
|
+
export function collectPostsPostFromJSON(jsonString) {
|
|
686
|
+
return safeParse(jsonString, (x) => CollectPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectPostsPost' from JSON`);
|
|
687
|
+
}
|
|
688
|
+
/** @internal */
|
|
689
|
+
export const CollectPostsResponse$inboundSchema = z.object({
|
|
690
|
+
success: types.literal(true),
|
|
691
|
+
posts: z.array(z.lazy(() => CollectPostsPost$inboundSchema)),
|
|
692
|
+
count: types.number(),
|
|
693
|
+
total: types.number(),
|
|
694
|
+
start: types.number(),
|
|
695
|
+
hasMore: types.boolean(),
|
|
696
|
+
paginationToken: types.nullable(types.string()),
|
|
697
|
+
previousTotal: types.nullable(types.number()),
|
|
698
|
+
creditsUsed: types.number(),
|
|
699
|
+
retryAfter: types.number(),
|
|
700
|
+
});
|
|
701
|
+
export function collectPostsResponseFromJSON(jsonString) {
|
|
702
|
+
return safeParse(jsonString, (x) => CollectPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectPostsResponse' from JSON`);
|
|
703
|
+
}
|
|
704
|
+
/** @internal */
|
|
705
|
+
export const VisitProfileRequest$outboundSchema = z.object({
|
|
706
|
+
profile: z.string(),
|
|
707
|
+
campaignSlug: z.optional(z.string()),
|
|
708
|
+
actionSlug: z.optional(z.string()),
|
|
709
|
+
includePosts: z.optional(z.boolean()),
|
|
710
|
+
includeComments: z.optional(z.boolean()),
|
|
711
|
+
includeAbout: z.optional(z.boolean()),
|
|
712
|
+
});
|
|
713
|
+
export function visitProfileRequestToJSON(visitProfileRequest) {
|
|
714
|
+
return JSON.stringify(VisitProfileRequest$outboundSchema.parse(visitProfileRequest));
|
|
715
|
+
}
|
|
716
|
+
/** @internal */
|
|
717
|
+
export const PendingConnection$inboundSchema = openEnums.inboundSchema(PendingConnection);
|
|
718
|
+
/** @internal */
|
|
719
|
+
export const VisitProfilePositionStartDate$inboundSchema = z.object({
|
|
720
|
+
month: types.nullable(types.number()),
|
|
721
|
+
year: types.number(),
|
|
722
|
+
});
|
|
723
|
+
export function visitProfilePositionStartDateFromJSON(jsonString) {
|
|
724
|
+
return safeParse(jsonString, (x) => VisitProfilePositionStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfilePositionStartDate' from JSON`);
|
|
725
|
+
}
|
|
726
|
+
/** @internal */
|
|
727
|
+
export const VisitProfilePositionEndDate$inboundSchema = z.object({
|
|
728
|
+
month: types.nullable(types.number()),
|
|
729
|
+
year: types.number(),
|
|
730
|
+
});
|
|
731
|
+
export function visitProfilePositionEndDateFromJSON(jsonString) {
|
|
732
|
+
return safeParse(jsonString, (x) => VisitProfilePositionEndDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfilePositionEndDate' from JSON`);
|
|
733
|
+
}
|
|
734
|
+
/** @internal */
|
|
735
|
+
export const VisitProfilePosition$inboundSchema = z.object({
|
|
736
|
+
companyName: types.nullable(types.string()),
|
|
737
|
+
title: types.nullable(types.string()),
|
|
738
|
+
description: types.nullable(types.string()),
|
|
739
|
+
companyUrl: types.nullable(types.string()),
|
|
740
|
+
companyLogo: types.nullable(types.string()),
|
|
741
|
+
companyDescription: types.nullable(types.string()),
|
|
742
|
+
startDate: types.nullable(z.lazy(() => VisitProfilePositionStartDate$inboundSchema)),
|
|
743
|
+
endDate: types.nullable(z.lazy(() => VisitProfilePositionEndDate$inboundSchema)),
|
|
744
|
+
isCurrent: types.boolean(),
|
|
745
|
+
});
|
|
746
|
+
export function visitProfilePositionFromJSON(jsonString) {
|
|
747
|
+
return safeParse(jsonString, (x) => VisitProfilePosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfilePosition' from JSON`);
|
|
748
|
+
}
|
|
749
|
+
/** @internal */
|
|
750
|
+
export const VisitProfileEducationStartDate$inboundSchema = z.object({
|
|
751
|
+
month: types.nullable(types.number()),
|
|
752
|
+
year: types.number(),
|
|
753
|
+
});
|
|
754
|
+
export function visitProfileEducationStartDateFromJSON(jsonString) {
|
|
755
|
+
return safeParse(jsonString, (x) => VisitProfileEducationStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfileEducationStartDate' from JSON`);
|
|
756
|
+
}
|
|
757
|
+
/** @internal */
|
|
758
|
+
export const VisitProfileEducationEndDate$inboundSchema = z.object({
|
|
759
|
+
month: types.nullable(types.number()),
|
|
760
|
+
year: types.number(),
|
|
761
|
+
});
|
|
762
|
+
export function visitProfileEducationEndDateFromJSON(jsonString) {
|
|
763
|
+
return safeParse(jsonString, (x) => VisitProfileEducationEndDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfileEducationEndDate' from JSON`);
|
|
764
|
+
}
|
|
765
|
+
/** @internal */
|
|
766
|
+
export const VisitProfileEducation$inboundSchema = z.object({
|
|
767
|
+
schoolName: types.nullable(types.string()),
|
|
768
|
+
degreeName: types.nullable(types.string()),
|
|
769
|
+
fieldOfStudy: types.nullable(types.string()),
|
|
770
|
+
schoolUrl: types.nullable(types.string()),
|
|
771
|
+
schoolLogo: types.nullable(types.string()),
|
|
772
|
+
startDate: types.nullable(z.lazy(() => VisitProfileEducationStartDate$inboundSchema)),
|
|
773
|
+
endDate: types.nullable(z.lazy(() => VisitProfileEducationEndDate$inboundSchema)),
|
|
774
|
+
});
|
|
775
|
+
export function visitProfileEducationFromJSON(jsonString) {
|
|
776
|
+
return safeParse(jsonString, (x) => VisitProfileEducation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfileEducation' from JSON`);
|
|
777
|
+
}
|
|
778
|
+
/** @internal */
|
|
779
|
+
export const VisitProfileLastPostType$inboundSchema = openEnums.inboundSchema(VisitProfileLastPostType);
|
|
780
|
+
/** @internal */
|
|
781
|
+
export const VisitProfileMediaType$inboundSchema = openEnums.inboundSchema(VisitProfileMediaType);
|
|
782
|
+
/** @internal */
|
|
783
|
+
export const VisitProfileMedia$inboundSchema = z.object({
|
|
784
|
+
type: VisitProfileMediaType$inboundSchema,
|
|
785
|
+
urls: z.array(types.string()),
|
|
786
|
+
title: types.optional(types.string()),
|
|
787
|
+
thumbnailUrl: types.optional(types.string()),
|
|
788
|
+
});
|
|
789
|
+
export function visitProfileMediaFromJSON(jsonString) {
|
|
790
|
+
return safeParse(jsonString, (x) => VisitProfileMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfileMedia' from JSON`);
|
|
791
|
+
}
|
|
792
|
+
/** @internal */
|
|
793
|
+
export const VisitProfileLastPost$inboundSchema = z.object({
|
|
794
|
+
postUrl: types.string(),
|
|
795
|
+
text: types.string(),
|
|
796
|
+
date: types.number(),
|
|
797
|
+
likesCount: types.number(),
|
|
798
|
+
commentsCount: types.number(),
|
|
799
|
+
sharesCount: types.number(),
|
|
800
|
+
postUrn: types.string(),
|
|
801
|
+
postId: types.string(),
|
|
802
|
+
type: VisitProfileLastPostType$inboundSchema,
|
|
803
|
+
media: types.optional(z.lazy(() => VisitProfileMedia$inboundSchema)),
|
|
804
|
+
});
|
|
805
|
+
export function visitProfileLastPostFromJSON(jsonString) {
|
|
806
|
+
return safeParse(jsonString, (x) => VisitProfileLastPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfileLastPost' from JSON`);
|
|
807
|
+
}
|
|
808
|
+
/** @internal */
|
|
809
|
+
export const LastCommentType$inboundSchema = openEnums.inboundSchema(LastCommentType);
|
|
810
|
+
/** @internal */
|
|
811
|
+
export const LastComment$inboundSchema = z
|
|
812
|
+
.object({
|
|
813
|
+
type: LastCommentType$inboundSchema,
|
|
814
|
+
activityUrn: types.string(),
|
|
815
|
+
text: types.nullable(types.string()),
|
|
816
|
+
reactionType: types.nullable(types.string()),
|
|
817
|
+
targetPostUrn: types.nullable(types.string()),
|
|
818
|
+
targetPostText: types.nullable(types.string()),
|
|
819
|
+
targetPostAuthor: types.nullable(types.string()),
|
|
820
|
+
timestamp: types.nullable(types.number()),
|
|
821
|
+
actorName: types.nullable(types.string()),
|
|
822
|
+
actorUrn: types.nullable(types.string()),
|
|
823
|
+
});
|
|
824
|
+
export function lastCommentFromJSON(jsonString) {
|
|
825
|
+
return safeParse(jsonString, (x) => LastComment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LastComment' from JSON`);
|
|
826
|
+
}
|
|
827
|
+
/** @internal */
|
|
828
|
+
export const VisitProfileResponse$inboundSchema = z.object({
|
|
829
|
+
success: types.literal(true),
|
|
830
|
+
firstName: types.string(),
|
|
831
|
+
lastName: types.string(),
|
|
832
|
+
headline: types.nullable(types.string()),
|
|
833
|
+
summary: types.nullable(types.string()),
|
|
834
|
+
publicIdentifier: types.string(),
|
|
835
|
+
profileUrl: types.nullable(types.string()),
|
|
836
|
+
profileUrn: types.nullable(types.string()),
|
|
837
|
+
imageUrl: types.nullable(types.string()),
|
|
838
|
+
email: types.nullable(types.string()),
|
|
839
|
+
location: types.nullable(types.string()),
|
|
840
|
+
company: types.nullable(types.string()),
|
|
841
|
+
position: types.nullable(types.string()),
|
|
842
|
+
memberDistance: types.nullable(types.number()),
|
|
843
|
+
connectionsCount: types.nullable(types.number()),
|
|
844
|
+
isVerified: types.boolean(),
|
|
845
|
+
pendingConnection: PendingConnection$inboundSchema,
|
|
846
|
+
positions: types.optional(z.array(z.lazy(() => VisitProfilePosition$inboundSchema))),
|
|
847
|
+
educations: types.optional(z.array(z.lazy(() => VisitProfileEducation$inboundSchema))),
|
|
848
|
+
lastPosts: types.optional(z.array(z.lazy(() => VisitProfileLastPost$inboundSchema))),
|
|
849
|
+
lastComments: types.optional(z.array(z.lazy(() => LastComment$inboundSchema))),
|
|
850
|
+
cached: types.boolean(),
|
|
851
|
+
creditsUsed: types.number(),
|
|
852
|
+
retryAfter: types.number(),
|
|
853
|
+
});
|
|
854
|
+
export function visitProfileResponseFromJSON(jsonString) {
|
|
855
|
+
return safeParse(jsonString, (x) => VisitProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitProfileResponse' from JSON`);
|
|
856
|
+
}
|
|
857
|
+
/** @internal */
|
|
858
|
+
export const BulkVisitProfileRequest$outboundSchema = z.object({
|
|
859
|
+
profiles: z.array(z.string()),
|
|
860
|
+
campaignSlug: z.optional(z.string()),
|
|
861
|
+
includePosts: z.optional(z.boolean()),
|
|
862
|
+
includeComments: z.optional(z.boolean()),
|
|
863
|
+
includeAbout: z.optional(z.boolean()),
|
|
864
|
+
});
|
|
865
|
+
export function bulkVisitProfileRequestToJSON(bulkVisitProfileRequest) {
|
|
866
|
+
return JSON.stringify(BulkVisitProfileRequest$outboundSchema.parse(bulkVisitProfileRequest));
|
|
867
|
+
}
|
|
868
|
+
/** @internal */
|
|
869
|
+
export const BulkVisitProfileResponse$inboundSchema = z.object({
|
|
870
|
+
accepted: types.literal(true),
|
|
871
|
+
batchId: types.string(),
|
|
872
|
+
profileCount: types.number(),
|
|
873
|
+
alreadyCached: types.number(),
|
|
874
|
+
willVisit: types.number(),
|
|
875
|
+
estimatedMinutes: types.number(),
|
|
876
|
+
});
|
|
877
|
+
export function bulkVisitProfileResponseFromJSON(jsonString) {
|
|
878
|
+
return safeParse(jsonString, (x) => BulkVisitProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BulkVisitProfileResponse' from JSON`);
|
|
879
|
+
}
|
|
880
|
+
/** @internal */
|
|
881
|
+
export const BulkVisitBatchStatusRequest$outboundSchema = z.object({
|
|
882
|
+
batchId: z.string(),
|
|
883
|
+
});
|
|
884
|
+
export function bulkVisitBatchStatusRequestToJSON(bulkVisitBatchStatusRequest) {
|
|
885
|
+
return JSON.stringify(BulkVisitBatchStatusRequest$outboundSchema.parse(bulkVisitBatchStatusRequest));
|
|
886
|
+
}
|
|
887
|
+
/** @internal */
|
|
888
|
+
export const BulkVisitBatchStatusStatus$inboundSchema = openEnums.inboundSchema(BulkVisitBatchStatusStatus);
|
|
889
|
+
/** @internal */
|
|
890
|
+
export const Progress$inboundSchema = z
|
|
891
|
+
.object({
|
|
892
|
+
total: types.number(),
|
|
893
|
+
visited: types.number(),
|
|
894
|
+
cached: types.number(),
|
|
895
|
+
failed: types.number(),
|
|
896
|
+
skipped: types.number(),
|
|
897
|
+
pending: types.number(),
|
|
898
|
+
});
|
|
899
|
+
export function progressFromJSON(jsonString) {
|
|
900
|
+
return safeParse(jsonString, (x) => Progress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Progress' from JSON`);
|
|
901
|
+
}
|
|
902
|
+
/** @internal */
|
|
903
|
+
export const ResultStatus$inboundSchema = openEnums.inboundSchema(ResultStatus);
|
|
904
|
+
/** @internal */
|
|
905
|
+
export const Result$inboundSchema = z.object({
|
|
906
|
+
profile: types.string(),
|
|
907
|
+
status: ResultStatus$inboundSchema,
|
|
908
|
+
contactId: z.optional(z.nullable(types.string())),
|
|
909
|
+
error: z.optional(z.nullable(types.string())),
|
|
910
|
+
});
|
|
911
|
+
export function resultFromJSON(jsonString) {
|
|
912
|
+
return safeParse(jsonString, (x) => Result$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Result' from JSON`);
|
|
913
|
+
}
|
|
914
|
+
/** @internal */
|
|
915
|
+
export const BulkVisitBatchStatusResponse$inboundSchema = z.object({
|
|
916
|
+
batchId: types.string(),
|
|
917
|
+
status: BulkVisitBatchStatusStatus$inboundSchema,
|
|
918
|
+
progress: z.lazy(() => Progress$inboundSchema),
|
|
919
|
+
creditsUsed: types.number(),
|
|
920
|
+
failureReason: z.optional(z.nullable(types.string())),
|
|
921
|
+
results: types.optional(z.array(z.lazy(() => Result$inboundSchema))),
|
|
922
|
+
});
|
|
923
|
+
export function bulkVisitBatchStatusResponseFromJSON(jsonString) {
|
|
924
|
+
return safeParse(jsonString, (x) => BulkVisitBatchStatusResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BulkVisitBatchStatusResponse' from JSON`);
|
|
925
|
+
}
|
|
926
|
+
/** @internal */
|
|
927
|
+
export const VisitCompanyRequest$outboundSchema = z.object({
|
|
928
|
+
companyUrl: z.string(),
|
|
929
|
+
includeWorkplacePolicy: z.optional(z.boolean()),
|
|
930
|
+
});
|
|
931
|
+
export function visitCompanyRequestToJSON(visitCompanyRequest) {
|
|
932
|
+
return JSON.stringify(VisitCompanyRequest$outboundSchema.parse(visitCompanyRequest));
|
|
933
|
+
}
|
|
934
|
+
/** @internal */
|
|
935
|
+
export const EmployeeCountRange$inboundSchema = z.object({
|
|
936
|
+
start: types.number(),
|
|
937
|
+
end: types.nullable(types.number()),
|
|
938
|
+
});
|
|
939
|
+
export function employeeCountRangeFromJSON(jsonString) {
|
|
940
|
+
return safeParse(jsonString, (x) => EmployeeCountRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EmployeeCountRange' from JSON`);
|
|
941
|
+
}
|
|
942
|
+
/** @internal */
|
|
943
|
+
export const VisitCompanyHeadquarter$inboundSchema = z.object({
|
|
944
|
+
country: types.nullable(types.string()),
|
|
945
|
+
geographicArea: types.nullable(types.string()),
|
|
946
|
+
city: types.nullable(types.string()),
|
|
947
|
+
postalCode: types.nullable(types.string()),
|
|
948
|
+
line1: types.nullable(types.string()),
|
|
949
|
+
line2: types.nullable(types.string()),
|
|
950
|
+
});
|
|
951
|
+
export function visitCompanyHeadquarterFromJSON(jsonString) {
|
|
952
|
+
return safeParse(jsonString, (x) => VisitCompanyHeadquarter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitCompanyHeadquarter' from JSON`);
|
|
953
|
+
}
|
|
954
|
+
/** @internal */
|
|
955
|
+
export const VisitCompanyFoundedOn$inboundSchema = z.object({
|
|
956
|
+
year: types.number(),
|
|
957
|
+
});
|
|
958
|
+
export function visitCompanyFoundedOnFromJSON(jsonString) {
|
|
959
|
+
return safeParse(jsonString, (x) => VisitCompanyFoundedOn$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitCompanyFoundedOn' from JSON`);
|
|
960
|
+
}
|
|
961
|
+
/** @internal */
|
|
962
|
+
export const CallToAction$inboundSchema = z.object({
|
|
963
|
+
type: types.string(),
|
|
964
|
+
url: types.string(),
|
|
965
|
+
});
|
|
966
|
+
export function callToActionFromJSON(jsonString) {
|
|
967
|
+
return safeParse(jsonString, (x) => CallToAction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CallToAction' from JSON`);
|
|
968
|
+
}
|
|
969
|
+
/** @internal */
|
|
970
|
+
export const AffiliatedCompany$inboundSchema = z.object({
|
|
971
|
+
id: types.string(),
|
|
972
|
+
universalName: types.string(),
|
|
973
|
+
name: types.string(),
|
|
974
|
+
url: types.nullable(types.string()),
|
|
975
|
+
logoUrl: types.nullable(types.string()),
|
|
976
|
+
followerCount: types.nullable(types.number()),
|
|
977
|
+
industry: types.nullable(types.string()),
|
|
978
|
+
});
|
|
979
|
+
export function affiliatedCompanyFromJSON(jsonString) {
|
|
980
|
+
return safeParse(jsonString, (x) => AffiliatedCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AffiliatedCompany' from JSON`);
|
|
981
|
+
}
|
|
982
|
+
/** @internal */
|
|
983
|
+
export const SimilarCompany$inboundSchema = z.object({
|
|
984
|
+
id: types.string(),
|
|
985
|
+
universalName: types.string(),
|
|
986
|
+
name: types.string(),
|
|
987
|
+
url: types.nullable(types.string()),
|
|
988
|
+
logoUrl: types.nullable(types.string()),
|
|
989
|
+
followerCount: types.nullable(types.number()),
|
|
990
|
+
industry: types.nullable(types.string()),
|
|
991
|
+
});
|
|
992
|
+
export function similarCompanyFromJSON(jsonString) {
|
|
993
|
+
return safeParse(jsonString, (x) => SimilarCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SimilarCompany' from JSON`);
|
|
994
|
+
}
|
|
995
|
+
/** @internal */
|
|
996
|
+
export const WorkplacePolicy$inboundSchema = z.object({
|
|
997
|
+
title: types.nullable(types.string()),
|
|
998
|
+
description: types.nullable(types.string()),
|
|
999
|
+
timeAtOnsite: types.nullable(types.string()),
|
|
1000
|
+
benefits: z.array(types.string()),
|
|
1001
|
+
});
|
|
1002
|
+
export function workplacePolicyFromJSON(jsonString) {
|
|
1003
|
+
return safeParse(jsonString, (x) => WorkplacePolicy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkplacePolicy' from JSON`);
|
|
1004
|
+
}
|
|
1005
|
+
/** @internal */
|
|
1006
|
+
export const VisitCompanyResponse$inboundSchema = z.object({
|
|
1007
|
+
success: types.literal(true),
|
|
1008
|
+
id: types.string(),
|
|
1009
|
+
universalName: types.string(),
|
|
1010
|
+
name: types.string(),
|
|
1011
|
+
description: types.nullable(types.string()),
|
|
1012
|
+
url: types.string(),
|
|
1013
|
+
websiteUrl: types.nullable(types.string()),
|
|
1014
|
+
industry: types.nullable(types.string()),
|
|
1015
|
+
employeeCount: types.nullable(types.number()),
|
|
1016
|
+
employeeCountRange: types.nullable(z.lazy(() => EmployeeCountRange$inboundSchema)),
|
|
1017
|
+
headquarter: types.nullable(z.lazy(() => VisitCompanyHeadquarter$inboundSchema)),
|
|
1018
|
+
logoUrl: types.nullable(types.string()),
|
|
1019
|
+
coverImageUrl: types.nullable(types.string()),
|
|
1020
|
+
followerCount: types.nullable(types.number()),
|
|
1021
|
+
specialities: z.array(types.string()),
|
|
1022
|
+
tagline: types.nullable(types.string()),
|
|
1023
|
+
isVerified: types.boolean(),
|
|
1024
|
+
foundedOn: types.nullable(z.lazy(() => VisitCompanyFoundedOn$inboundSchema)),
|
|
1025
|
+
phone: types.nullable(types.string()),
|
|
1026
|
+
callToAction: types.nullable(z.lazy(() => CallToAction$inboundSchema)),
|
|
1027
|
+
hashtags: z.array(types.string()),
|
|
1028
|
+
affiliatedCompanies: z.array(z.lazy(() => AffiliatedCompany$inboundSchema)),
|
|
1029
|
+
similarCompanies: z.array(z.lazy(() => SimilarCompany$inboundSchema)),
|
|
1030
|
+
workplacePolicy: types.nullable(z.lazy(() => WorkplacePolicy$inboundSchema)),
|
|
1031
|
+
creditsUsed: types.number(),
|
|
1032
|
+
retryAfter: types.number(),
|
|
1033
|
+
});
|
|
1034
|
+
export function visitCompanyResponseFromJSON(jsonString) {
|
|
1035
|
+
return safeParse(jsonString, (x) => VisitCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitCompanyResponse' from JSON`);
|
|
1036
|
+
}
|
|
1037
|
+
/** @internal */
|
|
1038
|
+
export const ListSavedPostsRequest$outboundSchema = z.object({
|
|
1039
|
+
start: z._default(z.int(), 0),
|
|
1040
|
+
count: z._default(z.int(), 20),
|
|
1041
|
+
});
|
|
1042
|
+
export function listSavedPostsRequestToJSON(listSavedPostsRequest) {
|
|
1043
|
+
return JSON.stringify(ListSavedPostsRequest$outboundSchema.parse(listSavedPostsRequest));
|
|
1044
|
+
}
|
|
1045
|
+
/** @internal */
|
|
1046
|
+
export const ListSavedPostsAuthor$inboundSchema = z.object({
|
|
1047
|
+
name: types.string(),
|
|
1048
|
+
profileUrl: types.nullable(types.string()),
|
|
1049
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1050
|
+
profileUrn: types.nullable(types.string()),
|
|
1051
|
+
});
|
|
1052
|
+
export function listSavedPostsAuthorFromJSON(jsonString) {
|
|
1053
|
+
return safeParse(jsonString, (x) => ListSavedPostsAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSavedPostsAuthor' from JSON`);
|
|
1054
|
+
}
|
|
1055
|
+
/** @internal */
|
|
1056
|
+
export const ListSavedPostsType$inboundSchema = openEnums.inboundSchema(ListSavedPostsType);
|
|
1057
|
+
/** @internal */
|
|
1058
|
+
export const ListSavedPostsMedia$inboundSchema = z.object({
|
|
1059
|
+
type: ListSavedPostsType$inboundSchema,
|
|
1060
|
+
urls: z.array(types.string()),
|
|
1061
|
+
title: types.optional(types.string()),
|
|
1062
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1063
|
+
});
|
|
1064
|
+
export function listSavedPostsMediaFromJSON(jsonString) {
|
|
1065
|
+
return safeParse(jsonString, (x) => ListSavedPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSavedPostsMedia' from JSON`);
|
|
1066
|
+
}
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export const ListSavedPostsPost$inboundSchema = z.object({
|
|
1069
|
+
postUrl: types.string(),
|
|
1070
|
+
postUrn: types.string(),
|
|
1071
|
+
postId: types.string(),
|
|
1072
|
+
text: types.string(),
|
|
1073
|
+
date: types.number(),
|
|
1074
|
+
likesCount: types.number(),
|
|
1075
|
+
commentsCount: types.number(),
|
|
1076
|
+
sharesCount: types.number(),
|
|
1077
|
+
author: z.lazy(() => ListSavedPostsAuthor$inboundSchema),
|
|
1078
|
+
media: types.optional(z.lazy(() => ListSavedPostsMedia$inboundSchema)),
|
|
1079
|
+
});
|
|
1080
|
+
export function listSavedPostsPostFromJSON(jsonString) {
|
|
1081
|
+
return safeParse(jsonString, (x) => ListSavedPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSavedPostsPost' from JSON`);
|
|
1082
|
+
}
|
|
1083
|
+
/** @internal */
|
|
1084
|
+
export const ListSavedPostsResponse$inboundSchema = z.object({
|
|
1085
|
+
success: types.literal(true),
|
|
1086
|
+
posts: z.array(z.lazy(() => ListSavedPostsPost$inboundSchema)),
|
|
1087
|
+
total: types.nullable(types.number()),
|
|
1088
|
+
hasMore: types.boolean(),
|
|
1089
|
+
creditsUsed: types.number(),
|
|
1090
|
+
retryAfter: types.number(),
|
|
1091
|
+
});
|
|
1092
|
+
export function listSavedPostsResponseFromJSON(jsonString) {
|
|
1093
|
+
return safeParse(jsonString, (x) => ListSavedPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSavedPostsResponse' from JSON`);
|
|
1094
|
+
}
|
|
1095
|
+
/** @internal */
|
|
1096
|
+
export const SortOrder$outboundSchema = z.enum(SortOrder);
|
|
1097
|
+
/** @internal */
|
|
1098
|
+
export const GetFeedRequest$outboundSchema = z.object({
|
|
1099
|
+
count: z._default(z.int(), 20),
|
|
1100
|
+
sortOrder: z._default(SortOrder$outboundSchema, "RELEVANCE"),
|
|
1101
|
+
});
|
|
1102
|
+
export function getFeedRequestToJSON(getFeedRequest) {
|
|
1103
|
+
return JSON.stringify(GetFeedRequest$outboundSchema.parse(getFeedRequest));
|
|
1104
|
+
}
|
|
1105
|
+
/** @internal */
|
|
1106
|
+
export const GetFeedType$inboundSchema = openEnums.inboundSchema(GetFeedType);
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export const GetFeedMediaType$inboundSchema = openEnums.inboundSchema(GetFeedMediaType);
|
|
1109
|
+
/** @internal */
|
|
1110
|
+
export const GetFeedMedia$inboundSchema = z.object({
|
|
1111
|
+
type: GetFeedMediaType$inboundSchema,
|
|
1112
|
+
urls: z.array(types.string()),
|
|
1113
|
+
title: types.optional(types.string()),
|
|
1114
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1115
|
+
});
|
|
1116
|
+
export function getFeedMediaFromJSON(jsonString) {
|
|
1117
|
+
return safeParse(jsonString, (x) => GetFeedMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFeedMedia' from JSON`);
|
|
1118
|
+
}
|
|
1119
|
+
/** @internal */
|
|
1120
|
+
export const GetFeedPost$inboundSchema = z
|
|
1121
|
+
.object({
|
|
1122
|
+
postUrl: types.string(),
|
|
1123
|
+
text: types.string(),
|
|
1124
|
+
date: types.number(),
|
|
1125
|
+
likesCount: types.number(),
|
|
1126
|
+
commentsCount: types.number(),
|
|
1127
|
+
sharesCount: types.number(),
|
|
1128
|
+
postUrn: types.string(),
|
|
1129
|
+
postId: types.string(),
|
|
1130
|
+
type: GetFeedType$inboundSchema,
|
|
1131
|
+
media: types.optional(z.lazy(() => GetFeedMedia$inboundSchema)),
|
|
1132
|
+
});
|
|
1133
|
+
export function getFeedPostFromJSON(jsonString) {
|
|
1134
|
+
return safeParse(jsonString, (x) => GetFeedPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFeedPost' from JSON`);
|
|
1135
|
+
}
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export const GetFeedResponse$inboundSchema = z.object({
|
|
1138
|
+
success: types.literal(true),
|
|
1139
|
+
posts: z.array(z.lazy(() => GetFeedPost$inboundSchema)),
|
|
1140
|
+
creditsUsed: types.number(),
|
|
1141
|
+
retryAfter: types.number(),
|
|
1142
|
+
});
|
|
1143
|
+
export function getFeedResponseFromJSON(jsonString) {
|
|
1144
|
+
return safeParse(jsonString, (x) => GetFeedResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFeedResponse' from JSON`);
|
|
1145
|
+
}
|
|
1146
|
+
/** @internal */
|
|
1147
|
+
export const CollectHashtagPostsRequest$outboundSchema = z.object({
|
|
1148
|
+
hashtag: z.string(),
|
|
1149
|
+
start: z._default(z.int(), 0),
|
|
1150
|
+
count: z._default(z.int(), 20),
|
|
1151
|
+
});
|
|
1152
|
+
export function collectHashtagPostsRequestToJSON(collectHashtagPostsRequest) {
|
|
1153
|
+
return JSON.stringify(CollectHashtagPostsRequest$outboundSchema.parse(collectHashtagPostsRequest));
|
|
1154
|
+
}
|
|
1155
|
+
/** @internal */
|
|
1156
|
+
export const CollectHashtagPostsAuthor$inboundSchema = z.object({
|
|
1157
|
+
name: types.string(),
|
|
1158
|
+
profileUrl: types.nullable(types.string()),
|
|
1159
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1160
|
+
profileUrn: types.nullable(types.string()),
|
|
1161
|
+
});
|
|
1162
|
+
export function collectHashtagPostsAuthorFromJSON(jsonString) {
|
|
1163
|
+
return safeParse(jsonString, (x) => CollectHashtagPostsAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectHashtagPostsAuthor' from JSON`);
|
|
1164
|
+
}
|
|
1165
|
+
/** @internal */
|
|
1166
|
+
export const CollectHashtagPostsType$inboundSchema = openEnums.inboundSchema(CollectHashtagPostsType);
|
|
1167
|
+
/** @internal */
|
|
1168
|
+
export const CollectHashtagPostsMedia$inboundSchema = z.object({
|
|
1169
|
+
type: CollectHashtagPostsType$inboundSchema,
|
|
1170
|
+
urls: z.array(types.string()),
|
|
1171
|
+
title: types.optional(types.string()),
|
|
1172
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1173
|
+
});
|
|
1174
|
+
export function collectHashtagPostsMediaFromJSON(jsonString) {
|
|
1175
|
+
return safeParse(jsonString, (x) => CollectHashtagPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectHashtagPostsMedia' from JSON`);
|
|
1176
|
+
}
|
|
1177
|
+
/** @internal */
|
|
1178
|
+
export const CollectHashtagPostsPost$inboundSchema = z.object({
|
|
1179
|
+
postUrl: types.string(),
|
|
1180
|
+
postUrn: types.string(),
|
|
1181
|
+
text: types.string(),
|
|
1182
|
+
date: types.number(),
|
|
1183
|
+
likesCount: types.number(),
|
|
1184
|
+
commentsCount: types.number(),
|
|
1185
|
+
sharesCount: types.number(),
|
|
1186
|
+
author: z.lazy(() => CollectHashtagPostsAuthor$inboundSchema),
|
|
1187
|
+
media: types.optional(z.lazy(() => CollectHashtagPostsMedia$inboundSchema)),
|
|
1188
|
+
});
|
|
1189
|
+
export function collectHashtagPostsPostFromJSON(jsonString) {
|
|
1190
|
+
return safeParse(jsonString, (x) => CollectHashtagPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectHashtagPostsPost' from JSON`);
|
|
1191
|
+
}
|
|
1192
|
+
/** @internal */
|
|
1193
|
+
export const CollectHashtagPostsResponse$inboundSchema = z.object({
|
|
1194
|
+
success: types.literal(true),
|
|
1195
|
+
posts: z.array(z.lazy(() => CollectHashtagPostsPost$inboundSchema)),
|
|
1196
|
+
total: types.number(),
|
|
1197
|
+
hasMore: types.boolean(),
|
|
1198
|
+
creditsUsed: types.number(),
|
|
1199
|
+
retryAfter: types.number(),
|
|
1200
|
+
});
|
|
1201
|
+
export function collectHashtagPostsResponseFromJSON(jsonString) {
|
|
1202
|
+
return safeParse(jsonString, (x) => CollectHashtagPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectHashtagPostsResponse' from JSON`);
|
|
1203
|
+
}
|
|
1204
|
+
/** @internal */
|
|
1205
|
+
export const SearchCategoryRequest$outboundSchema = z.enum(SearchCategoryRequest);
|
|
1206
|
+
/** @internal */
|
|
1207
|
+
export const SortBy$outboundSchema = z.enum(SortBy);
|
|
1208
|
+
/** @internal */
|
|
1209
|
+
export const DatePosted$outboundSchema = z
|
|
1210
|
+
.enum(DatePosted);
|
|
1211
|
+
/** @internal */
|
|
1212
|
+
export const ContentType$outboundSchema = z
|
|
1213
|
+
.enum(ContentType);
|
|
1214
|
+
/** @internal */
|
|
1215
|
+
export const ConnectionDegree$outboundSchema = z.enum(ConnectionDegree);
|
|
1216
|
+
/** @internal */
|
|
1217
|
+
export const CompanySize$outboundSchema = z
|
|
1218
|
+
.enum(CompanySize);
|
|
1219
|
+
/** @internal */
|
|
1220
|
+
export const JobType$outboundSchema = z.enum(JobType);
|
|
1221
|
+
/** @internal */
|
|
1222
|
+
export const ExperienceLevel$outboundSchema = z.enum(ExperienceLevel);
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export const WorkplaceType$outboundSchema = z.enum(WorkplaceType);
|
|
1225
|
+
/** @internal */
|
|
1226
|
+
export const SearchRequest$outboundSchema = z.object({
|
|
1227
|
+
category: z.optional(SearchCategoryRequest$outboundSchema),
|
|
1228
|
+
url: z.optional(z.string()),
|
|
1229
|
+
keywords: z.optional(z.string()),
|
|
1230
|
+
sortBy: z.optional(SortBy$outboundSchema),
|
|
1231
|
+
datePosted: z.optional(DatePosted$outboundSchema),
|
|
1232
|
+
contentType: z.optional(ContentType$outboundSchema),
|
|
1233
|
+
authorIndustry: z.optional(z.array(z.string())),
|
|
1234
|
+
authorCompany: z.optional(z.array(z.string())),
|
|
1235
|
+
connectionDegree: z.optional(z.array(ConnectionDegree$outboundSchema)),
|
|
1236
|
+
firstName: z.optional(z.string()),
|
|
1237
|
+
lastName: z.optional(z.string()),
|
|
1238
|
+
title: z.optional(z.string()),
|
|
1239
|
+
connectionOf: z.optional(z.string()),
|
|
1240
|
+
profileLanguage: z.optional(z.array(z.string())),
|
|
1241
|
+
school: z.optional(z.array(z.string())),
|
|
1242
|
+
location: z.optional(z.array(z.string())),
|
|
1243
|
+
industry: z.optional(z.array(z.string())),
|
|
1244
|
+
currentCompany: z.optional(z.array(z.string())),
|
|
1245
|
+
pastCompany: z.optional(z.array(z.string())),
|
|
1246
|
+
companySize: z.optional(z.array(CompanySize$outboundSchema)),
|
|
1247
|
+
jobType: z.optional(z.array(JobType$outboundSchema)),
|
|
1248
|
+
experienceLevel: z.optional(z.array(ExperienceLevel$outboundSchema)),
|
|
1249
|
+
workplaceType: z.optional(z.array(WorkplaceType$outboundSchema)),
|
|
1250
|
+
start: z.optional(z.int()),
|
|
1251
|
+
count: z.optional(z.int()),
|
|
1252
|
+
});
|
|
1253
|
+
export function searchRequestToJSON(searchRequest) {
|
|
1254
|
+
return JSON.stringify(SearchRequest$outboundSchema.parse(searchRequest));
|
|
1255
|
+
}
|
|
1256
|
+
/** @internal */
|
|
1257
|
+
export const SearchCategoryResponseBody$inboundSchema = openEnums.inboundSchema(SearchCategoryResponseBody);
|
|
1258
|
+
/** @internal */
|
|
1259
|
+
export const ItemsTypeJob$inboundSchema = z
|
|
1260
|
+
.enum(ItemsTypeJob);
|
|
1261
|
+
/** @internal */
|
|
1262
|
+
export const ItemsJob$inboundSchema = z
|
|
1263
|
+
.object({
|
|
1264
|
+
type: ItemsTypeJob$inboundSchema,
|
|
1265
|
+
title: types.string(),
|
|
1266
|
+
company: types.nullable(types.string()),
|
|
1267
|
+
companyUrl: types.nullable(types.string()),
|
|
1268
|
+
companyLogo: types.nullable(types.string()),
|
|
1269
|
+
location: types.nullable(types.string()),
|
|
1270
|
+
workplaceType: types.nullable(types.string()),
|
|
1271
|
+
postedAt: types.nullable(types.string()),
|
|
1272
|
+
jobUrl: types.string(),
|
|
1273
|
+
listingId: types.string(),
|
|
1274
|
+
});
|
|
1275
|
+
export function itemsJobFromJSON(jsonString) {
|
|
1276
|
+
return safeParse(jsonString, (x) => ItemsJob$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsJob' from JSON`);
|
|
1277
|
+
}
|
|
1278
|
+
/** @internal */
|
|
1279
|
+
export const ItemsTypeCompany$inboundSchema = z.enum(ItemsTypeCompany);
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
export const ItemsCompany$inboundSchema = z.object({
|
|
1282
|
+
type: ItemsTypeCompany$inboundSchema,
|
|
1283
|
+
name: types.string(),
|
|
1284
|
+
profileUrl: types.nullable(types.string()),
|
|
1285
|
+
summary: types.nullable(types.string()),
|
|
1286
|
+
industry: types.nullable(types.string()),
|
|
1287
|
+
location: types.nullable(types.string()),
|
|
1288
|
+
followersCount: types.nullable(types.number()),
|
|
1289
|
+
});
|
|
1290
|
+
export function itemsCompanyFromJSON(jsonString) {
|
|
1291
|
+
return safeParse(jsonString, (x) => ItemsCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsCompany' from JSON`);
|
|
1292
|
+
}
|
|
1293
|
+
/** @internal */
|
|
1294
|
+
export const ItemsTypePeople$inboundSchema = z.enum(ItemsTypePeople);
|
|
1295
|
+
/** @internal */
|
|
1296
|
+
export const ItemsNetworkDistance$inboundSchema = openEnums.inboundSchema(ItemsNetworkDistance);
|
|
1297
|
+
/** @internal */
|
|
1298
|
+
export const ItemsCurrentPosition$inboundSchema = z.object({
|
|
1299
|
+
company: types.nullable(types.string()),
|
|
1300
|
+
role: types.nullable(types.string()),
|
|
1301
|
+
});
|
|
1302
|
+
export function itemsCurrentPositionFromJSON(jsonString) {
|
|
1303
|
+
return safeParse(jsonString, (x) => ItemsCurrentPosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsCurrentPosition' from JSON`);
|
|
1304
|
+
}
|
|
1305
|
+
/** @internal */
|
|
1306
|
+
export const ItemsPeople$inboundSchema = z
|
|
1307
|
+
.object({
|
|
1308
|
+
type: ItemsTypePeople$inboundSchema,
|
|
1309
|
+
name: types.string(),
|
|
1310
|
+
profileUrl: types.nullable(types.string()),
|
|
1311
|
+
headline: types.nullable(types.string()),
|
|
1312
|
+
location: types.nullable(types.string()),
|
|
1313
|
+
profilePicture: types.nullable(types.string()),
|
|
1314
|
+
networkDistance: types.nullable(ItemsNetworkDistance$inboundSchema),
|
|
1315
|
+
currentPositions: z.array(z.lazy(() => ItemsCurrentPosition$inboundSchema)),
|
|
1316
|
+
profileUrn: types.nullable(types.string()),
|
|
1317
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1318
|
+
});
|
|
1319
|
+
export function itemsPeopleFromJSON(jsonString) {
|
|
1320
|
+
return safeParse(jsonString, (x) => ItemsPeople$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsPeople' from JSON`);
|
|
1321
|
+
}
|
|
1322
|
+
/** @internal */
|
|
1323
|
+
export const ItemsTypePost$inboundSchema = z.enum(ItemsTypePost);
|
|
1324
|
+
/** @internal */
|
|
1325
|
+
export const ItemsAuthor$inboundSchema = z
|
|
1326
|
+
.object({
|
|
1327
|
+
name: types.string(),
|
|
1328
|
+
profileUrl: types.nullable(types.string()),
|
|
1329
|
+
headline: types.nullable(types.string()),
|
|
1330
|
+
profilePicture: types.nullable(types.string()),
|
|
1331
|
+
isCompany: types.boolean(),
|
|
1332
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1333
|
+
profileUrn: types.nullable(types.string()),
|
|
1334
|
+
});
|
|
1335
|
+
export function itemsAuthorFromJSON(jsonString) {
|
|
1336
|
+
return safeParse(jsonString, (x) => ItemsAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsAuthor' from JSON`);
|
|
1337
|
+
}
|
|
1338
|
+
/** @internal */
|
|
1339
|
+
export const ItemsMediaType$inboundSchema = openEnums.inboundSchema(ItemsMediaType);
|
|
1340
|
+
/** @internal */
|
|
1341
|
+
export const ItemsMedia$inboundSchema = z
|
|
1342
|
+
.object({
|
|
1343
|
+
type: ItemsMediaType$inboundSchema,
|
|
1344
|
+
urls: z.array(types.string()),
|
|
1345
|
+
title: types.optional(types.string()),
|
|
1346
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1347
|
+
});
|
|
1348
|
+
export function itemsMediaFromJSON(jsonString) {
|
|
1349
|
+
return safeParse(jsonString, (x) => ItemsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsMedia' from JSON`);
|
|
1350
|
+
}
|
|
1351
|
+
/** @internal */
|
|
1352
|
+
export const ItemsPost$inboundSchema = z
|
|
1353
|
+
.object({
|
|
1354
|
+
type: ItemsTypePost$inboundSchema,
|
|
1355
|
+
postUrl: types.string(),
|
|
1356
|
+
text: types.string(),
|
|
1357
|
+
date: types.number(),
|
|
1358
|
+
likesCount: types.number(),
|
|
1359
|
+
commentsCount: types.number(),
|
|
1360
|
+
sharesCount: types.number(),
|
|
1361
|
+
postUrn: types.string(),
|
|
1362
|
+
postId: types.string(),
|
|
1363
|
+
author: z.lazy(() => ItemsAuthor$inboundSchema),
|
|
1364
|
+
isRepost: types.boolean(),
|
|
1365
|
+
media: types.optional(z.lazy(() => ItemsMedia$inboundSchema)),
|
|
1366
|
+
});
|
|
1367
|
+
export function itemsPostFromJSON(jsonString) {
|
|
1368
|
+
return safeParse(jsonString, (x) => ItemsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ItemsPost' from JSON`);
|
|
1369
|
+
}
|
|
1370
|
+
/** @internal */
|
|
1371
|
+
export const Items$inboundSchema = smartUnion([
|
|
1372
|
+
z.array(z.lazy(() => ItemsPost$inboundSchema)),
|
|
1373
|
+
z.array(z.lazy(() => ItemsPeople$inboundSchema)),
|
|
1374
|
+
z.array(z.lazy(() => ItemsCompany$inboundSchema)),
|
|
1375
|
+
z.array(z.lazy(() => ItemsJob$inboundSchema)),
|
|
1376
|
+
]);
|
|
1377
|
+
export function itemsFromJSON(jsonString) {
|
|
1378
|
+
return safeParse(jsonString, (x) => Items$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Items' from JSON`);
|
|
1379
|
+
}
|
|
1380
|
+
/** @internal */
|
|
1381
|
+
export const SearchPagingResponseBody$inboundSchema = z.object({
|
|
1382
|
+
start: types.number(),
|
|
1383
|
+
count: types.number(),
|
|
1384
|
+
total: types.number(),
|
|
1385
|
+
});
|
|
1386
|
+
export function searchPagingResponseBodyFromJSON(jsonString) {
|
|
1387
|
+
return safeParse(jsonString, (x) => SearchPagingResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPagingResponseBody' from JSON`);
|
|
1388
|
+
}
|
|
1389
|
+
/** @internal */
|
|
1390
|
+
export const SearchResponse$inboundSchema = z.object({
|
|
1391
|
+
success: types.literal(true),
|
|
1392
|
+
category: SearchCategoryResponseBody$inboundSchema,
|
|
1393
|
+
items: smartUnion([
|
|
1394
|
+
z.array(z.lazy(() => ItemsPost$inboundSchema)),
|
|
1395
|
+
z.array(z.lazy(() => ItemsPeople$inboundSchema)),
|
|
1396
|
+
z.array(z.lazy(() => ItemsCompany$inboundSchema)),
|
|
1397
|
+
z.array(z.lazy(() => ItemsJob$inboundSchema)),
|
|
1398
|
+
]),
|
|
1399
|
+
paging: z.lazy(() => SearchPagingResponseBody$inboundSchema),
|
|
1400
|
+
hasMore: types.boolean(),
|
|
1401
|
+
creditsUsed: types.number(),
|
|
1402
|
+
retryAfter: types.number(),
|
|
1403
|
+
});
|
|
1404
|
+
export function searchResponseFromJSON(jsonString) {
|
|
1405
|
+
return safeParse(jsonString, (x) => SearchResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchResponse' from JSON`);
|
|
1406
|
+
}
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export const SearchPostsSortBy$outboundSchema = z.enum(SearchPostsSortBy);
|
|
1409
|
+
/** @internal */
|
|
1410
|
+
export const SearchPostsDatePosted$outboundSchema = z.enum(SearchPostsDatePosted);
|
|
1411
|
+
/** @internal */
|
|
1412
|
+
export const SearchPostsContentType$outboundSchema = z.enum(SearchPostsContentType);
|
|
1413
|
+
/** @internal */
|
|
1414
|
+
export const SearchPostsRequest$outboundSchema = z.object({
|
|
1415
|
+
keywords: z.string(),
|
|
1416
|
+
url: z.optional(z.string()),
|
|
1417
|
+
sortBy: z.optional(SearchPostsSortBy$outboundSchema),
|
|
1418
|
+
datePosted: z.optional(SearchPostsDatePosted$outboundSchema),
|
|
1419
|
+
contentType: z.optional(SearchPostsContentType$outboundSchema),
|
|
1420
|
+
authorIndustry: z.optional(z.array(z.string())),
|
|
1421
|
+
authorCompany: z.optional(z.array(z.string())),
|
|
1422
|
+
start: z.optional(z.int()),
|
|
1423
|
+
count: z.optional(z.int()),
|
|
1424
|
+
});
|
|
1425
|
+
export function searchPostsRequestToJSON(searchPostsRequest) {
|
|
1426
|
+
return JSON.stringify(SearchPostsRequest$outboundSchema.parse(searchPostsRequest));
|
|
1427
|
+
}
|
|
1428
|
+
/** @internal */
|
|
1429
|
+
export const SearchPostsCategory$inboundSchema = z.enum(SearchPostsCategory);
|
|
1430
|
+
/** @internal */
|
|
1431
|
+
export const SearchPostsType$inboundSchema = z.enum(SearchPostsType);
|
|
1432
|
+
/** @internal */
|
|
1433
|
+
export const SearchPostsAuthor$inboundSchema = z.object({
|
|
1434
|
+
name: types.string(),
|
|
1435
|
+
profileUrl: types.nullable(types.string()),
|
|
1436
|
+
headline: types.nullable(types.string()),
|
|
1437
|
+
profilePicture: types.nullable(types.string()),
|
|
1438
|
+
isCompany: types.boolean(),
|
|
1439
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1440
|
+
profileUrn: types.nullable(types.string()),
|
|
1441
|
+
});
|
|
1442
|
+
export function searchPostsAuthorFromJSON(jsonString) {
|
|
1443
|
+
return safeParse(jsonString, (x) => SearchPostsAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPostsAuthor' from JSON`);
|
|
1444
|
+
}
|
|
1445
|
+
/** @internal */
|
|
1446
|
+
export const SearchPostsMediaType$inboundSchema = openEnums.inboundSchema(SearchPostsMediaType);
|
|
1447
|
+
/** @internal */
|
|
1448
|
+
export const SearchPostsMedia$inboundSchema = z.object({
|
|
1449
|
+
type: SearchPostsMediaType$inboundSchema,
|
|
1450
|
+
urls: z.array(types.string()),
|
|
1451
|
+
title: types.optional(types.string()),
|
|
1452
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1453
|
+
});
|
|
1454
|
+
export function searchPostsMediaFromJSON(jsonString) {
|
|
1455
|
+
return safeParse(jsonString, (x) => SearchPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPostsMedia' from JSON`);
|
|
1456
|
+
}
|
|
1457
|
+
/** @internal */
|
|
1458
|
+
export const SearchPostsItem$inboundSchema = z.object({
|
|
1459
|
+
type: SearchPostsType$inboundSchema,
|
|
1460
|
+
postUrl: types.string(),
|
|
1461
|
+
text: types.string(),
|
|
1462
|
+
date: types.number(),
|
|
1463
|
+
likesCount: types.number(),
|
|
1464
|
+
commentsCount: types.number(),
|
|
1465
|
+
sharesCount: types.number(),
|
|
1466
|
+
postUrn: types.string(),
|
|
1467
|
+
postId: types.string(),
|
|
1468
|
+
author: z.lazy(() => SearchPostsAuthor$inboundSchema),
|
|
1469
|
+
isRepost: types.boolean(),
|
|
1470
|
+
media: types.optional(z.lazy(() => SearchPostsMedia$inboundSchema)),
|
|
1471
|
+
});
|
|
1472
|
+
export function searchPostsItemFromJSON(jsonString) {
|
|
1473
|
+
return safeParse(jsonString, (x) => SearchPostsItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPostsItem' from JSON`);
|
|
1474
|
+
}
|
|
1475
|
+
/** @internal */
|
|
1476
|
+
export const SearchPostsPaging$inboundSchema = z.object({
|
|
1477
|
+
start: types.number(),
|
|
1478
|
+
count: types.number(),
|
|
1479
|
+
total: types.number(),
|
|
1480
|
+
});
|
|
1481
|
+
export function searchPostsPagingFromJSON(jsonString) {
|
|
1482
|
+
return safeParse(jsonString, (x) => SearchPostsPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPostsPaging' from JSON`);
|
|
1483
|
+
}
|
|
1484
|
+
/** @internal */
|
|
1485
|
+
export const SearchPostsResponse$inboundSchema = z.object({
|
|
1486
|
+
success: types.literal(true),
|
|
1487
|
+
category: SearchPostsCategory$inboundSchema,
|
|
1488
|
+
items: z.array(z.lazy(() => SearchPostsItem$inboundSchema)),
|
|
1489
|
+
paging: z.lazy(() => SearchPostsPaging$inboundSchema),
|
|
1490
|
+
hasMore: types.boolean(),
|
|
1491
|
+
creditsUsed: types.number(),
|
|
1492
|
+
retryAfter: types.number(),
|
|
1493
|
+
});
|
|
1494
|
+
export function searchPostsResponseFromJSON(jsonString) {
|
|
1495
|
+
return safeParse(jsonString, (x) => SearchPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPostsResponse' from JSON`);
|
|
1496
|
+
}
|
|
1497
|
+
/** @internal */
|
|
1498
|
+
export const SearchPeopleConnectionDegree$outboundSchema = z.enum(SearchPeopleConnectionDegree);
|
|
1499
|
+
/** @internal */
|
|
1500
|
+
export const SearchPeopleRequest$outboundSchema = z.object({
|
|
1501
|
+
keywords: z.optional(z.string()),
|
|
1502
|
+
url: z.optional(z.string()),
|
|
1503
|
+
connectionDegree: z.optional(z.array(SearchPeopleConnectionDegree$outboundSchema)),
|
|
1504
|
+
firstName: z.optional(z.string()),
|
|
1505
|
+
lastName: z.optional(z.string()),
|
|
1506
|
+
title: z.optional(z.string()),
|
|
1507
|
+
connectionOf: z.optional(z.string()),
|
|
1508
|
+
profileLanguage: z.optional(z.array(z.string())),
|
|
1509
|
+
school: z.optional(z.array(z.string())),
|
|
1510
|
+
location: z.optional(z.array(z.string())),
|
|
1511
|
+
industry: z.optional(z.array(z.string())),
|
|
1512
|
+
currentCompany: z.optional(z.array(z.string())),
|
|
1513
|
+
pastCompany: z.optional(z.array(z.string())),
|
|
1514
|
+
start: z.optional(z.int()),
|
|
1515
|
+
count: z.optional(z.int()),
|
|
1516
|
+
});
|
|
1517
|
+
export function searchPeopleRequestToJSON(searchPeopleRequest) {
|
|
1518
|
+
return JSON.stringify(SearchPeopleRequest$outboundSchema.parse(searchPeopleRequest));
|
|
1519
|
+
}
|
|
1520
|
+
/** @internal */
|
|
1521
|
+
export const SearchPeopleCategory$inboundSchema = z.enum(SearchPeopleCategory);
|
|
1522
|
+
/** @internal */
|
|
1523
|
+
export const SearchPeopleType$inboundSchema = z.enum(SearchPeopleType);
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
export const SearchPeopleNetworkDistance$inboundSchema = openEnums.inboundSchema(SearchPeopleNetworkDistance);
|
|
1526
|
+
/** @internal */
|
|
1527
|
+
export const SearchPeopleCurrentPosition$inboundSchema = z.object({
|
|
1528
|
+
company: types.nullable(types.string()),
|
|
1529
|
+
role: types.nullable(types.string()),
|
|
1530
|
+
});
|
|
1531
|
+
export function searchPeopleCurrentPositionFromJSON(jsonString) {
|
|
1532
|
+
return safeParse(jsonString, (x) => SearchPeopleCurrentPosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPeopleCurrentPosition' from JSON`);
|
|
1533
|
+
}
|
|
1534
|
+
/** @internal */
|
|
1535
|
+
export const SearchPeopleItem$inboundSchema = z.object({
|
|
1536
|
+
type: SearchPeopleType$inboundSchema,
|
|
1537
|
+
name: types.string(),
|
|
1538
|
+
profileUrl: types.nullable(types.string()),
|
|
1539
|
+
headline: types.nullable(types.string()),
|
|
1540
|
+
location: types.nullable(types.string()),
|
|
1541
|
+
profilePicture: types.nullable(types.string()),
|
|
1542
|
+
networkDistance: types.nullable(SearchPeopleNetworkDistance$inboundSchema),
|
|
1543
|
+
currentPositions: z.array(z.lazy(() => SearchPeopleCurrentPosition$inboundSchema)),
|
|
1544
|
+
profileUrn: types.nullable(types.string()),
|
|
1545
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1546
|
+
});
|
|
1547
|
+
export function searchPeopleItemFromJSON(jsonString) {
|
|
1548
|
+
return safeParse(jsonString, (x) => SearchPeopleItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPeopleItem' from JSON`);
|
|
1549
|
+
}
|
|
1550
|
+
/** @internal */
|
|
1551
|
+
export const SearchPeoplePaging$inboundSchema = z.object({
|
|
1552
|
+
start: types.number(),
|
|
1553
|
+
count: types.number(),
|
|
1554
|
+
total: types.number(),
|
|
1555
|
+
});
|
|
1556
|
+
export function searchPeoplePagingFromJSON(jsonString) {
|
|
1557
|
+
return safeParse(jsonString, (x) => SearchPeoplePaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPeoplePaging' from JSON`);
|
|
1558
|
+
}
|
|
1559
|
+
/** @internal */
|
|
1560
|
+
export const SearchPeopleResponse$inboundSchema = z.object({
|
|
1561
|
+
success: types.literal(true),
|
|
1562
|
+
category: SearchPeopleCategory$inboundSchema,
|
|
1563
|
+
items: z.array(z.lazy(() => SearchPeopleItem$inboundSchema)),
|
|
1564
|
+
paging: z.lazy(() => SearchPeoplePaging$inboundSchema),
|
|
1565
|
+
hasMore: types.boolean(),
|
|
1566
|
+
creditsUsed: types.number(),
|
|
1567
|
+
retryAfter: types.number(),
|
|
1568
|
+
});
|
|
1569
|
+
export function searchPeopleResponseFromJSON(jsonString) {
|
|
1570
|
+
return safeParse(jsonString, (x) => SearchPeopleResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchPeopleResponse' from JSON`);
|
|
1571
|
+
}
|
|
1572
|
+
/** @internal */
|
|
1573
|
+
export const SearchCompaniesCompanySize$outboundSchema = z.enum(SearchCompaniesCompanySize);
|
|
1574
|
+
/** @internal */
|
|
1575
|
+
export const SearchCompaniesRequest$outboundSchema = z.object({
|
|
1576
|
+
keywords: z.optional(z.string()),
|
|
1577
|
+
url: z.optional(z.string()),
|
|
1578
|
+
location: z.optional(z.array(z.string())),
|
|
1579
|
+
industry: z.optional(z.array(z.string())),
|
|
1580
|
+
companySize: z.optional(z.array(SearchCompaniesCompanySize$outboundSchema)),
|
|
1581
|
+
start: z.optional(z.int()),
|
|
1582
|
+
count: z.optional(z.int()),
|
|
1583
|
+
});
|
|
1584
|
+
export function searchCompaniesRequestToJSON(searchCompaniesRequest) {
|
|
1585
|
+
return JSON.stringify(SearchCompaniesRequest$outboundSchema.parse(searchCompaniesRequest));
|
|
1586
|
+
}
|
|
1587
|
+
/** @internal */
|
|
1588
|
+
export const SearchCompaniesCategory$inboundSchema = z.enum(SearchCompaniesCategory);
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export const SearchCompaniesType$inboundSchema = z.enum(SearchCompaniesType);
|
|
1591
|
+
/** @internal */
|
|
1592
|
+
export const SearchCompaniesItem$inboundSchema = z.object({
|
|
1593
|
+
type: SearchCompaniesType$inboundSchema,
|
|
1594
|
+
name: types.string(),
|
|
1595
|
+
profileUrl: types.nullable(types.string()),
|
|
1596
|
+
summary: types.nullable(types.string()),
|
|
1597
|
+
industry: types.nullable(types.string()),
|
|
1598
|
+
location: types.nullable(types.string()),
|
|
1599
|
+
followersCount: types.nullable(types.number()),
|
|
1600
|
+
});
|
|
1601
|
+
export function searchCompaniesItemFromJSON(jsonString) {
|
|
1602
|
+
return safeParse(jsonString, (x) => SearchCompaniesItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchCompaniesItem' from JSON`);
|
|
1603
|
+
}
|
|
1604
|
+
/** @internal */
|
|
1605
|
+
export const SearchCompaniesPaging$inboundSchema = z.object({
|
|
1606
|
+
start: types.number(),
|
|
1607
|
+
count: types.number(),
|
|
1608
|
+
total: types.number(),
|
|
1609
|
+
});
|
|
1610
|
+
export function searchCompaniesPagingFromJSON(jsonString) {
|
|
1611
|
+
return safeParse(jsonString, (x) => SearchCompaniesPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchCompaniesPaging' from JSON`);
|
|
1612
|
+
}
|
|
1613
|
+
/** @internal */
|
|
1614
|
+
export const SearchCompaniesResponse$inboundSchema = z.object({
|
|
1615
|
+
success: types.literal(true),
|
|
1616
|
+
category: SearchCompaniesCategory$inboundSchema,
|
|
1617
|
+
items: z.array(z.lazy(() => SearchCompaniesItem$inboundSchema)),
|
|
1618
|
+
paging: z.lazy(() => SearchCompaniesPaging$inboundSchema),
|
|
1619
|
+
hasMore: types.boolean(),
|
|
1620
|
+
creditsUsed: types.number(),
|
|
1621
|
+
retryAfter: types.number(),
|
|
1622
|
+
});
|
|
1623
|
+
export function searchCompaniesResponseFromJSON(jsonString) {
|
|
1624
|
+
return safeParse(jsonString, (x) => SearchCompaniesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchCompaniesResponse' from JSON`);
|
|
1625
|
+
}
|
|
1626
|
+
//# sourceMappingURL=search-companies-response.js.map
|