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,1605 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
10
|
+
export const RefreshType = {
|
|
11
|
+
Activity: "activity",
|
|
12
|
+
UgcPost: "ugcPost",
|
|
13
|
+
Share: "share",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Type of media attached to the post.
|
|
17
|
+
*/
|
|
18
|
+
export const RefreshMediaType = {
|
|
19
|
+
Image: "image",
|
|
20
|
+
Video: "video",
|
|
21
|
+
Document: "document",
|
|
22
|
+
Article: "article",
|
|
23
|
+
};
|
|
24
|
+
export const GetMyPostsType = {
|
|
25
|
+
Activity: "activity",
|
|
26
|
+
UgcPost: "ugcPost",
|
|
27
|
+
Share: "share",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Type of media attached to the post.
|
|
31
|
+
*/
|
|
32
|
+
export const GetMyPostsMediaType = {
|
|
33
|
+
Image: "image",
|
|
34
|
+
Video: "video",
|
|
35
|
+
Document: "document",
|
|
36
|
+
Article: "article",
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Sort order (default RECENTLY_ADDED)
|
|
40
|
+
*/
|
|
41
|
+
export const SortType = {
|
|
42
|
+
RecentlyAdded: "RECENTLY_ADDED",
|
|
43
|
+
};
|
|
44
|
+
export const FindConversationType = {
|
|
45
|
+
Audio: "audio",
|
|
46
|
+
SharedPost: "shared_post",
|
|
47
|
+
RepliedMessage: "replied_message",
|
|
48
|
+
Image: "image",
|
|
49
|
+
File: "file",
|
|
50
|
+
Unknown: "unknown",
|
|
51
|
+
};
|
|
52
|
+
export const GetMessagesType = {
|
|
53
|
+
Audio: "audio",
|
|
54
|
+
SharedPost: "shared_post",
|
|
55
|
+
RepliedMessage: "replied_message",
|
|
56
|
+
Image: "image",
|
|
57
|
+
File: "file",
|
|
58
|
+
Unknown: "unknown",
|
|
59
|
+
};
|
|
60
|
+
export const SyncAction = {
|
|
61
|
+
Message: "message",
|
|
62
|
+
Reply: "reply",
|
|
63
|
+
Like: "like",
|
|
64
|
+
Visit: "visit",
|
|
65
|
+
Connect: "connect",
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
|
|
69
|
+
*/
|
|
70
|
+
export const UpsertSource = {
|
|
71
|
+
Likes: "likes",
|
|
72
|
+
Comments: "comments",
|
|
73
|
+
Reposts: "reposts",
|
|
74
|
+
Posts: "posts",
|
|
75
|
+
CompanyFollowers: "company_followers",
|
|
76
|
+
SearchResults: "search_results",
|
|
77
|
+
ManualImport: "manual_import",
|
|
78
|
+
EventAttendees: "event_attendees",
|
|
79
|
+
GroupMembers: "group_members",
|
|
80
|
+
EngagementScraping: "engagement_scraping",
|
|
81
|
+
ContentSearch: "content_search",
|
|
82
|
+
FollowersMining: "followers_mining",
|
|
83
|
+
PeopleSearch: "people_search",
|
|
84
|
+
JobSearch: "job_search",
|
|
85
|
+
CompanySearch: "company_search",
|
|
86
|
+
NetworkExpansion: "network_expansion",
|
|
87
|
+
BulkVisit: "bulk_visit",
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
|
|
91
|
+
*/
|
|
92
|
+
export const UpsertLifecycleStage = {
|
|
93
|
+
Contact: "contact",
|
|
94
|
+
Lead: "lead",
|
|
95
|
+
Qualified: "qualified",
|
|
96
|
+
Approved: "approved",
|
|
97
|
+
Rejected: "rejected",
|
|
98
|
+
};
|
|
99
|
+
export const SearchContactsLifecycleStage = {
|
|
100
|
+
Contact: "contact",
|
|
101
|
+
Lead: "lead",
|
|
102
|
+
Qualified: "qualified",
|
|
103
|
+
Approved: "approved",
|
|
104
|
+
Rejected: "rejected",
|
|
105
|
+
};
|
|
106
|
+
export const SearchContactsOutreachStatus = {
|
|
107
|
+
None: "none",
|
|
108
|
+
ConnectionSent: "connection_sent",
|
|
109
|
+
Connected: "connected",
|
|
110
|
+
DmSent: "dm_sent",
|
|
111
|
+
FollowedUp: "followed_up",
|
|
112
|
+
Replied: "replied",
|
|
113
|
+
InConversation: "in_conversation",
|
|
114
|
+
MeetingBooked: "meeting_booked",
|
|
115
|
+
Converted: "converted",
|
|
116
|
+
NotInterested: "not_interested",
|
|
117
|
+
};
|
|
118
|
+
export const DoNotContact = {
|
|
119
|
+
True: "true",
|
|
120
|
+
False: "false",
|
|
121
|
+
};
|
|
122
|
+
export const HasProfileData = {
|
|
123
|
+
True: "true",
|
|
124
|
+
False: "false",
|
|
125
|
+
};
|
|
126
|
+
/** @internal */
|
|
127
|
+
export const RefreshPositionStartDate$inboundSchema = z.object({
|
|
128
|
+
month: types.nullable(types.number()),
|
|
129
|
+
year: types.number(),
|
|
130
|
+
});
|
|
131
|
+
export function refreshPositionStartDateFromJSON(jsonString) {
|
|
132
|
+
return safeParse(jsonString, (x) => RefreshPositionStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshPositionStartDate' from JSON`);
|
|
133
|
+
}
|
|
134
|
+
/** @internal */
|
|
135
|
+
export const RefreshPositionEndDate$inboundSchema = z.object({
|
|
136
|
+
month: types.nullable(types.number()),
|
|
137
|
+
year: types.number(),
|
|
138
|
+
});
|
|
139
|
+
export function refreshPositionEndDateFromJSON(jsonString) {
|
|
140
|
+
return safeParse(jsonString, (x) => RefreshPositionEndDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshPositionEndDate' from JSON`);
|
|
141
|
+
}
|
|
142
|
+
/** @internal */
|
|
143
|
+
export const RefreshPosition$inboundSchema = z.object({
|
|
144
|
+
companyName: types.nullable(types.string()),
|
|
145
|
+
title: types.nullable(types.string()),
|
|
146
|
+
description: types.nullable(types.string()),
|
|
147
|
+
companyUrl: types.nullable(types.string()),
|
|
148
|
+
companyLogo: types.nullable(types.string()),
|
|
149
|
+
companyDescription: types.nullable(types.string()),
|
|
150
|
+
startDate: types.nullable(z.lazy(() => RefreshPositionStartDate$inboundSchema)),
|
|
151
|
+
endDate: types.nullable(z.lazy(() => RefreshPositionEndDate$inboundSchema)),
|
|
152
|
+
isCurrent: types.boolean(),
|
|
153
|
+
});
|
|
154
|
+
export function refreshPositionFromJSON(jsonString) {
|
|
155
|
+
return safeParse(jsonString, (x) => RefreshPosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshPosition' from JSON`);
|
|
156
|
+
}
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const RefreshEducationStartDate$inboundSchema = z.object({
|
|
159
|
+
month: types.nullable(types.number()),
|
|
160
|
+
year: types.number(),
|
|
161
|
+
});
|
|
162
|
+
export function refreshEducationStartDateFromJSON(jsonString) {
|
|
163
|
+
return safeParse(jsonString, (x) => RefreshEducationStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshEducationStartDate' from JSON`);
|
|
164
|
+
}
|
|
165
|
+
/** @internal */
|
|
166
|
+
export const RefreshEducationEndDate$inboundSchema = z.object({
|
|
167
|
+
month: types.nullable(types.number()),
|
|
168
|
+
year: types.number(),
|
|
169
|
+
});
|
|
170
|
+
export function refreshEducationEndDateFromJSON(jsonString) {
|
|
171
|
+
return safeParse(jsonString, (x) => RefreshEducationEndDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshEducationEndDate' from JSON`);
|
|
172
|
+
}
|
|
173
|
+
/** @internal */
|
|
174
|
+
export const RefreshEducation$inboundSchema = z.object({
|
|
175
|
+
schoolName: types.nullable(types.string()),
|
|
176
|
+
degreeName: types.nullable(types.string()),
|
|
177
|
+
fieldOfStudy: types.nullable(types.string()),
|
|
178
|
+
schoolUrl: types.nullable(types.string()),
|
|
179
|
+
schoolLogo: types.nullable(types.string()),
|
|
180
|
+
startDate: types.nullable(z.lazy(() => RefreshEducationStartDate$inboundSchema)),
|
|
181
|
+
endDate: types.nullable(z.lazy(() => RefreshEducationEndDate$inboundSchema)),
|
|
182
|
+
});
|
|
183
|
+
export function refreshEducationFromJSON(jsonString) {
|
|
184
|
+
return safeParse(jsonString, (x) => RefreshEducation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshEducation' from JSON`);
|
|
185
|
+
}
|
|
186
|
+
/** @internal */
|
|
187
|
+
export const RefreshLocation$inboundSchema = z.object({
|
|
188
|
+
countryCode: types.string(),
|
|
189
|
+
postalCode: types.optional(types.string()),
|
|
190
|
+
});
|
|
191
|
+
export function refreshLocationFromJSON(jsonString) {
|
|
192
|
+
return safeParse(jsonString, (x) => RefreshLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshLocation' from JSON`);
|
|
193
|
+
}
|
|
194
|
+
/** @internal */
|
|
195
|
+
export const RefreshType$inboundSchema = openEnums.inboundSchema(RefreshType);
|
|
196
|
+
/** @internal */
|
|
197
|
+
export const RefreshMediaType$inboundSchema = openEnums.inboundSchema(RefreshMediaType);
|
|
198
|
+
/** @internal */
|
|
199
|
+
export const RefreshMedia$inboundSchema = z.object({
|
|
200
|
+
type: RefreshMediaType$inboundSchema,
|
|
201
|
+
urls: z.array(types.string()),
|
|
202
|
+
title: types.optional(types.string()),
|
|
203
|
+
thumbnailUrl: types.optional(types.string()),
|
|
204
|
+
});
|
|
205
|
+
export function refreshMediaFromJSON(jsonString) {
|
|
206
|
+
return safeParse(jsonString, (x) => RefreshMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshMedia' from JSON`);
|
|
207
|
+
}
|
|
208
|
+
/** @internal */
|
|
209
|
+
export const RefreshLastPost$inboundSchema = z.object({
|
|
210
|
+
postUrl: types.string(),
|
|
211
|
+
text: types.string(),
|
|
212
|
+
date: types.number(),
|
|
213
|
+
likesCount: types.number(),
|
|
214
|
+
commentsCount: types.number(),
|
|
215
|
+
sharesCount: types.number(),
|
|
216
|
+
postUrn: types.string(),
|
|
217
|
+
postId: types.string(),
|
|
218
|
+
type: RefreshType$inboundSchema,
|
|
219
|
+
media: types.optional(z.lazy(() => RefreshMedia$inboundSchema)),
|
|
220
|
+
});
|
|
221
|
+
export function refreshLastPostFromJSON(jsonString) {
|
|
222
|
+
return safeParse(jsonString, (x) => RefreshLastPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshLastPost' from JSON`);
|
|
223
|
+
}
|
|
224
|
+
/** @internal */
|
|
225
|
+
export const RefreshResponse$inboundSchema = z.object({
|
|
226
|
+
success: types.literal(true),
|
|
227
|
+
linkedinProfileId: types.nullable(types.string()),
|
|
228
|
+
linkedinName: types.nullable(types.string()),
|
|
229
|
+
linkedinEmail: types.nullable(types.string()),
|
|
230
|
+
profileUrn: types.nullable(types.string()),
|
|
231
|
+
headline: types.nullable(types.string()),
|
|
232
|
+
profilePic: types.nullable(types.string()),
|
|
233
|
+
profileUrl: types.nullable(types.string()),
|
|
234
|
+
positions: types.optional(z.array(z.lazy(() => RefreshPosition$inboundSchema))),
|
|
235
|
+
educations: types.optional(z.array(z.lazy(() => RefreshEducation$inboundSchema))),
|
|
236
|
+
connectionsCount: types.nullable(types.number()),
|
|
237
|
+
location: types.nullable(z.lazy(() => RefreshLocation$inboundSchema)),
|
|
238
|
+
isVerified: types.nullable(types.boolean()),
|
|
239
|
+
lastPosts: types.optional(z.array(z.lazy(() => RefreshLastPost$inboundSchema))),
|
|
240
|
+
refreshed: types.literal(true),
|
|
241
|
+
creditsUsed: types.number(),
|
|
242
|
+
retryAfter: types.number(),
|
|
243
|
+
});
|
|
244
|
+
export function refreshResponseFromJSON(jsonString) {
|
|
245
|
+
return safeParse(jsonString, (x) => RefreshResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshResponse' from JSON`);
|
|
246
|
+
}
|
|
247
|
+
/** @internal */
|
|
248
|
+
export const GetMyPostsRequest$outboundSchema = z.object({
|
|
249
|
+
count: z.optional(z.int()),
|
|
250
|
+
start: z.optional(z.int()),
|
|
251
|
+
paginationToken: z.optional(z.string()),
|
|
252
|
+
});
|
|
253
|
+
export function getMyPostsRequestToJSON(getMyPostsRequest) {
|
|
254
|
+
return JSON.stringify(GetMyPostsRequest$outboundSchema.parse(getMyPostsRequest));
|
|
255
|
+
}
|
|
256
|
+
/** @internal */
|
|
257
|
+
export const GetMyPostsType$inboundSchema = openEnums.inboundSchema(GetMyPostsType);
|
|
258
|
+
/** @internal */
|
|
259
|
+
export const GetMyPostsMediaType$inboundSchema = openEnums.inboundSchema(GetMyPostsMediaType);
|
|
260
|
+
/** @internal */
|
|
261
|
+
export const GetMyPostsMedia$inboundSchema = z.object({
|
|
262
|
+
type: GetMyPostsMediaType$inboundSchema,
|
|
263
|
+
urls: z.array(types.string()),
|
|
264
|
+
title: types.optional(types.string()),
|
|
265
|
+
thumbnailUrl: types.optional(types.string()),
|
|
266
|
+
});
|
|
267
|
+
export function getMyPostsMediaFromJSON(jsonString) {
|
|
268
|
+
return safeParse(jsonString, (x) => GetMyPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyPostsMedia' from JSON`);
|
|
269
|
+
}
|
|
270
|
+
/** @internal */
|
|
271
|
+
export const GetMyPostsPost$inboundSchema = z.object({
|
|
272
|
+
postUrl: types.string(),
|
|
273
|
+
text: types.string(),
|
|
274
|
+
date: types.number(),
|
|
275
|
+
likesCount: types.number(),
|
|
276
|
+
commentsCount: types.number(),
|
|
277
|
+
sharesCount: types.number(),
|
|
278
|
+
postUrn: types.string(),
|
|
279
|
+
postId: types.string(),
|
|
280
|
+
type: GetMyPostsType$inboundSchema,
|
|
281
|
+
media: types.optional(z.lazy(() => GetMyPostsMedia$inboundSchema)),
|
|
282
|
+
});
|
|
283
|
+
export function getMyPostsPostFromJSON(jsonString) {
|
|
284
|
+
return safeParse(jsonString, (x) => GetMyPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyPostsPost' from JSON`);
|
|
285
|
+
}
|
|
286
|
+
/** @internal */
|
|
287
|
+
export const GetMyPostsResponse$inboundSchema = z.object({
|
|
288
|
+
success: types.literal(true),
|
|
289
|
+
posts: z.array(z.lazy(() => GetMyPostsPost$inboundSchema)),
|
|
290
|
+
count: types.number(),
|
|
291
|
+
total: types.number(),
|
|
292
|
+
start: types.number(),
|
|
293
|
+
hasMore: types.boolean(),
|
|
294
|
+
paginationToken: types.nullable(types.string()),
|
|
295
|
+
creditsUsed: types.number(),
|
|
296
|
+
retryAfter: types.number(),
|
|
297
|
+
});
|
|
298
|
+
export function getMyPostsResponseFromJSON(jsonString) {
|
|
299
|
+
return safeParse(jsonString, (x) => GetMyPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyPostsResponse' from JSON`);
|
|
300
|
+
}
|
|
301
|
+
/** @internal */
|
|
302
|
+
export const GetFollowersRequest$outboundSchema = z.object({
|
|
303
|
+
start: z.optional(z.int()),
|
|
304
|
+
count: z.optional(z.int()),
|
|
305
|
+
});
|
|
306
|
+
export function getFollowersRequestToJSON(getFollowersRequest) {
|
|
307
|
+
return JSON.stringify(GetFollowersRequest$outboundSchema.parse(getFollowersRequest));
|
|
308
|
+
}
|
|
309
|
+
/** @internal */
|
|
310
|
+
export const Follower$inboundSchema = z
|
|
311
|
+
.object({
|
|
312
|
+
name: types.string(),
|
|
313
|
+
headline: types.nullable(types.string()),
|
|
314
|
+
profileUrl: types.nullable(types.string()),
|
|
315
|
+
profilePicture: types.nullable(types.string()),
|
|
316
|
+
followerCount: types.nullable(types.number()),
|
|
317
|
+
following: types.boolean(),
|
|
318
|
+
profileUrn: types.nullable(types.string()),
|
|
319
|
+
publicIdentifier: types.nullable(types.string()),
|
|
320
|
+
});
|
|
321
|
+
export function followerFromJSON(jsonString) {
|
|
322
|
+
return safeParse(jsonString, (x) => Follower$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Follower' from JSON`);
|
|
323
|
+
}
|
|
324
|
+
/** @internal */
|
|
325
|
+
export const GetFollowersResponse$inboundSchema = z.object({
|
|
326
|
+
success: types.literal(true),
|
|
327
|
+
followers: z.array(z.lazy(() => Follower$inboundSchema)),
|
|
328
|
+
count: types.number(),
|
|
329
|
+
totalFollowers: types.number(),
|
|
330
|
+
start: types.number(),
|
|
331
|
+
hasMore: types.boolean(),
|
|
332
|
+
creditsUsed: types.number(),
|
|
333
|
+
retryAfter: types.number(),
|
|
334
|
+
});
|
|
335
|
+
export function getFollowersResponseFromJSON(jsonString) {
|
|
336
|
+
return safeParse(jsonString, (x) => GetFollowersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFollowersResponse' from JSON`);
|
|
337
|
+
}
|
|
338
|
+
/** @internal */
|
|
339
|
+
export const ConnectionRequestDaily$inboundSchema = z.object({
|
|
340
|
+
current: types.number(),
|
|
341
|
+
limit: types.number(),
|
|
342
|
+
remaining: types.number(),
|
|
343
|
+
});
|
|
344
|
+
export function connectionRequestDailyFromJSON(jsonString) {
|
|
345
|
+
return safeParse(jsonString, (x) => ConnectionRequestDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequestDaily' from JSON`);
|
|
346
|
+
}
|
|
347
|
+
/** @internal */
|
|
348
|
+
export const ConnectionRequestWeekly$inboundSchema = z.object({
|
|
349
|
+
current: types.number(),
|
|
350
|
+
limit: types.number(),
|
|
351
|
+
remaining: types.number(),
|
|
352
|
+
});
|
|
353
|
+
export function connectionRequestWeeklyFromJSON(jsonString) {
|
|
354
|
+
return safeParse(jsonString, (x) => ConnectionRequestWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequestWeekly' from JSON`);
|
|
355
|
+
}
|
|
356
|
+
/** @internal */
|
|
357
|
+
export const ConnectionRequest$inboundSchema = z.object({
|
|
358
|
+
daily: z.lazy(() => ConnectionRequestDaily$inboundSchema),
|
|
359
|
+
weekly: types.nullable(z.lazy(() => ConnectionRequestWeekly$inboundSchema)),
|
|
360
|
+
minIntervalSeconds: types.number(),
|
|
361
|
+
nextResetDaily: types.date(),
|
|
362
|
+
nextResetWeekly: types.nullable(types.date()),
|
|
363
|
+
});
|
|
364
|
+
export function connectionRequestFromJSON(jsonString) {
|
|
365
|
+
return safeParse(jsonString, (x) => ConnectionRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequest' from JSON`);
|
|
366
|
+
}
|
|
367
|
+
/** @internal */
|
|
368
|
+
export const MessageDaily$inboundSchema = z.object({
|
|
369
|
+
current: types.number(),
|
|
370
|
+
limit: types.number(),
|
|
371
|
+
remaining: types.number(),
|
|
372
|
+
});
|
|
373
|
+
export function messageDailyFromJSON(jsonString) {
|
|
374
|
+
return safeParse(jsonString, (x) => MessageDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessageDaily' from JSON`);
|
|
375
|
+
}
|
|
376
|
+
/** @internal */
|
|
377
|
+
export const MessageWeekly$inboundSchema = z.object({
|
|
378
|
+
current: types.number(),
|
|
379
|
+
limit: types.number(),
|
|
380
|
+
remaining: types.number(),
|
|
381
|
+
});
|
|
382
|
+
export function messageWeeklyFromJSON(jsonString) {
|
|
383
|
+
return safeParse(jsonString, (x) => MessageWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessageWeekly' from JSON`);
|
|
384
|
+
}
|
|
385
|
+
/** @internal */
|
|
386
|
+
export const GetLimitsMessage$inboundSchema = z.object({
|
|
387
|
+
daily: z.lazy(() => MessageDaily$inboundSchema),
|
|
388
|
+
weekly: types.nullable(z.lazy(() => MessageWeekly$inboundSchema)),
|
|
389
|
+
minIntervalSeconds: types.number(),
|
|
390
|
+
nextResetDaily: types.date(),
|
|
391
|
+
nextResetWeekly: types.nullable(types.date()),
|
|
392
|
+
});
|
|
393
|
+
export function getLimitsMessageFromJSON(jsonString) {
|
|
394
|
+
return safeParse(jsonString, (x) => GetLimitsMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLimitsMessage' from JSON`);
|
|
395
|
+
}
|
|
396
|
+
/** @internal */
|
|
397
|
+
export const ProfileVisitDaily$inboundSchema = z.object({
|
|
398
|
+
current: types.number(),
|
|
399
|
+
limit: types.number(),
|
|
400
|
+
remaining: types.number(),
|
|
401
|
+
});
|
|
402
|
+
export function profileVisitDailyFromJSON(jsonString) {
|
|
403
|
+
return safeParse(jsonString, (x) => ProfileVisitDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileVisitDaily' from JSON`);
|
|
404
|
+
}
|
|
405
|
+
/** @internal */
|
|
406
|
+
export const ProfileVisitWeekly$inboundSchema = z.object({
|
|
407
|
+
current: types.number(),
|
|
408
|
+
limit: types.number(),
|
|
409
|
+
remaining: types.number(),
|
|
410
|
+
});
|
|
411
|
+
export function profileVisitWeeklyFromJSON(jsonString) {
|
|
412
|
+
return safeParse(jsonString, (x) => ProfileVisitWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileVisitWeekly' from JSON`);
|
|
413
|
+
}
|
|
414
|
+
/** @internal */
|
|
415
|
+
export const ProfileVisit$inboundSchema = z.object({
|
|
416
|
+
daily: z.lazy(() => ProfileVisitDaily$inboundSchema),
|
|
417
|
+
weekly: types.nullable(z.lazy(() => ProfileVisitWeekly$inboundSchema)),
|
|
418
|
+
minIntervalSeconds: types.number(),
|
|
419
|
+
nextResetDaily: types.date(),
|
|
420
|
+
nextResetWeekly: types.nullable(types.date()),
|
|
421
|
+
});
|
|
422
|
+
export function profileVisitFromJSON(jsonString) {
|
|
423
|
+
return safeParse(jsonString, (x) => ProfileVisit$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileVisit' from JSON`);
|
|
424
|
+
}
|
|
425
|
+
/** @internal */
|
|
426
|
+
export const ScrapingDaily$inboundSchema = z.object({
|
|
427
|
+
current: types.number(),
|
|
428
|
+
limit: types.number(),
|
|
429
|
+
remaining: types.number(),
|
|
430
|
+
});
|
|
431
|
+
export function scrapingDailyFromJSON(jsonString) {
|
|
432
|
+
return safeParse(jsonString, (x) => ScrapingDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScrapingDaily' from JSON`);
|
|
433
|
+
}
|
|
434
|
+
/** @internal */
|
|
435
|
+
export const ScrapingWeekly$inboundSchema = z.object({
|
|
436
|
+
current: types.number(),
|
|
437
|
+
limit: types.number(),
|
|
438
|
+
remaining: types.number(),
|
|
439
|
+
});
|
|
440
|
+
export function scrapingWeeklyFromJSON(jsonString) {
|
|
441
|
+
return safeParse(jsonString, (x) => ScrapingWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScrapingWeekly' from JSON`);
|
|
442
|
+
}
|
|
443
|
+
/** @internal */
|
|
444
|
+
export const Scraping$inboundSchema = z
|
|
445
|
+
.object({
|
|
446
|
+
daily: z.lazy(() => ScrapingDaily$inboundSchema),
|
|
447
|
+
weekly: types.nullable(z.lazy(() => ScrapingWeekly$inboundSchema)),
|
|
448
|
+
minIntervalSeconds: types.number(),
|
|
449
|
+
nextResetDaily: types.date(),
|
|
450
|
+
nextResetWeekly: types.nullable(types.date()),
|
|
451
|
+
});
|
|
452
|
+
export function scrapingFromJSON(jsonString) {
|
|
453
|
+
return safeParse(jsonString, (x) => Scraping$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Scraping' from JSON`);
|
|
454
|
+
}
|
|
455
|
+
/** @internal */
|
|
456
|
+
export const Limits$inboundSchema = z.pipe(z.object({
|
|
457
|
+
connection_request: z.lazy(() => ConnectionRequest$inboundSchema),
|
|
458
|
+
message: z.lazy(() => GetLimitsMessage$inboundSchema),
|
|
459
|
+
profile_visit: z.lazy(() => ProfileVisit$inboundSchema),
|
|
460
|
+
scraping: z.lazy(() => Scraping$inboundSchema),
|
|
461
|
+
}), z.transform((v) => {
|
|
462
|
+
return remap$(v, {
|
|
463
|
+
"connection_request": "connectionRequest",
|
|
464
|
+
"profile_visit": "profileVisit",
|
|
465
|
+
});
|
|
466
|
+
}));
|
|
467
|
+
export function limitsFromJSON(jsonString) {
|
|
468
|
+
return safeParse(jsonString, (x) => Limits$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Limits' from JSON`);
|
|
469
|
+
}
|
|
470
|
+
/** @internal */
|
|
471
|
+
export const GetLimitsResponse$inboundSchema = z.object({
|
|
472
|
+
success: types.literal(true),
|
|
473
|
+
multiplier: types.number(),
|
|
474
|
+
limits: z.lazy(() => Limits$inboundSchema),
|
|
475
|
+
creditsUsed: types.number(),
|
|
476
|
+
retryAfter: types.number(),
|
|
477
|
+
});
|
|
478
|
+
export function getLimitsResponseFromJSON(jsonString) {
|
|
479
|
+
return safeParse(jsonString, (x) => GetLimitsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLimitsResponse' from JSON`);
|
|
480
|
+
}
|
|
481
|
+
/** @internal */
|
|
482
|
+
export const Credits$inboundSchema = z.object({
|
|
483
|
+
current: types.number(),
|
|
484
|
+
limit: types.nullable(types.number()),
|
|
485
|
+
remaining: types.nullable(types.number()),
|
|
486
|
+
percentage: types.number(),
|
|
487
|
+
isUnlimited: types.boolean(),
|
|
488
|
+
});
|
|
489
|
+
export function creditsFromJSON(jsonString) {
|
|
490
|
+
return safeParse(jsonString, (x) => Credits$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Credits' from JSON`);
|
|
491
|
+
}
|
|
492
|
+
/** @internal */
|
|
493
|
+
export const GetCreditsResponse$inboundSchema = z.object({
|
|
494
|
+
success: types.literal(true),
|
|
495
|
+
credits: z.lazy(() => Credits$inboundSchema),
|
|
496
|
+
creditsUsed: types.number(),
|
|
497
|
+
retryAfter: types.number(),
|
|
498
|
+
});
|
|
499
|
+
export function getCreditsResponseFromJSON(jsonString) {
|
|
500
|
+
return safeParse(jsonString, (x) => GetCreditsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCreditsResponse' from JSON`);
|
|
501
|
+
}
|
|
502
|
+
/** @internal */
|
|
503
|
+
export const GetProfileViewsRequest$outboundSchema = z.object({});
|
|
504
|
+
export function getProfileViewsRequestToJSON(getProfileViewsRequest) {
|
|
505
|
+
return JSON.stringify(GetProfileViewsRequest$outboundSchema.parse(getProfileViewsRequest));
|
|
506
|
+
}
|
|
507
|
+
/** @internal */
|
|
508
|
+
export const ViewedAt$inboundSchema = smartUnion([types.number(), types.string()]);
|
|
509
|
+
export function viewedAtFromJSON(jsonString) {
|
|
510
|
+
return safeParse(jsonString, (x) => ViewedAt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ViewedAt' from JSON`);
|
|
511
|
+
}
|
|
512
|
+
/** @internal */
|
|
513
|
+
export const View$inboundSchema = z.object({
|
|
514
|
+
entityUrn: types.string(),
|
|
515
|
+
viewedAt: types.nullable(smartUnion([types.number(), types.string()])),
|
|
516
|
+
viewer: types.nullable(types.string()),
|
|
517
|
+
headline: types.nullable(types.string()),
|
|
518
|
+
navigationUrl: types.nullable(types.string()),
|
|
519
|
+
});
|
|
520
|
+
export function viewFromJSON(jsonString) {
|
|
521
|
+
return safeParse(jsonString, (x) => View$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'View' from JSON`);
|
|
522
|
+
}
|
|
523
|
+
/** @internal */
|
|
524
|
+
export const GetProfileViewsResponse$inboundSchema = z.object({
|
|
525
|
+
success: types.literal(true),
|
|
526
|
+
views: z.array(z.lazy(() => View$inboundSchema)),
|
|
527
|
+
total: types.number(),
|
|
528
|
+
creditsUsed: types.number(),
|
|
529
|
+
retryAfter: types.number(),
|
|
530
|
+
});
|
|
531
|
+
export function getProfileViewsResponseFromJSON(jsonString) {
|
|
532
|
+
return safeParse(jsonString, (x) => GetProfileViewsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetProfileViewsResponse' from JSON`);
|
|
533
|
+
}
|
|
534
|
+
/** @internal */
|
|
535
|
+
export const GetSearchAppearancesRequest$outboundSchema = z.object({});
|
|
536
|
+
export function getSearchAppearancesRequestToJSON(getSearchAppearancesRequest) {
|
|
537
|
+
return JSON.stringify(GetSearchAppearancesRequest$outboundSchema.parse(getSearchAppearancesRequest));
|
|
538
|
+
}
|
|
539
|
+
/** @internal */
|
|
540
|
+
export const Appearances$inboundSchema = z
|
|
541
|
+
.object({
|
|
542
|
+
count: types.number(),
|
|
543
|
+
keywords: z.array(z.any()),
|
|
544
|
+
companies: z.array(z.any()),
|
|
545
|
+
raw: z.any(),
|
|
546
|
+
});
|
|
547
|
+
export function appearancesFromJSON(jsonString) {
|
|
548
|
+
return safeParse(jsonString, (x) => Appearances$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Appearances' from JSON`);
|
|
549
|
+
}
|
|
550
|
+
/** @internal */
|
|
551
|
+
export const GetSearchAppearancesResponse$inboundSchema = z.object({
|
|
552
|
+
success: types.literal(true),
|
|
553
|
+
appearances: z.lazy(() => Appearances$inboundSchema),
|
|
554
|
+
creditsUsed: types.number(),
|
|
555
|
+
retryAfter: types.number(),
|
|
556
|
+
});
|
|
557
|
+
export function getSearchAppearancesResponseFromJSON(jsonString) {
|
|
558
|
+
return safeParse(jsonString, (x) => GetSearchAppearancesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetSearchAppearancesResponse' from JSON`);
|
|
559
|
+
}
|
|
560
|
+
/** @internal */
|
|
561
|
+
export const GetPostAnalyticsRequest$outboundSchema = z.object({
|
|
562
|
+
postUrl: z.string(),
|
|
563
|
+
});
|
|
564
|
+
export function getPostAnalyticsRequestToJSON(getPostAnalyticsRequest) {
|
|
565
|
+
return JSON.stringify(GetPostAnalyticsRequest$outboundSchema.parse(getPostAnalyticsRequest));
|
|
566
|
+
}
|
|
567
|
+
/** @internal */
|
|
568
|
+
export const GetPostAnalyticsAnalytics$inboundSchema = z.object({
|
|
569
|
+
reactions: types.number(),
|
|
570
|
+
comments: types.number(),
|
|
571
|
+
postUrn: types.string(),
|
|
572
|
+
});
|
|
573
|
+
export function getPostAnalyticsAnalyticsFromJSON(jsonString) {
|
|
574
|
+
return safeParse(jsonString, (x) => GetPostAnalyticsAnalytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPostAnalyticsAnalytics' from JSON`);
|
|
575
|
+
}
|
|
576
|
+
/** @internal */
|
|
577
|
+
export const GetPostAnalyticsResponse$inboundSchema = z.object({
|
|
578
|
+
success: types.literal(true),
|
|
579
|
+
analytics: z.lazy(() => GetPostAnalyticsAnalytics$inboundSchema),
|
|
580
|
+
creditsUsed: types.number(),
|
|
581
|
+
retryAfter: types.number(),
|
|
582
|
+
});
|
|
583
|
+
export function getPostAnalyticsResponseFromJSON(jsonString) {
|
|
584
|
+
return safeParse(jsonString, (x) => GetPostAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPostAnalyticsResponse' from JSON`);
|
|
585
|
+
}
|
|
586
|
+
/** @internal */
|
|
587
|
+
export const GetFollowerAnalyticsRequest$outboundSchema = z.object({});
|
|
588
|
+
export function getFollowerAnalyticsRequestToJSON(getFollowerAnalyticsRequest) {
|
|
589
|
+
return JSON.stringify(GetFollowerAnalyticsRequest$outboundSchema.parse(getFollowerAnalyticsRequest));
|
|
590
|
+
}
|
|
591
|
+
/** @internal */
|
|
592
|
+
export const GetFollowerAnalyticsAnalytics$inboundSchema = z.catchall(z.object({
|
|
593
|
+
count: types.number(),
|
|
594
|
+
}), z.any());
|
|
595
|
+
export function getFollowerAnalyticsAnalyticsFromJSON(jsonString) {
|
|
596
|
+
return safeParse(jsonString, (x) => GetFollowerAnalyticsAnalytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFollowerAnalyticsAnalytics' from JSON`);
|
|
597
|
+
}
|
|
598
|
+
/** @internal */
|
|
599
|
+
export const GetFollowerAnalyticsResponse$inboundSchema = z.object({
|
|
600
|
+
success: types.literal(true),
|
|
601
|
+
analytics: z.lazy(() => GetFollowerAnalyticsAnalytics$inboundSchema),
|
|
602
|
+
creditsUsed: types.number(),
|
|
603
|
+
retryAfter: types.number(),
|
|
604
|
+
});
|
|
605
|
+
export function getFollowerAnalyticsResponseFromJSON(jsonString) {
|
|
606
|
+
return safeParse(jsonString, (x) => GetFollowerAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFollowerAnalyticsResponse' from JSON`);
|
|
607
|
+
}
|
|
608
|
+
/** @internal */
|
|
609
|
+
export const SwitchAccountRequest$outboundSchema = z.object({
|
|
610
|
+
credentialsId: z.string(),
|
|
611
|
+
});
|
|
612
|
+
export function switchAccountRequestToJSON(switchAccountRequest) {
|
|
613
|
+
return JSON.stringify(SwitchAccountRequest$outboundSchema.parse(switchAccountRequest));
|
|
614
|
+
}
|
|
615
|
+
/** @internal */
|
|
616
|
+
export const SwitchAccountResponse$inboundSchema = z.object({
|
|
617
|
+
success: types.literal(true),
|
|
618
|
+
creditsUsed: types.number(),
|
|
619
|
+
retryAfter: types.number(),
|
|
620
|
+
});
|
|
621
|
+
export function switchAccountResponseFromJSON(jsonString) {
|
|
622
|
+
return safeParse(jsonString, (x) => SwitchAccountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SwitchAccountResponse' from JSON`);
|
|
623
|
+
}
|
|
624
|
+
/** @internal */
|
|
625
|
+
export const SortType$outboundSchema = z.enum(SortType);
|
|
626
|
+
/** @internal */
|
|
627
|
+
export const ListConnectionsRequest$outboundSchema = z.object({
|
|
628
|
+
start: z._default(z.int(), 0),
|
|
629
|
+
count: z._default(z.int(), 40),
|
|
630
|
+
sortType: z.optional(SortType$outboundSchema),
|
|
631
|
+
keywords: z.optional(z.string()),
|
|
632
|
+
});
|
|
633
|
+
export function listConnectionsRequestToJSON(listConnectionsRequest) {
|
|
634
|
+
return JSON.stringify(ListConnectionsRequest$outboundSchema.parse(listConnectionsRequest));
|
|
635
|
+
}
|
|
636
|
+
/** @internal */
|
|
637
|
+
export const Connection$inboundSchema = z
|
|
638
|
+
.object({
|
|
639
|
+
name: types.string(),
|
|
640
|
+
headline: types.nullable(types.string()),
|
|
641
|
+
profileUrl: types.nullable(types.string()),
|
|
642
|
+
imageUrl: types.nullable(types.string()),
|
|
643
|
+
publicIdentifier: types.nullable(types.string()),
|
|
644
|
+
profileUrn: types.nullable(types.string()),
|
|
645
|
+
connectedAt: types.nullable(types.string()),
|
|
646
|
+
});
|
|
647
|
+
export function connectionFromJSON(jsonString) {
|
|
648
|
+
return safeParse(jsonString, (x) => Connection$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Connection' from JSON`);
|
|
649
|
+
}
|
|
650
|
+
/** @internal */
|
|
651
|
+
export const ListConnectionsResponse$inboundSchema = z.object({
|
|
652
|
+
success: types.literal(true),
|
|
653
|
+
connections: z.array(z.lazy(() => Connection$inboundSchema)),
|
|
654
|
+
count: types.number(),
|
|
655
|
+
start: types.number(),
|
|
656
|
+
total: types.number(),
|
|
657
|
+
hasMore: types.boolean(),
|
|
658
|
+
creditsUsed: types.number(),
|
|
659
|
+
retryAfter: types.number(),
|
|
660
|
+
});
|
|
661
|
+
export function listConnectionsResponseFromJSON(jsonString) {
|
|
662
|
+
return safeParse(jsonString, (x) => ListConnectionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListConnectionsResponse' from JSON`);
|
|
663
|
+
}
|
|
664
|
+
/** @internal */
|
|
665
|
+
export const Page$inboundSchema = z.object({
|
|
666
|
+
id: types.string(),
|
|
667
|
+
universalName: types.string(),
|
|
668
|
+
name: types.string(),
|
|
669
|
+
url: types.string(),
|
|
670
|
+
logoUrl: types.nullable(types.string()),
|
|
671
|
+
followerCount: types.nullable(types.number()),
|
|
672
|
+
industry: types.nullable(types.string()),
|
|
673
|
+
employeeCount: types.nullable(types.number()),
|
|
674
|
+
adminRole: types.nullable(types.string()),
|
|
675
|
+
});
|
|
676
|
+
export function pageFromJSON(jsonString) {
|
|
677
|
+
return safeParse(jsonString, (x) => Page$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Page' from JSON`);
|
|
678
|
+
}
|
|
679
|
+
/** @internal */
|
|
680
|
+
export const ListPagesResponse$inboundSchema = z.object({
|
|
681
|
+
success: types.literal(true),
|
|
682
|
+
pages: z.array(z.lazy(() => Page$inboundSchema)),
|
|
683
|
+
total: types.number(),
|
|
684
|
+
creditsUsed: types.number(),
|
|
685
|
+
retryAfter: types.number(),
|
|
686
|
+
});
|
|
687
|
+
export function listPagesResponseFromJSON(jsonString) {
|
|
688
|
+
return safeParse(jsonString, (x) => ListPagesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListPagesResponse' from JSON`);
|
|
689
|
+
}
|
|
690
|
+
/** @internal */
|
|
691
|
+
export const GetCompanyPostsRequest$outboundSchema = z.object({
|
|
692
|
+
universalName: z.string(),
|
|
693
|
+
count: z._default(z.int(), 10),
|
|
694
|
+
start: z._default(z.int(), 0),
|
|
695
|
+
});
|
|
696
|
+
export function getCompanyPostsRequestToJSON(getCompanyPostsRequest) {
|
|
697
|
+
return JSON.stringify(GetCompanyPostsRequest$outboundSchema.parse(getCompanyPostsRequest));
|
|
698
|
+
}
|
|
699
|
+
/** @internal */
|
|
700
|
+
export const GetCompanyPostsPost$inboundSchema = z.object({
|
|
701
|
+
activityUrn: types.string(),
|
|
702
|
+
postUrl: types.string(),
|
|
703
|
+
text: types.nullable(types.string()),
|
|
704
|
+
publishedAt: types.nullable(types.number()),
|
|
705
|
+
numLikes: types.nullable(types.number()),
|
|
706
|
+
numComments: types.nullable(types.number()),
|
|
707
|
+
});
|
|
708
|
+
export function getCompanyPostsPostFromJSON(jsonString) {
|
|
709
|
+
return safeParse(jsonString, (x) => GetCompanyPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPostsPost' from JSON`);
|
|
710
|
+
}
|
|
711
|
+
/** @internal */
|
|
712
|
+
export const GetCompanyPostsResponse$inboundSchema = z.object({
|
|
713
|
+
success: types.literal(true),
|
|
714
|
+
posts: z.array(z.lazy(() => GetCompanyPostsPost$inboundSchema)),
|
|
715
|
+
total: types.number(),
|
|
716
|
+
creditsUsed: types.number(),
|
|
717
|
+
retryAfter: types.number(),
|
|
718
|
+
});
|
|
719
|
+
export function getCompanyPostsResponseFromJSON(jsonString) {
|
|
720
|
+
return safeParse(jsonString, (x) => GetCompanyPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPostsResponse' from JSON`);
|
|
721
|
+
}
|
|
722
|
+
/** @internal */
|
|
723
|
+
export const GetPermissionsRequest$outboundSchema = z.object({
|
|
724
|
+
universalName: z.string(),
|
|
725
|
+
});
|
|
726
|
+
export function getPermissionsRequestToJSON(getPermissionsRequest) {
|
|
727
|
+
return JSON.stringify(GetPermissionsRequest$outboundSchema.parse(getPermissionsRequest));
|
|
728
|
+
}
|
|
729
|
+
/** @internal */
|
|
730
|
+
export const Permissions$inboundSchema = z
|
|
731
|
+
.object({
|
|
732
|
+
role: types.nullable(types.string()),
|
|
733
|
+
canCreateOrganicShare: types.boolean(),
|
|
734
|
+
canCreateComment: types.boolean(),
|
|
735
|
+
canCreateReaction: types.boolean(),
|
|
736
|
+
canDeleteShare: types.boolean(),
|
|
737
|
+
canPinShare: types.boolean(),
|
|
738
|
+
canSendMessages: types.boolean(),
|
|
739
|
+
canReadMessages: types.boolean(),
|
|
740
|
+
canReadAdminDashboard: types.boolean(),
|
|
741
|
+
canReadOrganizationUpdateAnalytics: types.boolean(),
|
|
742
|
+
canReadOrganizationVisitorAnalytics: types.boolean(),
|
|
743
|
+
canReadOrganizationFollowerAnalytics: types.boolean(),
|
|
744
|
+
canReadOrganizationSearchAppearanceAnalytics: types.boolean(),
|
|
745
|
+
canUpdateOrganizationProfile: types.boolean(),
|
|
746
|
+
canEditAdministrators: types.boolean(),
|
|
747
|
+
canDeactivateOrganization: types.boolean(),
|
|
748
|
+
canEditEvents: types.boolean(),
|
|
749
|
+
canReadEvents: types.boolean(),
|
|
750
|
+
canSponsorShare: types.boolean(),
|
|
751
|
+
canManageCareerPages: types.boolean(),
|
|
752
|
+
canManageMessagingAccess: types.boolean(),
|
|
753
|
+
canNotifyEmployees: types.boolean(),
|
|
754
|
+
canExportLeads: types.boolean(),
|
|
755
|
+
});
|
|
756
|
+
export function permissionsFromJSON(jsonString) {
|
|
757
|
+
return safeParse(jsonString, (x) => Permissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Permissions' from JSON`);
|
|
758
|
+
}
|
|
759
|
+
/** @internal */
|
|
760
|
+
export const GetPermissionsResponse$inboundSchema = z.object({
|
|
761
|
+
success: types.literal(true),
|
|
762
|
+
universalName: types.string(),
|
|
763
|
+
permissions: z.lazy(() => Permissions$inboundSchema),
|
|
764
|
+
creditsUsed: types.number(),
|
|
765
|
+
retryAfter: types.number(),
|
|
766
|
+
});
|
|
767
|
+
export function getPermissionsResponseFromJSON(jsonString) {
|
|
768
|
+
return safeParse(jsonString, (x) => GetPermissionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetPermissionsResponse' from JSON`);
|
|
769
|
+
}
|
|
770
|
+
/** @internal */
|
|
771
|
+
export const GetAnalyticsRequest$outboundSchema = z.object({
|
|
772
|
+
companyId: z.string(),
|
|
773
|
+
});
|
|
774
|
+
export function getAnalyticsRequestToJSON(getAnalyticsRequest) {
|
|
775
|
+
return JSON.stringify(GetAnalyticsRequest$outboundSchema.parse(getAnalyticsRequest));
|
|
776
|
+
}
|
|
777
|
+
/** @internal */
|
|
778
|
+
export const GetAnalyticsFoundedOn$inboundSchema = z.object({
|
|
779
|
+
year: types.number(),
|
|
780
|
+
month: types.optional(types.number()),
|
|
781
|
+
day: types.optional(types.number()),
|
|
782
|
+
});
|
|
783
|
+
export function getAnalyticsFoundedOnFromJSON(jsonString) {
|
|
784
|
+
return safeParse(jsonString, (x) => GetAnalyticsFoundedOn$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAnalyticsFoundedOn' from JSON`);
|
|
785
|
+
}
|
|
786
|
+
/** @internal */
|
|
787
|
+
export const GetAnalyticsHeadquarter$inboundSchema = z.object({
|
|
788
|
+
city: types.string(),
|
|
789
|
+
country: types.string(),
|
|
790
|
+
line1: types.optional(types.string()),
|
|
791
|
+
postalCode: types.optional(types.string()),
|
|
792
|
+
});
|
|
793
|
+
export function getAnalyticsHeadquarterFromJSON(jsonString) {
|
|
794
|
+
return safeParse(jsonString, (x) => GetAnalyticsHeadquarter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAnalyticsHeadquarter' from JSON`);
|
|
795
|
+
}
|
|
796
|
+
/** @internal */
|
|
797
|
+
export const GetAnalyticsAnalytics$inboundSchema = z.object({
|
|
798
|
+
name: types.string(),
|
|
799
|
+
universalName: types.string(),
|
|
800
|
+
followerCount: types.nullable(types.number()),
|
|
801
|
+
employeeCount: types.nullable(types.number()),
|
|
802
|
+
visitorsInPastMonthCount: types.nullable(types.number()),
|
|
803
|
+
isActive: types.boolean(),
|
|
804
|
+
foundedOn: types.nullable(z.lazy(() => GetAnalyticsFoundedOn$inboundSchema)),
|
|
805
|
+
headquarter: types.nullable(z.lazy(() => GetAnalyticsHeadquarter$inboundSchema)),
|
|
806
|
+
description: types.nullable(types.string()),
|
|
807
|
+
tagline: types.nullable(types.string()),
|
|
808
|
+
websiteUrl: types.nullable(types.string()),
|
|
809
|
+
organizationType: types.nullable(types.string()),
|
|
810
|
+
specialities: z.array(types.string()),
|
|
811
|
+
industryUrns: z.array(types.string()),
|
|
812
|
+
});
|
|
813
|
+
export function getAnalyticsAnalyticsFromJSON(jsonString) {
|
|
814
|
+
return safeParse(jsonString, (x) => GetAnalyticsAnalytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAnalyticsAnalytics' from JSON`);
|
|
815
|
+
}
|
|
816
|
+
/** @internal */
|
|
817
|
+
export const GetAnalyticsResponse$inboundSchema = z.object({
|
|
818
|
+
success: types.literal(true),
|
|
819
|
+
analytics: z.lazy(() => GetAnalyticsAnalytics$inboundSchema),
|
|
820
|
+
creditsUsed: types.number(),
|
|
821
|
+
retryAfter: types.number(),
|
|
822
|
+
});
|
|
823
|
+
export function getAnalyticsResponseFromJSON(jsonString) {
|
|
824
|
+
return safeParse(jsonString, (x) => GetAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAnalyticsResponse' from JSON`);
|
|
825
|
+
}
|
|
826
|
+
/** @internal */
|
|
827
|
+
export const ListInboxRequest$outboundSchema = z.object({
|
|
828
|
+
nextCursor: z.optional(z.string()),
|
|
829
|
+
});
|
|
830
|
+
export function listInboxRequestToJSON(listInboxRequest) {
|
|
831
|
+
return JSON.stringify(ListInboxRequest$outboundSchema.parse(listInboxRequest));
|
|
832
|
+
}
|
|
833
|
+
/** @internal */
|
|
834
|
+
export const ListInboxParticipant$inboundSchema = z.object({
|
|
835
|
+
profileUrn: types.string(),
|
|
836
|
+
firstName: types.string(),
|
|
837
|
+
lastName: types.string(),
|
|
838
|
+
profileUrl: types.nullable(types.string()),
|
|
839
|
+
headline: types.nullable(types.string()),
|
|
840
|
+
profilePicture: types.nullable(types.string()),
|
|
841
|
+
publicIdentifier: types.nullable(types.string()),
|
|
842
|
+
});
|
|
843
|
+
export function listInboxParticipantFromJSON(jsonString) {
|
|
844
|
+
return safeParse(jsonString, (x) => ListInboxParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxParticipant' from JSON`);
|
|
845
|
+
}
|
|
846
|
+
/** @internal */
|
|
847
|
+
export const ListInboxLastMessage$inboundSchema = z.object({
|
|
848
|
+
text: types.nullable(types.string()),
|
|
849
|
+
deliveredAt: types.number(),
|
|
850
|
+
senderProfileUrn: types.string(),
|
|
851
|
+
});
|
|
852
|
+
export function listInboxLastMessageFromJSON(jsonString) {
|
|
853
|
+
return safeParse(jsonString, (x) => ListInboxLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxLastMessage' from JSON`);
|
|
854
|
+
}
|
|
855
|
+
/** @internal */
|
|
856
|
+
export const ListInboxConversation$inboundSchema = z.object({
|
|
857
|
+
conversationUrn: types.string(),
|
|
858
|
+
conversationUrl: types.string(),
|
|
859
|
+
lastActivityAt: types.number(),
|
|
860
|
+
createdAt: types.number(),
|
|
861
|
+
read: types.boolean(),
|
|
862
|
+
unreadCount: types.number(),
|
|
863
|
+
groupChat: types.boolean(),
|
|
864
|
+
participants: z.array(z.lazy(() => ListInboxParticipant$inboundSchema)),
|
|
865
|
+
lastMessage: types.nullable(z.lazy(() => ListInboxLastMessage$inboundSchema)),
|
|
866
|
+
});
|
|
867
|
+
export function listInboxConversationFromJSON(jsonString) {
|
|
868
|
+
return safeParse(jsonString, (x) => ListInboxConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxConversation' from JSON`);
|
|
869
|
+
}
|
|
870
|
+
/** @internal */
|
|
871
|
+
export const ListInboxResponse$inboundSchema = z.object({
|
|
872
|
+
success: types.literal(true),
|
|
873
|
+
conversations: z.array(z.lazy(() => ListInboxConversation$inboundSchema)),
|
|
874
|
+
nextCursor: types.nullable(types.string()),
|
|
875
|
+
creditsUsed: types.number(),
|
|
876
|
+
retryAfter: types.number(),
|
|
877
|
+
});
|
|
878
|
+
export function listInboxResponseFromJSON(jsonString) {
|
|
879
|
+
return safeParse(jsonString, (x) => ListInboxResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxResponse' from JSON`);
|
|
880
|
+
}
|
|
881
|
+
/** @internal */
|
|
882
|
+
export const SearchConversationsRequest$outboundSchema = z.object({
|
|
883
|
+
keywords: z.string(),
|
|
884
|
+
nextCursor: z.optional(z.string()),
|
|
885
|
+
});
|
|
886
|
+
export function searchConversationsRequestToJSON(searchConversationsRequest) {
|
|
887
|
+
return JSON.stringify(SearchConversationsRequest$outboundSchema.parse(searchConversationsRequest));
|
|
888
|
+
}
|
|
889
|
+
/** @internal */
|
|
890
|
+
export const SearchConversationsParticipant$inboundSchema = z.object({
|
|
891
|
+
profileUrn: types.string(),
|
|
892
|
+
firstName: types.string(),
|
|
893
|
+
lastName: types.string(),
|
|
894
|
+
profileUrl: types.nullable(types.string()),
|
|
895
|
+
headline: types.nullable(types.string()),
|
|
896
|
+
profilePicture: types.nullable(types.string()),
|
|
897
|
+
publicIdentifier: types.nullable(types.string()),
|
|
898
|
+
});
|
|
899
|
+
export function searchConversationsParticipantFromJSON(jsonString) {
|
|
900
|
+
return safeParse(jsonString, (x) => SearchConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchConversationsParticipant' from JSON`);
|
|
901
|
+
}
|
|
902
|
+
/** @internal */
|
|
903
|
+
export const SearchConversationsLastMessage$inboundSchema = z.object({
|
|
904
|
+
text: types.nullable(types.string()),
|
|
905
|
+
deliveredAt: types.number(),
|
|
906
|
+
senderProfileUrn: types.string(),
|
|
907
|
+
});
|
|
908
|
+
export function searchConversationsLastMessageFromJSON(jsonString) {
|
|
909
|
+
return safeParse(jsonString, (x) => SearchConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchConversationsLastMessage' from JSON`);
|
|
910
|
+
}
|
|
911
|
+
/** @internal */
|
|
912
|
+
export const SearchConversationsConversation$inboundSchema = z.object({
|
|
913
|
+
conversationUrn: types.string(),
|
|
914
|
+
conversationUrl: types.string(),
|
|
915
|
+
lastActivityAt: types.number(),
|
|
916
|
+
createdAt: types.number(),
|
|
917
|
+
read: types.boolean(),
|
|
918
|
+
unreadCount: types.number(),
|
|
919
|
+
groupChat: types.boolean(),
|
|
920
|
+
participants: z.array(z.lazy(() => SearchConversationsParticipant$inboundSchema)),
|
|
921
|
+
lastMessage: types.nullable(z.lazy(() => SearchConversationsLastMessage$inboundSchema)),
|
|
922
|
+
});
|
|
923
|
+
export function searchConversationsConversationFromJSON(jsonString) {
|
|
924
|
+
return safeParse(jsonString, (x) => SearchConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchConversationsConversation' from JSON`);
|
|
925
|
+
}
|
|
926
|
+
/** @internal */
|
|
927
|
+
export const SearchConversationsResponse$inboundSchema = z.object({
|
|
928
|
+
success: types.literal(true),
|
|
929
|
+
conversations: z.array(z.lazy(() => SearchConversationsConversation$inboundSchema)),
|
|
930
|
+
nextCursor: types.nullable(types.string()),
|
|
931
|
+
creditsUsed: types.number(),
|
|
932
|
+
retryAfter: types.number(),
|
|
933
|
+
});
|
|
934
|
+
export function searchConversationsResponseFromJSON(jsonString) {
|
|
935
|
+
return safeParse(jsonString, (x) => SearchConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchConversationsResponse' from JSON`);
|
|
936
|
+
}
|
|
937
|
+
/** @internal */
|
|
938
|
+
export const FindConversationRequest$outboundSchema = z.object({
|
|
939
|
+
profile: z.string(),
|
|
940
|
+
includeMessages: z.optional(z.boolean()),
|
|
941
|
+
});
|
|
942
|
+
export function findConversationRequestToJSON(findConversationRequest) {
|
|
943
|
+
return JSON.stringify(FindConversationRequest$outboundSchema.parse(findConversationRequest));
|
|
944
|
+
}
|
|
945
|
+
/** @internal */
|
|
946
|
+
export const FindConversationConversation$inboundSchema = z.object({
|
|
947
|
+
conversationUrn: types.string(),
|
|
948
|
+
});
|
|
949
|
+
export function findConversationConversationFromJSON(jsonString) {
|
|
950
|
+
return safeParse(jsonString, (x) => FindConversationConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindConversationConversation' from JSON`);
|
|
951
|
+
}
|
|
952
|
+
/** @internal */
|
|
953
|
+
export const FindConversationSender$inboundSchema = z.object({
|
|
954
|
+
firstName: types.string(),
|
|
955
|
+
lastName: types.string(),
|
|
956
|
+
profileUrl: types.nullable(types.string()),
|
|
957
|
+
headline: types.nullable(types.string()),
|
|
958
|
+
profilePicture: types.nullable(types.string()),
|
|
959
|
+
publicIdentifier: types.nullable(types.string()),
|
|
960
|
+
profileUrn: types.nullable(types.string()),
|
|
961
|
+
});
|
|
962
|
+
export function findConversationSenderFromJSON(jsonString) {
|
|
963
|
+
return safeParse(jsonString, (x) => FindConversationSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindConversationSender' from JSON`);
|
|
964
|
+
}
|
|
965
|
+
/** @internal */
|
|
966
|
+
export const FindConversationType$inboundSchema = openEnums.inboundSchema(FindConversationType);
|
|
967
|
+
/** @internal */
|
|
968
|
+
export const FindConversationAttachment$inboundSchema = z.object({
|
|
969
|
+
type: FindConversationType$inboundSchema,
|
|
970
|
+
audioUrl: types.optional(types.string()),
|
|
971
|
+
audioDuration: types.optional(types.number()),
|
|
972
|
+
hostUrn: types.optional(types.string()),
|
|
973
|
+
repliedText: types.optional(types.string()),
|
|
974
|
+
repliedSenderName: types.optional(types.string()),
|
|
975
|
+
imageUrl: types.optional(types.string()),
|
|
976
|
+
fileName: types.optional(types.string()),
|
|
977
|
+
fileUrl: types.optional(types.string()),
|
|
978
|
+
});
|
|
979
|
+
export function findConversationAttachmentFromJSON(jsonString) {
|
|
980
|
+
return safeParse(jsonString, (x) => FindConversationAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindConversationAttachment' from JSON`);
|
|
981
|
+
}
|
|
982
|
+
/** @internal */
|
|
983
|
+
export const FindConversationMessage$inboundSchema = z.object({
|
|
984
|
+
messageUrn: types.string(),
|
|
985
|
+
text: types.nullable(types.string()),
|
|
986
|
+
deliveredAt: types.number(),
|
|
987
|
+
senderProfileUrn: types.string(),
|
|
988
|
+
sender: z.lazy(() => FindConversationSender$inboundSchema),
|
|
989
|
+
attachments: z.array(z.lazy(() => FindConversationAttachment$inboundSchema)),
|
|
990
|
+
});
|
|
991
|
+
export function findConversationMessageFromJSON(jsonString) {
|
|
992
|
+
return safeParse(jsonString, (x) => FindConversationMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindConversationMessage' from JSON`);
|
|
993
|
+
}
|
|
994
|
+
/** @internal */
|
|
995
|
+
export const FindConversationResponse$inboundSchema = z.object({
|
|
996
|
+
success: types.literal(true),
|
|
997
|
+
found: types.boolean(),
|
|
998
|
+
conversation: types.nullable(z.lazy(() => FindConversationConversation$inboundSchema)),
|
|
999
|
+
messages: types.nullable(z.array(z.lazy(() => FindConversationMessage$inboundSchema))),
|
|
1000
|
+
creditsUsed: types.number(),
|
|
1001
|
+
retryAfter: types.number(),
|
|
1002
|
+
});
|
|
1003
|
+
export function findConversationResponseFromJSON(jsonString) {
|
|
1004
|
+
return safeParse(jsonString, (x) => FindConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindConversationResponse' from JSON`);
|
|
1005
|
+
}
|
|
1006
|
+
/** @internal */
|
|
1007
|
+
export const GetMessagesRequest$outboundSchema = z.object({
|
|
1008
|
+
conversationUrn: z.string(),
|
|
1009
|
+
deliveredAt: z.optional(z.int()),
|
|
1010
|
+
});
|
|
1011
|
+
export function getMessagesRequestToJSON(getMessagesRequest) {
|
|
1012
|
+
return JSON.stringify(GetMessagesRequest$outboundSchema.parse(getMessagesRequest));
|
|
1013
|
+
}
|
|
1014
|
+
/** @internal */
|
|
1015
|
+
export const GetMessagesSender$inboundSchema = z.object({
|
|
1016
|
+
firstName: types.string(),
|
|
1017
|
+
lastName: types.string(),
|
|
1018
|
+
profileUrl: types.nullable(types.string()),
|
|
1019
|
+
headline: types.nullable(types.string()),
|
|
1020
|
+
profilePicture: types.nullable(types.string()),
|
|
1021
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1022
|
+
profileUrn: types.nullable(types.string()),
|
|
1023
|
+
});
|
|
1024
|
+
export function getMessagesSenderFromJSON(jsonString) {
|
|
1025
|
+
return safeParse(jsonString, (x) => GetMessagesSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMessagesSender' from JSON`);
|
|
1026
|
+
}
|
|
1027
|
+
/** @internal */
|
|
1028
|
+
export const GetMessagesType$inboundSchema = openEnums.inboundSchema(GetMessagesType);
|
|
1029
|
+
/** @internal */
|
|
1030
|
+
export const GetMessagesAttachment$inboundSchema = z.object({
|
|
1031
|
+
type: GetMessagesType$inboundSchema,
|
|
1032
|
+
audioUrl: types.optional(types.string()),
|
|
1033
|
+
audioDuration: types.optional(types.number()),
|
|
1034
|
+
hostUrn: types.optional(types.string()),
|
|
1035
|
+
repliedText: types.optional(types.string()),
|
|
1036
|
+
repliedSenderName: types.optional(types.string()),
|
|
1037
|
+
imageUrl: types.optional(types.string()),
|
|
1038
|
+
fileName: types.optional(types.string()),
|
|
1039
|
+
fileUrl: types.optional(types.string()),
|
|
1040
|
+
});
|
|
1041
|
+
export function getMessagesAttachmentFromJSON(jsonString) {
|
|
1042
|
+
return safeParse(jsonString, (x) => GetMessagesAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMessagesAttachment' from JSON`);
|
|
1043
|
+
}
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
export const GetMessagesMessage$inboundSchema = z.object({
|
|
1046
|
+
messageUrn: types.string(),
|
|
1047
|
+
text: types.nullable(types.string()),
|
|
1048
|
+
deliveredAt: types.number(),
|
|
1049
|
+
senderProfileUrn: types.string(),
|
|
1050
|
+
sender: z.lazy(() => GetMessagesSender$inboundSchema),
|
|
1051
|
+
attachments: z.array(z.lazy(() => GetMessagesAttachment$inboundSchema)),
|
|
1052
|
+
});
|
|
1053
|
+
export function getMessagesMessageFromJSON(jsonString) {
|
|
1054
|
+
return safeParse(jsonString, (x) => GetMessagesMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMessagesMessage' from JSON`);
|
|
1055
|
+
}
|
|
1056
|
+
/** @internal */
|
|
1057
|
+
export const GetMessagesResponse$inboundSchema = z.object({
|
|
1058
|
+
success: types.literal(true),
|
|
1059
|
+
messages: z.array(z.lazy(() => GetMessagesMessage$inboundSchema)),
|
|
1060
|
+
prevCursor: types.nullable(types.number()),
|
|
1061
|
+
creditsUsed: types.number(),
|
|
1062
|
+
retryAfter: types.number(),
|
|
1063
|
+
});
|
|
1064
|
+
export function getMessagesResponseFromJSON(jsonString) {
|
|
1065
|
+
return safeParse(jsonString, (x) => GetMessagesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMessagesResponse' from JSON`);
|
|
1066
|
+
}
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export const MarkSeenRequest$outboundSchema = z.object({
|
|
1069
|
+
conversationUrn: z.string(),
|
|
1070
|
+
});
|
|
1071
|
+
export function markSeenRequestToJSON(markSeenRequest) {
|
|
1072
|
+
return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
|
|
1073
|
+
}
|
|
1074
|
+
/** @internal */
|
|
1075
|
+
export const MarkSeenResponse$inboundSchema = z.object({
|
|
1076
|
+
success: types.literal(true),
|
|
1077
|
+
creditsUsed: types.number(),
|
|
1078
|
+
retryAfter: types.number(),
|
|
1079
|
+
});
|
|
1080
|
+
export function markSeenResponseFromJSON(jsonString) {
|
|
1081
|
+
return safeParse(jsonString, (x) => MarkSeenResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MarkSeenResponse' from JSON`);
|
|
1082
|
+
}
|
|
1083
|
+
/** @internal */
|
|
1084
|
+
export const MarkAllReadRequest$outboundSchema = z.object({});
|
|
1085
|
+
export function markAllReadRequestToJSON(markAllReadRequest) {
|
|
1086
|
+
return JSON.stringify(MarkAllReadRequest$outboundSchema.parse(markAllReadRequest));
|
|
1087
|
+
}
|
|
1088
|
+
/** @internal */
|
|
1089
|
+
export const MarkAllReadResponse$inboundSchema = z.object({
|
|
1090
|
+
success: types.literal(true),
|
|
1091
|
+
creditsUsed: types.number(),
|
|
1092
|
+
retryAfter: types.number(),
|
|
1093
|
+
});
|
|
1094
|
+
export function markAllReadResponseFromJSON(jsonString) {
|
|
1095
|
+
return safeParse(jsonString, (x) => MarkAllReadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MarkAllReadResponse' from JSON`);
|
|
1096
|
+
}
|
|
1097
|
+
/** @internal */
|
|
1098
|
+
export const StarRequest$outboundSchema = z.object({
|
|
1099
|
+
conversationUrn: z.string(),
|
|
1100
|
+
});
|
|
1101
|
+
export function starRequestToJSON(starRequest) {
|
|
1102
|
+
return JSON.stringify(StarRequest$outboundSchema.parse(starRequest));
|
|
1103
|
+
}
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export const StarResponse$inboundSchema = z.object({
|
|
1106
|
+
success: types.literal(true),
|
|
1107
|
+
creditsUsed: types.number(),
|
|
1108
|
+
retryAfter: types.number(),
|
|
1109
|
+
});
|
|
1110
|
+
export function starResponseFromJSON(jsonString) {
|
|
1111
|
+
return safeParse(jsonString, (x) => StarResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StarResponse' from JSON`);
|
|
1112
|
+
}
|
|
1113
|
+
/** @internal */
|
|
1114
|
+
export const UnstarRequest$outboundSchema = z.object({
|
|
1115
|
+
conversationUrn: z.string(),
|
|
1116
|
+
});
|
|
1117
|
+
export function unstarRequestToJSON(unstarRequest) {
|
|
1118
|
+
return JSON.stringify(UnstarRequest$outboundSchema.parse(unstarRequest));
|
|
1119
|
+
}
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export const UnstarResponse$inboundSchema = z.object({
|
|
1122
|
+
success: types.literal(true),
|
|
1123
|
+
creditsUsed: types.number(),
|
|
1124
|
+
retryAfter: types.number(),
|
|
1125
|
+
});
|
|
1126
|
+
export function unstarResponseFromJSON(jsonString) {
|
|
1127
|
+
return safeParse(jsonString, (x) => UnstarResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnstarResponse' from JSON`);
|
|
1128
|
+
}
|
|
1129
|
+
/** @internal */
|
|
1130
|
+
export const ListStarredRequest$outboundSchema = z.object({
|
|
1131
|
+
nextCursor: z.optional(z.string()),
|
|
1132
|
+
});
|
|
1133
|
+
export function listStarredRequestToJSON(listStarredRequest) {
|
|
1134
|
+
return JSON.stringify(ListStarredRequest$outboundSchema.parse(listStarredRequest));
|
|
1135
|
+
}
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export const ListStarredParticipant$inboundSchema = z.object({
|
|
1138
|
+
profileUrn: types.string(),
|
|
1139
|
+
firstName: types.string(),
|
|
1140
|
+
lastName: types.string(),
|
|
1141
|
+
profileUrl: types.nullable(types.string()),
|
|
1142
|
+
headline: types.nullable(types.string()),
|
|
1143
|
+
profilePicture: types.nullable(types.string()),
|
|
1144
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1145
|
+
});
|
|
1146
|
+
export function listStarredParticipantFromJSON(jsonString) {
|
|
1147
|
+
return safeParse(jsonString, (x) => ListStarredParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredParticipant' from JSON`);
|
|
1148
|
+
}
|
|
1149
|
+
/** @internal */
|
|
1150
|
+
export const ListStarredLastMessage$inboundSchema = z.object({
|
|
1151
|
+
text: types.nullable(types.string()),
|
|
1152
|
+
deliveredAt: types.number(),
|
|
1153
|
+
senderProfileUrn: types.string(),
|
|
1154
|
+
});
|
|
1155
|
+
export function listStarredLastMessageFromJSON(jsonString) {
|
|
1156
|
+
return safeParse(jsonString, (x) => ListStarredLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredLastMessage' from JSON`);
|
|
1157
|
+
}
|
|
1158
|
+
/** @internal */
|
|
1159
|
+
export const ListStarredConversation$inboundSchema = z.object({
|
|
1160
|
+
conversationUrn: types.string(),
|
|
1161
|
+
conversationUrl: types.string(),
|
|
1162
|
+
lastActivityAt: types.number(),
|
|
1163
|
+
createdAt: types.number(),
|
|
1164
|
+
read: types.boolean(),
|
|
1165
|
+
unreadCount: types.number(),
|
|
1166
|
+
groupChat: types.boolean(),
|
|
1167
|
+
participants: z.array(z.lazy(() => ListStarredParticipant$inboundSchema)),
|
|
1168
|
+
lastMessage: types.nullable(z.lazy(() => ListStarredLastMessage$inboundSchema)),
|
|
1169
|
+
});
|
|
1170
|
+
export function listStarredConversationFromJSON(jsonString) {
|
|
1171
|
+
return safeParse(jsonString, (x) => ListStarredConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversation' from JSON`);
|
|
1172
|
+
}
|
|
1173
|
+
/** @internal */
|
|
1174
|
+
export const ListStarredResponse$inboundSchema = z.object({
|
|
1175
|
+
success: types.literal(true),
|
|
1176
|
+
conversations: z.array(z.lazy(() => ListStarredConversation$inboundSchema)),
|
|
1177
|
+
nextCursor: types.nullable(types.string()),
|
|
1178
|
+
creditsUsed: types.number(),
|
|
1179
|
+
retryAfter: types.number(),
|
|
1180
|
+
});
|
|
1181
|
+
export function listStarredResponseFromJSON(jsonString) {
|
|
1182
|
+
return safeParse(jsonString, (x) => ListStarredResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredResponse' from JSON`);
|
|
1183
|
+
}
|
|
1184
|
+
/** @internal */
|
|
1185
|
+
export const ArchiveRequest$outboundSchema = z.object({
|
|
1186
|
+
conversationUrn: z.string(),
|
|
1187
|
+
});
|
|
1188
|
+
export function archiveRequestToJSON(archiveRequest) {
|
|
1189
|
+
return JSON.stringify(ArchiveRequest$outboundSchema.parse(archiveRequest));
|
|
1190
|
+
}
|
|
1191
|
+
/** @internal */
|
|
1192
|
+
export const ArchiveResponse$inboundSchema = z.object({
|
|
1193
|
+
success: types.literal(true),
|
|
1194
|
+
creditsUsed: types.number(),
|
|
1195
|
+
retryAfter: types.number(),
|
|
1196
|
+
});
|
|
1197
|
+
export function archiveResponseFromJSON(jsonString) {
|
|
1198
|
+
return safeParse(jsonString, (x) => ArchiveResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ArchiveResponse' from JSON`);
|
|
1199
|
+
}
|
|
1200
|
+
/** @internal */
|
|
1201
|
+
export const UnarchiveRequest$outboundSchema = z.object({
|
|
1202
|
+
conversationUrn: z.string(),
|
|
1203
|
+
});
|
|
1204
|
+
export function unarchiveRequestToJSON(unarchiveRequest) {
|
|
1205
|
+
return JSON.stringify(UnarchiveRequest$outboundSchema.parse(unarchiveRequest));
|
|
1206
|
+
}
|
|
1207
|
+
/** @internal */
|
|
1208
|
+
export const UnarchiveResponse$inboundSchema = z.object({
|
|
1209
|
+
success: types.literal(true),
|
|
1210
|
+
creditsUsed: types.number(),
|
|
1211
|
+
retryAfter: types.number(),
|
|
1212
|
+
});
|
|
1213
|
+
export function unarchiveResponseFromJSON(jsonString) {
|
|
1214
|
+
return safeParse(jsonString, (x) => UnarchiveResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnarchiveResponse' from JSON`);
|
|
1215
|
+
}
|
|
1216
|
+
/** @internal */
|
|
1217
|
+
export const ListArchivedRequest$outboundSchema = z.object({
|
|
1218
|
+
nextCursor: z.optional(z.string()),
|
|
1219
|
+
});
|
|
1220
|
+
export function listArchivedRequestToJSON(listArchivedRequest) {
|
|
1221
|
+
return JSON.stringify(ListArchivedRequest$outboundSchema.parse(listArchivedRequest));
|
|
1222
|
+
}
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export const ListArchivedParticipant$inboundSchema = z.object({
|
|
1225
|
+
profileUrn: types.string(),
|
|
1226
|
+
firstName: types.string(),
|
|
1227
|
+
lastName: types.string(),
|
|
1228
|
+
profileUrl: types.nullable(types.string()),
|
|
1229
|
+
headline: types.nullable(types.string()),
|
|
1230
|
+
profilePicture: types.nullable(types.string()),
|
|
1231
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1232
|
+
});
|
|
1233
|
+
export function listArchivedParticipantFromJSON(jsonString) {
|
|
1234
|
+
return safeParse(jsonString, (x) => ListArchivedParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedParticipant' from JSON`);
|
|
1235
|
+
}
|
|
1236
|
+
/** @internal */
|
|
1237
|
+
export const ListArchivedLastMessage$inboundSchema = z.object({
|
|
1238
|
+
text: types.nullable(types.string()),
|
|
1239
|
+
deliveredAt: types.number(),
|
|
1240
|
+
senderProfileUrn: types.string(),
|
|
1241
|
+
});
|
|
1242
|
+
export function listArchivedLastMessageFromJSON(jsonString) {
|
|
1243
|
+
return safeParse(jsonString, (x) => ListArchivedLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedLastMessage' from JSON`);
|
|
1244
|
+
}
|
|
1245
|
+
/** @internal */
|
|
1246
|
+
export const ListArchivedConversation$inboundSchema = z.object({
|
|
1247
|
+
conversationUrn: types.string(),
|
|
1248
|
+
conversationUrl: types.string(),
|
|
1249
|
+
lastActivityAt: types.number(),
|
|
1250
|
+
createdAt: types.number(),
|
|
1251
|
+
read: types.boolean(),
|
|
1252
|
+
unreadCount: types.number(),
|
|
1253
|
+
groupChat: types.boolean(),
|
|
1254
|
+
participants: z.array(z.lazy(() => ListArchivedParticipant$inboundSchema)),
|
|
1255
|
+
lastMessage: types.nullable(z.lazy(() => ListArchivedLastMessage$inboundSchema)),
|
|
1256
|
+
});
|
|
1257
|
+
export function listArchivedConversationFromJSON(jsonString) {
|
|
1258
|
+
return safeParse(jsonString, (x) => ListArchivedConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversation' from JSON`);
|
|
1259
|
+
}
|
|
1260
|
+
/** @internal */
|
|
1261
|
+
export const ListArchivedResponse$inboundSchema = z.object({
|
|
1262
|
+
success: types.literal(true),
|
|
1263
|
+
conversations: z.array(z.lazy(() => ListArchivedConversation$inboundSchema)),
|
|
1264
|
+
nextCursor: types.nullable(types.string()),
|
|
1265
|
+
creditsUsed: types.number(),
|
|
1266
|
+
retryAfter: types.number(),
|
|
1267
|
+
});
|
|
1268
|
+
export function listArchivedResponseFromJSON(jsonString) {
|
|
1269
|
+
return safeParse(jsonString, (x) => ListArchivedResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedResponse' from JSON`);
|
|
1270
|
+
}
|
|
1271
|
+
/** @internal */
|
|
1272
|
+
export const ReactRequest$outboundSchema = z.object({
|
|
1273
|
+
messageUrn: z.string(),
|
|
1274
|
+
emoji: z.string(),
|
|
1275
|
+
conversationUrn: z.string(),
|
|
1276
|
+
});
|
|
1277
|
+
export function reactRequestToJSON(reactRequest) {
|
|
1278
|
+
return JSON.stringify(ReactRequest$outboundSchema.parse(reactRequest));
|
|
1279
|
+
}
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
export const ReactResponse$inboundSchema = z.object({
|
|
1282
|
+
success: types.literal(true),
|
|
1283
|
+
creditsUsed: types.number(),
|
|
1284
|
+
retryAfter: types.number(),
|
|
1285
|
+
});
|
|
1286
|
+
export function reactResponseFromJSON(jsonString) {
|
|
1287
|
+
return safeParse(jsonString, (x) => ReactResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReactResponse' from JSON`);
|
|
1288
|
+
}
|
|
1289
|
+
/** @internal */
|
|
1290
|
+
export const UnreactRequest$outboundSchema = z.object({
|
|
1291
|
+
messageUrn: z.string(),
|
|
1292
|
+
emoji: z.string(),
|
|
1293
|
+
conversationUrn: z.string(),
|
|
1294
|
+
});
|
|
1295
|
+
export function unreactRequestToJSON(unreactRequest) {
|
|
1296
|
+
return JSON.stringify(UnreactRequest$outboundSchema.parse(unreactRequest));
|
|
1297
|
+
}
|
|
1298
|
+
/** @internal */
|
|
1299
|
+
export const UnreactResponse$inboundSchema = z.object({
|
|
1300
|
+
success: types.literal(true),
|
|
1301
|
+
creditsUsed: types.number(),
|
|
1302
|
+
retryAfter: types.number(),
|
|
1303
|
+
});
|
|
1304
|
+
export function unreactResponseFromJSON(jsonString) {
|
|
1305
|
+
return safeParse(jsonString, (x) => UnreactResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnreactResponse' from JSON`);
|
|
1306
|
+
}
|
|
1307
|
+
/** @internal */
|
|
1308
|
+
export const SendTypingIndicatorRequest$outboundSchema = z.object({
|
|
1309
|
+
conversationUrn: z.string(),
|
|
1310
|
+
});
|
|
1311
|
+
export function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest) {
|
|
1312
|
+
return JSON.stringify(SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest));
|
|
1313
|
+
}
|
|
1314
|
+
/** @internal */
|
|
1315
|
+
export const SendTypingIndicatorResponse$inboundSchema = z.object({
|
|
1316
|
+
success: types.literal(true),
|
|
1317
|
+
creditsUsed: types.number(),
|
|
1318
|
+
retryAfter: types.number(),
|
|
1319
|
+
});
|
|
1320
|
+
export function sendTypingIndicatorResponseFromJSON(jsonString) {
|
|
1321
|
+
return safeParse(jsonString, (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendTypingIndicatorResponse' from JSON`);
|
|
1322
|
+
}
|
|
1323
|
+
/** @internal */
|
|
1324
|
+
export const GetUnreadCountResponse$inboundSchema = z.object({
|
|
1325
|
+
success: types.literal(true),
|
|
1326
|
+
unreadCount: types.number(),
|
|
1327
|
+
creditsUsed: types.number(),
|
|
1328
|
+
retryAfter: types.number(),
|
|
1329
|
+
});
|
|
1330
|
+
export function getUnreadCountResponseFromJSON(jsonString) {
|
|
1331
|
+
return safeParse(jsonString, (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetUnreadCountResponse' from JSON`);
|
|
1332
|
+
}
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
export const FilterRequest$outboundSchema = z.object({
|
|
1335
|
+
campaignSlug: z.string(),
|
|
1336
|
+
actionSlugs: z.string(),
|
|
1337
|
+
});
|
|
1338
|
+
export function filterRequestToJSON(filterRequest) {
|
|
1339
|
+
return JSON.stringify(FilterRequest$outboundSchema.parse(filterRequest));
|
|
1340
|
+
}
|
|
1341
|
+
/** @internal */
|
|
1342
|
+
export const CheckedSlug$inboundSchema = z
|
|
1343
|
+
.object({
|
|
1344
|
+
actionSlug: types.string(),
|
|
1345
|
+
completed: types.boolean(),
|
|
1346
|
+
});
|
|
1347
|
+
export function checkedSlugFromJSON(jsonString) {
|
|
1348
|
+
return safeParse(jsonString, (x) => CheckedSlug$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CheckedSlug' from JSON`);
|
|
1349
|
+
}
|
|
1350
|
+
/** @internal */
|
|
1351
|
+
export const FilterResponse$inboundSchema = z.object({
|
|
1352
|
+
filtered: types.boolean(),
|
|
1353
|
+
checkedSlugs: z.array(z.lazy(() => CheckedSlug$inboundSchema)),
|
|
1354
|
+
creditsUsed: types.number(),
|
|
1355
|
+
retryAfter: types.number(),
|
|
1356
|
+
});
|
|
1357
|
+
export function filterResponseFromJSON(jsonString) {
|
|
1358
|
+
return safeParse(jsonString, (x) => FilterResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FilterResponse' from JSON`);
|
|
1359
|
+
}
|
|
1360
|
+
/** @internal */
|
|
1361
|
+
export const GetStatusRequestBody$outboundSchema = z.object({
|
|
1362
|
+
profiles: z.array(z.string()),
|
|
1363
|
+
});
|
|
1364
|
+
export function getStatusRequestBodyToJSON(getStatusRequestBody) {
|
|
1365
|
+
return JSON.stringify(GetStatusRequestBody$outboundSchema.parse(getStatusRequestBody));
|
|
1366
|
+
}
|
|
1367
|
+
/** @internal */
|
|
1368
|
+
export const GetStatusRequest$outboundSchema = z.object({
|
|
1369
|
+
campaignSlug: z.string(),
|
|
1370
|
+
body: z.lazy(() => GetStatusRequestBody$outboundSchema),
|
|
1371
|
+
});
|
|
1372
|
+
export function getStatusRequestToJSON(getStatusRequest) {
|
|
1373
|
+
return JSON.stringify(GetStatusRequest$outboundSchema.parse(getStatusRequest));
|
|
1374
|
+
}
|
|
1375
|
+
/** @internal */
|
|
1376
|
+
export const GetStatusProfile$inboundSchema = z.object({
|
|
1377
|
+
profile: types.string(),
|
|
1378
|
+
message: types.boolean(),
|
|
1379
|
+
reply: types.boolean(),
|
|
1380
|
+
like: types.boolean(),
|
|
1381
|
+
visit: types.boolean(),
|
|
1382
|
+
connect: types.boolean(),
|
|
1383
|
+
});
|
|
1384
|
+
export function getStatusProfileFromJSON(jsonString) {
|
|
1385
|
+
return safeParse(jsonString, (x) => GetStatusProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStatusProfile' from JSON`);
|
|
1386
|
+
}
|
|
1387
|
+
/** @internal */
|
|
1388
|
+
export const GetStatusResponse$inboundSchema = z.object({
|
|
1389
|
+
success: types.literal(true),
|
|
1390
|
+
profiles: z.array(z.lazy(() => GetStatusProfile$inboundSchema)),
|
|
1391
|
+
creditsUsed: types.number(),
|
|
1392
|
+
retryAfter: types.number(),
|
|
1393
|
+
});
|
|
1394
|
+
export function getStatusResponseFromJSON(jsonString) {
|
|
1395
|
+
return safeParse(jsonString, (x) => GetStatusResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStatusResponse' from JSON`);
|
|
1396
|
+
}
|
|
1397
|
+
/** @internal */
|
|
1398
|
+
export const SyncAction$outboundSchema = z
|
|
1399
|
+
.enum(SyncAction);
|
|
1400
|
+
/** @internal */
|
|
1401
|
+
export const SyncProfile$outboundSchema = z.object({
|
|
1402
|
+
profile: z.string(),
|
|
1403
|
+
actions: z.array(SyncAction$outboundSchema),
|
|
1404
|
+
});
|
|
1405
|
+
export function syncProfileToJSON(syncProfile) {
|
|
1406
|
+
return JSON.stringify(SyncProfile$outboundSchema.parse(syncProfile));
|
|
1407
|
+
}
|
|
1408
|
+
/** @internal */
|
|
1409
|
+
export const SyncRequestBody$outboundSchema = z.object({
|
|
1410
|
+
profiles: z.array(z.lazy(() => SyncProfile$outboundSchema)),
|
|
1411
|
+
});
|
|
1412
|
+
export function syncRequestBodyToJSON(syncRequestBody) {
|
|
1413
|
+
return JSON.stringify(SyncRequestBody$outboundSchema.parse(syncRequestBody));
|
|
1414
|
+
}
|
|
1415
|
+
/** @internal */
|
|
1416
|
+
export const SyncRequest$outboundSchema = z.object({
|
|
1417
|
+
campaignSlug: z.string(),
|
|
1418
|
+
body: z.lazy(() => SyncRequestBody$outboundSchema),
|
|
1419
|
+
});
|
|
1420
|
+
export function syncRequestToJSON(syncRequest) {
|
|
1421
|
+
return JSON.stringify(SyncRequest$outboundSchema.parse(syncRequest));
|
|
1422
|
+
}
|
|
1423
|
+
/** @internal */
|
|
1424
|
+
export const Synced$inboundSchema = z.object({
|
|
1425
|
+
profile: types.string(),
|
|
1426
|
+
actions: z.record(z.string(), types.boolean()),
|
|
1427
|
+
});
|
|
1428
|
+
export function syncedFromJSON(jsonString) {
|
|
1429
|
+
return safeParse(jsonString, (x) => Synced$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Synced' from JSON`);
|
|
1430
|
+
}
|
|
1431
|
+
/** @internal */
|
|
1432
|
+
export const SyncResponse$inboundSchema = z.object({
|
|
1433
|
+
success: types.literal(true),
|
|
1434
|
+
synced: z.array(z.lazy(() => Synced$inboundSchema)),
|
|
1435
|
+
creditsUsed: types.number(),
|
|
1436
|
+
retryAfter: types.number(),
|
|
1437
|
+
});
|
|
1438
|
+
export function syncResponseFromJSON(jsonString) {
|
|
1439
|
+
return safeParse(jsonString, (x) => SyncResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncResponse' from JSON`);
|
|
1440
|
+
}
|
|
1441
|
+
/** @internal */
|
|
1442
|
+
export const GetCampaignStatsRequest$outboundSchema = z.object({
|
|
1443
|
+
campaignSlug: z.string(),
|
|
1444
|
+
});
|
|
1445
|
+
export function getCampaignStatsRequestToJSON(getCampaignStatsRequest) {
|
|
1446
|
+
return JSON.stringify(GetCampaignStatsRequest$outboundSchema.parse(getCampaignStatsRequest));
|
|
1447
|
+
}
|
|
1448
|
+
/** @internal */
|
|
1449
|
+
export const GetCampaignStatsResponse$inboundSchema = z.object({
|
|
1450
|
+
success: types.literal(true),
|
|
1451
|
+
stats: z.record(z.string(), types.number()),
|
|
1452
|
+
totalProfiles: types.number(),
|
|
1453
|
+
creditsUsed: types.number(),
|
|
1454
|
+
retryAfter: types.number(),
|
|
1455
|
+
});
|
|
1456
|
+
export function getCampaignStatsResponseFromJSON(jsonString) {
|
|
1457
|
+
return safeParse(jsonString, (x) => GetCampaignStatsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCampaignStatsResponse' from JSON`);
|
|
1458
|
+
}
|
|
1459
|
+
/** @internal */
|
|
1460
|
+
export const UpsertSource$outboundSchema = z
|
|
1461
|
+
.enum(UpsertSource);
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export const UpsertLifecycleStage$outboundSchema = z.enum(UpsertLifecycleStage);
|
|
1464
|
+
/** @internal */
|
|
1465
|
+
export const UpsertContactRequest$outboundSchema = z.object({
|
|
1466
|
+
linkedinUrl: z.string(),
|
|
1467
|
+
profileUrn: z.optional(z.nullable(z.string())),
|
|
1468
|
+
publicIdentifier: z.optional(z.nullable(z.string())),
|
|
1469
|
+
name: z.string(),
|
|
1470
|
+
source: z._default(UpsertSource$outboundSchema, "manual_import"),
|
|
1471
|
+
sourceAngle: z.optional(z.string()),
|
|
1472
|
+
lifecycleStage: z.optional(UpsertLifecycleStage$outboundSchema),
|
|
1473
|
+
hotScore: z.optional(z.int()),
|
|
1474
|
+
qualificationNotes: z.optional(z.string()),
|
|
1475
|
+
notes: z.optional(z.string()),
|
|
1476
|
+
});
|
|
1477
|
+
export function upsertContactRequestToJSON(upsertContactRequest) {
|
|
1478
|
+
return JSON.stringify(UpsertContactRequest$outboundSchema.parse(upsertContactRequest));
|
|
1479
|
+
}
|
|
1480
|
+
/** @internal */
|
|
1481
|
+
export const UpsertRequest$outboundSchema = z.object({
|
|
1482
|
+
contacts: z.array(z.lazy(() => UpsertContactRequest$outboundSchema)),
|
|
1483
|
+
});
|
|
1484
|
+
export function upsertRequestToJSON(upsertRequest) {
|
|
1485
|
+
return JSON.stringify(UpsertRequest$outboundSchema.parse(upsertRequest));
|
|
1486
|
+
}
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
export const UpsertResults$inboundSchema = z.object({
|
|
1489
|
+
created: types.number(),
|
|
1490
|
+
updated: types.number(),
|
|
1491
|
+
skipped: types.number(),
|
|
1492
|
+
errors: z.array(types.string()),
|
|
1493
|
+
});
|
|
1494
|
+
export function upsertResultsFromJSON(jsonString) {
|
|
1495
|
+
return safeParse(jsonString, (x) => UpsertResults$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertResults' from JSON`);
|
|
1496
|
+
}
|
|
1497
|
+
/** @internal */
|
|
1498
|
+
export const UpsertContactResponse$inboundSchema = z.object({
|
|
1499
|
+
id: types.string(),
|
|
1500
|
+
linkedinUrl: types.string(),
|
|
1501
|
+
profileUrn: types.nullable(types.string()),
|
|
1502
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1503
|
+
name: types.string(),
|
|
1504
|
+
lifecycleStage: types.string(),
|
|
1505
|
+
hotScore: types.number(),
|
|
1506
|
+
qualificationNotes: types.nullable(types.string()),
|
|
1507
|
+
notes: types.nullable(types.string()),
|
|
1508
|
+
stageChangedAt: types.nullable(types.string()),
|
|
1509
|
+
profileData: types.nullable(z.any()),
|
|
1510
|
+
profileUpdatedAt: types.nullable(types.string()),
|
|
1511
|
+
conversationData: types.nullable(z.any()),
|
|
1512
|
+
conversationUpdatedAt: types.nullable(types.string()),
|
|
1513
|
+
outreachStatus: types.string(),
|
|
1514
|
+
lastContactedAt: types.nullable(types.string()),
|
|
1515
|
+
lastRepliedAt: types.nullable(types.string()),
|
|
1516
|
+
nextFollowUpAt: types.nullable(types.string()),
|
|
1517
|
+
doNotContact: types.boolean(),
|
|
1518
|
+
tags: z.array(types.string()),
|
|
1519
|
+
createdAt: types.string(),
|
|
1520
|
+
updatedAt: types.string(),
|
|
1521
|
+
});
|
|
1522
|
+
export function upsertContactResponseFromJSON(jsonString) {
|
|
1523
|
+
return safeParse(jsonString, (x) => UpsertContactResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertContactResponse' from JSON`);
|
|
1524
|
+
}
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
export const UpsertResponse$inboundSchema = z.object({
|
|
1527
|
+
success: types.literal(true),
|
|
1528
|
+
results: z.lazy(() => UpsertResults$inboundSchema),
|
|
1529
|
+
contacts: z.array(z.lazy(() => UpsertContactResponse$inboundSchema)),
|
|
1530
|
+
creditsUsed: types.number(),
|
|
1531
|
+
retryAfter: types.number(),
|
|
1532
|
+
});
|
|
1533
|
+
export function upsertResponseFromJSON(jsonString) {
|
|
1534
|
+
return safeParse(jsonString, (x) => UpsertResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertResponse' from JSON`);
|
|
1535
|
+
}
|
|
1536
|
+
/** @internal */
|
|
1537
|
+
export const SearchContactsLifecycleStage$outboundSchema = z.enum(SearchContactsLifecycleStage);
|
|
1538
|
+
/** @internal */
|
|
1539
|
+
export const SearchContactsOutreachStatus$outboundSchema = z.enum(SearchContactsOutreachStatus);
|
|
1540
|
+
/** @internal */
|
|
1541
|
+
export const DoNotContact$outboundSchema = z
|
|
1542
|
+
.enum(DoNotContact);
|
|
1543
|
+
/** @internal */
|
|
1544
|
+
export const HasProfileData$outboundSchema = z.enum(HasProfileData);
|
|
1545
|
+
/** @internal */
|
|
1546
|
+
export const SearchContactsRequest$outboundSchema = z.object({
|
|
1547
|
+
linkedinUrl: z.optional(z.string()),
|
|
1548
|
+
name: z.optional(z.string()),
|
|
1549
|
+
lifecycleStage: z.optional(SearchContactsLifecycleStage$outboundSchema),
|
|
1550
|
+
sortBy: z.optional(z.string()),
|
|
1551
|
+
minHotScore: z.optional(z.int()),
|
|
1552
|
+
outreachStatus: z.optional(SearchContactsOutreachStatus$outboundSchema),
|
|
1553
|
+
tag: z.optional(z.string()),
|
|
1554
|
+
followUpBefore: z.optional(z.string()),
|
|
1555
|
+
doNotContact: z.optional(DoNotContact$outboundSchema),
|
|
1556
|
+
hasProfileData: z.optional(HasProfileData$outboundSchema),
|
|
1557
|
+
campaignId: z.optional(z.string()),
|
|
1558
|
+
limit: z._default(z.int(), 50),
|
|
1559
|
+
offset: z._default(z.int(), 0),
|
|
1560
|
+
});
|
|
1561
|
+
export function searchContactsRequestToJSON(searchContactsRequest) {
|
|
1562
|
+
return JSON.stringify(SearchContactsRequest$outboundSchema.parse(searchContactsRequest));
|
|
1563
|
+
}
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export const SearchContactsCampaign$inboundSchema = z.object({
|
|
1566
|
+
campaignId: types.string(),
|
|
1567
|
+
campaignName: types.string(),
|
|
1568
|
+
campaignStatus: types.string(),
|
|
1569
|
+
source: types.string(),
|
|
1570
|
+
sourceAngle: types.nullable(types.string()),
|
|
1571
|
+
addedAt: types.string(),
|
|
1572
|
+
});
|
|
1573
|
+
export function searchContactsCampaignFromJSON(jsonString) {
|
|
1574
|
+
return safeParse(jsonString, (x) => SearchContactsCampaign$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchContactsCampaign' from JSON`);
|
|
1575
|
+
}
|
|
1576
|
+
/** @internal */
|
|
1577
|
+
export const SearchContactsContact$inboundSchema = z.object({
|
|
1578
|
+
id: types.string(),
|
|
1579
|
+
linkedinUrl: types.string(),
|
|
1580
|
+
profileUrn: types.nullable(types.string()),
|
|
1581
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1582
|
+
name: types.string(),
|
|
1583
|
+
lifecycleStage: types.string(),
|
|
1584
|
+
hotScore: types.number(),
|
|
1585
|
+
qualificationNotes: types.nullable(types.string()),
|
|
1586
|
+
notes: types.nullable(types.string()),
|
|
1587
|
+
stageChangedAt: types.nullable(types.string()),
|
|
1588
|
+
profileData: types.nullable(z.any()),
|
|
1589
|
+
profileUpdatedAt: types.nullable(types.string()),
|
|
1590
|
+
conversationData: types.nullable(z.any()),
|
|
1591
|
+
conversationUpdatedAt: types.nullable(types.string()),
|
|
1592
|
+
outreachStatus: types.string(),
|
|
1593
|
+
lastContactedAt: types.nullable(types.string()),
|
|
1594
|
+
lastRepliedAt: types.nullable(types.string()),
|
|
1595
|
+
nextFollowUpAt: types.nullable(types.string()),
|
|
1596
|
+
doNotContact: types.boolean(),
|
|
1597
|
+
tags: z.array(types.string()),
|
|
1598
|
+
createdAt: types.string(),
|
|
1599
|
+
updatedAt: types.string(),
|
|
1600
|
+
campaigns: z.array(z.lazy(() => SearchContactsCampaign$inboundSchema)),
|
|
1601
|
+
});
|
|
1602
|
+
export function searchContactsContactFromJSON(jsonString) {
|
|
1603
|
+
return safeParse(jsonString, (x) => SearchContactsContact$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchContactsContact' from JSON`);
|
|
1604
|
+
}
|
|
1605
|
+
//# sourceMappingURL=search-contacts-contact.js.map
|