bereach 1.3.3 → 2.1.0-beta.3
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/README.md +142 -42
- 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 +4 -2
- package/esm/funcs/actions-connect-profile.js.map +1 -1
- 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 +3 -1
- package/esm/funcs/actions-follow-company.js.map +1 -1
- 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 +3 -1
- package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
- 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 +4 -2
- package/esm/funcs/actions-send-message.js.map +1 -1
- 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 +3 -1
- package/esm/funcs/campaigns-filter.js.map +1 -1
- package/esm/funcs/{campaigns-get-stats.d.ts → campaigns-get-campaign-stats.d.ts} +2 -2
- package/esm/funcs/campaigns-get-campaign-stats.d.ts.map +1 -0
- package/esm/funcs/{campaigns-get-stats.js → campaigns-get-campaign-stats.js} +8 -7
- package/esm/funcs/campaigns-get-campaign-stats.js.map +1 -0
- 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 +3 -1
- package/esm/funcs/campaigns-get-status.js.map +1 -1
- 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 +3 -1
- 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 +3 -1
- 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 +4 -9
- package/esm/funcs/chat-find-conversation.js.map +1 -1
- 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 +3 -1
- package/esm/funcs/chat-unreact.js.map +1 -1
- 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 +3 -1
- 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 +3 -1
- package/esm/funcs/company-pages-get-permissions.js.map +1 -1
- package/esm/funcs/company-pages-get-posts.d.ts +1 -1
- package/esm/funcs/company-pages-get-posts.d.ts.map +1 -1
- package/esm/funcs/company-pages-get-posts.js +3 -1
- package/esm/funcs/company-pages-get-posts.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 +3 -1
- package/esm/funcs/company-pages-list.js.map +1 -1
- package/esm/funcs/contacts-add-campaign-contacts.d.ts +18 -0
- package/esm/funcs/contacts-add-campaign-contacts.d.ts.map +1 -0
- package/esm/funcs/contacts-add-campaign-contacts.js +103 -0
- package/esm/funcs/contacts-add-campaign-contacts.js.map +1 -0
- package/esm/funcs/contacts-add-contact-activities.d.ts +18 -0
- package/esm/funcs/contacts-add-contact-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-add-contact-activities.js +103 -0
- package/esm/funcs/contacts-add-contact-activities.js.map +1 -0
- package/esm/funcs/contacts-bulk-update-contacts.d.ts +18 -0
- package/esm/funcs/contacts-bulk-update-contacts.d.ts.map +1 -0
- package/esm/funcs/contacts-bulk-update-contacts.js +97 -0
- package/esm/funcs/contacts-bulk-update-contacts.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-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-contact-by-url.d.ts +18 -0
- package/esm/funcs/contacts-get-contact-by-url.d.ts.map +1 -0
- package/esm/funcs/contacts-get-contact-by-url.js +100 -0
- package/esm/funcs/contacts-get-contact-by-url.js.map +1 -0
- package/esm/funcs/contacts-get-contact-stats.d.ts +18 -0
- package/esm/funcs/contacts-get-contact-stats.d.ts.map +1 -0
- package/esm/funcs/contacts-get-contact-stats.js +100 -0
- package/esm/funcs/contacts-get-contact-stats.js.map +1 -0
- package/esm/funcs/contacts-get-contact.d.ts +18 -0
- package/esm/funcs/contacts-get-contact.d.ts.map +1 -0
- package/esm/funcs/contacts-get-contact.js +102 -0
- package/esm/funcs/contacts-get-contact.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 +86 -0
- package/esm/funcs/contacts-list-agent-states.js.map +1 -0
- package/esm/funcs/contacts-list-campaign-contacts.d.ts +18 -0
- package/esm/funcs/contacts-list-campaign-contacts.d.ts.map +1 -0
- package/esm/funcs/contacts-list-campaign-contacts.js +111 -0
- package/esm/funcs/contacts-list-campaign-contacts.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-list-contact-activities.d.ts +18 -0
- package/esm/funcs/contacts-list-contact-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-list-contact-activities.js +108 -0
- package/esm/funcs/contacts-list-contact-activities.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-contacts.d.ts +18 -0
- package/esm/funcs/contacts-search-contacts.d.ts.map +1 -0
- package/esm/funcs/contacts-search-contacts.js +112 -0
- package/esm/funcs/contacts-search-contacts.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-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-contact.d.ts +18 -0
- package/esm/funcs/contacts-update-contact.d.ts.map +1 -0
- package/esm/funcs/contacts-update-contact.js +103 -0
- package/esm/funcs/contacts-update-contact.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 +21 -3
- package/esm/funcs/contacts-upsert.js.map +1 -1
- package/esm/funcs/context-delete-context.d.ts +18 -0
- package/esm/funcs/context-delete-context.d.ts.map +1 -0
- package/esm/funcs/context-delete-context.js +101 -0
- package/esm/funcs/context-delete-context.js.map +1 -0
- package/esm/funcs/context-list-context.d.ts +18 -0
- package/esm/funcs/context-list-context.d.ts.map +1 -0
- package/esm/funcs/context-list-context.js +101 -0
- package/esm/funcs/context-list-context.js.map +1 -0
- package/esm/funcs/context-set-context.d.ts +18 -0
- package/esm/funcs/{campaigns-get-stats.d.ts.map → context-set-context.d.ts.map} +1 -1
- package/esm/funcs/context-set-context.js +97 -0
- package/esm/funcs/context-set-context.js.map +1 -0
- package/esm/funcs/cron-list-cron-schedules.d.ts +18 -0
- package/esm/funcs/cron-list-cron-schedules.d.ts.map +1 -0
- package/esm/funcs/cron-list-cron-schedules.js +86 -0
- package/esm/funcs/cron-list-cron-schedules.js.map +1 -0
- package/esm/funcs/cron-update-cron-schedule.d.ts +18 -0
- package/esm/funcs/{chat-search-conversations.d.ts.map → cron-update-cron-schedule.d.ts.map} +1 -1
- package/esm/funcs/cron-update-cron-schedule.js +103 -0
- package/esm/funcs/cron-update-cron-schedule.js.map +1 -0
- package/esm/funcs/linked-in-actions-create-comment.d.ts +1 -1
- package/esm/funcs/linked-in-actions-create-comment.d.ts.map +1 -1
- package/esm/funcs/linked-in-actions-create-comment.js +3 -1
- package/esm/funcs/linked-in-actions-create-comment.js.map +1 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +1 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js +3 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -1
- package/esm/funcs/linked-in-actions-like-comment.d.ts +1 -1
- package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -1
- package/esm/funcs/linked-in-actions-like-comment.js +3 -1
- package/esm/funcs/linked-in-actions-like-comment.js.map +1 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts +1 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -1
- package/esm/funcs/linked-in-actions-publish-post.js +3 -1
- package/esm/funcs/linked-in-actions-publish-post.js.map +1 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts +1 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -1
- package/esm/funcs/linked-in-actions-save-post.js +3 -1
- package/esm/funcs/linked-in-actions-save-post.js.map +1 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +1 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +1 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js +3 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +1 -1
- package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts +22 -0
- package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-get-messages.js → linked-in-chat-get-conversation-messages.js} +15 -9
- package/esm/funcs/linked-in-chat-get-conversation-messages.js.map +1 -0
- package/esm/funcs/{linkedin-chat-get-unread-count.d.ts → linked-in-chat-get-unread-count.d.ts} +2 -2
- package/esm/funcs/linked-in-chat-get-unread-count.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-get-unread-count.js → linked-in-chat-get-unread-count.js} +8 -7
- package/esm/funcs/linked-in-chat-get-unread-count.js.map +1 -0
- package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts +18 -0
- package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-archived.js → linked-in-chat-list-archived-conversations.js} +13 -10
- package/esm/funcs/linked-in-chat-list-archived-conversations.js.map +1 -0
- package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts +18 -0
- package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-list-starred.js → linked-in-chat-list-starred-conversations.js} +13 -10
- package/esm/funcs/linked-in-chat-list-starred-conversations.js.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts +1 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -1
- package/esm/funcs/linked-in-chat-mark-seen.js +3 -1
- package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -1
- package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts +18 -0
- package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts.map +1 -0
- package/esm/funcs/{chat-search-conversations.js → linked-in-chat-search-linked-in-conversations.js} +14 -8
- package/esm/funcs/linked-in-chat-search-linked-in-conversations.js.map +1 -0
- package/esm/funcs/linked-in-chat-star.d.ts +1 -1
- package/esm/funcs/linked-in-chat-star.d.ts.map +1 -1
- package/esm/funcs/linked-in-chat-star.js +3 -1
- package/esm/funcs/linked-in-chat-star.js.map +1 -1
- package/esm/funcs/linked-in-chat-unarchive.d.ts +1 -1
- package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -1
- package/esm/funcs/linked-in-chat-unarchive.js +3 -1
- package/esm/funcs/linked-in-chat-unarchive.js.map +1 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts +1 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -1
- package/esm/funcs/linked-in-chat-unstar.js +3 -1
- package/esm/funcs/linked-in-chat-unstar.js.map +1 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +2 -2
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +4 -2
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +1 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts +1 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -1
- package/esm/funcs/linked-in-scrapers-get-feed.js +3 -1
- package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -1
- package/esm/funcs/{linked-in-search-resolve-parameters.d.ts → linked-in-search-resolve-linked-in-search-parameters.d.ts} +6 -3
- package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-resolve-parameters.js → linked-in-search-resolve-linked-in-search-parameters.js} +18 -8
- package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.js.map +1 -0
- package/esm/funcs/linked-in-search-search-companies.d.ts +1 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -1
- package/esm/funcs/linked-in-search-search-companies.js +3 -1
- package/esm/funcs/linked-in-search-search-companies.js.map +1 -1
- package/esm/funcs/linked-in-search-search.d.ts +1 -1
- package/esm/funcs/linked-in-search-search.d.ts.map +1 -1
- package/esm/funcs/linked-in-search-search.js +3 -1
- package/esm/funcs/linked-in-search-search.js.map +1 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts +1 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js +3 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts +1 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-edit-comment.js +3 -1
- package/esm/funcs/linkedin-actions-edit-comment.js.map +1 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts +1 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-edit-post.js +3 -1
- package/esm/funcs/linkedin-actions-edit-post.js.map +1 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts +1 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-follow-profile.js +3 -1
- package/esm/funcs/linkedin-actions-follow-profile.js.map +1 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts +1 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-like-post.js +3 -1
- package/esm/funcs/linkedin-actions-like-post.js.map +1 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts +1 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-list-invitations.js +3 -1
- package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +1 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.js +3 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts +2 -2
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-repost-post.js +4 -2
- package/esm/funcs/linkedin-actions-repost-post.js.map +1 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +1 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js +3 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts +1 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js +3 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js.map +1 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts +1 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-unlike-post.js +3 -1
- package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts +1 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-unsave-post.js +3 -1
- package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +1 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js +3 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -1
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -1
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js +8 -4
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts +1 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js +3 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -1
- package/esm/funcs/linkedin-chat-react.d.ts +1 -1
- package/esm/funcs/linkedin-chat-react.d.ts.map +1 -1
- package/esm/funcs/linkedin-chat-react.js +3 -1
- package/esm/funcs/linkedin-chat-react.js.map +1 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +1 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js +3 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +2 -2
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js +4 -2
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +1 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +3 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +2 -2
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js +4 -2
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +1 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js +3 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts +1 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js +3 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts +1 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -1
- package/esm/funcs/linkedin-search-search-by-url.js +3 -1
- package/esm/funcs/linkedin-search-search-by-url.js.map +1 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts +1 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -1
- package/esm/funcs/linkedin-search-search-jobs.js +3 -1
- package/esm/funcs/linkedin-search-search-jobs.js.map +1 -1
- package/esm/funcs/linkedin-search-search-people.d.ts +1 -1
- package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -1
- package/esm/funcs/linkedin-search-search-people.js +3 -1
- package/esm/funcs/linkedin-search-search-people.js.map +1 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts +1 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -1
- package/esm/funcs/linkedin-search-search-posts.js +3 -1
- package/esm/funcs/linkedin-search-search-posts.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 +3 -1
- 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 +3 -1
- package/esm/funcs/profile-get-followers.js.map +1 -1
- package/esm/funcs/profile-get-linked-in-connections.d.ts +18 -0
- package/esm/funcs/profile-get-linked-in-connections.d.ts.map +1 -0
- package/esm/funcs/profile-get-linked-in-connections.js +101 -0
- package/esm/funcs/profile-get-linked-in-connections.js.map +1 -0
- package/esm/funcs/{profile-get-credits.d.ts → profile-get-my-credits.d.ts} +2 -2
- package/esm/funcs/profile-get-my-credits.d.ts.map +1 -0
- package/esm/funcs/{profile-get-credits.js → profile-get-my-credits.js} +6 -4
- package/esm/funcs/profile-get-my-credits.js.map +1 -0
- package/esm/funcs/{profile-get-limits.d.ts → profile-get-my-limits.d.ts} +2 -2
- package/esm/funcs/{profile-list-accounts.d.ts.map → profile-get-my-limits.d.ts.map} +1 -1
- package/esm/funcs/{profile-get-limits.js → profile-get-my-limits.js} +6 -4
- package/esm/funcs/profile-get-my-limits.js.map +1 -0
- package/esm/funcs/{profile-get.d.ts → profile-get-my-linked-in-profile.d.ts} +2 -2
- package/esm/funcs/profile-get-my-linked-in-profile.d.ts.map +1 -0
- package/esm/funcs/{profile-get.js → profile-get-my-linked-in-profile.js} +6 -4
- package/esm/funcs/profile-get-my-linked-in-profile.js.map +1 -0
- 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 +4 -2
- package/esm/funcs/profile-get-post-analytics.js.map +1 -1
- package/esm/funcs/profile-get-posts.d.ts +1 -1
- package/esm/funcs/profile-get-posts.d.ts.map +1 -1
- package/esm/funcs/profile-get-posts.js +3 -1
- package/esm/funcs/profile-get-posts.js.map +1 -1
- package/esm/funcs/profile-get-profile-views.d.ts +1 -1
- package/esm/funcs/profile-get-profile-views.d.ts.map +1 -1
- package/esm/funcs/profile-get-profile-views.js +3 -1
- package/esm/funcs/profile-get-profile-views.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 +3 -1
- package/esm/funcs/profile-get-search-appearances.js.map +1 -1
- package/esm/funcs/{profile-list-accounts.d.ts → profile-list-linked-in-accounts.d.ts} +2 -2
- package/esm/funcs/profile-list-linked-in-accounts.d.ts.map +1 -0
- package/esm/funcs/{profile-list-accounts.js → profile-list-linked-in-accounts.js} +6 -4
- package/esm/funcs/profile-list-linked-in-accounts.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 +3 -1
- package/esm/funcs/profile-refresh.js.map +1 -1
- package/esm/funcs/profile-switch-linked-in-account.d.ts +18 -0
- package/esm/funcs/profile-switch-linked-in-account.d.ts.map +1 -0
- package/esm/funcs/profile-switch-linked-in-account.js +97 -0
- package/esm/funcs/profile-switch-linked-in-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 +3 -1
- package/esm/funcs/profile-update-account.js.map +1 -1
- package/esm/funcs/sales-nav-search-people.d.ts +1 -1
- package/esm/funcs/sales-nav-search-people.d.ts.map +1 -1
- package/esm/funcs/sales-nav-search-people.js +3 -1
- package/esm/funcs/sales-nav-search-people.js.map +1 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts +1 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -1
- package/esm/funcs/sales-navigator-search-search-companies.js +3 -1
- package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -1
- package/esm/funcs/sales-navigator-search-search.d.ts +1 -1
- package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -1
- package/esm/funcs/sales-navigator-search-search.js +3 -1
- package/esm/funcs/sales-navigator-search-search.js.map +1 -1
- package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts +18 -0
- package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-batch-schedule-messages.js +97 -0
- package/esm/funcs/scheduled-messages-batch-schedule-messages.js.map +1 -0
- package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts +18 -0
- package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js +97 -0
- package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js.map +1 -0
- package/esm/funcs/{chat-search-conversations.d.ts → scheduled-messages-create-scheduled-message.d.ts} +4 -4
- package/esm/funcs/scheduled-messages-create-scheduled-message.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-create-scheduled-message.js +97 -0
- package/esm/funcs/scheduled-messages-create-scheduled-message.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-archived.d.ts → scheduled-messages-list-scheduled-messages.d.ts} +4 -4
- package/esm/funcs/scheduled-messages-list-scheduled-messages.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-list-scheduled-messages.js +104 -0
- package/esm/funcs/scheduled-messages-list-scheduled-messages.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 +4 -2
- package/esm/funcs/scrapers-collect-posts.js.map +1 -1
- 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 +6 -2
- package/esm/funcs/scrapers-visit-profile.js.map +1 -1
- package/esm/lib/config.d.ts +4 -4
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +7 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/models/errors/collect-linked-in-likes.d.ts +46 -0
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
- package/esm/models/errors/collect-linked-in-likes.js +66 -0
- package/esm/models/errors/collect-linked-in-likes.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/{scraping-weekly.d.ts → refresh-my-linked-in-profile-type.d.ts} +405 -620
- package/esm/models/operations/refresh-my-linked-in-profile-type.d.ts.map +1 -0
- package/esm/models/operations/{scraping-weekly.js → refresh-my-linked-in-profile-type.js} +270 -302
- package/esm/models/operations/refresh-my-linked-in-profile-type.js.map +1 -0
- package/esm/models/operations/{search-linked-in-by-url-type-post.d.ts → search-linked-in-jobs-experience-level.d.ts} +305 -255
- package/esm/models/operations/search-linked-in-jobs-experience-level.d.ts.map +1 -0
- package/esm/models/operations/{search-linked-in-by-url-type-post.js → search-linked-in-jobs-experience-level.js} +211 -178
- package/esm/models/operations/search-linked-in-jobs-experience-level.js.map +1 -0
- package/esm/models/operations/{get-campaign-stats-response.d.ts → update-contact-outreach-status.d.ts} +1520 -386
- package/esm/models/operations/update-contact-outreach-status.d.ts.map +1 -0
- package/esm/models/operations/{get-campaign-stats-response.js → update-contact-outreach-status.js} +923 -249
- package/esm/models/operations/update-contact-outreach-status.js.map +1 -0
- package/esm/models/operations/update-cron-schedule-response.d.ts +1820 -0
- package/esm/models/operations/update-cron-schedule-response.d.ts.map +1 -0
- package/esm/models/operations/update-cron-schedule-response.js +1194 -0
- package/esm/models/operations/update-cron-schedule-response.js.map +1 -0
- package/esm/sdk/actions.d.ts +2 -2
- package/esm/sdk/actions.js +2 -2
- package/esm/sdk/campaigns.d.ts +1 -1
- 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 +1 -15
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +1 -18
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/contacts.d.ts +127 -1
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +181 -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/linked-in-chat-2.d.ts +39 -7
- package/esm/sdk/linked-in-chat-2.d.ts.map +1 -1
- package/esm/sdk/linked-in-chat-2.js +54 -10
- package/esm/sdk/linked-in-chat-2.js.map +1 -1
- package/esm/sdk/linked-in-scrapers-2.d.ts +1 -1
- package/esm/sdk/linked-in-scrapers-2.js +1 -1
- package/esm/sdk/linked-in-search-1.d.ts +5 -2
- package/esm/sdk/linked-in-search-1.d.ts.map +1 -1
- package/esm/sdk/linked-in-search-1.js +7 -4
- package/esm/sdk/linked-in-search-1.js.map +1 -1
- package/esm/sdk/linkedin-actions-1.d.ts +1 -1
- package/esm/sdk/linkedin-actions-1.js +1 -1
- package/esm/sdk/linkedin-chat-1.d.ts +2 -27
- package/esm/sdk/linkedin-chat-1.d.ts.map +1 -1
- package/esm/sdk/linkedin-chat-1.js +1 -35
- package/esm/sdk/linkedin-chat-1.js.map +1 -1
- package/esm/sdk/linkedin-scrapers-1.d.ts +2 -2
- package/esm/sdk/linkedin-scrapers-1.js +2 -2
- package/esm/sdk/profile.d.ts +19 -5
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +33 -13
- package/esm/sdk/profile.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 +4 -2
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +4 -2
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +11 -2
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +19 -4
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -4
- package/src/funcs/actions-connect-profile.ts +11 -1
- package/src/funcs/actions-follow-company.ts +10 -0
- package/src/funcs/actions-list-sent-invitations.ts +10 -0
- package/src/funcs/actions-send-message.ts +11 -1
- package/src/funcs/campaigns-filter.ts +10 -0
- package/src/funcs/{campaigns-get-stats.ts → campaigns-get-campaign-stats.ts} +14 -5
- package/src/funcs/campaigns-get-status.ts +10 -0
- package/src/funcs/campaigns-sync.ts +10 -0
- package/src/funcs/chat-archive.ts +10 -0
- package/src/funcs/chat-find-conversation.ts +11 -8
- package/src/funcs/chat-unreact.ts +10 -0
- package/src/funcs/company-pages-get-analytics.ts +10 -0
- package/src/funcs/company-pages-get-permissions.ts +10 -0
- package/src/funcs/company-pages-get-posts.ts +10 -0
- package/src/funcs/company-pages-list.ts +10 -0
- package/src/funcs/contacts-add-campaign-contacts.ts +233 -0
- package/src/funcs/contacts-add-contact-activities.ts +231 -0
- package/src/funcs/contacts-bulk-update-contacts.ts +225 -0
- package/src/funcs/contacts-create-campaign.ts +224 -0
- package/src/funcs/contacts-delete-agent-state.ts +230 -0
- package/src/funcs/contacts-get-agent-state.ts +229 -0
- package/src/funcs/contacts-get-contact-by-url.ts +228 -0
- package/src/funcs/contacts-get-contact-stats.ts +232 -0
- package/src/funcs/contacts-get-contact.ts +229 -0
- package/src/funcs/contacts-list-agent-states.ts +205 -0
- package/src/funcs/contacts-list-campaign-contacts.ts +242 -0
- package/src/funcs/contacts-list-campaigns.ts +235 -0
- package/src/funcs/contacts-list-contact-activities.ts +237 -0
- package/src/funcs/contacts-patch-agent-state.ts +230 -0
- package/src/funcs/contacts-search-contacts.ts +244 -0
- package/src/funcs/contacts-set-agent-state.ts +230 -0
- package/src/funcs/contacts-update-campaign.ts +230 -0
- package/src/funcs/contacts-update-contact.ts +230 -0
- package/src/funcs/contacts-upsert.ts +66 -3
- package/src/funcs/context-delete-context.ts +229 -0
- package/src/funcs/context-list-context.ts +230 -0
- package/src/funcs/context-set-context.ts +224 -0
- package/src/funcs/cron-list-cron-schedules.ts +205 -0
- package/src/funcs/cron-update-cron-schedule.ts +231 -0
- package/src/funcs/linked-in-actions-create-comment.ts +10 -0
- package/src/funcs/linked-in-actions-decline-invitation.ts +10 -0
- package/src/funcs/linked-in-actions-like-comment.ts +10 -0
- package/src/funcs/linked-in-actions-publish-post.ts +10 -0
- package/src/funcs/linked-in-actions-save-post.ts +10 -0
- package/src/funcs/linked-in-actions-unfollow-profile.ts +10 -0
- package/src/funcs/{linkedin-chat-get-messages.ts → linked-in-chat-get-conversation-messages.ts} +22 -7
- package/src/funcs/{linkedin-chat-get-unread-count.ts → linked-in-chat-get-unread-count.ts} +12 -6
- package/src/funcs/{linkedin-chat-list-archived.ts → linked-in-chat-list-archived-conversations.ts} +20 -8
- package/src/funcs/{linked-in-chat-list-starred.ts → linked-in-chat-list-starred-conversations.ts} +20 -8
- package/src/funcs/linked-in-chat-mark-seen.ts +10 -0
- package/src/funcs/{chat-search-conversations.ts → linked-in-chat-search-linked-in-conversations.ts} +21 -6
- package/src/funcs/linked-in-chat-star.ts +10 -0
- package/src/funcs/linked-in-chat-unarchive.ts +10 -0
- package/src/funcs/linked-in-chat-unstar.ts +10 -0
- package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +11 -1
- package/src/funcs/linked-in-scrapers-get-feed.ts +10 -0
- package/src/funcs/{linked-in-search-resolve-parameters.ts → linked-in-search-resolve-linked-in-search-parameters.ts} +25 -6
- package/src/funcs/linked-in-search-search-companies.ts +10 -0
- package/src/funcs/linked-in-search-search.ts +10 -0
- package/src/funcs/linkedin-actions-accept-invitation.ts +10 -0
- package/src/funcs/linkedin-actions-edit-comment.ts +10 -0
- package/src/funcs/linkedin-actions-edit-post.ts +10 -0
- package/src/funcs/linkedin-actions-follow-profile.ts +10 -0
- package/src/funcs/linkedin-actions-like-post.ts +10 -0
- package/src/funcs/linkedin-actions-list-invitations.ts +10 -0
- package/src/funcs/linkedin-actions-reply-to-comment.ts +10 -0
- package/src/funcs/linkedin-actions-repost-post.ts +11 -1
- package/src/funcs/linkedin-actions-unfollow-company.ts +10 -0
- package/src/funcs/linkedin-actions-unlike-comment.ts +10 -0
- package/src/funcs/linkedin-actions-unlike-post.ts +10 -0
- package/src/funcs/linkedin-actions-unsave-post.ts +10 -0
- package/src/funcs/linkedin-actions-withdraw-invitation.ts +10 -0
- package/src/funcs/linkedin-chat-list-inbox-conversations.ts +20 -5
- package/src/funcs/linkedin-chat-mark-all-read.ts +10 -0
- package/src/funcs/linkedin-chat-react.ts +10 -0
- package/src/funcs/linkedin-chat-send-typing-indicator.ts +10 -0
- package/src/funcs/linkedin-scrapers-collect-comments.ts +11 -1
- package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +10 -0
- package/src/funcs/linkedin-scrapers-collect-likes.ts +11 -1
- package/src/funcs/linkedin-scrapers-list-saved-posts.ts +10 -0
- package/src/funcs/linkedin-scrapers-visit-company.ts +10 -0
- package/src/funcs/linkedin-search-search-by-url.ts +10 -0
- package/src/funcs/linkedin-search-search-jobs.ts +10 -0
- package/src/funcs/linkedin-search-search-people.ts +10 -0
- package/src/funcs/linkedin-search-search-posts.ts +10 -0
- package/src/funcs/profile-get-follower-analytics.ts +10 -0
- package/src/funcs/profile-get-followers.ts +10 -0
- package/src/funcs/profile-get-linked-in-connections.ts +233 -0
- package/src/funcs/{profile-get-credits.ts → profile-get-my-credits.ts} +12 -2
- package/src/funcs/{profile-get-limits.ts → profile-get-my-limits.ts} +12 -2
- package/src/funcs/{profile-get.ts → profile-get-my-linked-in-profile.ts} +12 -2
- package/src/funcs/profile-get-post-analytics.ts +11 -1
- package/src/funcs/profile-get-posts.ts +10 -0
- package/src/funcs/profile-get-profile-views.ts +10 -0
- package/src/funcs/profile-get-search-appearances.ts +10 -0
- package/src/funcs/{profile-list-accounts.ts → profile-list-linked-in-accounts.ts} +12 -2
- package/src/funcs/profile-refresh.ts +10 -0
- package/src/funcs/profile-switch-linked-in-account.ts +225 -0
- package/src/funcs/profile-update-account.ts +10 -0
- package/src/funcs/sales-nav-search-people.ts +10 -0
- package/src/funcs/sales-navigator-search-search-companies.ts +10 -0
- package/src/funcs/sales-navigator-search-search.ts +10 -0
- package/src/funcs/scheduled-messages-batch-schedule-messages.ts +225 -0
- package/src/funcs/scheduled-messages-cancel-scheduled-messages.ts +225 -0
- package/src/funcs/scheduled-messages-create-scheduled-message.ts +225 -0
- package/src/funcs/scheduled-messages-list-scheduled-messages.ts +236 -0
- package/src/funcs/scrapers-collect-posts.ts +11 -1
- package/src/funcs/scrapers-visit-profile.ts +13 -1
- package/src/lib/config.ts +7 -3
- package/src/models/errors/collect-linked-in-likes.ts +108 -0
- package/src/models/operations/index.ts +4 -4
- package/src/models/operations/{scraping-weekly.ts → refresh-my-linked-in-profile-type.ts} +2106 -2363
- package/src/models/operations/{search-linked-in-by-url-type-post.ts → search-linked-in-jobs-experience-level.ts} +649 -536
- package/src/models/operations/{get-campaign-stats-response.ts → update-contact-outreach-status.ts} +3582 -1450
- package/src/models/operations/update-cron-schedule-response.ts +3771 -0
- package/src/sdk/actions.ts +2 -2
- package/src/sdk/campaigns.ts +3 -3
- package/src/sdk/chat.ts +1 -26
- package/src/sdk/contacts.ts +323 -1
- package/src/sdk/context.ts +63 -0
- package/src/sdk/cron.ts +43 -0
- package/src/sdk/linked-in-chat-2.ts +92 -18
- package/src/sdk/linked-in-scrapers-2.ts +1 -1
- package/src/sdk/linked-in-search-1.ts +7 -4
- package/src/sdk/linkedin-actions-1.ts +1 -1
- package/src/sdk/linkedin-chat-1.ts +2 -60
- package/src/sdk/linkedin-scrapers-1.ts +2 -2
- package/src/sdk/profile.ts +49 -13
- package/src/sdk/scheduled-messages.ts +81 -0
- package/src/sdk/scrapers.ts +4 -2
- package/src/sdk/sdk.ts +23 -5
- package/esm/funcs/campaigns-get-stats.js.map +0 -1
- package/esm/funcs/chat-search-conversations.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.map +0 -1
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-resolve-parameters.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.map +0 -1
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
- package/esm/funcs/profile-get-credits.d.ts.map +0 -1
- package/esm/funcs/profile-get-credits.js.map +0 -1
- package/esm/funcs/profile-get-limits.d.ts.map +0 -1
- package/esm/funcs/profile-get-limits.js.map +0 -1
- package/esm/funcs/profile-get.d.ts.map +0 -1
- package/esm/funcs/profile-get.js.map +0 -1
- package/esm/funcs/profile-list-accounts.js.map +0 -1
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
- package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
- package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
- package/esm/models/operations/scraping-weekly.js.map +0 -1
- 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.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/src/models/operations/upsert-contacts.ts +0 -305
|
@@ -48,6 +48,8 @@ export function linkedInActionsDeclineInvitation(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -163,6 +167,8 @@ async function $do(
|
|
|
163
167
|
"429",
|
|
164
168
|
"4XX",
|
|
165
169
|
"500",
|
|
170
|
+
"502",
|
|
171
|
+
"503",
|
|
166
172
|
"5XX",
|
|
167
173
|
],
|
|
168
174
|
retryConfig: context.retryConfig,
|
|
@@ -188,6 +194,8 @@ async function $do(
|
|
|
188
194
|
| errors.UnprocessableEntityError
|
|
189
195
|
| errors.TooManyRequestsError
|
|
190
196
|
| errors.InternalServerError
|
|
197
|
+
| errors.BadGatewayError
|
|
198
|
+
| errors.ServiceUnavailableError
|
|
191
199
|
| BereachError
|
|
192
200
|
| ResponseValidationError
|
|
193
201
|
| ConnectionError
|
|
@@ -207,6 +215,8 @@ async function $do(
|
|
|
207
215
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
208
216
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
209
217
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
218
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
219
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
210
220
|
M.fail("4XX"),
|
|
211
221
|
M.fail("5XX"),
|
|
212
222
|
)(response, req, { extraFields: responseFields });
|
|
@@ -48,6 +48,8 @@ export function linkedInActionsLikeComment(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -160,6 +164,8 @@ async function $do(
|
|
|
160
164
|
"429",
|
|
161
165
|
"4XX",
|
|
162
166
|
"500",
|
|
167
|
+
"502",
|
|
168
|
+
"503",
|
|
163
169
|
"5XX",
|
|
164
170
|
],
|
|
165
171
|
retryConfig: context.retryConfig,
|
|
@@ -185,6 +191,8 @@ async function $do(
|
|
|
185
191
|
| errors.UnprocessableEntityError
|
|
186
192
|
| errors.TooManyRequestsError
|
|
187
193
|
| errors.InternalServerError
|
|
194
|
+
| errors.BadGatewayError
|
|
195
|
+
| errors.ServiceUnavailableError
|
|
188
196
|
| BereachError
|
|
189
197
|
| ResponseValidationError
|
|
190
198
|
| ConnectionError
|
|
@@ -204,6 +212,8 @@ async function $do(
|
|
|
204
212
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
205
213
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
206
214
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
215
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
216
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
207
217
|
M.fail("4XX"),
|
|
208
218
|
M.fail("5XX"),
|
|
209
219
|
)(response, req, { extraFields: responseFields });
|
|
@@ -48,6 +48,8 @@ export function linkedInActionsPublishPost(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -160,6 +164,8 @@ async function $do(
|
|
|
160
164
|
"429",
|
|
161
165
|
"4XX",
|
|
162
166
|
"500",
|
|
167
|
+
"502",
|
|
168
|
+
"503",
|
|
163
169
|
"5XX",
|
|
164
170
|
],
|
|
165
171
|
retryConfig: context.retryConfig,
|
|
@@ -185,6 +191,8 @@ async function $do(
|
|
|
185
191
|
| errors.UnprocessableEntityError
|
|
186
192
|
| errors.TooManyRequestsError
|
|
187
193
|
| errors.InternalServerError
|
|
194
|
+
| errors.BadGatewayError
|
|
195
|
+
| errors.ServiceUnavailableError
|
|
188
196
|
| BereachError
|
|
189
197
|
| ResponseValidationError
|
|
190
198
|
| ConnectionError
|
|
@@ -204,6 +212,8 @@ async function $do(
|
|
|
204
212
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
205
213
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
206
214
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
215
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
216
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
207
217
|
M.fail("4XX"),
|
|
208
218
|
M.fail("5XX"),
|
|
209
219
|
)(response, req, { extraFields: responseFields });
|
|
@@ -48,6 +48,8 @@ export function linkedInActionsSavePost(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -160,6 +164,8 @@ async function $do(
|
|
|
160
164
|
"429",
|
|
161
165
|
"4XX",
|
|
162
166
|
"500",
|
|
167
|
+
"502",
|
|
168
|
+
"503",
|
|
163
169
|
"5XX",
|
|
164
170
|
],
|
|
165
171
|
retryConfig: context.retryConfig,
|
|
@@ -185,6 +191,8 @@ async function $do(
|
|
|
185
191
|
| errors.UnprocessableEntityError
|
|
186
192
|
| errors.TooManyRequestsError
|
|
187
193
|
| errors.InternalServerError
|
|
194
|
+
| errors.BadGatewayError
|
|
195
|
+
| errors.ServiceUnavailableError
|
|
188
196
|
| BereachError
|
|
189
197
|
| ResponseValidationError
|
|
190
198
|
| ConnectionError
|
|
@@ -204,6 +212,8 @@ async function $do(
|
|
|
204
212
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
205
213
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
206
214
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
215
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
216
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
207
217
|
M.fail("4XX"),
|
|
208
218
|
M.fail("5XX"),
|
|
209
219
|
)(response, req, { extraFields: responseFields });
|
|
@@ -48,6 +48,8 @@ export function linkedInActionsUnfollowProfile(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -160,6 +164,8 @@ async function $do(
|
|
|
160
164
|
"429",
|
|
161
165
|
"4XX",
|
|
162
166
|
"500",
|
|
167
|
+
"502",
|
|
168
|
+
"503",
|
|
163
169
|
"5XX",
|
|
164
170
|
],
|
|
165
171
|
retryConfig: context.retryConfig,
|
|
@@ -185,6 +191,8 @@ async function $do(
|
|
|
185
191
|
| errors.UnprocessableEntityError
|
|
186
192
|
| errors.TooManyRequestsError
|
|
187
193
|
| errors.InternalServerError
|
|
194
|
+
| errors.BadGatewayError
|
|
195
|
+
| errors.ServiceUnavailableError
|
|
188
196
|
| BereachError
|
|
189
197
|
| ResponseValidationError
|
|
190
198
|
| ConnectionError
|
|
@@ -204,6 +212,8 @@ async function $do(
|
|
|
204
212
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
205
213
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
206
214
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
215
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
216
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
207
217
|
M.fail("4XX"),
|
|
208
218
|
M.fail("5XX"),
|
|
209
219
|
)(response, req, { extraFields: responseFields });
|
package/src/funcs/{linkedin-chat-get-messages.ts → linked-in-chat-get-conversation-messages.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { BereachCore } from "../core.js";
|
|
7
|
-
import {
|
|
7
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
8
8
|
import * as M from "../lib/matchers.js";
|
|
9
9
|
import { compactMap } from "../lib/primitives.js";
|
|
10
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -32,11 +32,11 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Fetch messages from a specific LinkedIn conversation. 0 credits.
|
|
34
34
|
*
|
|
35
|
-
* Pass the full `conversationUrn` as returned by `/chats/linkedin` or `/chats/linkedin/search`. No parsing required — the server handles extraction internally.
|
|
35
|
+
* Pass the full `conversationUrn` as a query parameter, as returned by `/chats/linkedin` or `/chats/linkedin/search`. No parsing required — the server handles extraction internally.
|
|
36
36
|
*
|
|
37
|
-
* Example: `
|
|
37
|
+
* Example: `GET /chats/linkedin/messages?conversationUrn=urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)`
|
|
38
38
|
*/
|
|
39
|
-
export function
|
|
39
|
+
export function linkedInChatGetConversationMessages(
|
|
40
40
|
client: BereachCore,
|
|
41
41
|
request: operations.GetConversationMessagesRequest,
|
|
42
42
|
options?: RequestOptions,
|
|
@@ -52,6 +52,8 @@ export function linkedinChatGetMessages(
|
|
|
52
52
|
| errors.UnprocessableEntityError
|
|
53
53
|
| errors.TooManyRequestsError
|
|
54
54
|
| errors.InternalServerError
|
|
55
|
+
| errors.BadGatewayError
|
|
56
|
+
| errors.ServiceUnavailableError
|
|
55
57
|
| BereachError
|
|
56
58
|
| ResponseValidationError
|
|
57
59
|
| ConnectionError
|
|
@@ -86,6 +88,8 @@ async function $do(
|
|
|
86
88
|
| errors.UnprocessableEntityError
|
|
87
89
|
| errors.TooManyRequestsError
|
|
88
90
|
| errors.InternalServerError
|
|
91
|
+
| errors.BadGatewayError
|
|
92
|
+
| errors.ServiceUnavailableError
|
|
89
93
|
| BereachError
|
|
90
94
|
| ResponseValidationError
|
|
91
95
|
| ConnectionError
|
|
@@ -108,12 +112,16 @@ async function $do(
|
|
|
108
112
|
return [parsed, { status: "invalid" }];
|
|
109
113
|
}
|
|
110
114
|
const payload = parsed.value;
|
|
111
|
-
const body =
|
|
115
|
+
const body = null;
|
|
112
116
|
|
|
113
117
|
const path = pathToFunc("/chats/linkedin/messages")();
|
|
114
118
|
|
|
119
|
+
const query = encodeFormQuery({
|
|
120
|
+
"conversationUrn": payload.conversationUrn,
|
|
121
|
+
"deliveredAt": payload.deliveredAt,
|
|
122
|
+
});
|
|
123
|
+
|
|
115
124
|
const headers = new Headers(compactMap({
|
|
116
|
-
"Content-Type": "application/json",
|
|
117
125
|
Accept: "application/json",
|
|
118
126
|
}));
|
|
119
127
|
|
|
@@ -138,10 +146,11 @@ async function $do(
|
|
|
138
146
|
|
|
139
147
|
const requestRes = client._createRequest(context, {
|
|
140
148
|
security: requestSecurity,
|
|
141
|
-
method: "
|
|
149
|
+
method: "GET",
|
|
142
150
|
baseURL: options?.serverURL,
|
|
143
151
|
path: path,
|
|
144
152
|
headers: headers,
|
|
153
|
+
query: query,
|
|
145
154
|
body: body,
|
|
146
155
|
userAgent: client._options.userAgent,
|
|
147
156
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
@@ -164,6 +173,8 @@ async function $do(
|
|
|
164
173
|
"429",
|
|
165
174
|
"4XX",
|
|
166
175
|
"500",
|
|
176
|
+
"502",
|
|
177
|
+
"503",
|
|
167
178
|
"5XX",
|
|
168
179
|
],
|
|
169
180
|
retryConfig: context.retryConfig,
|
|
@@ -189,6 +200,8 @@ async function $do(
|
|
|
189
200
|
| errors.UnprocessableEntityError
|
|
190
201
|
| errors.TooManyRequestsError
|
|
191
202
|
| errors.InternalServerError
|
|
203
|
+
| errors.BadGatewayError
|
|
204
|
+
| errors.ServiceUnavailableError
|
|
192
205
|
| BereachError
|
|
193
206
|
| ResponseValidationError
|
|
194
207
|
| ConnectionError
|
|
@@ -208,6 +221,8 @@ async function $do(
|
|
|
208
221
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
209
222
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
210
223
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
224
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
225
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
211
226
|
M.fail("4XX"),
|
|
212
227
|
M.fail("5XX"),
|
|
213
228
|
)(response, req, { extraFields: responseFields });
|
|
@@ -29,9 +29,8 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Get the number of unread LinkedIn messages/conversations. 0 credits.
|
|
31
31
|
*/
|
|
32
|
-
export function
|
|
32
|
+
export function linkedInChatGetUnreadCount(
|
|
33
33
|
client: BereachCore,
|
|
34
|
-
_request?: operations.GetUnreadCountRequest | undefined,
|
|
35
34
|
options?: RequestOptions,
|
|
36
35
|
): APIPromise<
|
|
37
36
|
Result<
|
|
@@ -45,6 +44,8 @@ export function linkedinChatGetUnreadCount(
|
|
|
45
44
|
| errors.UnprocessableEntityError
|
|
46
45
|
| errors.TooManyRequestsError
|
|
47
46
|
| errors.InternalServerError
|
|
47
|
+
| errors.BadGatewayError
|
|
48
|
+
| errors.ServiceUnavailableError
|
|
48
49
|
| BereachError
|
|
49
50
|
| ResponseValidationError
|
|
50
51
|
| ConnectionError
|
|
@@ -57,14 +58,12 @@ export function linkedinChatGetUnreadCount(
|
|
|
57
58
|
> {
|
|
58
59
|
return new APIPromise($do(
|
|
59
60
|
client,
|
|
60
|
-
_request,
|
|
61
61
|
options,
|
|
62
62
|
));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
async function $do(
|
|
66
66
|
client: BereachCore,
|
|
67
|
-
_request?: operations.GetUnreadCountRequest | undefined,
|
|
68
67
|
options?: RequestOptions,
|
|
69
68
|
): Promise<
|
|
70
69
|
[
|
|
@@ -79,6 +78,8 @@ async function $do(
|
|
|
79
78
|
| errors.UnprocessableEntityError
|
|
80
79
|
| errors.TooManyRequestsError
|
|
81
80
|
| errors.InternalServerError
|
|
81
|
+
| errors.BadGatewayError
|
|
82
|
+
| errors.ServiceUnavailableError
|
|
82
83
|
| BereachError
|
|
83
84
|
| ResponseValidationError
|
|
84
85
|
| ConnectionError
|
|
@@ -94,7 +95,6 @@ async function $do(
|
|
|
94
95
|
const path = pathToFunc("/chats/linkedin/unread")();
|
|
95
96
|
|
|
96
97
|
const headers = new Headers(compactMap({
|
|
97
|
-
"Content-Type": "application/json",
|
|
98
98
|
Accept: "application/json",
|
|
99
99
|
}));
|
|
100
100
|
|
|
@@ -119,7 +119,7 @@ async function $do(
|
|
|
119
119
|
|
|
120
120
|
const requestRes = client._createRequest(context, {
|
|
121
121
|
security: requestSecurity,
|
|
122
|
-
method: "
|
|
122
|
+
method: "GET",
|
|
123
123
|
baseURL: options?.serverURL,
|
|
124
124
|
path: path,
|
|
125
125
|
headers: headers,
|
|
@@ -144,6 +144,8 @@ async function $do(
|
|
|
144
144
|
"429",
|
|
145
145
|
"4XX",
|
|
146
146
|
"500",
|
|
147
|
+
"502",
|
|
148
|
+
"503",
|
|
147
149
|
"5XX",
|
|
148
150
|
],
|
|
149
151
|
retryConfig: context.retryConfig,
|
|
@@ -169,6 +171,8 @@ async function $do(
|
|
|
169
171
|
| errors.UnprocessableEntityError
|
|
170
172
|
| errors.TooManyRequestsError
|
|
171
173
|
| errors.InternalServerError
|
|
174
|
+
| errors.BadGatewayError
|
|
175
|
+
| errors.ServiceUnavailableError
|
|
172
176
|
| BereachError
|
|
173
177
|
| ResponseValidationError
|
|
174
178
|
| ConnectionError
|
|
@@ -188,6 +192,8 @@ async function $do(
|
|
|
188
192
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
189
193
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
190
194
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
195
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
196
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
191
197
|
M.fail("4XX"),
|
|
192
198
|
M.fail("5XX"),
|
|
193
199
|
)(response, req, { extraFields: responseFields });
|
package/src/funcs/{linkedin-chat-list-archived.ts → linked-in-chat-list-archived-conversations.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { BereachCore } from "../core.js";
|
|
7
|
-
import {
|
|
7
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
8
8
|
import * as M from "../lib/matchers.js";
|
|
9
9
|
import { compactMap } from "../lib/primitives.js";
|
|
10
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -30,9 +30,9 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List archived conversations
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* List archived LinkedIn conversations. 0 credits.
|
|
33
|
+
* List archived LinkedIn conversations. 0 credits. GET with optional nextCursor query parameter.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function linkedInChatListArchivedConversations(
|
|
36
36
|
client: BereachCore,
|
|
37
37
|
request?: operations.ListArchivedConversationsRequest | undefined,
|
|
38
38
|
options?: RequestOptions,
|
|
@@ -48,6 +48,8 @@ export function linkedinChatListArchived(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -107,14 +111,15 @@ async function $do(
|
|
|
107
111
|
return [parsed, { status: "invalid" }];
|
|
108
112
|
}
|
|
109
113
|
const payload = parsed.value;
|
|
110
|
-
const body =
|
|
111
|
-
? null
|
|
112
|
-
: encodeJSON("body", payload, { explode: true });
|
|
114
|
+
const body = null;
|
|
113
115
|
|
|
114
116
|
const path = pathToFunc("/chats/linkedin/archived")();
|
|
115
117
|
|
|
118
|
+
const query = encodeFormQuery({
|
|
119
|
+
"nextCursor": payload?.nextCursor,
|
|
120
|
+
});
|
|
121
|
+
|
|
116
122
|
const headers = new Headers(compactMap({
|
|
117
|
-
"Content-Type": "application/json",
|
|
118
123
|
Accept: "application/json",
|
|
119
124
|
}));
|
|
120
125
|
|
|
@@ -139,10 +144,11 @@ async function $do(
|
|
|
139
144
|
|
|
140
145
|
const requestRes = client._createRequest(context, {
|
|
141
146
|
security: requestSecurity,
|
|
142
|
-
method: "
|
|
147
|
+
method: "GET",
|
|
143
148
|
baseURL: options?.serverURL,
|
|
144
149
|
path: path,
|
|
145
150
|
headers: headers,
|
|
151
|
+
query: query,
|
|
146
152
|
body: body,
|
|
147
153
|
userAgent: client._options.userAgent,
|
|
148
154
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
@@ -165,6 +171,8 @@ async function $do(
|
|
|
165
171
|
"429",
|
|
166
172
|
"4XX",
|
|
167
173
|
"500",
|
|
174
|
+
"502",
|
|
175
|
+
"503",
|
|
168
176
|
"5XX",
|
|
169
177
|
],
|
|
170
178
|
retryConfig: context.retryConfig,
|
|
@@ -190,6 +198,8 @@ async function $do(
|
|
|
190
198
|
| errors.UnprocessableEntityError
|
|
191
199
|
| errors.TooManyRequestsError
|
|
192
200
|
| errors.InternalServerError
|
|
201
|
+
| errors.BadGatewayError
|
|
202
|
+
| errors.ServiceUnavailableError
|
|
193
203
|
| BereachError
|
|
194
204
|
| ResponseValidationError
|
|
195
205
|
| ConnectionError
|
|
@@ -209,6 +219,8 @@ async function $do(
|
|
|
209
219
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
210
220
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
211
221
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
222
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
223
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
212
224
|
M.fail("4XX"),
|
|
213
225
|
M.fail("5XX"),
|
|
214
226
|
)(response, req, { extraFields: responseFields });
|
package/src/funcs/{linked-in-chat-list-starred.ts → linked-in-chat-list-starred-conversations.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { BereachCore } from "../core.js";
|
|
7
|
-
import {
|
|
7
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
8
8
|
import * as M from "../lib/matchers.js";
|
|
9
9
|
import { compactMap } from "../lib/primitives.js";
|
|
10
10
|
import { safeParse } from "../lib/schemas.js";
|
|
@@ -30,9 +30,9 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List starred conversations
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* List starred/favorited LinkedIn conversations. 0 credits.
|
|
33
|
+
* List starred/favorited LinkedIn conversations. 0 credits. GET with optional nextCursor query parameter.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function linkedInChatListStarredConversations(
|
|
36
36
|
client: BereachCore,
|
|
37
37
|
request?: operations.ListStarredConversationsRequest | undefined,
|
|
38
38
|
options?: RequestOptions,
|
|
@@ -48,6 +48,8 @@ export function linkedInChatListStarred(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -107,14 +111,15 @@ async function $do(
|
|
|
107
111
|
return [parsed, { status: "invalid" }];
|
|
108
112
|
}
|
|
109
113
|
const payload = parsed.value;
|
|
110
|
-
const body =
|
|
111
|
-
? null
|
|
112
|
-
: encodeJSON("body", payload, { explode: true });
|
|
114
|
+
const body = null;
|
|
113
115
|
|
|
114
116
|
const path = pathToFunc("/chats/linkedin/starred")();
|
|
115
117
|
|
|
118
|
+
const query = encodeFormQuery({
|
|
119
|
+
"nextCursor": payload?.nextCursor,
|
|
120
|
+
});
|
|
121
|
+
|
|
116
122
|
const headers = new Headers(compactMap({
|
|
117
|
-
"Content-Type": "application/json",
|
|
118
123
|
Accept: "application/json",
|
|
119
124
|
}));
|
|
120
125
|
|
|
@@ -139,10 +144,11 @@ async function $do(
|
|
|
139
144
|
|
|
140
145
|
const requestRes = client._createRequest(context, {
|
|
141
146
|
security: requestSecurity,
|
|
142
|
-
method: "
|
|
147
|
+
method: "GET",
|
|
143
148
|
baseURL: options?.serverURL,
|
|
144
149
|
path: path,
|
|
145
150
|
headers: headers,
|
|
151
|
+
query: query,
|
|
146
152
|
body: body,
|
|
147
153
|
userAgent: client._options.userAgent,
|
|
148
154
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
@@ -165,6 +171,8 @@ async function $do(
|
|
|
165
171
|
"429",
|
|
166
172
|
"4XX",
|
|
167
173
|
"500",
|
|
174
|
+
"502",
|
|
175
|
+
"503",
|
|
168
176
|
"5XX",
|
|
169
177
|
],
|
|
170
178
|
retryConfig: context.retryConfig,
|
|
@@ -190,6 +198,8 @@ async function $do(
|
|
|
190
198
|
| errors.UnprocessableEntityError
|
|
191
199
|
| errors.TooManyRequestsError
|
|
192
200
|
| errors.InternalServerError
|
|
201
|
+
| errors.BadGatewayError
|
|
202
|
+
| errors.ServiceUnavailableError
|
|
193
203
|
| BereachError
|
|
194
204
|
| ResponseValidationError
|
|
195
205
|
| ConnectionError
|
|
@@ -209,6 +219,8 @@ async function $do(
|
|
|
209
219
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
210
220
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
211
221
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
222
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
223
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
212
224
|
M.fail("4XX"),
|
|
213
225
|
M.fail("5XX"),
|
|
214
226
|
)(response, req, { extraFields: responseFields });
|
|
@@ -48,6 +48,8 @@ export function linkedInChatMarkSeen(
|
|
|
48
48
|
| errors.UnprocessableEntityError
|
|
49
49
|
| errors.TooManyRequestsError
|
|
50
50
|
| errors.InternalServerError
|
|
51
|
+
| errors.BadGatewayError
|
|
52
|
+
| errors.ServiceUnavailableError
|
|
51
53
|
| BereachError
|
|
52
54
|
| ResponseValidationError
|
|
53
55
|
| ConnectionError
|
|
@@ -82,6 +84,8 @@ async function $do(
|
|
|
82
84
|
| errors.UnprocessableEntityError
|
|
83
85
|
| errors.TooManyRequestsError
|
|
84
86
|
| errors.InternalServerError
|
|
87
|
+
| errors.BadGatewayError
|
|
88
|
+
| errors.ServiceUnavailableError
|
|
85
89
|
| BereachError
|
|
86
90
|
| ResponseValidationError
|
|
87
91
|
| ConnectionError
|
|
@@ -160,6 +164,8 @@ async function $do(
|
|
|
160
164
|
"429",
|
|
161
165
|
"4XX",
|
|
162
166
|
"500",
|
|
167
|
+
"502",
|
|
168
|
+
"503",
|
|
163
169
|
"5XX",
|
|
164
170
|
],
|
|
165
171
|
retryConfig: context.retryConfig,
|
|
@@ -185,6 +191,8 @@ async function $do(
|
|
|
185
191
|
| errors.UnprocessableEntityError
|
|
186
192
|
| errors.TooManyRequestsError
|
|
187
193
|
| errors.InternalServerError
|
|
194
|
+
| errors.BadGatewayError
|
|
195
|
+
| errors.ServiceUnavailableError
|
|
188
196
|
| BereachError
|
|
189
197
|
| ResponseValidationError
|
|
190
198
|
| ConnectionError
|
|
@@ -204,6 +212,8 @@ async function $do(
|
|
|
204
212
|
M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
|
|
205
213
|
M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
|
|
206
214
|
M.jsonErr(500, errors.InternalServerError$inboundSchema),
|
|
215
|
+
M.jsonErr(502, errors.BadGatewayError$inboundSchema),
|
|
216
|
+
M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
|
|
207
217
|
M.fail("4XX"),
|
|
208
218
|
M.fail("5XX"),
|
|
209
219
|
)(response, req, { extraFields: responseFields });
|