bereach 0.1.1
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 +90 -0
- package/README.md +530 -0
- package/RUNTIMES.md +48 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/campaigns-filter.d.ts +20 -0
- package/esm/funcs/campaigns-filter.d.ts.map +1 -0
- package/esm/funcs/campaigns-filter.js +106 -0
- package/esm/funcs/campaigns-filter.js.map +1 -0
- package/esm/funcs/campaigns-get-stats.d.ts +18 -0
- package/esm/funcs/campaigns-get-stats.d.ts.map +1 -0
- package/esm/funcs/campaigns-get-stats.js +101 -0
- package/esm/funcs/campaigns-get-stats.js.map +1 -0
- package/esm/funcs/campaigns-get-status.d.ts +18 -0
- package/esm/funcs/campaigns-get-status.d.ts.map +1 -0
- package/esm/funcs/campaigns-get-status.js +101 -0
- package/esm/funcs/campaigns-get-status.js.map +1 -0
- package/esm/funcs/campaigns-sync-actions.d.ts +18 -0
- package/esm/funcs/campaigns-sync-actions.d.ts.map +1 -0
- package/esm/funcs/campaigns-sync-actions.js +101 -0
- package/esm/funcs/campaigns-sync-actions.js.map +1 -0
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts +18 -0
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-accept-invitation.js +95 -0
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -0
- package/esm/funcs/linkedin-actions-connect-profile.d.ts +18 -0
- package/esm/funcs/linkedin-actions-connect-profile.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-connect-profile.js +95 -0
- package/esm/funcs/linkedin-actions-connect-profile.js.map +1 -0
- package/esm/funcs/linkedin-actions-like-comment.d.ts +18 -0
- package/esm/funcs/linkedin-actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-like-comment.js +95 -0
- package/esm/funcs/linkedin-actions-like-comment.js.map +1 -0
- package/esm/funcs/linkedin-actions-list-invitations.d.ts +18 -0
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-list-invitations.js +97 -0
- package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -0
- package/esm/funcs/linkedin-actions-publish-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-publish-post.js +95 -0
- package/esm/funcs/linkedin-actions-publish-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +18 -0
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-reply-to-comment.js +95 -0
- package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -0
- package/esm/funcs/linkedin-actions-send-message.d.ts +18 -0
- package/esm/funcs/linkedin-actions-send-message.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-send-message.js +95 -0
- package/esm/funcs/linkedin-actions-send-message.js.map +1 -0
- package/esm/funcs/linkedin-chat-find-conversation.d.ts +25 -0
- package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-find-conversation.js +102 -0
- package/esm/funcs/linkedin-chat-find-conversation.js.map +1 -0
- package/esm/funcs/linkedin-chat-get-messages.d.ts +22 -0
- package/esm/funcs/linkedin-chat-get-messages.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-get-messages.js +99 -0
- package/esm/funcs/linkedin-chat-get-messages.js.map +1 -0
- package/esm/funcs/linkedin-chat-list-conversations.d.ts +18 -0
- package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-list-conversations.js +95 -0
- package/esm/funcs/linkedin-chat-list-conversations.js.map +1 -0
- package/esm/funcs/linkedin-chat-search-conversations.d.ts +18 -0
- package/esm/funcs/linkedin-chat-search-conversations.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-search-conversations.js +95 -0
- package/esm/funcs/linkedin-chat-search-conversations.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-comments.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-posts.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-visit-company.js +95 -0
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-visit-profile.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-visit-profile.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-visit-profile.js +95 -0
- package/esm/funcs/linkedin-scrapers-visit-profile.js.map +1 -0
- package/esm/funcs/linkedin-search-resolve-parameters.d.ts +47 -0
- package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-resolve-parameters.js +124 -0
- package/esm/funcs/linkedin-search-resolve-parameters.js.map +1 -0
- package/esm/funcs/linkedin-search-search-by-url.d.ts +69 -0
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-search-by-url.js +146 -0
- package/esm/funcs/linkedin-search-search-by-url.js.map +1 -0
- package/esm/funcs/linkedin-search-search-companies.d.ts +75 -0
- package/esm/funcs/linkedin-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-search-companies.js +152 -0
- package/esm/funcs/linkedin-search-search-companies.js.map +1 -0
- package/esm/funcs/linkedin-search-search-jobs.d.ts +96 -0
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-search-jobs.js +173 -0
- package/esm/funcs/linkedin-search-search-jobs.js.map +1 -0
- package/esm/funcs/linkedin-search-search-people.d.ts +83 -0
- package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-search-people.js +160 -0
- package/esm/funcs/linkedin-search-search-people.js.map +1 -0
- package/esm/funcs/linkedin-search-search-posts.d.ts +71 -0
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-search-posts.js +148 -0
- package/esm/funcs/linkedin-search-search-posts.js.map +1 -0
- package/esm/funcs/linkedin-search-unified-search.d.ts +55 -0
- package/esm/funcs/linkedin-search-unified-search.d.ts.map +1 -0
- package/esm/funcs/linkedin-search-unified-search.js +132 -0
- package/esm/funcs/linkedin-search-unified-search.js.map +1 -0
- package/esm/funcs/profile-get-credits.d.ts +18 -0
- package/esm/funcs/profile-get-credits.d.ts.map +1 -0
- package/esm/funcs/profile-get-credits.js +84 -0
- package/esm/funcs/profile-get-credits.js.map +1 -0
- package/esm/funcs/profile-get-followers.d.ts +18 -0
- package/esm/funcs/profile-get-followers.d.ts.map +1 -0
- package/esm/funcs/profile-get-followers.js +97 -0
- package/esm/funcs/profile-get-followers.js.map +1 -0
- package/esm/funcs/profile-get-limits.d.ts +18 -0
- package/esm/funcs/profile-get-limits.d.ts.map +1 -0
- package/esm/funcs/profile-get-limits.js +84 -0
- package/esm/funcs/profile-get-limits.js.map +1 -0
- package/esm/funcs/profile-get-linked-in-profile.d.ts +18 -0
- package/esm/funcs/profile-get-linked-in-profile.d.ts.map +1 -0
- package/esm/funcs/profile-get-linked-in-profile.js +84 -0
- package/esm/funcs/profile-get-linked-in-profile.js.map +1 -0
- package/esm/funcs/profile-get-posts.d.ts +18 -0
- package/esm/funcs/profile-get-posts.d.ts.map +1 -0
- package/esm/funcs/profile-get-posts.js +97 -0
- package/esm/funcs/profile-get-posts.js.map +1 -0
- package/esm/funcs/profile-refresh.d.ts +18 -0
- package/esm/funcs/profile-refresh.d.ts.map +1 -0
- package/esm/funcs/profile-refresh.js +84 -0
- package/esm/funcs/profile-refresh.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +82 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/registration.d.ts +3 -0
- package/esm/hooks/registration.d.ts.map +1 -0
- package/esm/hooks/registration.js +12 -0
- package/esm/hooks/registration.js.map +1 -0
- package/esm/hooks/types.d.ts +76 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +8 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +38 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +34 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/dlv.d.ts +14 -0
- package/esm/lib/dlv.d.ts.map +1 -0
- package/esm/lib/dlv.js +46 -0
- package/esm/lib/dlv.js.map +1 -0
- package/esm/lib/encodings.d.ts +53 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +370 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/env.d.ts +15 -0
- package/esm/lib/env.d.ts.map +1 -0
- package/esm/lib/env.js +44 -0
- package/esm/lib/env.js.map +1 -0
- package/esm/lib/files.d.ts +13 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +73 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/is-plain-object.d.ts +2 -0
- package/esm/lib/is-plain-object.d.ts.map +1 -0
- package/esm/lib/is-plain-object.js +38 -0
- package/esm/lib/is-plain-object.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +26 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +103 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +150 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +258 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +83 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +138 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +22 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/errors/bereach-default-error.d.ts +10 -0
- package/esm/models/errors/bereach-default-error.d.ts.map +1 -0
- package/esm/models/errors/bereach-default-error.js +30 -0
- package/esm/models/errors/bereach-default-error.js.map +1 -0
- package/esm/models/errors/bereach-error.d.ts +19 -0
- package/esm/models/errors/bereach-error.d.ts.map +1 -0
- package/esm/models/errors/bereach-error.js +26 -0
- package/esm/models/errors/bereach-error.js.map +1 -0
- package/esm/models/errors/collect-linked-in-likes.d.ts +211 -0
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -0
- package/esm/models/errors/collect-linked-in-likes.js +306 -0
- package/esm/models/errors/collect-linked-in-likes.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/index.d.ts +7 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +10 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/index.d.ts +2 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +5 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/operations/get-campaign-stats-response.d.ts +1627 -0
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -0
- package/esm/models/operations/get-campaign-stats-response.js +1002 -0
- package/esm/models/operations/get-campaign-stats-response.js.map +1 -0
- package/esm/models/operations/index.d.ts +3 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +6 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/send-linked-in-message-response.d.ts +2350 -0
- package/esm/models/operations/send-linked-in-message-response.d.ts.map +1 -0
- package/esm/models/operations/send-linked-in-message-response.js +1585 -0
- package/esm/models/operations/send-linked-in-message-response.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +12 -0
- package/esm/models/security.js.map +1 -0
- package/esm/sdk/campaigns.d.ts +35 -0
- package/esm/sdk/campaigns.d.ts.map +1 -0
- package/esm/sdk/campaigns.js +50 -0
- package/esm/sdk/campaigns.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/linkedin-actions.d.ts +54 -0
- package/esm/sdk/linkedin-actions.d.ts.map +1 -0
- package/esm/sdk/linkedin-actions.js +78 -0
- package/esm/sdk/linkedin-actions.js.map +1 -0
- package/esm/sdk/linkedin-chat.d.ts +44 -0
- package/esm/sdk/linkedin-chat.d.ts.map +1 -0
- package/esm/sdk/linkedin-chat.js +59 -0
- package/esm/sdk/linkedin-chat.js.map +1 -0
- package/esm/sdk/linkedin-scrapers.d.ts +47 -0
- package/esm/sdk/linkedin-scrapers.d.ts.map +1 -0
- package/esm/sdk/linkedin-scrapers.js +68 -0
- package/esm/sdk/linkedin-scrapers.js.map +1 -0
- package/esm/sdk/linkedin-search.d.ts +424 -0
- package/esm/sdk/linkedin-search.d.ts.map +1 -0
- package/esm/sdk/linkedin-search.js +448 -0
- package/esm/sdk/linkedin-search.js.map +1 -0
- package/esm/sdk/profile.d.ts +47 -0
- package/esm/sdk/profile.d.ts.map +1 -0
- package/esm/sdk/profile.js +68 -0
- package/esm/sdk/profile.js.map +1 -0
- package/esm/sdk/sdk.d.ts +22 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +37 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +11 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +132 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/examples/linkedinScrapersCollectLikes.example.ts +30 -0
- package/jsr.json +27 -0
- package/package.json +62 -0
- package/src/core.ts +13 -0
- package/src/funcs/campaigns-filter.ts +227 -0
- package/src/funcs/campaigns-get-stats.ts +222 -0
- package/src/funcs/campaigns-get-status.ts +222 -0
- package/src/funcs/campaigns-sync-actions.ts +222 -0
- package/src/funcs/linkedin-actions-accept-invitation.ts +215 -0
- package/src/funcs/linkedin-actions-connect-profile.ts +215 -0
- package/src/funcs/linkedin-actions-like-comment.ts +215 -0
- package/src/funcs/linkedin-actions-list-invitations.ts +220 -0
- package/src/funcs/linkedin-actions-publish-post.ts +215 -0
- package/src/funcs/linkedin-actions-reply-to-comment.ts +215 -0
- package/src/funcs/linkedin-actions-send-message.ts +215 -0
- package/src/funcs/linkedin-chat-find-conversation.ts +222 -0
- package/src/funcs/linkedin-chat-get-messages.ts +219 -0
- package/src/funcs/linkedin-chat-list-conversations.ts +215 -0
- package/src/funcs/linkedin-chat-search-conversations.ts +218 -0
- package/src/funcs/linkedin-scrapers-collect-comment-replies.ts +218 -0
- package/src/funcs/linkedin-scrapers-collect-comments.ts +215 -0
- package/src/funcs/linkedin-scrapers-collect-likes.ts +215 -0
- package/src/funcs/linkedin-scrapers-collect-posts.ts +215 -0
- package/src/funcs/linkedin-scrapers-visit-company.ts +215 -0
- package/src/funcs/linkedin-scrapers-visit-profile.ts +215 -0
- package/src/funcs/linkedin-search-resolve-parameters.ts +250 -0
- package/src/funcs/linkedin-search-search-by-url.ts +266 -0
- package/src/funcs/linkedin-search-search-companies.ts +272 -0
- package/src/funcs/linkedin-search-search-jobs.ts +293 -0
- package/src/funcs/linkedin-search-search-people.ts +280 -0
- package/src/funcs/linkedin-search-search-posts.ts +268 -0
- package/src/funcs/linkedin-search-unified-search.ts +251 -0
- package/src/funcs/profile-get-credits.ts +195 -0
- package/src/funcs/profile-get-followers.ts +220 -0
- package/src/funcs/profile-get-limits.ts +195 -0
- package/src/funcs/profile-get-linked-in-profile.ts +195 -0
- package/src/funcs/profile-get-posts.ts +220 -0
- package/src/funcs/profile-refresh.ts +195 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +107 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +67 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +501 -0
- package/src/lib/env.ts +57 -0
- package/src/lib/files.ts +82 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +406 -0
- package/src/lib/security.ts +263 -0
- package/src/lib/url.ts +33 -0
- package/src/models/errors/bereach-default-error.ts +40 -0
- package/src/models/errors/bereach-error.ts +35 -0
- package/src/models/errors/collect-linked-in-likes.ts +494 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +10 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/index.ts +5 -0
- package/src/models/operations/get-campaign-stats-response.ts +3409 -0
- package/src/models/operations/index.ts +6 -0
- package/src/models/operations/send-linked-in-message-response.ts +4903 -0
- package/src/models/security.ts +26 -0
- package/src/sdk/campaigns.ts +83 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/linkedin-actions.ts +135 -0
- package/src/sdk/linkedin-chat.ts +92 -0
- package/src/sdk/linkedin-scrapers.ts +117 -0
- package/src/sdk/linkedin-search.ts +505 -0
- package/src/sdk/profile.ts +109 -0
- package/src/sdk/sdk.ts +43 -0
- package/src/types/async.ts +68 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +168 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
|
|
7
|
+
export type Security = {
|
|
8
|
+
token?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
export type Security$Outbound = {
|
|
13
|
+
token?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const Security$outboundSchema: z.ZodMiniType<
|
|
18
|
+
Security$Outbound,
|
|
19
|
+
Security
|
|
20
|
+
> = z.object({
|
|
21
|
+
token: z.optional(z.string()),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export function securityToJSON(security: Security): string {
|
|
25
|
+
return JSON.stringify(Security$outboundSchema.parse(security));
|
|
26
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { campaignsFilter } from "../funcs/campaigns-filter.js";
|
|
6
|
+
import { campaignsGetStats } from "../funcs/campaigns-get-stats.js";
|
|
7
|
+
import { campaignsGetStatus } from "../funcs/campaigns-get-status.js";
|
|
8
|
+
import { campaignsSyncActions } from "../funcs/campaigns-sync-actions.js";
|
|
9
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import * as operations from "../models/operations/index.js";
|
|
11
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
|
|
13
|
+
export class Campaigns extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* Check if campaign actions are completed
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Check if all provided actionSlugs are completed for a given campaignSlug. Used by n8n workflows to determine if a flow should be skipped.
|
|
19
|
+
*
|
|
20
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
|
+
*/
|
|
22
|
+
async filter(
|
|
23
|
+
request: operations.FilterCampaignRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<operations.FilterCampaignResponse> {
|
|
26
|
+
return unwrapAsync(campaignsFilter(
|
|
27
|
+
this,
|
|
28
|
+
request,
|
|
29
|
+
options,
|
|
30
|
+
));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Query per-profile action status within a campaign
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Returns which actions (message, reply, like, visit, connect) have been completed for each profile within a campaign. Replaces the slug-based filter endpoint — query by profile URLs instead of building slug lists. 0 credits, no rate limit.
|
|
38
|
+
*/
|
|
39
|
+
async getStatus(
|
|
40
|
+
request: operations.GetCampaignStatusRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): Promise<operations.GetCampaignStatusResponse> {
|
|
43
|
+
return unwrapAsync(campaignsGetStatus(
|
|
44
|
+
this,
|
|
45
|
+
request,
|
|
46
|
+
options,
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Mark actions as completed without performing them
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Manually mark actions as completed for profiles within a campaign. Use when actions were performed outside the API (e.g. manual DMs) and need to be synced. 0 credits, no rate limit.
|
|
55
|
+
*/
|
|
56
|
+
async syncActions(
|
|
57
|
+
request: operations.SyncCampaignActionsRequest,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<operations.SyncCampaignActionsResponse> {
|
|
60
|
+
return unwrapAsync(campaignsSyncActions(
|
|
61
|
+
this,
|
|
62
|
+
request,
|
|
63
|
+
options,
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Get aggregate campaign statistics
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Returns per-action counts, unique profile count, and total credits used for a campaign. 0 credits, no rate limit.
|
|
72
|
+
*/
|
|
73
|
+
async getStats(
|
|
74
|
+
request: operations.GetCampaignStatsRequest,
|
|
75
|
+
options?: RequestOptions,
|
|
76
|
+
): Promise<operations.GetCampaignStatsResponse> {
|
|
77
|
+
return unwrapAsync(campaignsGetStats(
|
|
78
|
+
this,
|
|
79
|
+
request,
|
|
80
|
+
options,
|
|
81
|
+
));
|
|
82
|
+
}
|
|
83
|
+
}
|
package/src/sdk/index.ts
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { linkedinActionsAcceptInvitation } from "../funcs/linkedin-actions-accept-invitation.js";
|
|
6
|
+
import { linkedinActionsConnectProfile } from "../funcs/linkedin-actions-connect-profile.js";
|
|
7
|
+
import { linkedinActionsLikeComment } from "../funcs/linkedin-actions-like-comment.js";
|
|
8
|
+
import { linkedinActionsListInvitations } from "../funcs/linkedin-actions-list-invitations.js";
|
|
9
|
+
import { linkedinActionsPublishPost } from "../funcs/linkedin-actions-publish-post.js";
|
|
10
|
+
import { linkedinActionsReplyToComment } from "../funcs/linkedin-actions-reply-to-comment.js";
|
|
11
|
+
import { linkedinActionsSendMessage } from "../funcs/linkedin-actions-send-message.js";
|
|
12
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import * as operations from "../models/operations/index.js";
|
|
14
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
15
|
+
|
|
16
|
+
export class LinkedinActions extends ClientSDK {
|
|
17
|
+
/**
|
|
18
|
+
* Send LinkedIn connection request
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* Authenticates the requester, validates LinkedIn credentials, and sends a connection request to the specified LinkedIn profile. Rate limited to 80 requests per day per user.
|
|
22
|
+
*/
|
|
23
|
+
async connectProfile(
|
|
24
|
+
request: operations.ConnectLinkedInProfileRequest,
|
|
25
|
+
options?: RequestOptions,
|
|
26
|
+
): Promise<operations.ConnectLinkedInProfileResponse> {
|
|
27
|
+
return unwrapAsync(linkedinActionsConnectProfile(
|
|
28
|
+
this,
|
|
29
|
+
request,
|
|
30
|
+
options,
|
|
31
|
+
));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* List received LinkedIn connection invitations
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Returns pending connection invitations received by the authenticated LinkedIn account. Each invitation includes the invitationId and sharedSecret needed to accept it via the accept endpoint. Costs 1 credit per request.
|
|
39
|
+
*/
|
|
40
|
+
async listInvitations(
|
|
41
|
+
request?: operations.ListLinkedInInvitationsRequest | undefined,
|
|
42
|
+
options?: RequestOptions,
|
|
43
|
+
): Promise<operations.ListLinkedInInvitationsResponse> {
|
|
44
|
+
return unwrapAsync(linkedinActionsListInvitations(
|
|
45
|
+
this,
|
|
46
|
+
request,
|
|
47
|
+
options,
|
|
48
|
+
));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Accept a LinkedIn connection invitation
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* Accepts a pending connection invitation. Requires the invitationId and sharedSecret obtained from the list invitations endpoint. No daily/weekly cap — only a 5-second minimum interval between calls. Costs 1 credit per request.
|
|
56
|
+
*/
|
|
57
|
+
async acceptInvitation(
|
|
58
|
+
request: operations.AcceptLinkedInInvitationRequest,
|
|
59
|
+
options?: RequestOptions,
|
|
60
|
+
): Promise<operations.AcceptLinkedInInvitationResponse> {
|
|
61
|
+
return unwrapAsync(linkedinActionsAcceptInvitation(
|
|
62
|
+
this,
|
|
63
|
+
request,
|
|
64
|
+
options,
|
|
65
|
+
));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Send LinkedIn message
|
|
70
|
+
*
|
|
71
|
+
* @remarks
|
|
72
|
+
* Authenticates the requester, validates LinkedIn credentials, and sends a message to the specified LinkedIn recipient. Rate limited to 80 messages per day per user.
|
|
73
|
+
*/
|
|
74
|
+
async sendMessage(
|
|
75
|
+
request: operations.SendLinkedInMessageRequest,
|
|
76
|
+
options?: RequestOptions,
|
|
77
|
+
): Promise<operations.SendLinkedInMessageResponse> {
|
|
78
|
+
return unwrapAsync(linkedinActionsSendMessage(
|
|
79
|
+
this,
|
|
80
|
+
request,
|
|
81
|
+
options,
|
|
82
|
+
));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Reply to a LinkedIn comment
|
|
87
|
+
*
|
|
88
|
+
* @remarks
|
|
89
|
+
* Sends a reply to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
|
|
90
|
+
*/
|
|
91
|
+
async replyToComment(
|
|
92
|
+
request: operations.ReplyToLinkedInCommentRequest,
|
|
93
|
+
options?: RequestOptions,
|
|
94
|
+
): Promise<operations.ReplyToLinkedInCommentResponse> {
|
|
95
|
+
return unwrapAsync(linkedinActionsReplyToComment(
|
|
96
|
+
this,
|
|
97
|
+
request,
|
|
98
|
+
options,
|
|
99
|
+
));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Like a LinkedIn comment
|
|
104
|
+
*
|
|
105
|
+
* @remarks
|
|
106
|
+
* Reacts to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
|
|
107
|
+
*/
|
|
108
|
+
async likeComment(
|
|
109
|
+
request: operations.LikeLinkedInCommentRequest,
|
|
110
|
+
options?: RequestOptions,
|
|
111
|
+
): Promise<operations.LikeLinkedInCommentResponse> {
|
|
112
|
+
return unwrapAsync(linkedinActionsLikeComment(
|
|
113
|
+
this,
|
|
114
|
+
request,
|
|
115
|
+
options,
|
|
116
|
+
));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Publish or schedule a LinkedIn post
|
|
121
|
+
*
|
|
122
|
+
* @remarks
|
|
123
|
+
* Creates a new LinkedIn post. Supports instant publishing and scheduled posting. Optionally attach an image by providing its URL. Rate limited to 80 actions per day per user. Consumes 1 credit per post.
|
|
124
|
+
*/
|
|
125
|
+
async publishPost(
|
|
126
|
+
request: operations.PublishLinkedInPostRequest,
|
|
127
|
+
options?: RequestOptions,
|
|
128
|
+
): Promise<operations.PublishLinkedInPostResponse> {
|
|
129
|
+
return unwrapAsync(linkedinActionsPublishPost(
|
|
130
|
+
this,
|
|
131
|
+
request,
|
|
132
|
+
options,
|
|
133
|
+
));
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { linkedinChatFindConversation } from "../funcs/linkedin-chat-find-conversation.js";
|
|
6
|
+
import { linkedinChatGetMessages } from "../funcs/linkedin-chat-get-messages.js";
|
|
7
|
+
import { linkedinChatListConversations } from "../funcs/linkedin-chat-list-conversations.js";
|
|
8
|
+
import { linkedinChatSearchConversations } from "../funcs/linkedin-chat-search-conversations.js";
|
|
9
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import * as operations from "../models/operations/index.js";
|
|
11
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
|
|
13
|
+
export class LinkedinChat extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* List LinkedIn inbox conversations
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Paginate via nextCursor.
|
|
19
|
+
*/
|
|
20
|
+
async listConversations(
|
|
21
|
+
request: operations.ListInboxConversationsRequest,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<operations.ListInboxConversationsResponse> {
|
|
24
|
+
return unwrapAsync(linkedinChatListConversations(
|
|
25
|
+
this,
|
|
26
|
+
request,
|
|
27
|
+
options,
|
|
28
|
+
));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Search LinkedIn conversations
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Search inbox conversations by keyword. Returns matching conversations with participants and last message. 0 credits.
|
|
36
|
+
*/
|
|
37
|
+
async searchConversations(
|
|
38
|
+
request: operations.SearchLinkedInConversationsRequest,
|
|
39
|
+
options?: RequestOptions,
|
|
40
|
+
): Promise<operations.SearchLinkedInConversationsResponse> {
|
|
41
|
+
return unwrapAsync(linkedinChatSearchConversations(
|
|
42
|
+
this,
|
|
43
|
+
request,
|
|
44
|
+
options,
|
|
45
|
+
));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Find a conversation with a specific person
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Find a conversation with a specific person by name. Two strategies tried in order:
|
|
53
|
+
*
|
|
54
|
+
* 1. **Resource slug search (free)**: if `resourceSlug` provided, searches message content for the slug and filters by participant name. This is the recommended approach for DM guard dedup — pass the unique part of your resource link.
|
|
55
|
+
* 2. **Inbox scan (1 credit/page)**: scans inbox pages looking for a participant name match. Used as fallback when no resource slug.
|
|
56
|
+
*
|
|
57
|
+
* Optionally returns messages from the found conversation (`includeMessages: true`).
|
|
58
|
+
*
|
|
59
|
+
* Max 5 pages searched in each strategy.
|
|
60
|
+
*/
|
|
61
|
+
async findConversation(
|
|
62
|
+
request: operations.FindLinkedInConversationRequest,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<operations.FindLinkedInConversationResponse> {
|
|
65
|
+
return unwrapAsync(linkedinChatFindConversation(
|
|
66
|
+
this,
|
|
67
|
+
request,
|
|
68
|
+
options,
|
|
69
|
+
));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Read messages from a conversation
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Fetch messages from a specific LinkedIn conversation. 0 credits.
|
|
77
|
+
*
|
|
78
|
+
* Pass the full `conversationUrn` as returned by `/chats/linkedin` or `/chats/linkedin/search`. No parsing required — the server handles extraction internally.
|
|
79
|
+
*
|
|
80
|
+
* Example: `{ "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)" }`
|
|
81
|
+
*/
|
|
82
|
+
async getMessages(
|
|
83
|
+
request: operations.GetConversationMessagesRequest,
|
|
84
|
+
options?: RequestOptions,
|
|
85
|
+
): Promise<operations.GetConversationMessagesResponse> {
|
|
86
|
+
return unwrapAsync(linkedinChatGetMessages(
|
|
87
|
+
this,
|
|
88
|
+
request,
|
|
89
|
+
options,
|
|
90
|
+
));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { linkedinScrapersCollectCommentReplies } from "../funcs/linkedin-scrapers-collect-comment-replies.js";
|
|
6
|
+
import { linkedinScrapersCollectComments } from "../funcs/linkedin-scrapers-collect-comments.js";
|
|
7
|
+
import { linkedinScrapersCollectLikes } from "../funcs/linkedin-scrapers-collect-likes.js";
|
|
8
|
+
import { linkedinScrapersCollectPosts } from "../funcs/linkedin-scrapers-collect-posts.js";
|
|
9
|
+
import { linkedinScrapersVisitCompany } from "../funcs/linkedin-scrapers-visit-company.js";
|
|
10
|
+
import { linkedinScrapersVisitProfile } from "../funcs/linkedin-scrapers-visit-profile.js";
|
|
11
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import * as operations from "../models/operations/index.js";
|
|
13
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
|
|
15
|
+
export class LinkedinScrapers extends ClientSDK {
|
|
16
|
+
/**
|
|
17
|
+
* Scrape LinkedIn post likes
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Authenticates the requester, validates LinkedIn credentials, and returns up to 200 profiles per page that reacted to the specified post. Supports pagination.
|
|
21
|
+
*/
|
|
22
|
+
async collectLikes(
|
|
23
|
+
request: operations.CollectLinkedInLikesRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<operations.CollectLinkedInLikesResponse> {
|
|
26
|
+
return unwrapAsync(linkedinScrapersCollectLikes(
|
|
27
|
+
this,
|
|
28
|
+
request,
|
|
29
|
+
options,
|
|
30
|
+
));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Scrape LinkedIn post comments
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Returns paginated top-level comments for a LinkedIn post (newest first). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed). Response includes previousTotal (server-cached) to detect new comments without client tracking.
|
|
38
|
+
*/
|
|
39
|
+
async collectComments(
|
|
40
|
+
request: operations.CollectLinkedInCommentsRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): Promise<operations.CollectLinkedInCommentsResponse> {
|
|
43
|
+
return unwrapAsync(linkedinScrapersCollectComments(
|
|
44
|
+
this,
|
|
45
|
+
request,
|
|
46
|
+
options,
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Scrape replies to a LinkedIn comment
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Returns paginated replies for a specific LinkedIn comment. Use the commentUrn from the comments endpoint response.
|
|
55
|
+
*/
|
|
56
|
+
async collectCommentReplies(
|
|
57
|
+
request: operations.CollectLinkedInCommentRepliesRequest,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<operations.CollectLinkedInCommentRepliesResponse> {
|
|
60
|
+
return unwrapAsync(linkedinScrapersCollectCommentReplies(
|
|
61
|
+
this,
|
|
62
|
+
request,
|
|
63
|
+
options,
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Scrape LinkedIn profile posts
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Authenticates the requester, validates LinkedIn credentials, and returns paginated posts from a LinkedIn profile. Supports count, start, and paginationToken for pagination.
|
|
72
|
+
*/
|
|
73
|
+
async collectPosts(
|
|
74
|
+
request: operations.CollectLinkedInPostsRequest,
|
|
75
|
+
options?: RequestOptions,
|
|
76
|
+
): Promise<operations.CollectLinkedInPostsResponse> {
|
|
77
|
+
return unwrapAsync(linkedinScrapersCollectPosts(
|
|
78
|
+
this,
|
|
79
|
+
request,
|
|
80
|
+
options,
|
|
81
|
+
));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Visit LinkedIn profile and extract contact data
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Visit a LinkedIn profile and return contact data. Distance-1 profiles cached 24h. No dedup — always executes. campaignSlug is for tracking only.
|
|
89
|
+
*/
|
|
90
|
+
async visitProfile(
|
|
91
|
+
request: operations.VisitLinkedInProfileRequest,
|
|
92
|
+
options?: RequestOptions,
|
|
93
|
+
): Promise<operations.VisitLinkedInProfileResponse> {
|
|
94
|
+
return unwrapAsync(linkedinScrapersVisitProfile(
|
|
95
|
+
this,
|
|
96
|
+
request,
|
|
97
|
+
options,
|
|
98
|
+
));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Visit LinkedIn company page and extract profile data
|
|
103
|
+
*
|
|
104
|
+
* @remarks
|
|
105
|
+
* Fetches a LinkedIn company profile by URL or universal name. Returns structured company data including description, industry, employee count, headquarters, logo, affiliated/similar companies, and more. Optionally enriches with workplace policy data (costs 1 extra credit per optional API call). Base cost: 1 credit.
|
|
106
|
+
*/
|
|
107
|
+
async visitCompany(
|
|
108
|
+
request: operations.VisitLinkedInCompanyRequest,
|
|
109
|
+
options?: RequestOptions,
|
|
110
|
+
): Promise<operations.VisitLinkedInCompanyResponse> {
|
|
111
|
+
return unwrapAsync(linkedinScrapersVisitCompany(
|
|
112
|
+
this,
|
|
113
|
+
request,
|
|
114
|
+
options,
|
|
115
|
+
));
|
|
116
|
+
}
|
|
117
|
+
}
|