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,2216 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
import { SearchContactsContact } from "./search-contacts-contact.js";
|
|
6
|
+
export type SearchContactsPagination = {
|
|
7
|
+
limit: number;
|
|
8
|
+
offset: number;
|
|
9
|
+
total: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Matching contacts
|
|
13
|
+
*/
|
|
14
|
+
export type SearchContactsResponse = {
|
|
15
|
+
success: true;
|
|
16
|
+
contacts: Array<SearchContactsContact>;
|
|
17
|
+
pagination: SearchContactsPagination;
|
|
18
|
+
/**
|
|
19
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
20
|
+
*/
|
|
21
|
+
creditsUsed: number;
|
|
22
|
+
/**
|
|
23
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
24
|
+
*/
|
|
25
|
+
retryAfter: number;
|
|
26
|
+
};
|
|
27
|
+
export type GetContactRequest = {
|
|
28
|
+
/**
|
|
29
|
+
* Contact ID
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
};
|
|
33
|
+
export type GetContactActivity = {
|
|
34
|
+
id: string;
|
|
35
|
+
type: string;
|
|
36
|
+
content: string | null;
|
|
37
|
+
metadata: any | null;
|
|
38
|
+
createdAt: string;
|
|
39
|
+
};
|
|
40
|
+
export type GetContactCampaign = {
|
|
41
|
+
campaignId: string;
|
|
42
|
+
campaignName: string;
|
|
43
|
+
campaignStatus: string;
|
|
44
|
+
source: string;
|
|
45
|
+
sourceAngle: string | null;
|
|
46
|
+
addedAt: string;
|
|
47
|
+
};
|
|
48
|
+
export type GetContactContact = {
|
|
49
|
+
id: string;
|
|
50
|
+
linkedinUrl: string;
|
|
51
|
+
/**
|
|
52
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
|
|
53
|
+
*/
|
|
54
|
+
profileUrn: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* LinkedIn vanity slug (e.g. joshuaau)
|
|
57
|
+
*/
|
|
58
|
+
publicIdentifier: string | null;
|
|
59
|
+
name: string;
|
|
60
|
+
lifecycleStage: string;
|
|
61
|
+
hotScore: number;
|
|
62
|
+
qualificationNotes: string | null;
|
|
63
|
+
notes: string | null;
|
|
64
|
+
stageChangedAt: string | null;
|
|
65
|
+
profileData: any | null;
|
|
66
|
+
profileUpdatedAt: string | null;
|
|
67
|
+
conversationData: any | null;
|
|
68
|
+
conversationUpdatedAt: string | null;
|
|
69
|
+
outreachStatus: string;
|
|
70
|
+
lastContactedAt: string | null;
|
|
71
|
+
lastRepliedAt: string | null;
|
|
72
|
+
nextFollowUpAt: string | null;
|
|
73
|
+
doNotContact: boolean;
|
|
74
|
+
tags: Array<string>;
|
|
75
|
+
createdAt: string;
|
|
76
|
+
updatedAt: string;
|
|
77
|
+
activities: Array<GetContactActivity>;
|
|
78
|
+
campaigns: Array<GetContactCampaign>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Contact details
|
|
82
|
+
*/
|
|
83
|
+
export type GetContactResponse = {
|
|
84
|
+
success: true;
|
|
85
|
+
contact: GetContactContact;
|
|
86
|
+
/**
|
|
87
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
88
|
+
*/
|
|
89
|
+
creditsUsed: number;
|
|
90
|
+
/**
|
|
91
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
92
|
+
*/
|
|
93
|
+
retryAfter: number;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Promote to new stage (forward-only, except rejected)
|
|
97
|
+
*/
|
|
98
|
+
export declare const UpdateLifecycleStage: {
|
|
99
|
+
readonly Contact: "contact";
|
|
100
|
+
readonly Lead: "lead";
|
|
101
|
+
readonly Qualified: "qualified";
|
|
102
|
+
readonly Approved: "approved";
|
|
103
|
+
readonly Rejected: "rejected";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Promote to new stage (forward-only, except rejected)
|
|
107
|
+
*/
|
|
108
|
+
export type UpdateLifecycleStage = ClosedEnum<typeof UpdateLifecycleStage>;
|
|
109
|
+
/**
|
|
110
|
+
* Manual outreach status override
|
|
111
|
+
*/
|
|
112
|
+
export declare const UpdateOutreachStatus: {
|
|
113
|
+
readonly None: "none";
|
|
114
|
+
readonly ConnectionSent: "connection_sent";
|
|
115
|
+
readonly Connected: "connected";
|
|
116
|
+
readonly DmSent: "dm_sent";
|
|
117
|
+
readonly FollowedUp: "followed_up";
|
|
118
|
+
readonly Replied: "replied";
|
|
119
|
+
readonly InConversation: "in_conversation";
|
|
120
|
+
readonly MeetingBooked: "meeting_booked";
|
|
121
|
+
readonly Converted: "converted";
|
|
122
|
+
readonly NotInterested: "not_interested";
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Manual outreach status override
|
|
126
|
+
*/
|
|
127
|
+
export type UpdateOutreachStatus = ClosedEnum<typeof UpdateOutreachStatus>;
|
|
128
|
+
export type Tags3 = {
|
|
129
|
+
set: Array<string>;
|
|
130
|
+
};
|
|
131
|
+
export type Tags2 = {
|
|
132
|
+
add?: Array<string> | undefined;
|
|
133
|
+
remove: Array<string>;
|
|
134
|
+
};
|
|
135
|
+
export type Tags1 = {
|
|
136
|
+
add: Array<string>;
|
|
137
|
+
remove?: Array<string> | undefined;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Add/remove/set tags
|
|
141
|
+
*/
|
|
142
|
+
export type TagsUnion = Tags1 | Tags2 | Tags3;
|
|
143
|
+
export type UpdateRequestBody = {
|
|
144
|
+
/**
|
|
145
|
+
* Promote to new stage (forward-only, except rejected)
|
|
146
|
+
*/
|
|
147
|
+
lifecycleStage?: UpdateLifecycleStage | undefined;
|
|
148
|
+
hotScore?: number | undefined;
|
|
149
|
+
qualificationNotes?: string | undefined;
|
|
150
|
+
notes?: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* Update contact name
|
|
153
|
+
*/
|
|
154
|
+
name?: string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Full LinkedIn profile snapshot (JSON)
|
|
157
|
+
*/
|
|
158
|
+
profileData?: any | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* When profileData was last refreshed
|
|
161
|
+
*/
|
|
162
|
+
profileUpdatedAt?: Date | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* DM history (JSON: historySummary + recentMessages)
|
|
165
|
+
*/
|
|
166
|
+
conversationData?: any | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* When conversationData was last synced
|
|
169
|
+
*/
|
|
170
|
+
conversationUpdatedAt?: Date | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Manual outreach status override
|
|
173
|
+
*/
|
|
174
|
+
outreachStatus?: UpdateOutreachStatus | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* When agent should follow up (null to clear)
|
|
177
|
+
*/
|
|
178
|
+
nextFollowUpAt?: Date | null | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* Flag contact as do-not-contact
|
|
181
|
+
*/
|
|
182
|
+
doNotContact?: boolean | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* Add/remove/set tags
|
|
185
|
+
*/
|
|
186
|
+
tags?: Tags1 | Tags2 | Tags3 | undefined;
|
|
187
|
+
};
|
|
188
|
+
export type UpdateRequest = {
|
|
189
|
+
/**
|
|
190
|
+
* Contact ID
|
|
191
|
+
*/
|
|
192
|
+
id: string;
|
|
193
|
+
body: UpdateRequestBody;
|
|
194
|
+
};
|
|
195
|
+
export type UpdateContact = {
|
|
196
|
+
id: string;
|
|
197
|
+
linkedinUrl: string;
|
|
198
|
+
/**
|
|
199
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
|
|
200
|
+
*/
|
|
201
|
+
profileUrn: string | null;
|
|
202
|
+
/**
|
|
203
|
+
* LinkedIn vanity slug (e.g. joshuaau)
|
|
204
|
+
*/
|
|
205
|
+
publicIdentifier: string | null;
|
|
206
|
+
name: string;
|
|
207
|
+
lifecycleStage: string;
|
|
208
|
+
hotScore: number;
|
|
209
|
+
qualificationNotes: string | null;
|
|
210
|
+
notes: string | null;
|
|
211
|
+
stageChangedAt: string | null;
|
|
212
|
+
profileData: any | null;
|
|
213
|
+
profileUpdatedAt: string | null;
|
|
214
|
+
conversationData: any | null;
|
|
215
|
+
conversationUpdatedAt: string | null;
|
|
216
|
+
outreachStatus: string;
|
|
217
|
+
lastContactedAt: string | null;
|
|
218
|
+
lastRepliedAt: string | null;
|
|
219
|
+
nextFollowUpAt: string | null;
|
|
220
|
+
doNotContact: boolean;
|
|
221
|
+
tags: Array<string>;
|
|
222
|
+
createdAt: string;
|
|
223
|
+
updatedAt: string;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Updated contact
|
|
227
|
+
*/
|
|
228
|
+
export type UpdateResponse = {
|
|
229
|
+
success: true;
|
|
230
|
+
contact: UpdateContact;
|
|
231
|
+
/**
|
|
232
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
233
|
+
*/
|
|
234
|
+
creditsUsed: number;
|
|
235
|
+
/**
|
|
236
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
237
|
+
*/
|
|
238
|
+
retryAfter: number;
|
|
239
|
+
};
|
|
240
|
+
export type ListActivitiesRequest = {
|
|
241
|
+
/**
|
|
242
|
+
* Filter by activity type
|
|
243
|
+
*/
|
|
244
|
+
type?: string | undefined;
|
|
245
|
+
limit?: number | undefined;
|
|
246
|
+
offset?: number | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* Contact ID
|
|
249
|
+
*/
|
|
250
|
+
id: string;
|
|
251
|
+
};
|
|
252
|
+
export type ListActivitiesActivity = {
|
|
253
|
+
id: string;
|
|
254
|
+
type: string;
|
|
255
|
+
content: string | null;
|
|
256
|
+
metadata: any | null;
|
|
257
|
+
createdAt: string;
|
|
258
|
+
};
|
|
259
|
+
export type ListActivitiesPagination = {
|
|
260
|
+
limit: number;
|
|
261
|
+
offset: number;
|
|
262
|
+
total: number;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Contact activities
|
|
266
|
+
*/
|
|
267
|
+
export type ListActivitiesResponse = {
|
|
268
|
+
success: true;
|
|
269
|
+
activities: Array<ListActivitiesActivity>;
|
|
270
|
+
pagination: ListActivitiesPagination;
|
|
271
|
+
/**
|
|
272
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
273
|
+
*/
|
|
274
|
+
creditsUsed: number;
|
|
275
|
+
/**
|
|
276
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
277
|
+
*/
|
|
278
|
+
retryAfter: number;
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Activity type
|
|
282
|
+
*/
|
|
283
|
+
export declare const AddActivitiesType: {
|
|
284
|
+
readonly ConnectionRequest: "connection_request";
|
|
285
|
+
readonly Message: "message";
|
|
286
|
+
readonly FollowUp: "follow_up";
|
|
287
|
+
readonly ReplyReceived: "reply_received";
|
|
288
|
+
readonly ConnectionAccepted: "connection_accepted";
|
|
289
|
+
readonly ProfileView: "profile_view";
|
|
290
|
+
readonly EngagementObserved: "engagement_observed";
|
|
291
|
+
readonly PostInteraction: "post_interaction";
|
|
292
|
+
readonly SearchFound: "search_found";
|
|
293
|
+
readonly Qualification: "qualification";
|
|
294
|
+
readonly StageChange: "stage_change";
|
|
295
|
+
readonly MessageReceived: "message_received";
|
|
296
|
+
readonly UserInterest: "user_interest";
|
|
297
|
+
readonly MeetingBooked: "meeting_booked";
|
|
298
|
+
readonly MeetingCompleted: "meeting_completed";
|
|
299
|
+
readonly MeetingCancelled: "meeting_cancelled";
|
|
300
|
+
readonly DoNotContact: "do_not_contact";
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Activity type
|
|
304
|
+
*/
|
|
305
|
+
export type AddActivitiesType = ClosedEnum<typeof AddActivitiesType>;
|
|
306
|
+
export type AddActivitiesActivity = {
|
|
307
|
+
/**
|
|
308
|
+
* Activity type
|
|
309
|
+
*/
|
|
310
|
+
type: AddActivitiesType;
|
|
311
|
+
/**
|
|
312
|
+
* Human-readable description of what happened
|
|
313
|
+
*/
|
|
314
|
+
content?: string | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* Structured data: postUrl, postAuthor, angle, distance, etc.
|
|
317
|
+
*/
|
|
318
|
+
metadata?: any | undefined;
|
|
319
|
+
};
|
|
320
|
+
export type AddActivitiesRequestBody = {
|
|
321
|
+
/**
|
|
322
|
+
* Activities to log
|
|
323
|
+
*/
|
|
324
|
+
activities: Array<AddActivitiesActivity>;
|
|
325
|
+
};
|
|
326
|
+
export type AddActivitiesRequest = {
|
|
327
|
+
/**
|
|
328
|
+
* Contact ID
|
|
329
|
+
*/
|
|
330
|
+
id: string;
|
|
331
|
+
body: AddActivitiesRequestBody;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Activities logged
|
|
335
|
+
*/
|
|
336
|
+
export type AddActivitiesResponse = {
|
|
337
|
+
success: true;
|
|
338
|
+
created: number;
|
|
339
|
+
/**
|
|
340
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
341
|
+
*/
|
|
342
|
+
creditsUsed: number;
|
|
343
|
+
/**
|
|
344
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
345
|
+
*/
|
|
346
|
+
retryAfter: number;
|
|
347
|
+
};
|
|
348
|
+
export declare const BulkUpdateLifecycleStage: {
|
|
349
|
+
readonly Contact: "contact";
|
|
350
|
+
readonly Lead: "lead";
|
|
351
|
+
readonly Qualified: "qualified";
|
|
352
|
+
readonly Approved: "approved";
|
|
353
|
+
readonly Rejected: "rejected";
|
|
354
|
+
};
|
|
355
|
+
export type BulkUpdateLifecycleStage = ClosedEnum<typeof BulkUpdateLifecycleStage>;
|
|
356
|
+
export declare const BulkUpdateOutreachStatus: {
|
|
357
|
+
readonly None: "none";
|
|
358
|
+
readonly ConnectionSent: "connection_sent";
|
|
359
|
+
readonly Connected: "connected";
|
|
360
|
+
readonly DmSent: "dm_sent";
|
|
361
|
+
readonly FollowedUp: "followed_up";
|
|
362
|
+
readonly Replied: "replied";
|
|
363
|
+
readonly InConversation: "in_conversation";
|
|
364
|
+
readonly MeetingBooked: "meeting_booked";
|
|
365
|
+
readonly Converted: "converted";
|
|
366
|
+
readonly NotInterested: "not_interested";
|
|
367
|
+
};
|
|
368
|
+
export type BulkUpdateOutreachStatus = ClosedEnum<typeof BulkUpdateOutreachStatus>;
|
|
369
|
+
export type BulkUpdateTags3 = {
|
|
370
|
+
set: Array<string>;
|
|
371
|
+
};
|
|
372
|
+
export type BulkUpdateTags2 = {
|
|
373
|
+
add?: Array<string> | undefined;
|
|
374
|
+
remove: Array<string>;
|
|
375
|
+
};
|
|
376
|
+
export type BulkUpdateTags1 = {
|
|
377
|
+
add: Array<string>;
|
|
378
|
+
remove?: Array<string> | undefined;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Tag operations: { add, remove } or { set }
|
|
382
|
+
*/
|
|
383
|
+
export type BulkUpdateTagsUnion = BulkUpdateTags1 | BulkUpdateTags2 | BulkUpdateTags3;
|
|
384
|
+
/**
|
|
385
|
+
* Fields to update on all matching contacts
|
|
386
|
+
*/
|
|
387
|
+
export type Update = {
|
|
388
|
+
lifecycleStage?: BulkUpdateLifecycleStage | undefined;
|
|
389
|
+
hotScore?: number | undefined;
|
|
390
|
+
qualificationNotes?: string | undefined;
|
|
391
|
+
notes?: string | undefined;
|
|
392
|
+
outreachStatus?: BulkUpdateOutreachStatus | undefined;
|
|
393
|
+
nextFollowUpAt?: Date | null | undefined;
|
|
394
|
+
doNotContact?: boolean | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* Tag operations: { add, remove } or { set }
|
|
397
|
+
*/
|
|
398
|
+
tags?: BulkUpdateTags1 | BulkUpdateTags2 | BulkUpdateTags3 | undefined;
|
|
399
|
+
};
|
|
400
|
+
export type BulkUpdateRequest = {
|
|
401
|
+
/**
|
|
402
|
+
* Contact IDs to update
|
|
403
|
+
*/
|
|
404
|
+
contactIds: Array<string>;
|
|
405
|
+
/**
|
|
406
|
+
* Fields to update on all matching contacts
|
|
407
|
+
*/
|
|
408
|
+
update: Update;
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* Bulk update results
|
|
412
|
+
*/
|
|
413
|
+
export type BulkUpdateResponse = {
|
|
414
|
+
success: true;
|
|
415
|
+
updated: number;
|
|
416
|
+
skipped: number;
|
|
417
|
+
errors: Array<string>;
|
|
418
|
+
/**
|
|
419
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
420
|
+
*/
|
|
421
|
+
creditsUsed: number;
|
|
422
|
+
/**
|
|
423
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
424
|
+
*/
|
|
425
|
+
retryAfter: number;
|
|
426
|
+
};
|
|
427
|
+
export type GetContactStatsRequest = {
|
|
428
|
+
/**
|
|
429
|
+
* Filter stats by campaign
|
|
430
|
+
*/
|
|
431
|
+
campaignId?: string | undefined;
|
|
432
|
+
};
|
|
433
|
+
export type Funnel = {
|
|
434
|
+
contact: number;
|
|
435
|
+
lead: number;
|
|
436
|
+
qualified: number;
|
|
437
|
+
approved: number;
|
|
438
|
+
rejected: number;
|
|
439
|
+
};
|
|
440
|
+
export type BySourceAngle = {
|
|
441
|
+
total: number;
|
|
442
|
+
contact: number;
|
|
443
|
+
lead: number;
|
|
444
|
+
qualified: number;
|
|
445
|
+
approved: number;
|
|
446
|
+
rejected: number;
|
|
447
|
+
};
|
|
448
|
+
export type ByCampaign = {
|
|
449
|
+
name: string;
|
|
450
|
+
total: number;
|
|
451
|
+
contact: number;
|
|
452
|
+
lead: number;
|
|
453
|
+
qualified: number;
|
|
454
|
+
approved: number;
|
|
455
|
+
rejected: number;
|
|
456
|
+
};
|
|
457
|
+
export type GetContactStatsDaily = {
|
|
458
|
+
date: string;
|
|
459
|
+
created: number;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* Contact statistics
|
|
463
|
+
*/
|
|
464
|
+
export type GetContactStatsResponse = {
|
|
465
|
+
success: true;
|
|
466
|
+
funnel: Funnel;
|
|
467
|
+
bySource: {
|
|
468
|
+
[k: string]: number;
|
|
469
|
+
};
|
|
470
|
+
bySourceAngle: {
|
|
471
|
+
[k: string]: BySourceAngle;
|
|
472
|
+
};
|
|
473
|
+
byCampaign: {
|
|
474
|
+
[k: string]: ByCampaign;
|
|
475
|
+
};
|
|
476
|
+
daily: Array<GetContactStatsDaily>;
|
|
477
|
+
/**
|
|
478
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
479
|
+
*/
|
|
480
|
+
creditsUsed: number;
|
|
481
|
+
/**
|
|
482
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
483
|
+
*/
|
|
484
|
+
retryAfter: number;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* When 'true', omits the data payload and returns only keys + timestamps. Useful for state overview without transferring large payloads.
|
|
488
|
+
*/
|
|
489
|
+
export declare const KeysOnly: {
|
|
490
|
+
readonly True: "true";
|
|
491
|
+
readonly False: "false";
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* When 'true', omits the data payload and returns only keys + timestamps. Useful for state overview without transferring large payloads.
|
|
495
|
+
*/
|
|
496
|
+
export type KeysOnly = ClosedEnum<typeof KeysOnly>;
|
|
497
|
+
export type ListAgentStatesRequest = {
|
|
498
|
+
/**
|
|
499
|
+
* When 'true', omits the data payload and returns only keys + timestamps. Useful for state overview without transferring large payloads.
|
|
500
|
+
*/
|
|
501
|
+
keysOnly?: KeysOnly | undefined;
|
|
502
|
+
};
|
|
503
|
+
export type State = {
|
|
504
|
+
key: string;
|
|
505
|
+
/**
|
|
506
|
+
* Full state object
|
|
507
|
+
*/
|
|
508
|
+
data: any;
|
|
509
|
+
updatedAt: string | null;
|
|
510
|
+
};
|
|
511
|
+
/**
|
|
512
|
+
* All state entries
|
|
513
|
+
*/
|
|
514
|
+
export type ListAgentStatesResponse = {
|
|
515
|
+
success: true;
|
|
516
|
+
states: Array<State>;
|
|
517
|
+
/**
|
|
518
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
519
|
+
*/
|
|
520
|
+
creditsUsed: number;
|
|
521
|
+
/**
|
|
522
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
523
|
+
*/
|
|
524
|
+
retryAfter: number;
|
|
525
|
+
};
|
|
526
|
+
export type GetAgentStateRequest = {
|
|
527
|
+
/**
|
|
528
|
+
* State key
|
|
529
|
+
*/
|
|
530
|
+
key: string;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* State entry
|
|
534
|
+
*/
|
|
535
|
+
export type GetAgentStateResponse = {
|
|
536
|
+
success: true;
|
|
537
|
+
key: string;
|
|
538
|
+
/**
|
|
539
|
+
* Full state object
|
|
540
|
+
*/
|
|
541
|
+
data: any;
|
|
542
|
+
updatedAt: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
545
|
+
*/
|
|
546
|
+
creditsUsed: number;
|
|
547
|
+
/**
|
|
548
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
549
|
+
*/
|
|
550
|
+
retryAfter: number;
|
|
551
|
+
};
|
|
552
|
+
export type SetAgentStateRequestBody = {
|
|
553
|
+
/**
|
|
554
|
+
* Full state object to store
|
|
555
|
+
*/
|
|
556
|
+
data: any;
|
|
557
|
+
};
|
|
558
|
+
export type SetAgentStateRequest = {
|
|
559
|
+
/**
|
|
560
|
+
* State key
|
|
561
|
+
*/
|
|
562
|
+
key: string;
|
|
563
|
+
body: SetAgentStateRequestBody;
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* State saved
|
|
567
|
+
*/
|
|
568
|
+
export type SetAgentStateResponse = {
|
|
569
|
+
success: true;
|
|
570
|
+
key: string;
|
|
571
|
+
/**
|
|
572
|
+
* Full state object
|
|
573
|
+
*/
|
|
574
|
+
data: any;
|
|
575
|
+
updatedAt: string | null;
|
|
576
|
+
/**
|
|
577
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
578
|
+
*/
|
|
579
|
+
creditsUsed: number;
|
|
580
|
+
/**
|
|
581
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
582
|
+
*/
|
|
583
|
+
retryAfter: number;
|
|
584
|
+
};
|
|
585
|
+
export type DeleteAgentStateRequest = {
|
|
586
|
+
/**
|
|
587
|
+
* State key
|
|
588
|
+
*/
|
|
589
|
+
key: string;
|
|
590
|
+
};
|
|
591
|
+
/**
|
|
592
|
+
* State deleted
|
|
593
|
+
*/
|
|
594
|
+
export type DeleteAgentStateResponse = {
|
|
595
|
+
success: true;
|
|
596
|
+
/**
|
|
597
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
598
|
+
*/
|
|
599
|
+
creditsUsed: number;
|
|
600
|
+
/**
|
|
601
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
602
|
+
*/
|
|
603
|
+
retryAfter: number;
|
|
604
|
+
};
|
|
605
|
+
export type PatchAgentStateRequestBody = {
|
|
606
|
+
/**
|
|
607
|
+
* Partial state fields to merge
|
|
608
|
+
*/
|
|
609
|
+
data: {
|
|
610
|
+
[k: string]: any;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
export type PatchAgentStateRequest = {
|
|
614
|
+
/**
|
|
615
|
+
* State key
|
|
616
|
+
*/
|
|
617
|
+
key: string;
|
|
618
|
+
body: PatchAgentStateRequestBody;
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* State merged
|
|
622
|
+
*/
|
|
623
|
+
export type PatchAgentStateResponse = {
|
|
624
|
+
success: true;
|
|
625
|
+
key: string;
|
|
626
|
+
/**
|
|
627
|
+
* Full state object
|
|
628
|
+
*/
|
|
629
|
+
data: any;
|
|
630
|
+
updatedAt: string | null;
|
|
631
|
+
/**
|
|
632
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
633
|
+
*/
|
|
634
|
+
creditsUsed: number;
|
|
635
|
+
/**
|
|
636
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
637
|
+
*/
|
|
638
|
+
retryAfter: number;
|
|
639
|
+
};
|
|
640
|
+
export declare const ListCampaignsType: {
|
|
641
|
+
readonly Outreach: "outreach";
|
|
642
|
+
readonly LeadGen: "lead_gen";
|
|
643
|
+
readonly LeadMagnet: "lead_magnet";
|
|
644
|
+
};
|
|
645
|
+
export type ListCampaignsType = ClosedEnum<typeof ListCampaignsType>;
|
|
646
|
+
export type ListCampaignsRequest = {
|
|
647
|
+
type?: ListCampaignsType | undefined;
|
|
648
|
+
status?: string | undefined;
|
|
649
|
+
limit?: number | undefined;
|
|
650
|
+
offset?: number | undefined;
|
|
651
|
+
};
|
|
652
|
+
export type ListCampaignsStageCounts = {
|
|
653
|
+
contact: number;
|
|
654
|
+
lead: number;
|
|
655
|
+
qualified: number;
|
|
656
|
+
approved: number;
|
|
657
|
+
rejected: number;
|
|
658
|
+
};
|
|
659
|
+
export type ListCampaignsCampaign = {
|
|
660
|
+
id: string;
|
|
661
|
+
name: string;
|
|
662
|
+
description: string | null;
|
|
663
|
+
context: string | null;
|
|
664
|
+
type: string;
|
|
665
|
+
status: string;
|
|
666
|
+
totalContacts: number;
|
|
667
|
+
stageCounts?: ListCampaignsStageCounts | undefined;
|
|
668
|
+
createdAt: string;
|
|
669
|
+
updatedAt: string;
|
|
670
|
+
};
|
|
671
|
+
export type ListCampaignsPagination = {
|
|
672
|
+
limit: number;
|
|
673
|
+
offset: number;
|
|
674
|
+
total: number;
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* Campaigns list
|
|
678
|
+
*/
|
|
679
|
+
export type ListCampaignsResponse = {
|
|
680
|
+
success: true;
|
|
681
|
+
campaigns: Array<ListCampaignsCampaign>;
|
|
682
|
+
pagination: ListCampaignsPagination;
|
|
683
|
+
/**
|
|
684
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
685
|
+
*/
|
|
686
|
+
creditsUsed: number;
|
|
687
|
+
/**
|
|
688
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
689
|
+
*/
|
|
690
|
+
retryAfter: number;
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* Campaign type
|
|
694
|
+
*/
|
|
695
|
+
export declare const CreateCampaignType: {
|
|
696
|
+
readonly Outreach: "outreach";
|
|
697
|
+
readonly LeadGen: "lead_gen";
|
|
698
|
+
readonly LeadMagnet: "lead_magnet";
|
|
699
|
+
};
|
|
700
|
+
/**
|
|
701
|
+
* Campaign type
|
|
702
|
+
*/
|
|
703
|
+
export type CreateCampaignType = ClosedEnum<typeof CreateCampaignType>;
|
|
704
|
+
export type CreateCampaignRequest = {
|
|
705
|
+
/**
|
|
706
|
+
* Campaign name (e.g., 'lg-engagement-competitor-openai')
|
|
707
|
+
*/
|
|
708
|
+
name: string;
|
|
709
|
+
/**
|
|
710
|
+
* Optional campaign description
|
|
711
|
+
*/
|
|
712
|
+
description?: string | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* Full agent instructions in markdown
|
|
715
|
+
*/
|
|
716
|
+
context?: string | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* Campaign type
|
|
719
|
+
*/
|
|
720
|
+
type?: CreateCampaignType | undefined;
|
|
721
|
+
};
|
|
722
|
+
export type CreateCampaignStageCounts = {
|
|
723
|
+
contact: number;
|
|
724
|
+
lead: number;
|
|
725
|
+
qualified: number;
|
|
726
|
+
approved: number;
|
|
727
|
+
rejected: number;
|
|
728
|
+
};
|
|
729
|
+
export type CreateCampaignCampaign = {
|
|
730
|
+
id: string;
|
|
731
|
+
name: string;
|
|
732
|
+
description: string | null;
|
|
733
|
+
context: string | null;
|
|
734
|
+
type: string;
|
|
735
|
+
status: string;
|
|
736
|
+
totalContacts: number;
|
|
737
|
+
stageCounts?: CreateCampaignStageCounts | undefined;
|
|
738
|
+
createdAt: string;
|
|
739
|
+
updatedAt: string;
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* Campaign created
|
|
743
|
+
*/
|
|
744
|
+
export type CreateCampaignResponse = {
|
|
745
|
+
success: true;
|
|
746
|
+
campaign: CreateCampaignCampaign;
|
|
747
|
+
/**
|
|
748
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
749
|
+
*/
|
|
750
|
+
creditsUsed: number;
|
|
751
|
+
/**
|
|
752
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
753
|
+
*/
|
|
754
|
+
retryAfter: number;
|
|
755
|
+
};
|
|
756
|
+
export type GetCampaignRequest = {
|
|
757
|
+
/**
|
|
758
|
+
* Campaign ID
|
|
759
|
+
*/
|
|
760
|
+
campaignId: string;
|
|
761
|
+
};
|
|
762
|
+
export type GetCampaignStageCounts = {
|
|
763
|
+
contact: number;
|
|
764
|
+
lead: number;
|
|
765
|
+
qualified: number;
|
|
766
|
+
approved: number;
|
|
767
|
+
rejected: number;
|
|
768
|
+
};
|
|
769
|
+
export type GetCampaignCampaign = {
|
|
770
|
+
id: string;
|
|
771
|
+
name: string;
|
|
772
|
+
description: string | null;
|
|
773
|
+
context: string | null;
|
|
774
|
+
type: string;
|
|
775
|
+
status: string;
|
|
776
|
+
totalContacts: number;
|
|
777
|
+
stageCounts?: GetCampaignStageCounts | undefined;
|
|
778
|
+
createdAt: string;
|
|
779
|
+
updatedAt: string;
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* Campaign details
|
|
783
|
+
*/
|
|
784
|
+
export type GetCampaignResponse = {
|
|
785
|
+
success: true;
|
|
786
|
+
campaign: GetCampaignCampaign;
|
|
787
|
+
/**
|
|
788
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
789
|
+
*/
|
|
790
|
+
creditsUsed: number;
|
|
791
|
+
/**
|
|
792
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
793
|
+
*/
|
|
794
|
+
retryAfter: number;
|
|
795
|
+
};
|
|
796
|
+
export type DeleteCampaignRequest = {
|
|
797
|
+
/**
|
|
798
|
+
* Campaign ID
|
|
799
|
+
*/
|
|
800
|
+
campaignId: string;
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* Campaign deleted
|
|
804
|
+
*/
|
|
805
|
+
export type DeleteCampaignResponse = {
|
|
806
|
+
success: true;
|
|
807
|
+
/**
|
|
808
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
809
|
+
*/
|
|
810
|
+
creditsUsed: number;
|
|
811
|
+
/**
|
|
812
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
813
|
+
*/
|
|
814
|
+
retryAfter: number;
|
|
815
|
+
};
|
|
816
|
+
export declare const UpdateCampaignStatus: {
|
|
817
|
+
readonly Draft: "draft";
|
|
818
|
+
readonly Scheduled: "scheduled";
|
|
819
|
+
readonly Running: "running";
|
|
820
|
+
readonly Paused: "paused";
|
|
821
|
+
readonly Completed: "completed";
|
|
822
|
+
readonly Failed: "failed";
|
|
823
|
+
};
|
|
824
|
+
export type UpdateCampaignStatus = ClosedEnum<typeof UpdateCampaignStatus>;
|
|
825
|
+
export type UpdateCampaignRequestBody = {
|
|
826
|
+
name?: string | undefined;
|
|
827
|
+
description?: string | undefined;
|
|
828
|
+
context?: string | undefined;
|
|
829
|
+
status?: UpdateCampaignStatus | undefined;
|
|
830
|
+
scheduledStartTime?: string | undefined;
|
|
831
|
+
scheduledStopTime?: string | undefined;
|
|
832
|
+
timezone?: string | undefined;
|
|
833
|
+
runDays?: Array<string> | undefined;
|
|
834
|
+
dailyActionLimit?: number | null | undefined;
|
|
835
|
+
};
|
|
836
|
+
export type UpdateCampaignRequest = {
|
|
837
|
+
/**
|
|
838
|
+
* Campaign ID
|
|
839
|
+
*/
|
|
840
|
+
campaignId: string;
|
|
841
|
+
body: UpdateCampaignRequestBody;
|
|
842
|
+
};
|
|
843
|
+
export type UpdateCampaignStageCounts = {
|
|
844
|
+
contact: number;
|
|
845
|
+
lead: number;
|
|
846
|
+
qualified: number;
|
|
847
|
+
approved: number;
|
|
848
|
+
rejected: number;
|
|
849
|
+
};
|
|
850
|
+
export type UpdateCampaignCampaign = {
|
|
851
|
+
id: string;
|
|
852
|
+
name: string;
|
|
853
|
+
description: string | null;
|
|
854
|
+
context: string | null;
|
|
855
|
+
type: string;
|
|
856
|
+
status: string;
|
|
857
|
+
totalContacts: number;
|
|
858
|
+
stageCounts?: UpdateCampaignStageCounts | undefined;
|
|
859
|
+
createdAt: string;
|
|
860
|
+
updatedAt: string;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Campaign updated
|
|
864
|
+
*/
|
|
865
|
+
export type UpdateCampaignResponse = {
|
|
866
|
+
success: true;
|
|
867
|
+
campaign: UpdateCampaignCampaign;
|
|
868
|
+
/**
|
|
869
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
870
|
+
*/
|
|
871
|
+
creditsUsed: number;
|
|
872
|
+
/**
|
|
873
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
874
|
+
*/
|
|
875
|
+
retryAfter: number;
|
|
876
|
+
};
|
|
877
|
+
export declare const CampaignStatusTransitionAction: {
|
|
878
|
+
readonly Activate: "activate";
|
|
879
|
+
readonly Start: "start";
|
|
880
|
+
readonly Pause: "pause";
|
|
881
|
+
readonly Resume: "resume";
|
|
882
|
+
readonly Complete: "complete";
|
|
883
|
+
readonly Reset: "reset";
|
|
884
|
+
};
|
|
885
|
+
export type CampaignStatusTransitionAction = ClosedEnum<typeof CampaignStatusTransitionAction>;
|
|
886
|
+
export type CampaignStatusTransitionRequestBody = {
|
|
887
|
+
action: CampaignStatusTransitionAction;
|
|
888
|
+
scheduledStartTime?: string | undefined;
|
|
889
|
+
scheduledStopTime?: string | undefined;
|
|
890
|
+
timezone?: string | undefined;
|
|
891
|
+
runDays?: Array<string> | undefined;
|
|
892
|
+
dailyActionLimit?: number | undefined;
|
|
893
|
+
};
|
|
894
|
+
export type CampaignStatusTransitionRequest = {
|
|
895
|
+
/**
|
|
896
|
+
* Campaign ID
|
|
897
|
+
*/
|
|
898
|
+
campaignId: string;
|
|
899
|
+
body: CampaignStatusTransitionRequestBody;
|
|
900
|
+
};
|
|
901
|
+
export type CampaignStatusTransitionStageCounts = {
|
|
902
|
+
contact: number;
|
|
903
|
+
lead: number;
|
|
904
|
+
qualified: number;
|
|
905
|
+
approved: number;
|
|
906
|
+
rejected: number;
|
|
907
|
+
};
|
|
908
|
+
export type CampaignStatusTransitionCampaign = {
|
|
909
|
+
id: string;
|
|
910
|
+
name: string;
|
|
911
|
+
description: string | null;
|
|
912
|
+
context: string | null;
|
|
913
|
+
type: string;
|
|
914
|
+
status: string;
|
|
915
|
+
totalContacts: number;
|
|
916
|
+
stageCounts?: CampaignStatusTransitionStageCounts | undefined;
|
|
917
|
+
createdAt: string;
|
|
918
|
+
updatedAt: string;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* Status updated
|
|
922
|
+
*/
|
|
923
|
+
export type CampaignStatusTransitionResponse = {
|
|
924
|
+
success: true;
|
|
925
|
+
campaign: CampaignStatusTransitionCampaign;
|
|
926
|
+
/**
|
|
927
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
928
|
+
*/
|
|
929
|
+
creditsUsed: number;
|
|
930
|
+
/**
|
|
931
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
932
|
+
*/
|
|
933
|
+
retryAfter: number;
|
|
934
|
+
};
|
|
935
|
+
export declare const ListCampaignContactsLifecycleStage: {
|
|
936
|
+
readonly Contact: "contact";
|
|
937
|
+
readonly Lead: "lead";
|
|
938
|
+
readonly Qualified: "qualified";
|
|
939
|
+
readonly Approved: "approved";
|
|
940
|
+
readonly Rejected: "rejected";
|
|
941
|
+
};
|
|
942
|
+
export type ListCampaignContactsLifecycleStage = ClosedEnum<typeof ListCampaignContactsLifecycleStage>;
|
|
943
|
+
export type ListCampaignContactsRequest = {
|
|
944
|
+
lifecycleStage?: ListCampaignContactsLifecycleStage | undefined;
|
|
945
|
+
source?: string | undefined;
|
|
946
|
+
sourceAngle?: string | undefined;
|
|
947
|
+
minHotScore?: number | undefined;
|
|
948
|
+
limit?: number | undefined;
|
|
949
|
+
offset?: number | undefined;
|
|
950
|
+
/**
|
|
951
|
+
* Campaign ID
|
|
952
|
+
*/
|
|
953
|
+
campaignId: string;
|
|
954
|
+
};
|
|
955
|
+
export type ListCampaignContactsContact = {
|
|
956
|
+
id: string;
|
|
957
|
+
linkedinUrl: string;
|
|
958
|
+
/**
|
|
959
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
|
|
960
|
+
*/
|
|
961
|
+
profileUrn: string | null;
|
|
962
|
+
/**
|
|
963
|
+
* LinkedIn vanity slug (e.g. joshuaau)
|
|
964
|
+
*/
|
|
965
|
+
publicIdentifier: string | null;
|
|
966
|
+
name: string;
|
|
967
|
+
lifecycleStage: string;
|
|
968
|
+
hotScore: number;
|
|
969
|
+
qualificationNotes: string | null;
|
|
970
|
+
notes: string | null;
|
|
971
|
+
stageChangedAt: string | null;
|
|
972
|
+
profileData: any | null;
|
|
973
|
+
profileUpdatedAt: string | null;
|
|
974
|
+
conversationData: any | null;
|
|
975
|
+
conversationUpdatedAt: string | null;
|
|
976
|
+
outreachStatus: string;
|
|
977
|
+
lastContactedAt: string | null;
|
|
978
|
+
lastRepliedAt: string | null;
|
|
979
|
+
nextFollowUpAt: string | null;
|
|
980
|
+
doNotContact: boolean;
|
|
981
|
+
tags: Array<string>;
|
|
982
|
+
createdAt: string;
|
|
983
|
+
updatedAt: string;
|
|
984
|
+
source: string;
|
|
985
|
+
sourceAngle: string | null;
|
|
986
|
+
addedAt: string;
|
|
987
|
+
};
|
|
988
|
+
export type ListCampaignContactsPagination = {
|
|
989
|
+
limit: number;
|
|
990
|
+
offset: number;
|
|
991
|
+
total: number;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* Campaign contacts
|
|
995
|
+
*/
|
|
996
|
+
export type ListCampaignContactsResponse = {
|
|
997
|
+
success: true;
|
|
998
|
+
contacts: Array<ListCampaignContactsContact>;
|
|
999
|
+
pagination: ListCampaignContactsPagination;
|
|
1000
|
+
/**
|
|
1001
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
1002
|
+
*/
|
|
1003
|
+
creditsUsed: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
1006
|
+
*/
|
|
1007
|
+
retryAfter: number;
|
|
1008
|
+
};
|
|
1009
|
+
/**
|
|
1010
|
+
* How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
|
|
1011
|
+
*/
|
|
1012
|
+
export declare const AddCampaignContactsSource: {
|
|
1013
|
+
readonly Likes: "likes";
|
|
1014
|
+
readonly Comments: "comments";
|
|
1015
|
+
readonly Reposts: "reposts";
|
|
1016
|
+
readonly Posts: "posts";
|
|
1017
|
+
readonly CompanyFollowers: "company_followers";
|
|
1018
|
+
readonly SearchResults: "search_results";
|
|
1019
|
+
readonly ManualImport: "manual_import";
|
|
1020
|
+
readonly EventAttendees: "event_attendees";
|
|
1021
|
+
readonly GroupMembers: "group_members";
|
|
1022
|
+
readonly EngagementScraping: "engagement_scraping";
|
|
1023
|
+
readonly ContentSearch: "content_search";
|
|
1024
|
+
readonly FollowersMining: "followers_mining";
|
|
1025
|
+
readonly PeopleSearch: "people_search";
|
|
1026
|
+
readonly JobSearch: "job_search";
|
|
1027
|
+
readonly CompanySearch: "company_search";
|
|
1028
|
+
readonly NetworkExpansion: "network_expansion";
|
|
1029
|
+
readonly BulkVisit: "bulk_visit";
|
|
1030
|
+
};
|
|
1031
|
+
/**
|
|
1032
|
+
* How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
|
|
1033
|
+
*/
|
|
1034
|
+
export type AddCampaignContactsSource = ClosedEnum<typeof AddCampaignContactsSource>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
|
|
1037
|
+
*/
|
|
1038
|
+
export declare const AddCampaignContactsLifecycleStage: {
|
|
1039
|
+
readonly Contact: "contact";
|
|
1040
|
+
readonly Lead: "lead";
|
|
1041
|
+
readonly Qualified: "qualified";
|
|
1042
|
+
readonly Approved: "approved";
|
|
1043
|
+
readonly Rejected: "rejected";
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
|
|
1047
|
+
*/
|
|
1048
|
+
export type AddCampaignContactsLifecycleStage = ClosedEnum<typeof AddCampaignContactsLifecycleStage>;
|
|
1049
|
+
export type AddCampaignContactsContact = {
|
|
1050
|
+
/**
|
|
1051
|
+
* LinkedIn profile URL, URN, or bare vanity name
|
|
1052
|
+
*/
|
|
1053
|
+
linkedinUrl: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...). Improves dedup when provided alongside a vanity URL.
|
|
1056
|
+
*/
|
|
1057
|
+
profileUrn?: string | null | undefined;
|
|
1058
|
+
/**
|
|
1059
|
+
* LinkedIn vanity slug (e.g. joshuaau). Improves dedup when provided alongside a URN.
|
|
1060
|
+
*/
|
|
1061
|
+
publicIdentifier?: string | null | undefined;
|
|
1062
|
+
/**
|
|
1063
|
+
* Profile name
|
|
1064
|
+
*/
|
|
1065
|
+
name: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
|
|
1068
|
+
*/
|
|
1069
|
+
source?: AddCampaignContactsSource | undefined;
|
|
1070
|
+
/**
|
|
1071
|
+
* Which lead-gen angle found this (e.g., 'vp-sales-france')
|
|
1072
|
+
*/
|
|
1073
|
+
sourceAngle?: string | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
|
|
1076
|
+
*/
|
|
1077
|
+
lifecycleStage?: AddCampaignContactsLifecycleStage | undefined;
|
|
1078
|
+
/**
|
|
1079
|
+
* Contact quality score (0-100)
|
|
1080
|
+
*/
|
|
1081
|
+
hotScore?: number | undefined;
|
|
1082
|
+
/**
|
|
1083
|
+
* Agent reasoning for qualification decision
|
|
1084
|
+
*/
|
|
1085
|
+
qualificationNotes?: string | undefined;
|
|
1086
|
+
notes?: string | undefined;
|
|
1087
|
+
};
|
|
1088
|
+
export type AddCampaignContactsRequestBody = {
|
|
1089
|
+
/**
|
|
1090
|
+
* Contacts to add (single or bulk)
|
|
1091
|
+
*/
|
|
1092
|
+
contacts: Array<AddCampaignContactsContact>;
|
|
1093
|
+
};
|
|
1094
|
+
export type AddCampaignContactsRequest = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Campaign ID
|
|
1097
|
+
*/
|
|
1098
|
+
campaignId: string;
|
|
1099
|
+
body: AddCampaignContactsRequestBody;
|
|
1100
|
+
};
|
|
1101
|
+
export type AddCampaignContactsResults = {
|
|
1102
|
+
created: number;
|
|
1103
|
+
skipped: number;
|
|
1104
|
+
errors: Array<string>;
|
|
1105
|
+
};
|
|
1106
|
+
/**
|
|
1107
|
+
* Contacts added
|
|
1108
|
+
*/
|
|
1109
|
+
export type AddCampaignContactsResponse = {
|
|
1110
|
+
success: true;
|
|
1111
|
+
results: AddCampaignContactsResults;
|
|
1112
|
+
/**
|
|
1113
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
1114
|
+
*/
|
|
1115
|
+
creditsUsed: number;
|
|
1116
|
+
/**
|
|
1117
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
1118
|
+
*/
|
|
1119
|
+
retryAfter: number;
|
|
1120
|
+
};
|
|
1121
|
+
export type GetByUrlRequest = {
|
|
1122
|
+
/**
|
|
1123
|
+
* LinkedIn profile URL to look up
|
|
1124
|
+
*/
|
|
1125
|
+
linkedinUrl: string;
|
|
1126
|
+
};
|
|
1127
|
+
export type GetByUrlActivity = {
|
|
1128
|
+
id: string;
|
|
1129
|
+
type: string;
|
|
1130
|
+
content: string | null;
|
|
1131
|
+
metadata: any | null;
|
|
1132
|
+
createdAt: string;
|
|
1133
|
+
};
|
|
1134
|
+
export type GetByUrlCampaign = {
|
|
1135
|
+
campaignId: string;
|
|
1136
|
+
campaignName: string;
|
|
1137
|
+
campaignStatus: string;
|
|
1138
|
+
source: string;
|
|
1139
|
+
sourceAngle: string | null;
|
|
1140
|
+
addedAt: string;
|
|
1141
|
+
};
|
|
1142
|
+
export type GetByUrlContact = {
|
|
1143
|
+
id: string;
|
|
1144
|
+
linkedinUrl: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
|
|
1147
|
+
*/
|
|
1148
|
+
profileUrn: string | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* LinkedIn vanity slug (e.g. joshuaau)
|
|
1151
|
+
*/
|
|
1152
|
+
publicIdentifier: string | null;
|
|
1153
|
+
name: string;
|
|
1154
|
+
lifecycleStage: string;
|
|
1155
|
+
hotScore: number;
|
|
1156
|
+
qualificationNotes: string | null;
|
|
1157
|
+
notes: string | null;
|
|
1158
|
+
stageChangedAt: string | null;
|
|
1159
|
+
profileData: any | null;
|
|
1160
|
+
profileUpdatedAt: string | null;
|
|
1161
|
+
conversationData: any | null;
|
|
1162
|
+
conversationUpdatedAt: string | null;
|
|
1163
|
+
outreachStatus: string;
|
|
1164
|
+
lastContactedAt: string | null;
|
|
1165
|
+
lastRepliedAt: string | null;
|
|
1166
|
+
nextFollowUpAt: string | null;
|
|
1167
|
+
doNotContact: boolean;
|
|
1168
|
+
tags: Array<string>;
|
|
1169
|
+
createdAt: string;
|
|
1170
|
+
updatedAt: string;
|
|
1171
|
+
activities: Array<GetByUrlActivity>;
|
|
1172
|
+
campaigns: Array<GetByUrlCampaign>;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* Contact found
|
|
1176
|
+
*/
|
|
1177
|
+
export type GetByUrlResponse = {
|
|
1178
|
+
success: true;
|
|
1179
|
+
contact: GetByUrlContact;
|
|
1180
|
+
/**
|
|
1181
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
1182
|
+
*/
|
|
1183
|
+
creditsUsed: number;
|
|
1184
|
+
/**
|
|
1185
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
1186
|
+
*/
|
|
1187
|
+
retryAfter: number;
|
|
1188
|
+
};
|
|
1189
|
+
export declare const QueryParamStatus: {
|
|
1190
|
+
readonly Draft: "draft";
|
|
1191
|
+
readonly Scheduled: "scheduled";
|
|
1192
|
+
readonly Sending: "sending";
|
|
1193
|
+
readonly Sent: "sent";
|
|
1194
|
+
readonly Failed: "failed";
|
|
1195
|
+
readonly Cancelled: "cancelled";
|
|
1196
|
+
};
|
|
1197
|
+
export type QueryParamStatus = ClosedEnum<typeof QueryParamStatus>;
|
|
1198
|
+
export type ListMessagesRequest = {
|
|
1199
|
+
status?: QueryParamStatus | undefined;
|
|
1200
|
+
contactId?: string | undefined;
|
|
1201
|
+
campaignSlug?: string | undefined;
|
|
1202
|
+
limit?: number | undefined;
|
|
1203
|
+
offset?: number | undefined;
|
|
1204
|
+
};
|
|
1205
|
+
export declare const MessageStatus: {
|
|
1206
|
+
readonly Draft: "draft";
|
|
1207
|
+
readonly Scheduled: "scheduled";
|
|
1208
|
+
readonly Sending: "sending";
|
|
1209
|
+
readonly Sent: "sent";
|
|
1210
|
+
readonly Failed: "failed";
|
|
1211
|
+
readonly Cancelled: "cancelled";
|
|
1212
|
+
};
|
|
1213
|
+
export type MessageStatus = OpenEnum<typeof MessageStatus>;
|
|
1214
|
+
export type ListMessagesMessage = {
|
|
1215
|
+
id: string;
|
|
1216
|
+
contactId: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Contact name (included in list, absent in create)
|
|
1219
|
+
*/
|
|
1220
|
+
contactName?: string | null | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* Contact LinkedIn URL (included in list, absent in create)
|
|
1223
|
+
*/
|
|
1224
|
+
contactLinkedinUrl?: string | null | undefined;
|
|
1225
|
+
message: string;
|
|
1226
|
+
status: MessageStatus;
|
|
1227
|
+
scheduledSendAt: string | null;
|
|
1228
|
+
sentAt: string | null;
|
|
1229
|
+
campaignSlug: string | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Error message if status is 'failed'
|
|
1232
|
+
*/
|
|
1233
|
+
errorMessage?: string | null | undefined;
|
|
1234
|
+
createdAt: string;
|
|
1235
|
+
};
|
|
1236
|
+
/**
|
|
1237
|
+
* Messages list
|
|
1238
|
+
*/
|
|
1239
|
+
export type ListMessagesResponse = {
|
|
1240
|
+
success: true;
|
|
1241
|
+
messages: Array<ListMessagesMessage>;
|
|
1242
|
+
total: number;
|
|
1243
|
+
limit: number;
|
|
1244
|
+
offset: number;
|
|
1245
|
+
/**
|
|
1246
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1247
|
+
*/
|
|
1248
|
+
creditsUsed: number;
|
|
1249
|
+
/**
|
|
1250
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1251
|
+
*/
|
|
1252
|
+
retryAfter: number;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* Default 'draft'
|
|
1256
|
+
*/
|
|
1257
|
+
export declare const CreateStatusRequest: {
|
|
1258
|
+
readonly Draft: "draft";
|
|
1259
|
+
readonly Scheduled: "scheduled";
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Default 'draft'
|
|
1263
|
+
*/
|
|
1264
|
+
export type CreateStatusRequest = ClosedEnum<typeof CreateStatusRequest>;
|
|
1265
|
+
export type CreateRequest = {
|
|
1266
|
+
/**
|
|
1267
|
+
* Internal contact ID
|
|
1268
|
+
*/
|
|
1269
|
+
contactId: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* DM text
|
|
1272
|
+
*/
|
|
1273
|
+
message: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* Default 'draft'
|
|
1276
|
+
*/
|
|
1277
|
+
status?: CreateStatusRequest | undefined;
|
|
1278
|
+
/**
|
|
1279
|
+
* ISO datetime for auto-send
|
|
1280
|
+
*/
|
|
1281
|
+
scheduledSendAt?: string | undefined;
|
|
1282
|
+
campaignSlug?: string | undefined;
|
|
1283
|
+
};
|
|
1284
|
+
export declare const ScheduledMessageStatus: {
|
|
1285
|
+
readonly Draft: "draft";
|
|
1286
|
+
readonly Scheduled: "scheduled";
|
|
1287
|
+
readonly Sending: "sending";
|
|
1288
|
+
readonly Sent: "sent";
|
|
1289
|
+
readonly Failed: "failed";
|
|
1290
|
+
readonly Cancelled: "cancelled";
|
|
1291
|
+
};
|
|
1292
|
+
export type ScheduledMessageStatus = OpenEnum<typeof ScheduledMessageStatus>;
|
|
1293
|
+
export type ScheduledMessage = {
|
|
1294
|
+
id: string;
|
|
1295
|
+
contactId: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Contact name (included in list, absent in create)
|
|
1298
|
+
*/
|
|
1299
|
+
contactName?: string | null | undefined;
|
|
1300
|
+
/**
|
|
1301
|
+
* Contact LinkedIn URL (included in list, absent in create)
|
|
1302
|
+
*/
|
|
1303
|
+
contactLinkedinUrl?: string | null | undefined;
|
|
1304
|
+
message: string;
|
|
1305
|
+
status: ScheduledMessageStatus;
|
|
1306
|
+
scheduledSendAt: string | null;
|
|
1307
|
+
sentAt: string | null;
|
|
1308
|
+
campaignSlug: string | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Error message if status is 'failed'
|
|
1311
|
+
*/
|
|
1312
|
+
errorMessage?: string | null | undefined;
|
|
1313
|
+
createdAt: string;
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* Message created
|
|
1317
|
+
*/
|
|
1318
|
+
export type CreateResponse = {
|
|
1319
|
+
success: true;
|
|
1320
|
+
scheduledMessage: ScheduledMessage;
|
|
1321
|
+
/**
|
|
1322
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1323
|
+
*/
|
|
1324
|
+
creditsUsed: number;
|
|
1325
|
+
/**
|
|
1326
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1327
|
+
*/
|
|
1328
|
+
retryAfter: number;
|
|
1329
|
+
};
|
|
1330
|
+
export type BatchScheduleRequest = {
|
|
1331
|
+
/**
|
|
1332
|
+
* Schedule all drafts for these contacts
|
|
1333
|
+
*/
|
|
1334
|
+
contactIds?: Array<string> | undefined;
|
|
1335
|
+
/**
|
|
1336
|
+
* Schedule specific messages
|
|
1337
|
+
*/
|
|
1338
|
+
messageIds?: Array<string> | undefined;
|
|
1339
|
+
/**
|
|
1340
|
+
* ISO datetime for sending
|
|
1341
|
+
*/
|
|
1342
|
+
scheduledSendAt: string;
|
|
1343
|
+
};
|
|
1344
|
+
/**
|
|
1345
|
+
* Messages scheduled
|
|
1346
|
+
*/
|
|
1347
|
+
export type BatchScheduleResponse = {
|
|
1348
|
+
success: true;
|
|
1349
|
+
/**
|
|
1350
|
+
* Number of messages scheduled
|
|
1351
|
+
*/
|
|
1352
|
+
scheduled: number;
|
|
1353
|
+
/**
|
|
1354
|
+
* ISO datetime for sending
|
|
1355
|
+
*/
|
|
1356
|
+
scheduledSendAt: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1359
|
+
*/
|
|
1360
|
+
creditsUsed: number;
|
|
1361
|
+
/**
|
|
1362
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1363
|
+
*/
|
|
1364
|
+
retryAfter: number;
|
|
1365
|
+
};
|
|
1366
|
+
export type CancelRequest = {
|
|
1367
|
+
/**
|
|
1368
|
+
* Cancel specific messages
|
|
1369
|
+
*/
|
|
1370
|
+
messageIds?: Array<string> | undefined;
|
|
1371
|
+
/**
|
|
1372
|
+
* Cancel all pending for these contacts
|
|
1373
|
+
*/
|
|
1374
|
+
contactIds?: Array<string> | undefined;
|
|
1375
|
+
};
|
|
1376
|
+
/**
|
|
1377
|
+
* Messages cancelled
|
|
1378
|
+
*/
|
|
1379
|
+
export type CancelResponse = {
|
|
1380
|
+
success: true;
|
|
1381
|
+
cancelled: number;
|
|
1382
|
+
/**
|
|
1383
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1384
|
+
*/
|
|
1385
|
+
creditsUsed: number;
|
|
1386
|
+
/**
|
|
1387
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1388
|
+
*/
|
|
1389
|
+
retryAfter: number;
|
|
1390
|
+
};
|
|
1391
|
+
export type ListEntriesRequest = {
|
|
1392
|
+
/**
|
|
1393
|
+
* Filter by scope (e.g. "campaign:abc", "user")
|
|
1394
|
+
*/
|
|
1395
|
+
scope?: string | undefined;
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter by type (e.g. "icp", "tone-voice")
|
|
1398
|
+
*/
|
|
1399
|
+
type?: string | undefined;
|
|
1400
|
+
};
|
|
1401
|
+
export type ListEntriesEntry = {
|
|
1402
|
+
/**
|
|
1403
|
+
* Unique entry ID
|
|
1404
|
+
*/
|
|
1405
|
+
id: string;
|
|
1406
|
+
type: string;
|
|
1407
|
+
label: string | null;
|
|
1408
|
+
content: string;
|
|
1409
|
+
scope: string;
|
|
1410
|
+
updatedAt: string;
|
|
1411
|
+
};
|
|
1412
|
+
/**
|
|
1413
|
+
* Context entries
|
|
1414
|
+
*/
|
|
1415
|
+
export type ListEntriesResponse = {
|
|
1416
|
+
success: true;
|
|
1417
|
+
entries: Array<ListEntriesEntry>;
|
|
1418
|
+
/**
|
|
1419
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1420
|
+
*/
|
|
1421
|
+
creditsUsed: number;
|
|
1422
|
+
/**
|
|
1423
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1424
|
+
*/
|
|
1425
|
+
retryAfter: number;
|
|
1426
|
+
};
|
|
1427
|
+
export type SetRequest = {
|
|
1428
|
+
/**
|
|
1429
|
+
* Context type: "user-profile", "product-pitch", "icp", "tone-voice", "playbook", or "custom:{slug}"
|
|
1430
|
+
*/
|
|
1431
|
+
type: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* Markdown content
|
|
1434
|
+
*/
|
|
1435
|
+
content: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* Defaults to "user"
|
|
1438
|
+
*/
|
|
1439
|
+
scope?: string | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* Display label
|
|
1442
|
+
*/
|
|
1443
|
+
label?: string | undefined;
|
|
1444
|
+
};
|
|
1445
|
+
export type SetEntry = {
|
|
1446
|
+
/**
|
|
1447
|
+
* Unique entry ID
|
|
1448
|
+
*/
|
|
1449
|
+
id: string;
|
|
1450
|
+
type: string;
|
|
1451
|
+
label: string | null;
|
|
1452
|
+
content: string;
|
|
1453
|
+
scope: string;
|
|
1454
|
+
updatedAt: string;
|
|
1455
|
+
};
|
|
1456
|
+
/**
|
|
1457
|
+
* Context saved
|
|
1458
|
+
*/
|
|
1459
|
+
export type SetResponse = {
|
|
1460
|
+
success: true;
|
|
1461
|
+
entry: SetEntry;
|
|
1462
|
+
/**
|
|
1463
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1464
|
+
*/
|
|
1465
|
+
creditsUsed: number;
|
|
1466
|
+
/**
|
|
1467
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1468
|
+
*/
|
|
1469
|
+
retryAfter: number;
|
|
1470
|
+
};
|
|
1471
|
+
export type DeleteRequest = {
|
|
1472
|
+
/**
|
|
1473
|
+
* Context type to delete
|
|
1474
|
+
*/
|
|
1475
|
+
type: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* Scope (defaults to "user")
|
|
1478
|
+
*/
|
|
1479
|
+
scope?: string | undefined;
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
* Context deleted
|
|
1483
|
+
*/
|
|
1484
|
+
export type DeleteResponse = {
|
|
1485
|
+
success: true;
|
|
1486
|
+
/**
|
|
1487
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1488
|
+
*/
|
|
1489
|
+
creditsUsed: number;
|
|
1490
|
+
/**
|
|
1491
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1492
|
+
*/
|
|
1493
|
+
retryAfter: number;
|
|
1494
|
+
};
|
|
1495
|
+
export type Schedule = {
|
|
1496
|
+
scheduleId: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* Human-readable schedule name (e.g. 'DM Polling', 'Draft Send')
|
|
1499
|
+
*/
|
|
1500
|
+
name: string;
|
|
1501
|
+
cron: string | null;
|
|
1502
|
+
isPaused: boolean;
|
|
1503
|
+
/**
|
|
1504
|
+
* ISO 8601 timestamp of last execution
|
|
1505
|
+
*/
|
|
1506
|
+
lastRun: string | null;
|
|
1507
|
+
/**
|
|
1508
|
+
* ISO 8601 timestamp of next scheduled execution
|
|
1509
|
+
*/
|
|
1510
|
+
nextRun: string | null;
|
|
1511
|
+
/**
|
|
1512
|
+
* Status of the last execution
|
|
1513
|
+
*/
|
|
1514
|
+
lastStatus: any | null;
|
|
1515
|
+
/**
|
|
1516
|
+
* The endpoint URL this schedule invokes
|
|
1517
|
+
*/
|
|
1518
|
+
destination: string;
|
|
1519
|
+
};
|
|
1520
|
+
/**
|
|
1521
|
+
* Cron schedules
|
|
1522
|
+
*/
|
|
1523
|
+
export type ListSchedulesResponse = {
|
|
1524
|
+
success: true;
|
|
1525
|
+
schedules: Array<Schedule>;
|
|
1526
|
+
/**
|
|
1527
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1528
|
+
*/
|
|
1529
|
+
creditsUsed: number;
|
|
1530
|
+
/**
|
|
1531
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1532
|
+
*/
|
|
1533
|
+
retryAfter: number;
|
|
1534
|
+
};
|
|
1535
|
+
/**
|
|
1536
|
+
* Action to perform
|
|
1537
|
+
*/
|
|
1538
|
+
export declare const UpdateScheduleAction: {
|
|
1539
|
+
readonly Pause: "pause";
|
|
1540
|
+
readonly Resume: "resume";
|
|
1541
|
+
readonly Delete: "delete";
|
|
1542
|
+
};
|
|
1543
|
+
/**
|
|
1544
|
+
* Action to perform
|
|
1545
|
+
*/
|
|
1546
|
+
export type UpdateScheduleAction = ClosedEnum<typeof UpdateScheduleAction>;
|
|
1547
|
+
export type UpdateScheduleRequestBody = {
|
|
1548
|
+
/**
|
|
1549
|
+
* Action to perform
|
|
1550
|
+
*/
|
|
1551
|
+
action: UpdateScheduleAction;
|
|
1552
|
+
};
|
|
1553
|
+
export type UpdateScheduleRequest = {
|
|
1554
|
+
/**
|
|
1555
|
+
* Schedule ID
|
|
1556
|
+
*/
|
|
1557
|
+
scheduleId: string;
|
|
1558
|
+
body: UpdateScheduleRequestBody;
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* Schedule updated
|
|
1562
|
+
*/
|
|
1563
|
+
export type UpdateScheduleResponse = {
|
|
1564
|
+
success: true;
|
|
1565
|
+
/**
|
|
1566
|
+
* Credits consumed (always 0 for workspace operations).
|
|
1567
|
+
*/
|
|
1568
|
+
creditsUsed: number;
|
|
1569
|
+
/**
|
|
1570
|
+
* Seconds to wait (always 0 for workspace operations).
|
|
1571
|
+
*/
|
|
1572
|
+
retryAfter: number;
|
|
1573
|
+
};
|
|
1574
|
+
/** @internal */
|
|
1575
|
+
export declare const SearchContactsPagination$inboundSchema: z.ZodMiniType<SearchContactsPagination, unknown>;
|
|
1576
|
+
export declare function searchContactsPaginationFromJSON(jsonString: string): SafeParseResult<SearchContactsPagination, SDKValidationError>;
|
|
1577
|
+
/** @internal */
|
|
1578
|
+
export declare const SearchContactsResponse$inboundSchema: z.ZodMiniType<SearchContactsResponse, unknown>;
|
|
1579
|
+
export declare function searchContactsResponseFromJSON(jsonString: string): SafeParseResult<SearchContactsResponse, SDKValidationError>;
|
|
1580
|
+
/** @internal */
|
|
1581
|
+
export type GetContactRequest$Outbound = {
|
|
1582
|
+
id: string;
|
|
1583
|
+
};
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export declare const GetContactRequest$outboundSchema: z.ZodMiniType<GetContactRequest$Outbound, GetContactRequest>;
|
|
1586
|
+
export declare function getContactRequestToJSON(getContactRequest: GetContactRequest): string;
|
|
1587
|
+
/** @internal */
|
|
1588
|
+
export declare const GetContactActivity$inboundSchema: z.ZodMiniType<GetContactActivity, unknown>;
|
|
1589
|
+
export declare function getContactActivityFromJSON(jsonString: string): SafeParseResult<GetContactActivity, SDKValidationError>;
|
|
1590
|
+
/** @internal */
|
|
1591
|
+
export declare const GetContactCampaign$inboundSchema: z.ZodMiniType<GetContactCampaign, unknown>;
|
|
1592
|
+
export declare function getContactCampaignFromJSON(jsonString: string): SafeParseResult<GetContactCampaign, SDKValidationError>;
|
|
1593
|
+
/** @internal */
|
|
1594
|
+
export declare const GetContactContact$inboundSchema: z.ZodMiniType<GetContactContact, unknown>;
|
|
1595
|
+
export declare function getContactContactFromJSON(jsonString: string): SafeParseResult<GetContactContact, SDKValidationError>;
|
|
1596
|
+
/** @internal */
|
|
1597
|
+
export declare const GetContactResponse$inboundSchema: z.ZodMiniType<GetContactResponse, unknown>;
|
|
1598
|
+
export declare function getContactResponseFromJSON(jsonString: string): SafeParseResult<GetContactResponse, SDKValidationError>;
|
|
1599
|
+
/** @internal */
|
|
1600
|
+
export declare const UpdateLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof UpdateLifecycleStage>;
|
|
1601
|
+
/** @internal */
|
|
1602
|
+
export declare const UpdateOutreachStatus$outboundSchema: z.ZodMiniEnum<typeof UpdateOutreachStatus>;
|
|
1603
|
+
/** @internal */
|
|
1604
|
+
export type Tags3$Outbound = {
|
|
1605
|
+
set: Array<string>;
|
|
1606
|
+
};
|
|
1607
|
+
/** @internal */
|
|
1608
|
+
export declare const Tags3$outboundSchema: z.ZodMiniType<Tags3$Outbound, Tags3>;
|
|
1609
|
+
export declare function tags3ToJSON(tags3: Tags3): string;
|
|
1610
|
+
/** @internal */
|
|
1611
|
+
export type Tags2$Outbound = {
|
|
1612
|
+
add?: Array<string> | undefined;
|
|
1613
|
+
remove: Array<string>;
|
|
1614
|
+
};
|
|
1615
|
+
/** @internal */
|
|
1616
|
+
export declare const Tags2$outboundSchema: z.ZodMiniType<Tags2$Outbound, Tags2>;
|
|
1617
|
+
export declare function tags2ToJSON(tags2: Tags2): string;
|
|
1618
|
+
/** @internal */
|
|
1619
|
+
export type Tags1$Outbound = {
|
|
1620
|
+
add: Array<string>;
|
|
1621
|
+
remove?: Array<string> | undefined;
|
|
1622
|
+
};
|
|
1623
|
+
/** @internal */
|
|
1624
|
+
export declare const Tags1$outboundSchema: z.ZodMiniType<Tags1$Outbound, Tags1>;
|
|
1625
|
+
export declare function tags1ToJSON(tags1: Tags1): string;
|
|
1626
|
+
/** @internal */
|
|
1627
|
+
export type TagsUnion$Outbound = Tags1$Outbound | Tags2$Outbound | Tags3$Outbound;
|
|
1628
|
+
/** @internal */
|
|
1629
|
+
export declare const TagsUnion$outboundSchema: z.ZodMiniType<TagsUnion$Outbound, TagsUnion>;
|
|
1630
|
+
export declare function tagsUnionToJSON(tagsUnion: TagsUnion): string;
|
|
1631
|
+
/** @internal */
|
|
1632
|
+
export type UpdateRequestBody$Outbound = {
|
|
1633
|
+
lifecycleStage?: string | undefined;
|
|
1634
|
+
hotScore?: number | undefined;
|
|
1635
|
+
qualificationNotes?: string | undefined;
|
|
1636
|
+
notes?: string | undefined;
|
|
1637
|
+
name?: string | undefined;
|
|
1638
|
+
profileData?: any | undefined;
|
|
1639
|
+
profileUpdatedAt?: string | undefined;
|
|
1640
|
+
conversationData?: any | undefined;
|
|
1641
|
+
conversationUpdatedAt?: string | undefined;
|
|
1642
|
+
outreachStatus?: string | undefined;
|
|
1643
|
+
nextFollowUpAt?: string | null | undefined;
|
|
1644
|
+
doNotContact?: boolean | undefined;
|
|
1645
|
+
tags?: Tags1$Outbound | Tags2$Outbound | Tags3$Outbound | undefined;
|
|
1646
|
+
};
|
|
1647
|
+
/** @internal */
|
|
1648
|
+
export declare const UpdateRequestBody$outboundSchema: z.ZodMiniType<UpdateRequestBody$Outbound, UpdateRequestBody>;
|
|
1649
|
+
export declare function updateRequestBodyToJSON(updateRequestBody: UpdateRequestBody): string;
|
|
1650
|
+
/** @internal */
|
|
1651
|
+
export type UpdateRequest$Outbound = {
|
|
1652
|
+
id: string;
|
|
1653
|
+
body: UpdateRequestBody$Outbound;
|
|
1654
|
+
};
|
|
1655
|
+
/** @internal */
|
|
1656
|
+
export declare const UpdateRequest$outboundSchema: z.ZodMiniType<UpdateRequest$Outbound, UpdateRequest>;
|
|
1657
|
+
export declare function updateRequestToJSON(updateRequest: UpdateRequest): string;
|
|
1658
|
+
/** @internal */
|
|
1659
|
+
export declare const UpdateContact$inboundSchema: z.ZodMiniType<UpdateContact, unknown>;
|
|
1660
|
+
export declare function updateContactFromJSON(jsonString: string): SafeParseResult<UpdateContact, SDKValidationError>;
|
|
1661
|
+
/** @internal */
|
|
1662
|
+
export declare const UpdateResponse$inboundSchema: z.ZodMiniType<UpdateResponse, unknown>;
|
|
1663
|
+
export declare function updateResponseFromJSON(jsonString: string): SafeParseResult<UpdateResponse, SDKValidationError>;
|
|
1664
|
+
/** @internal */
|
|
1665
|
+
export type ListActivitiesRequest$Outbound = {
|
|
1666
|
+
type?: string | undefined;
|
|
1667
|
+
limit: number;
|
|
1668
|
+
offset: number;
|
|
1669
|
+
id: string;
|
|
1670
|
+
};
|
|
1671
|
+
/** @internal */
|
|
1672
|
+
export declare const ListActivitiesRequest$outboundSchema: z.ZodMiniType<ListActivitiesRequest$Outbound, ListActivitiesRequest>;
|
|
1673
|
+
export declare function listActivitiesRequestToJSON(listActivitiesRequest: ListActivitiesRequest): string;
|
|
1674
|
+
/** @internal */
|
|
1675
|
+
export declare const ListActivitiesActivity$inboundSchema: z.ZodMiniType<ListActivitiesActivity, unknown>;
|
|
1676
|
+
export declare function listActivitiesActivityFromJSON(jsonString: string): SafeParseResult<ListActivitiesActivity, SDKValidationError>;
|
|
1677
|
+
/** @internal */
|
|
1678
|
+
export declare const ListActivitiesPagination$inboundSchema: z.ZodMiniType<ListActivitiesPagination, unknown>;
|
|
1679
|
+
export declare function listActivitiesPaginationFromJSON(jsonString: string): SafeParseResult<ListActivitiesPagination, SDKValidationError>;
|
|
1680
|
+
/** @internal */
|
|
1681
|
+
export declare const ListActivitiesResponse$inboundSchema: z.ZodMiniType<ListActivitiesResponse, unknown>;
|
|
1682
|
+
export declare function listActivitiesResponseFromJSON(jsonString: string): SafeParseResult<ListActivitiesResponse, SDKValidationError>;
|
|
1683
|
+
/** @internal */
|
|
1684
|
+
export declare const AddActivitiesType$outboundSchema: z.ZodMiniEnum<typeof AddActivitiesType>;
|
|
1685
|
+
/** @internal */
|
|
1686
|
+
export type AddActivitiesActivity$Outbound = {
|
|
1687
|
+
type: string;
|
|
1688
|
+
content?: string | undefined;
|
|
1689
|
+
metadata?: any | undefined;
|
|
1690
|
+
};
|
|
1691
|
+
/** @internal */
|
|
1692
|
+
export declare const AddActivitiesActivity$outboundSchema: z.ZodMiniType<AddActivitiesActivity$Outbound, AddActivitiesActivity>;
|
|
1693
|
+
export declare function addActivitiesActivityToJSON(addActivitiesActivity: AddActivitiesActivity): string;
|
|
1694
|
+
/** @internal */
|
|
1695
|
+
export type AddActivitiesRequestBody$Outbound = {
|
|
1696
|
+
activities: Array<AddActivitiesActivity$Outbound>;
|
|
1697
|
+
};
|
|
1698
|
+
/** @internal */
|
|
1699
|
+
export declare const AddActivitiesRequestBody$outboundSchema: z.ZodMiniType<AddActivitiesRequestBody$Outbound, AddActivitiesRequestBody>;
|
|
1700
|
+
export declare function addActivitiesRequestBodyToJSON(addActivitiesRequestBody: AddActivitiesRequestBody): string;
|
|
1701
|
+
/** @internal */
|
|
1702
|
+
export type AddActivitiesRequest$Outbound = {
|
|
1703
|
+
id: string;
|
|
1704
|
+
body: AddActivitiesRequestBody$Outbound;
|
|
1705
|
+
};
|
|
1706
|
+
/** @internal */
|
|
1707
|
+
export declare const AddActivitiesRequest$outboundSchema: z.ZodMiniType<AddActivitiesRequest$Outbound, AddActivitiesRequest>;
|
|
1708
|
+
export declare function addActivitiesRequestToJSON(addActivitiesRequest: AddActivitiesRequest): string;
|
|
1709
|
+
/** @internal */
|
|
1710
|
+
export declare const AddActivitiesResponse$inboundSchema: z.ZodMiniType<AddActivitiesResponse, unknown>;
|
|
1711
|
+
export declare function addActivitiesResponseFromJSON(jsonString: string): SafeParseResult<AddActivitiesResponse, SDKValidationError>;
|
|
1712
|
+
/** @internal */
|
|
1713
|
+
export declare const BulkUpdateLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof BulkUpdateLifecycleStage>;
|
|
1714
|
+
/** @internal */
|
|
1715
|
+
export declare const BulkUpdateOutreachStatus$outboundSchema: z.ZodMiniEnum<typeof BulkUpdateOutreachStatus>;
|
|
1716
|
+
/** @internal */
|
|
1717
|
+
export type BulkUpdateTags3$Outbound = {
|
|
1718
|
+
set: Array<string>;
|
|
1719
|
+
};
|
|
1720
|
+
/** @internal */
|
|
1721
|
+
export declare const BulkUpdateTags3$outboundSchema: z.ZodMiniType<BulkUpdateTags3$Outbound, BulkUpdateTags3>;
|
|
1722
|
+
export declare function bulkUpdateTags3ToJSON(bulkUpdateTags3: BulkUpdateTags3): string;
|
|
1723
|
+
/** @internal */
|
|
1724
|
+
export type BulkUpdateTags2$Outbound = {
|
|
1725
|
+
add?: Array<string> | undefined;
|
|
1726
|
+
remove: Array<string>;
|
|
1727
|
+
};
|
|
1728
|
+
/** @internal */
|
|
1729
|
+
export declare const BulkUpdateTags2$outboundSchema: z.ZodMiniType<BulkUpdateTags2$Outbound, BulkUpdateTags2>;
|
|
1730
|
+
export declare function bulkUpdateTags2ToJSON(bulkUpdateTags2: BulkUpdateTags2): string;
|
|
1731
|
+
/** @internal */
|
|
1732
|
+
export type BulkUpdateTags1$Outbound = {
|
|
1733
|
+
add: Array<string>;
|
|
1734
|
+
remove?: Array<string> | undefined;
|
|
1735
|
+
};
|
|
1736
|
+
/** @internal */
|
|
1737
|
+
export declare const BulkUpdateTags1$outboundSchema: z.ZodMiniType<BulkUpdateTags1$Outbound, BulkUpdateTags1>;
|
|
1738
|
+
export declare function bulkUpdateTags1ToJSON(bulkUpdateTags1: BulkUpdateTags1): string;
|
|
1739
|
+
/** @internal */
|
|
1740
|
+
export type BulkUpdateTagsUnion$Outbound = BulkUpdateTags1$Outbound | BulkUpdateTags2$Outbound | BulkUpdateTags3$Outbound;
|
|
1741
|
+
/** @internal */
|
|
1742
|
+
export declare const BulkUpdateTagsUnion$outboundSchema: z.ZodMiniType<BulkUpdateTagsUnion$Outbound, BulkUpdateTagsUnion>;
|
|
1743
|
+
export declare function bulkUpdateTagsUnionToJSON(bulkUpdateTagsUnion: BulkUpdateTagsUnion): string;
|
|
1744
|
+
/** @internal */
|
|
1745
|
+
export type Update$Outbound = {
|
|
1746
|
+
lifecycleStage?: string | undefined;
|
|
1747
|
+
hotScore?: number | undefined;
|
|
1748
|
+
qualificationNotes?: string | undefined;
|
|
1749
|
+
notes?: string | undefined;
|
|
1750
|
+
outreachStatus?: string | undefined;
|
|
1751
|
+
nextFollowUpAt?: string | null | undefined;
|
|
1752
|
+
doNotContact?: boolean | undefined;
|
|
1753
|
+
tags?: BulkUpdateTags1$Outbound | BulkUpdateTags2$Outbound | BulkUpdateTags3$Outbound | undefined;
|
|
1754
|
+
};
|
|
1755
|
+
/** @internal */
|
|
1756
|
+
export declare const Update$outboundSchema: z.ZodMiniType<Update$Outbound, Update>;
|
|
1757
|
+
export declare function updateToJSON(update: Update): string;
|
|
1758
|
+
/** @internal */
|
|
1759
|
+
export type BulkUpdateRequest$Outbound = {
|
|
1760
|
+
contactIds: Array<string>;
|
|
1761
|
+
update: Update$Outbound;
|
|
1762
|
+
};
|
|
1763
|
+
/** @internal */
|
|
1764
|
+
export declare const BulkUpdateRequest$outboundSchema: z.ZodMiniType<BulkUpdateRequest$Outbound, BulkUpdateRequest>;
|
|
1765
|
+
export declare function bulkUpdateRequestToJSON(bulkUpdateRequest: BulkUpdateRequest): string;
|
|
1766
|
+
/** @internal */
|
|
1767
|
+
export declare const BulkUpdateResponse$inboundSchema: z.ZodMiniType<BulkUpdateResponse, unknown>;
|
|
1768
|
+
export declare function bulkUpdateResponseFromJSON(jsonString: string): SafeParseResult<BulkUpdateResponse, SDKValidationError>;
|
|
1769
|
+
/** @internal */
|
|
1770
|
+
export type GetContactStatsRequest$Outbound = {
|
|
1771
|
+
campaignId?: string | undefined;
|
|
1772
|
+
};
|
|
1773
|
+
/** @internal */
|
|
1774
|
+
export declare const GetContactStatsRequest$outboundSchema: z.ZodMiniType<GetContactStatsRequest$Outbound, GetContactStatsRequest>;
|
|
1775
|
+
export declare function getContactStatsRequestToJSON(getContactStatsRequest: GetContactStatsRequest): string;
|
|
1776
|
+
/** @internal */
|
|
1777
|
+
export declare const Funnel$inboundSchema: z.ZodMiniType<Funnel, unknown>;
|
|
1778
|
+
export declare function funnelFromJSON(jsonString: string): SafeParseResult<Funnel, SDKValidationError>;
|
|
1779
|
+
/** @internal */
|
|
1780
|
+
export declare const BySourceAngle$inboundSchema: z.ZodMiniType<BySourceAngle, unknown>;
|
|
1781
|
+
export declare function bySourceAngleFromJSON(jsonString: string): SafeParseResult<BySourceAngle, SDKValidationError>;
|
|
1782
|
+
/** @internal */
|
|
1783
|
+
export declare const ByCampaign$inboundSchema: z.ZodMiniType<ByCampaign, unknown>;
|
|
1784
|
+
export declare function byCampaignFromJSON(jsonString: string): SafeParseResult<ByCampaign, SDKValidationError>;
|
|
1785
|
+
/** @internal */
|
|
1786
|
+
export declare const GetContactStatsDaily$inboundSchema: z.ZodMiniType<GetContactStatsDaily, unknown>;
|
|
1787
|
+
export declare function getContactStatsDailyFromJSON(jsonString: string): SafeParseResult<GetContactStatsDaily, SDKValidationError>;
|
|
1788
|
+
/** @internal */
|
|
1789
|
+
export declare const GetContactStatsResponse$inboundSchema: z.ZodMiniType<GetContactStatsResponse, unknown>;
|
|
1790
|
+
export declare function getContactStatsResponseFromJSON(jsonString: string): SafeParseResult<GetContactStatsResponse, SDKValidationError>;
|
|
1791
|
+
/** @internal */
|
|
1792
|
+
export declare const KeysOnly$outboundSchema: z.ZodMiniEnum<typeof KeysOnly>;
|
|
1793
|
+
/** @internal */
|
|
1794
|
+
export type ListAgentStatesRequest$Outbound = {
|
|
1795
|
+
keysOnly?: string | undefined;
|
|
1796
|
+
};
|
|
1797
|
+
/** @internal */
|
|
1798
|
+
export declare const ListAgentStatesRequest$outboundSchema: z.ZodMiniType<ListAgentStatesRequest$Outbound, ListAgentStatesRequest>;
|
|
1799
|
+
export declare function listAgentStatesRequestToJSON(listAgentStatesRequest: ListAgentStatesRequest): string;
|
|
1800
|
+
/** @internal */
|
|
1801
|
+
export declare const State$inboundSchema: z.ZodMiniType<State, unknown>;
|
|
1802
|
+
export declare function stateFromJSON(jsonString: string): SafeParseResult<State, SDKValidationError>;
|
|
1803
|
+
/** @internal */
|
|
1804
|
+
export declare const ListAgentStatesResponse$inboundSchema: z.ZodMiniType<ListAgentStatesResponse, unknown>;
|
|
1805
|
+
export declare function listAgentStatesResponseFromJSON(jsonString: string): SafeParseResult<ListAgentStatesResponse, SDKValidationError>;
|
|
1806
|
+
/** @internal */
|
|
1807
|
+
export type GetAgentStateRequest$Outbound = {
|
|
1808
|
+
key: string;
|
|
1809
|
+
};
|
|
1810
|
+
/** @internal */
|
|
1811
|
+
export declare const GetAgentStateRequest$outboundSchema: z.ZodMiniType<GetAgentStateRequest$Outbound, GetAgentStateRequest>;
|
|
1812
|
+
export declare function getAgentStateRequestToJSON(getAgentStateRequest: GetAgentStateRequest): string;
|
|
1813
|
+
/** @internal */
|
|
1814
|
+
export declare const GetAgentStateResponse$inboundSchema: z.ZodMiniType<GetAgentStateResponse, unknown>;
|
|
1815
|
+
export declare function getAgentStateResponseFromJSON(jsonString: string): SafeParseResult<GetAgentStateResponse, SDKValidationError>;
|
|
1816
|
+
/** @internal */
|
|
1817
|
+
export type SetAgentStateRequestBody$Outbound = {
|
|
1818
|
+
data: any;
|
|
1819
|
+
};
|
|
1820
|
+
/** @internal */
|
|
1821
|
+
export declare const SetAgentStateRequestBody$outboundSchema: z.ZodMiniType<SetAgentStateRequestBody$Outbound, SetAgentStateRequestBody>;
|
|
1822
|
+
export declare function setAgentStateRequestBodyToJSON(setAgentStateRequestBody: SetAgentStateRequestBody): string;
|
|
1823
|
+
/** @internal */
|
|
1824
|
+
export type SetAgentStateRequest$Outbound = {
|
|
1825
|
+
key: string;
|
|
1826
|
+
body: SetAgentStateRequestBody$Outbound;
|
|
1827
|
+
};
|
|
1828
|
+
/** @internal */
|
|
1829
|
+
export declare const SetAgentStateRequest$outboundSchema: z.ZodMiniType<SetAgentStateRequest$Outbound, SetAgentStateRequest>;
|
|
1830
|
+
export declare function setAgentStateRequestToJSON(setAgentStateRequest: SetAgentStateRequest): string;
|
|
1831
|
+
/** @internal */
|
|
1832
|
+
export declare const SetAgentStateResponse$inboundSchema: z.ZodMiniType<SetAgentStateResponse, unknown>;
|
|
1833
|
+
export declare function setAgentStateResponseFromJSON(jsonString: string): SafeParseResult<SetAgentStateResponse, SDKValidationError>;
|
|
1834
|
+
/** @internal */
|
|
1835
|
+
export type DeleteAgentStateRequest$Outbound = {
|
|
1836
|
+
key: string;
|
|
1837
|
+
};
|
|
1838
|
+
/** @internal */
|
|
1839
|
+
export declare const DeleteAgentStateRequest$outboundSchema: z.ZodMiniType<DeleteAgentStateRequest$Outbound, DeleteAgentStateRequest>;
|
|
1840
|
+
export declare function deleteAgentStateRequestToJSON(deleteAgentStateRequest: DeleteAgentStateRequest): string;
|
|
1841
|
+
/** @internal */
|
|
1842
|
+
export declare const DeleteAgentStateResponse$inboundSchema: z.ZodMiniType<DeleteAgentStateResponse, unknown>;
|
|
1843
|
+
export declare function deleteAgentStateResponseFromJSON(jsonString: string): SafeParseResult<DeleteAgentStateResponse, SDKValidationError>;
|
|
1844
|
+
/** @internal */
|
|
1845
|
+
export type PatchAgentStateRequestBody$Outbound = {
|
|
1846
|
+
data: {
|
|
1847
|
+
[k: string]: any;
|
|
1848
|
+
};
|
|
1849
|
+
};
|
|
1850
|
+
/** @internal */
|
|
1851
|
+
export declare const PatchAgentStateRequestBody$outboundSchema: z.ZodMiniType<PatchAgentStateRequestBody$Outbound, PatchAgentStateRequestBody>;
|
|
1852
|
+
export declare function patchAgentStateRequestBodyToJSON(patchAgentStateRequestBody: PatchAgentStateRequestBody): string;
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
export type PatchAgentStateRequest$Outbound = {
|
|
1855
|
+
key: string;
|
|
1856
|
+
body: PatchAgentStateRequestBody$Outbound;
|
|
1857
|
+
};
|
|
1858
|
+
/** @internal */
|
|
1859
|
+
export declare const PatchAgentStateRequest$outboundSchema: z.ZodMiniType<PatchAgentStateRequest$Outbound, PatchAgentStateRequest>;
|
|
1860
|
+
export declare function patchAgentStateRequestToJSON(patchAgentStateRequest: PatchAgentStateRequest): string;
|
|
1861
|
+
/** @internal */
|
|
1862
|
+
export declare const PatchAgentStateResponse$inboundSchema: z.ZodMiniType<PatchAgentStateResponse, unknown>;
|
|
1863
|
+
export declare function patchAgentStateResponseFromJSON(jsonString: string): SafeParseResult<PatchAgentStateResponse, SDKValidationError>;
|
|
1864
|
+
/** @internal */
|
|
1865
|
+
export declare const ListCampaignsType$outboundSchema: z.ZodMiniEnum<typeof ListCampaignsType>;
|
|
1866
|
+
/** @internal */
|
|
1867
|
+
export type ListCampaignsRequest$Outbound = {
|
|
1868
|
+
type?: string | undefined;
|
|
1869
|
+
status?: string | undefined;
|
|
1870
|
+
limit: number;
|
|
1871
|
+
offset: number;
|
|
1872
|
+
};
|
|
1873
|
+
/** @internal */
|
|
1874
|
+
export declare const ListCampaignsRequest$outboundSchema: z.ZodMiniType<ListCampaignsRequest$Outbound, ListCampaignsRequest>;
|
|
1875
|
+
export declare function listCampaignsRequestToJSON(listCampaignsRequest: ListCampaignsRequest): string;
|
|
1876
|
+
/** @internal */
|
|
1877
|
+
export declare const ListCampaignsStageCounts$inboundSchema: z.ZodMiniType<ListCampaignsStageCounts, unknown>;
|
|
1878
|
+
export declare function listCampaignsStageCountsFromJSON(jsonString: string): SafeParseResult<ListCampaignsStageCounts, SDKValidationError>;
|
|
1879
|
+
/** @internal */
|
|
1880
|
+
export declare const ListCampaignsCampaign$inboundSchema: z.ZodMiniType<ListCampaignsCampaign, unknown>;
|
|
1881
|
+
export declare function listCampaignsCampaignFromJSON(jsonString: string): SafeParseResult<ListCampaignsCampaign, SDKValidationError>;
|
|
1882
|
+
/** @internal */
|
|
1883
|
+
export declare const ListCampaignsPagination$inboundSchema: z.ZodMiniType<ListCampaignsPagination, unknown>;
|
|
1884
|
+
export declare function listCampaignsPaginationFromJSON(jsonString: string): SafeParseResult<ListCampaignsPagination, SDKValidationError>;
|
|
1885
|
+
/** @internal */
|
|
1886
|
+
export declare const ListCampaignsResponse$inboundSchema: z.ZodMiniType<ListCampaignsResponse, unknown>;
|
|
1887
|
+
export declare function listCampaignsResponseFromJSON(jsonString: string): SafeParseResult<ListCampaignsResponse, SDKValidationError>;
|
|
1888
|
+
/** @internal */
|
|
1889
|
+
export declare const CreateCampaignType$outboundSchema: z.ZodMiniEnum<typeof CreateCampaignType>;
|
|
1890
|
+
/** @internal */
|
|
1891
|
+
export type CreateCampaignRequest$Outbound = {
|
|
1892
|
+
name: string;
|
|
1893
|
+
description?: string | undefined;
|
|
1894
|
+
context?: string | undefined;
|
|
1895
|
+
type: string;
|
|
1896
|
+
};
|
|
1897
|
+
/** @internal */
|
|
1898
|
+
export declare const CreateCampaignRequest$outboundSchema: z.ZodMiniType<CreateCampaignRequest$Outbound, CreateCampaignRequest>;
|
|
1899
|
+
export declare function createCampaignRequestToJSON(createCampaignRequest: CreateCampaignRequest): string;
|
|
1900
|
+
/** @internal */
|
|
1901
|
+
export declare const CreateCampaignStageCounts$inboundSchema: z.ZodMiniType<CreateCampaignStageCounts, unknown>;
|
|
1902
|
+
export declare function createCampaignStageCountsFromJSON(jsonString: string): SafeParseResult<CreateCampaignStageCounts, SDKValidationError>;
|
|
1903
|
+
/** @internal */
|
|
1904
|
+
export declare const CreateCampaignCampaign$inboundSchema: z.ZodMiniType<CreateCampaignCampaign, unknown>;
|
|
1905
|
+
export declare function createCampaignCampaignFromJSON(jsonString: string): SafeParseResult<CreateCampaignCampaign, SDKValidationError>;
|
|
1906
|
+
/** @internal */
|
|
1907
|
+
export declare const CreateCampaignResponse$inboundSchema: z.ZodMiniType<CreateCampaignResponse, unknown>;
|
|
1908
|
+
export declare function createCampaignResponseFromJSON(jsonString: string): SafeParseResult<CreateCampaignResponse, SDKValidationError>;
|
|
1909
|
+
/** @internal */
|
|
1910
|
+
export type GetCampaignRequest$Outbound = {
|
|
1911
|
+
campaignId: string;
|
|
1912
|
+
};
|
|
1913
|
+
/** @internal */
|
|
1914
|
+
export declare const GetCampaignRequest$outboundSchema: z.ZodMiniType<GetCampaignRequest$Outbound, GetCampaignRequest>;
|
|
1915
|
+
export declare function getCampaignRequestToJSON(getCampaignRequest: GetCampaignRequest): string;
|
|
1916
|
+
/** @internal */
|
|
1917
|
+
export declare const GetCampaignStageCounts$inboundSchema: z.ZodMiniType<GetCampaignStageCounts, unknown>;
|
|
1918
|
+
export declare function getCampaignStageCountsFromJSON(jsonString: string): SafeParseResult<GetCampaignStageCounts, SDKValidationError>;
|
|
1919
|
+
/** @internal */
|
|
1920
|
+
export declare const GetCampaignCampaign$inboundSchema: z.ZodMiniType<GetCampaignCampaign, unknown>;
|
|
1921
|
+
export declare function getCampaignCampaignFromJSON(jsonString: string): SafeParseResult<GetCampaignCampaign, SDKValidationError>;
|
|
1922
|
+
/** @internal */
|
|
1923
|
+
export declare const GetCampaignResponse$inboundSchema: z.ZodMiniType<GetCampaignResponse, unknown>;
|
|
1924
|
+
export declare function getCampaignResponseFromJSON(jsonString: string): SafeParseResult<GetCampaignResponse, SDKValidationError>;
|
|
1925
|
+
/** @internal */
|
|
1926
|
+
export type DeleteCampaignRequest$Outbound = {
|
|
1927
|
+
campaignId: string;
|
|
1928
|
+
};
|
|
1929
|
+
/** @internal */
|
|
1930
|
+
export declare const DeleteCampaignRequest$outboundSchema: z.ZodMiniType<DeleteCampaignRequest$Outbound, DeleteCampaignRequest>;
|
|
1931
|
+
export declare function deleteCampaignRequestToJSON(deleteCampaignRequest: DeleteCampaignRequest): string;
|
|
1932
|
+
/** @internal */
|
|
1933
|
+
export declare const DeleteCampaignResponse$inboundSchema: z.ZodMiniType<DeleteCampaignResponse, unknown>;
|
|
1934
|
+
export declare function deleteCampaignResponseFromJSON(jsonString: string): SafeParseResult<DeleteCampaignResponse, SDKValidationError>;
|
|
1935
|
+
/** @internal */
|
|
1936
|
+
export declare const UpdateCampaignStatus$outboundSchema: z.ZodMiniEnum<typeof UpdateCampaignStatus>;
|
|
1937
|
+
/** @internal */
|
|
1938
|
+
export type UpdateCampaignRequestBody$Outbound = {
|
|
1939
|
+
name?: string | undefined;
|
|
1940
|
+
description?: string | undefined;
|
|
1941
|
+
context?: string | undefined;
|
|
1942
|
+
status?: string | undefined;
|
|
1943
|
+
scheduledStartTime?: string | undefined;
|
|
1944
|
+
scheduledStopTime?: string | undefined;
|
|
1945
|
+
timezone?: string | undefined;
|
|
1946
|
+
runDays?: Array<string> | undefined;
|
|
1947
|
+
dailyActionLimit?: number | null | undefined;
|
|
1948
|
+
};
|
|
1949
|
+
/** @internal */
|
|
1950
|
+
export declare const UpdateCampaignRequestBody$outboundSchema: z.ZodMiniType<UpdateCampaignRequestBody$Outbound, UpdateCampaignRequestBody>;
|
|
1951
|
+
export declare function updateCampaignRequestBodyToJSON(updateCampaignRequestBody: UpdateCampaignRequestBody): string;
|
|
1952
|
+
/** @internal */
|
|
1953
|
+
export type UpdateCampaignRequest$Outbound = {
|
|
1954
|
+
campaignId: string;
|
|
1955
|
+
body: UpdateCampaignRequestBody$Outbound;
|
|
1956
|
+
};
|
|
1957
|
+
/** @internal */
|
|
1958
|
+
export declare const UpdateCampaignRequest$outboundSchema: z.ZodMiniType<UpdateCampaignRequest$Outbound, UpdateCampaignRequest>;
|
|
1959
|
+
export declare function updateCampaignRequestToJSON(updateCampaignRequest: UpdateCampaignRequest): string;
|
|
1960
|
+
/** @internal */
|
|
1961
|
+
export declare const UpdateCampaignStageCounts$inboundSchema: z.ZodMiniType<UpdateCampaignStageCounts, unknown>;
|
|
1962
|
+
export declare function updateCampaignStageCountsFromJSON(jsonString: string): SafeParseResult<UpdateCampaignStageCounts, SDKValidationError>;
|
|
1963
|
+
/** @internal */
|
|
1964
|
+
export declare const UpdateCampaignCampaign$inboundSchema: z.ZodMiniType<UpdateCampaignCampaign, unknown>;
|
|
1965
|
+
export declare function updateCampaignCampaignFromJSON(jsonString: string): SafeParseResult<UpdateCampaignCampaign, SDKValidationError>;
|
|
1966
|
+
/** @internal */
|
|
1967
|
+
export declare const UpdateCampaignResponse$inboundSchema: z.ZodMiniType<UpdateCampaignResponse, unknown>;
|
|
1968
|
+
export declare function updateCampaignResponseFromJSON(jsonString: string): SafeParseResult<UpdateCampaignResponse, SDKValidationError>;
|
|
1969
|
+
/** @internal */
|
|
1970
|
+
export declare const CampaignStatusTransitionAction$outboundSchema: z.ZodMiniEnum<typeof CampaignStatusTransitionAction>;
|
|
1971
|
+
/** @internal */
|
|
1972
|
+
export type CampaignStatusTransitionRequestBody$Outbound = {
|
|
1973
|
+
action: string;
|
|
1974
|
+
scheduledStartTime?: string | undefined;
|
|
1975
|
+
scheduledStopTime?: string | undefined;
|
|
1976
|
+
timezone?: string | undefined;
|
|
1977
|
+
runDays?: Array<string> | undefined;
|
|
1978
|
+
dailyActionLimit?: number | undefined;
|
|
1979
|
+
};
|
|
1980
|
+
/** @internal */
|
|
1981
|
+
export declare const CampaignStatusTransitionRequestBody$outboundSchema: z.ZodMiniType<CampaignStatusTransitionRequestBody$Outbound, CampaignStatusTransitionRequestBody>;
|
|
1982
|
+
export declare function campaignStatusTransitionRequestBodyToJSON(campaignStatusTransitionRequestBody: CampaignStatusTransitionRequestBody): string;
|
|
1983
|
+
/** @internal */
|
|
1984
|
+
export type CampaignStatusTransitionRequest$Outbound = {
|
|
1985
|
+
campaignId: string;
|
|
1986
|
+
body: CampaignStatusTransitionRequestBody$Outbound;
|
|
1987
|
+
};
|
|
1988
|
+
/** @internal */
|
|
1989
|
+
export declare const CampaignStatusTransitionRequest$outboundSchema: z.ZodMiniType<CampaignStatusTransitionRequest$Outbound, CampaignStatusTransitionRequest>;
|
|
1990
|
+
export declare function campaignStatusTransitionRequestToJSON(campaignStatusTransitionRequest: CampaignStatusTransitionRequest): string;
|
|
1991
|
+
/** @internal */
|
|
1992
|
+
export declare const CampaignStatusTransitionStageCounts$inboundSchema: z.ZodMiniType<CampaignStatusTransitionStageCounts, unknown>;
|
|
1993
|
+
export declare function campaignStatusTransitionStageCountsFromJSON(jsonString: string): SafeParseResult<CampaignStatusTransitionStageCounts, SDKValidationError>;
|
|
1994
|
+
/** @internal */
|
|
1995
|
+
export declare const CampaignStatusTransitionCampaign$inboundSchema: z.ZodMiniType<CampaignStatusTransitionCampaign, unknown>;
|
|
1996
|
+
export declare function campaignStatusTransitionCampaignFromJSON(jsonString: string): SafeParseResult<CampaignStatusTransitionCampaign, SDKValidationError>;
|
|
1997
|
+
/** @internal */
|
|
1998
|
+
export declare const CampaignStatusTransitionResponse$inboundSchema: z.ZodMiniType<CampaignStatusTransitionResponse, unknown>;
|
|
1999
|
+
export declare function campaignStatusTransitionResponseFromJSON(jsonString: string): SafeParseResult<CampaignStatusTransitionResponse, SDKValidationError>;
|
|
2000
|
+
/** @internal */
|
|
2001
|
+
export declare const ListCampaignContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof ListCampaignContactsLifecycleStage>;
|
|
2002
|
+
/** @internal */
|
|
2003
|
+
export type ListCampaignContactsRequest$Outbound = {
|
|
2004
|
+
lifecycleStage?: string | undefined;
|
|
2005
|
+
source?: string | undefined;
|
|
2006
|
+
sourceAngle?: string | undefined;
|
|
2007
|
+
minHotScore?: number | undefined;
|
|
2008
|
+
limit: number;
|
|
2009
|
+
offset: number;
|
|
2010
|
+
campaignId: string;
|
|
2011
|
+
};
|
|
2012
|
+
/** @internal */
|
|
2013
|
+
export declare const ListCampaignContactsRequest$outboundSchema: z.ZodMiniType<ListCampaignContactsRequest$Outbound, ListCampaignContactsRequest>;
|
|
2014
|
+
export declare function listCampaignContactsRequestToJSON(listCampaignContactsRequest: ListCampaignContactsRequest): string;
|
|
2015
|
+
/** @internal */
|
|
2016
|
+
export declare const ListCampaignContactsContact$inboundSchema: z.ZodMiniType<ListCampaignContactsContact, unknown>;
|
|
2017
|
+
export declare function listCampaignContactsContactFromJSON(jsonString: string): SafeParseResult<ListCampaignContactsContact, SDKValidationError>;
|
|
2018
|
+
/** @internal */
|
|
2019
|
+
export declare const ListCampaignContactsPagination$inboundSchema: z.ZodMiniType<ListCampaignContactsPagination, unknown>;
|
|
2020
|
+
export declare function listCampaignContactsPaginationFromJSON(jsonString: string): SafeParseResult<ListCampaignContactsPagination, SDKValidationError>;
|
|
2021
|
+
/** @internal */
|
|
2022
|
+
export declare const ListCampaignContactsResponse$inboundSchema: z.ZodMiniType<ListCampaignContactsResponse, unknown>;
|
|
2023
|
+
export declare function listCampaignContactsResponseFromJSON(jsonString: string): SafeParseResult<ListCampaignContactsResponse, SDKValidationError>;
|
|
2024
|
+
/** @internal */
|
|
2025
|
+
export declare const AddCampaignContactsSource$outboundSchema: z.ZodMiniEnum<typeof AddCampaignContactsSource>;
|
|
2026
|
+
/** @internal */
|
|
2027
|
+
export declare const AddCampaignContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof AddCampaignContactsLifecycleStage>;
|
|
2028
|
+
/** @internal */
|
|
2029
|
+
export type AddCampaignContactsContact$Outbound = {
|
|
2030
|
+
linkedinUrl: string;
|
|
2031
|
+
profileUrn?: string | null | undefined;
|
|
2032
|
+
publicIdentifier?: string | null | undefined;
|
|
2033
|
+
name: string;
|
|
2034
|
+
source: string;
|
|
2035
|
+
sourceAngle?: string | undefined;
|
|
2036
|
+
lifecycleStage?: string | undefined;
|
|
2037
|
+
hotScore?: number | undefined;
|
|
2038
|
+
qualificationNotes?: string | undefined;
|
|
2039
|
+
notes?: string | undefined;
|
|
2040
|
+
};
|
|
2041
|
+
/** @internal */
|
|
2042
|
+
export declare const AddCampaignContactsContact$outboundSchema: z.ZodMiniType<AddCampaignContactsContact$Outbound, AddCampaignContactsContact>;
|
|
2043
|
+
export declare function addCampaignContactsContactToJSON(addCampaignContactsContact: AddCampaignContactsContact): string;
|
|
2044
|
+
/** @internal */
|
|
2045
|
+
export type AddCampaignContactsRequestBody$Outbound = {
|
|
2046
|
+
contacts: Array<AddCampaignContactsContact$Outbound>;
|
|
2047
|
+
};
|
|
2048
|
+
/** @internal */
|
|
2049
|
+
export declare const AddCampaignContactsRequestBody$outboundSchema: z.ZodMiniType<AddCampaignContactsRequestBody$Outbound, AddCampaignContactsRequestBody>;
|
|
2050
|
+
export declare function addCampaignContactsRequestBodyToJSON(addCampaignContactsRequestBody: AddCampaignContactsRequestBody): string;
|
|
2051
|
+
/** @internal */
|
|
2052
|
+
export type AddCampaignContactsRequest$Outbound = {
|
|
2053
|
+
campaignId: string;
|
|
2054
|
+
body: AddCampaignContactsRequestBody$Outbound;
|
|
2055
|
+
};
|
|
2056
|
+
/** @internal */
|
|
2057
|
+
export declare const AddCampaignContactsRequest$outboundSchema: z.ZodMiniType<AddCampaignContactsRequest$Outbound, AddCampaignContactsRequest>;
|
|
2058
|
+
export declare function addCampaignContactsRequestToJSON(addCampaignContactsRequest: AddCampaignContactsRequest): string;
|
|
2059
|
+
/** @internal */
|
|
2060
|
+
export declare const AddCampaignContactsResults$inboundSchema: z.ZodMiniType<AddCampaignContactsResults, unknown>;
|
|
2061
|
+
export declare function addCampaignContactsResultsFromJSON(jsonString: string): SafeParseResult<AddCampaignContactsResults, SDKValidationError>;
|
|
2062
|
+
/** @internal */
|
|
2063
|
+
export declare const AddCampaignContactsResponse$inboundSchema: z.ZodMiniType<AddCampaignContactsResponse, unknown>;
|
|
2064
|
+
export declare function addCampaignContactsResponseFromJSON(jsonString: string): SafeParseResult<AddCampaignContactsResponse, SDKValidationError>;
|
|
2065
|
+
/** @internal */
|
|
2066
|
+
export type GetByUrlRequest$Outbound = {
|
|
2067
|
+
linkedinUrl: string;
|
|
2068
|
+
};
|
|
2069
|
+
/** @internal */
|
|
2070
|
+
export declare const GetByUrlRequest$outboundSchema: z.ZodMiniType<GetByUrlRequest$Outbound, GetByUrlRequest>;
|
|
2071
|
+
export declare function getByUrlRequestToJSON(getByUrlRequest: GetByUrlRequest): string;
|
|
2072
|
+
/** @internal */
|
|
2073
|
+
export declare const GetByUrlActivity$inboundSchema: z.ZodMiniType<GetByUrlActivity, unknown>;
|
|
2074
|
+
export declare function getByUrlActivityFromJSON(jsonString: string): SafeParseResult<GetByUrlActivity, SDKValidationError>;
|
|
2075
|
+
/** @internal */
|
|
2076
|
+
export declare const GetByUrlCampaign$inboundSchema: z.ZodMiniType<GetByUrlCampaign, unknown>;
|
|
2077
|
+
export declare function getByUrlCampaignFromJSON(jsonString: string): SafeParseResult<GetByUrlCampaign, SDKValidationError>;
|
|
2078
|
+
/** @internal */
|
|
2079
|
+
export declare const GetByUrlContact$inboundSchema: z.ZodMiniType<GetByUrlContact, unknown>;
|
|
2080
|
+
export declare function getByUrlContactFromJSON(jsonString: string): SafeParseResult<GetByUrlContact, SDKValidationError>;
|
|
2081
|
+
/** @internal */
|
|
2082
|
+
export declare const GetByUrlResponse$inboundSchema: z.ZodMiniType<GetByUrlResponse, unknown>;
|
|
2083
|
+
export declare function getByUrlResponseFromJSON(jsonString: string): SafeParseResult<GetByUrlResponse, SDKValidationError>;
|
|
2084
|
+
/** @internal */
|
|
2085
|
+
export declare const QueryParamStatus$outboundSchema: z.ZodMiniEnum<typeof QueryParamStatus>;
|
|
2086
|
+
/** @internal */
|
|
2087
|
+
export type ListMessagesRequest$Outbound = {
|
|
2088
|
+
status?: string | undefined;
|
|
2089
|
+
contactId?: string | undefined;
|
|
2090
|
+
campaignSlug?: string | undefined;
|
|
2091
|
+
limit: number;
|
|
2092
|
+
offset: number;
|
|
2093
|
+
};
|
|
2094
|
+
/** @internal */
|
|
2095
|
+
export declare const ListMessagesRequest$outboundSchema: z.ZodMiniType<ListMessagesRequest$Outbound, ListMessagesRequest>;
|
|
2096
|
+
export declare function listMessagesRequestToJSON(listMessagesRequest: ListMessagesRequest): string;
|
|
2097
|
+
/** @internal */
|
|
2098
|
+
export declare const MessageStatus$inboundSchema: z.ZodMiniType<MessageStatus, unknown>;
|
|
2099
|
+
/** @internal */
|
|
2100
|
+
export declare const ListMessagesMessage$inboundSchema: z.ZodMiniType<ListMessagesMessage, unknown>;
|
|
2101
|
+
export declare function listMessagesMessageFromJSON(jsonString: string): SafeParseResult<ListMessagesMessage, SDKValidationError>;
|
|
2102
|
+
/** @internal */
|
|
2103
|
+
export declare const ListMessagesResponse$inboundSchema: z.ZodMiniType<ListMessagesResponse, unknown>;
|
|
2104
|
+
export declare function listMessagesResponseFromJSON(jsonString: string): SafeParseResult<ListMessagesResponse, SDKValidationError>;
|
|
2105
|
+
/** @internal */
|
|
2106
|
+
export declare const CreateStatusRequest$outboundSchema: z.ZodMiniEnum<typeof CreateStatusRequest>;
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export type CreateRequest$Outbound = {
|
|
2109
|
+
contactId: string;
|
|
2110
|
+
message: string;
|
|
2111
|
+
status?: string | undefined;
|
|
2112
|
+
scheduledSendAt?: string | undefined;
|
|
2113
|
+
campaignSlug?: string | undefined;
|
|
2114
|
+
};
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export declare const CreateRequest$outboundSchema: z.ZodMiniType<CreateRequest$Outbound, CreateRequest>;
|
|
2117
|
+
export declare function createRequestToJSON(createRequest: CreateRequest): string;
|
|
2118
|
+
/** @internal */
|
|
2119
|
+
export declare const ScheduledMessageStatus$inboundSchema: z.ZodMiniType<ScheduledMessageStatus, unknown>;
|
|
2120
|
+
/** @internal */
|
|
2121
|
+
export declare const ScheduledMessage$inboundSchema: z.ZodMiniType<ScheduledMessage, unknown>;
|
|
2122
|
+
export declare function scheduledMessageFromJSON(jsonString: string): SafeParseResult<ScheduledMessage, SDKValidationError>;
|
|
2123
|
+
/** @internal */
|
|
2124
|
+
export declare const CreateResponse$inboundSchema: z.ZodMiniType<CreateResponse, unknown>;
|
|
2125
|
+
export declare function createResponseFromJSON(jsonString: string): SafeParseResult<CreateResponse, SDKValidationError>;
|
|
2126
|
+
/** @internal */
|
|
2127
|
+
export type BatchScheduleRequest$Outbound = {
|
|
2128
|
+
contactIds?: Array<string> | undefined;
|
|
2129
|
+
messageIds?: Array<string> | undefined;
|
|
2130
|
+
scheduledSendAt: string;
|
|
2131
|
+
};
|
|
2132
|
+
/** @internal */
|
|
2133
|
+
export declare const BatchScheduleRequest$outboundSchema: z.ZodMiniType<BatchScheduleRequest$Outbound, BatchScheduleRequest>;
|
|
2134
|
+
export declare function batchScheduleRequestToJSON(batchScheduleRequest: BatchScheduleRequest): string;
|
|
2135
|
+
/** @internal */
|
|
2136
|
+
export declare const BatchScheduleResponse$inboundSchema: z.ZodMiniType<BatchScheduleResponse, unknown>;
|
|
2137
|
+
export declare function batchScheduleResponseFromJSON(jsonString: string): SafeParseResult<BatchScheduleResponse, SDKValidationError>;
|
|
2138
|
+
/** @internal */
|
|
2139
|
+
export type CancelRequest$Outbound = {
|
|
2140
|
+
messageIds?: Array<string> | undefined;
|
|
2141
|
+
contactIds?: Array<string> | undefined;
|
|
2142
|
+
};
|
|
2143
|
+
/** @internal */
|
|
2144
|
+
export declare const CancelRequest$outboundSchema: z.ZodMiniType<CancelRequest$Outbound, CancelRequest>;
|
|
2145
|
+
export declare function cancelRequestToJSON(cancelRequest: CancelRequest): string;
|
|
2146
|
+
/** @internal */
|
|
2147
|
+
export declare const CancelResponse$inboundSchema: z.ZodMiniType<CancelResponse, unknown>;
|
|
2148
|
+
export declare function cancelResponseFromJSON(jsonString: string): SafeParseResult<CancelResponse, SDKValidationError>;
|
|
2149
|
+
/** @internal */
|
|
2150
|
+
export type ListEntriesRequest$Outbound = {
|
|
2151
|
+
scope?: string | undefined;
|
|
2152
|
+
type?: string | undefined;
|
|
2153
|
+
};
|
|
2154
|
+
/** @internal */
|
|
2155
|
+
export declare const ListEntriesRequest$outboundSchema: z.ZodMiniType<ListEntriesRequest$Outbound, ListEntriesRequest>;
|
|
2156
|
+
export declare function listEntriesRequestToJSON(listEntriesRequest: ListEntriesRequest): string;
|
|
2157
|
+
/** @internal */
|
|
2158
|
+
export declare const ListEntriesEntry$inboundSchema: z.ZodMiniType<ListEntriesEntry, unknown>;
|
|
2159
|
+
export declare function listEntriesEntryFromJSON(jsonString: string): SafeParseResult<ListEntriesEntry, SDKValidationError>;
|
|
2160
|
+
/** @internal */
|
|
2161
|
+
export declare const ListEntriesResponse$inboundSchema: z.ZodMiniType<ListEntriesResponse, unknown>;
|
|
2162
|
+
export declare function listEntriesResponseFromJSON(jsonString: string): SafeParseResult<ListEntriesResponse, SDKValidationError>;
|
|
2163
|
+
/** @internal */
|
|
2164
|
+
export type SetRequest$Outbound = {
|
|
2165
|
+
type: string;
|
|
2166
|
+
content: string;
|
|
2167
|
+
scope?: string | undefined;
|
|
2168
|
+
label?: string | undefined;
|
|
2169
|
+
};
|
|
2170
|
+
/** @internal */
|
|
2171
|
+
export declare const SetRequest$outboundSchema: z.ZodMiniType<SetRequest$Outbound, SetRequest>;
|
|
2172
|
+
export declare function setRequestToJSON(setRequest: SetRequest): string;
|
|
2173
|
+
/** @internal */
|
|
2174
|
+
export declare const SetEntry$inboundSchema: z.ZodMiniType<SetEntry, unknown>;
|
|
2175
|
+
export declare function setEntryFromJSON(jsonString: string): SafeParseResult<SetEntry, SDKValidationError>;
|
|
2176
|
+
/** @internal */
|
|
2177
|
+
export declare const SetResponse$inboundSchema: z.ZodMiniType<SetResponse, unknown>;
|
|
2178
|
+
export declare function setResponseFromJSON(jsonString: string): SafeParseResult<SetResponse, SDKValidationError>;
|
|
2179
|
+
/** @internal */
|
|
2180
|
+
export type DeleteRequest$Outbound = {
|
|
2181
|
+
type: string;
|
|
2182
|
+
scope?: string | undefined;
|
|
2183
|
+
};
|
|
2184
|
+
/** @internal */
|
|
2185
|
+
export declare const DeleteRequest$outboundSchema: z.ZodMiniType<DeleteRequest$Outbound, DeleteRequest>;
|
|
2186
|
+
export declare function deleteRequestToJSON(deleteRequest: DeleteRequest): string;
|
|
2187
|
+
/** @internal */
|
|
2188
|
+
export declare const DeleteResponse$inboundSchema: z.ZodMiniType<DeleteResponse, unknown>;
|
|
2189
|
+
export declare function deleteResponseFromJSON(jsonString: string): SafeParseResult<DeleteResponse, SDKValidationError>;
|
|
2190
|
+
/** @internal */
|
|
2191
|
+
export declare const Schedule$inboundSchema: z.ZodMiniType<Schedule, unknown>;
|
|
2192
|
+
export declare function scheduleFromJSON(jsonString: string): SafeParseResult<Schedule, SDKValidationError>;
|
|
2193
|
+
/** @internal */
|
|
2194
|
+
export declare const ListSchedulesResponse$inboundSchema: z.ZodMiniType<ListSchedulesResponse, unknown>;
|
|
2195
|
+
export declare function listSchedulesResponseFromJSON(jsonString: string): SafeParseResult<ListSchedulesResponse, SDKValidationError>;
|
|
2196
|
+
/** @internal */
|
|
2197
|
+
export declare const UpdateScheduleAction$outboundSchema: z.ZodMiniEnum<typeof UpdateScheduleAction>;
|
|
2198
|
+
/** @internal */
|
|
2199
|
+
export type UpdateScheduleRequestBody$Outbound = {
|
|
2200
|
+
action: string;
|
|
2201
|
+
};
|
|
2202
|
+
/** @internal */
|
|
2203
|
+
export declare const UpdateScheduleRequestBody$outboundSchema: z.ZodMiniType<UpdateScheduleRequestBody$Outbound, UpdateScheduleRequestBody>;
|
|
2204
|
+
export declare function updateScheduleRequestBodyToJSON(updateScheduleRequestBody: UpdateScheduleRequestBody): string;
|
|
2205
|
+
/** @internal */
|
|
2206
|
+
export type UpdateScheduleRequest$Outbound = {
|
|
2207
|
+
scheduleId: string;
|
|
2208
|
+
body: UpdateScheduleRequestBody$Outbound;
|
|
2209
|
+
};
|
|
2210
|
+
/** @internal */
|
|
2211
|
+
export declare const UpdateScheduleRequest$outboundSchema: z.ZodMiniType<UpdateScheduleRequest$Outbound, UpdateScheduleRequest>;
|
|
2212
|
+
export declare function updateScheduleRequestToJSON(updateScheduleRequest: UpdateScheduleRequest): string;
|
|
2213
|
+
/** @internal */
|
|
2214
|
+
export declare const UpdateScheduleResponse$inboundSchema: z.ZodMiniType<UpdateScheduleResponse, unknown>;
|
|
2215
|
+
export declare function updateScheduleResponseFromJSON(jsonString: string): SafeParseResult<UpdateScheduleResponse, SDKValidationError>;
|
|
2216
|
+
//# sourceMappingURL=update-schedule-response.d.ts.map
|