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,448 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { linkedinSearchResolveParameters } from "../funcs/linkedin-search-resolve-parameters.js";
|
|
5
|
+
import { linkedinSearchSearchByUrl } from "../funcs/linkedin-search-search-by-url.js";
|
|
6
|
+
import { linkedinSearchSearchCompanies } from "../funcs/linkedin-search-search-companies.js";
|
|
7
|
+
import { linkedinSearchSearchJobs } from "../funcs/linkedin-search-search-jobs.js";
|
|
8
|
+
import { linkedinSearchSearchPeople } from "../funcs/linkedin-search-search-people.js";
|
|
9
|
+
import { linkedinSearchSearchPosts } from "../funcs/linkedin-search-search-posts.js";
|
|
10
|
+
import { linkedinSearchUnifiedSearch } from "../funcs/linkedin-search-unified-search.js";
|
|
11
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
export class LinkedinSearch extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* Unified LinkedIn Search — posts, people, companies, jobs
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* # Unified LinkedIn Search
|
|
19
|
+
*
|
|
20
|
+
* This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
|
|
21
|
+
*
|
|
22
|
+
* ## When to use this endpoint
|
|
23
|
+
* Use this endpoint when you need to search across categories dynamically (e.g. the user chooses the category at runtime). For a simpler interface with category-specific documentation, use the dedicated endpoints:
|
|
24
|
+
* - `POST /search/linkedin/posts` — search posts
|
|
25
|
+
* - `POST /search/linkedin/people` — search people
|
|
26
|
+
* - `POST /search/linkedin/companies` — search companies
|
|
27
|
+
* - `POST /search/linkedin/jobs` — search jobs
|
|
28
|
+
* - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
|
|
29
|
+
*
|
|
30
|
+
* ## Two ways to search
|
|
31
|
+
* 1. **Structured**: pass `category` + `keywords` + optional filters
|
|
32
|
+
* 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
|
|
33
|
+
*
|
|
34
|
+
* Explicit parameters always override URL-derived values.
|
|
35
|
+
*
|
|
36
|
+
* ## Keyword syntax (Boolean operators)
|
|
37
|
+
* Keywords support LinkedIn Boolean search syntax for precise matching:
|
|
38
|
+
* - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
|
|
39
|
+
* - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
|
|
40
|
+
* - **OR**: either term — `CEO OR founder OR owner`
|
|
41
|
+
* - **NOT**: exclude — `manager NOT assistant`
|
|
42
|
+
* - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
|
|
43
|
+
*
|
|
44
|
+
* Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
|
|
45
|
+
*
|
|
46
|
+
* Without quotes, a multi-word query like `outreach automation` is treated as `outreach AND automation`, which may return broad results. Use `"outreach automation"` for exact matching.
|
|
47
|
+
*
|
|
48
|
+
* ## Resolving filter IDs
|
|
49
|
+
* Many filters (location, industry, company, school) require LinkedIn numeric IDs. Use `POST /search/linkedin/parameters` to convert text (e.g. "San Francisco") into IDs (e.g. "103644278").
|
|
50
|
+
*
|
|
51
|
+
* ## Pagination
|
|
52
|
+
* Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
|
|
53
|
+
*
|
|
54
|
+
* ## Credits
|
|
55
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
56
|
+
*/
|
|
57
|
+
async unifiedSearch(request, options) {
|
|
58
|
+
return unwrapAsync(linkedinSearchUnifiedSearch(this, request, options));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Search LinkedIn Posts
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* # Search LinkedIn Posts
|
|
65
|
+
*
|
|
66
|
+
* Search LinkedIn's content index for posts matching your keywords and filters. Returns structured post data including full text, engagement metrics, author info, and URLs.
|
|
67
|
+
*
|
|
68
|
+
* ## Required parameters
|
|
69
|
+
* - **keywords** (string, required): The search terms to match against post content. Examples: `"AI automation"`, `"remote work trends"`, `"SaaS growth strategies"`.
|
|
70
|
+
*
|
|
71
|
+
* ## Keyword syntax (Boolean operators)
|
|
72
|
+
* Keywords support LinkedIn Boolean search syntax:
|
|
73
|
+
* - **Exact phrase**: `"outreach automation"` — matches only that exact phrase
|
|
74
|
+
* - **AND**: `AI AND marketing` — both terms required (spaces default to AND)
|
|
75
|
+
* - **OR**: `"growth hacking" OR "growth marketing"` — either term
|
|
76
|
+
* - **NOT**: `outreach NOT webinar` — exclude unwanted terms
|
|
77
|
+
* - **Parentheses**: `(AI OR ML) AND "case study"` — group logic
|
|
78
|
+
*
|
|
79
|
+
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
80
|
+
*
|
|
81
|
+
* ## Available filters
|
|
82
|
+
* | Filter | Type | Description |
|
|
83
|
+
* |--------|------|-------------|
|
|
84
|
+
* | `sortBy` | `"relevance"` \| `"date"` | Sort by relevance (default) or most recent first |
|
|
85
|
+
* | `datePosted` | `"past-24h"` \| `"past-week"` \| `"past-month"` | Filter by publication recency |
|
|
86
|
+
* | `contentType` | `"images"` \| `"videos"` \| `"documents"` | Filter by media type |
|
|
87
|
+
* | `authorIndustry` | string[] | Author's industry IDs (resolve via `/search/linkedin/parameters` with type=`INDUSTRY`) |
|
|
88
|
+
* | `authorCompany` | string[] | Author's company IDs (resolve via `/search/linkedin/parameters` with type=`COMPANY`) |
|
|
89
|
+
*
|
|
90
|
+
* ## Response fields (per item)
|
|
91
|
+
* | Field | Type | Description |
|
|
92
|
+
* |-------|------|-------------|
|
|
93
|
+
* | `postUrl` | string | Direct URL to the LinkedIn post |
|
|
94
|
+
* | `text` | string | Full post text content |
|
|
95
|
+
* | `date` | number | Publication timestamp (ms since epoch) |
|
|
96
|
+
* | `likesCount` | number | Total reactions |
|
|
97
|
+
* | `commentsCount` | number | Total comments |
|
|
98
|
+
* | `sharesCount` | number | Total shares/reposts |
|
|
99
|
+
* | `author.name` | string | Author's display name |
|
|
100
|
+
* | `author.profileUrl` | string | Author's LinkedIn profile URL |
|
|
101
|
+
* | `author.headline` | string | Author's headline |
|
|
102
|
+
* | `author.isCompany` | boolean | Whether the author is a company page |
|
|
103
|
+
* | `isRepost` | boolean | Whether this is a repost of another post |
|
|
104
|
+
*
|
|
105
|
+
* ## Pagination
|
|
106
|
+
* - Default page size: 10, max: 50
|
|
107
|
+
* - Use `start` + `count` to paginate: `start=0, count=10` → page 1, `start=10, count=10` → page 2
|
|
108
|
+
* - Check `hasMore` in the response to know if more pages exist
|
|
109
|
+
* - `paging.total` gives the estimated total number of results
|
|
110
|
+
*
|
|
111
|
+
* ## Example workflows
|
|
112
|
+
* 1. **Content research**: Search for trending topics → analyze top posts → extract engagement patterns
|
|
113
|
+
* 2. **Lead generation**: Search for posts about problems your product solves → extract author profiles
|
|
114
|
+
* 3. **Competitive intelligence**: Search for competitor mentions → track sentiment and engagement
|
|
115
|
+
*
|
|
116
|
+
* ## Credits
|
|
117
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
118
|
+
*/
|
|
119
|
+
async searchPosts(request, options) {
|
|
120
|
+
return unwrapAsync(linkedinSearchSearchPosts(this, request, options));
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Search LinkedIn People
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* # Search LinkedIn People
|
|
127
|
+
*
|
|
128
|
+
* Find professionals on LinkedIn by name, title, company, location, industry, and more. Returns structured profile data including name, headline, current positions, and connection degree.
|
|
129
|
+
*
|
|
130
|
+
* ## Parameters
|
|
131
|
+
* - **keywords** (optional): Search terms matched against name, headline, company, skills, and bio
|
|
132
|
+
* - You can search by filters alone (no keywords) — e.g. find all 2nd-degree connections in Paris
|
|
133
|
+
*
|
|
134
|
+
* ## Keyword syntax (Boolean operators)
|
|
135
|
+
* Keywords support LinkedIn Boolean search syntax:
|
|
136
|
+
* - **Exact phrase**: `"product manager"` — matches only that exact title
|
|
137
|
+
* - **AND**: `engineer AND startup` — both terms required (spaces default to AND)
|
|
138
|
+
* - **OR**: `CEO OR founder OR CTO` — any of the terms
|
|
139
|
+
* - **NOT**: `manager NOT assistant` — exclude unwanted terms
|
|
140
|
+
* - **Parentheses**: `(CEO OR CTO) AND SaaS` — group logic
|
|
141
|
+
*
|
|
142
|
+
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
143
|
+
*
|
|
144
|
+
* ## Available filters
|
|
145
|
+
* | Filter | Type | Description | Resolve IDs via |
|
|
146
|
+
* |--------|------|-------------|------------------|
|
|
147
|
+
* | `connectionDegree` | `["F"\|"S"\|"O"]` | Connection level: F=1st, S=2nd, O=3rd+ | — |
|
|
148
|
+
* | `firstName` | string | Exact first name match | — |
|
|
149
|
+
* | `lastName` | string | Exact last name match | — |
|
|
150
|
+
* | `title` | string | Current job title (supports `\|` OR syntax: `"CEO\|CTO"`) | — |
|
|
151
|
+
* | `connectionOf` | string | Profile URN — find their connections | — |
|
|
152
|
+
* | `profileLanguage` | string[] | ISO 639-1 codes: `["en","fr"]` | — |
|
|
153
|
+
* | `location` | string[] | Geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
154
|
+
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
155
|
+
* | `currentCompany` | string[] | Company IDs (current employer) | `/search/linkedin/parameters` type=`COMPANY` |
|
|
156
|
+
* | `pastCompany` | string[] | Company IDs (past employer) | `/search/linkedin/parameters` type=`COMPANY` |
|
|
157
|
+
* | `school` | string[] | School/university IDs | `/search/linkedin/parameters` type=`SCHOOL` |
|
|
158
|
+
*
|
|
159
|
+
* ## Response fields (per item)
|
|
160
|
+
* | Field | Type | Description |
|
|
161
|
+
* |-------|------|-------------|
|
|
162
|
+
* | `name` | string | Full display name |
|
|
163
|
+
* | `profileUrl` | string | LinkedIn profile URL |
|
|
164
|
+
* | `headline` | string\|null | Professional headline |
|
|
165
|
+
* | `location` | string\|null | Geographic location |
|
|
166
|
+
* | `profilePicture` | string\|null | Profile photo URL |
|
|
167
|
+
* | `networkDistance` | string\|null | `DISTANCE_1`, `DISTANCE_2`, `DISTANCE_3`, or `OUT_OF_NETWORK` |
|
|
168
|
+
* | `currentPositions` | array | Current job positions with `company` and `role` |
|
|
169
|
+
*
|
|
170
|
+
* ## Pagination
|
|
171
|
+
* - Default page size: 10, max: 50
|
|
172
|
+
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
173
|
+
* - LinkedIn caps total visible results at ~1,000 for most searches.
|
|
174
|
+
*
|
|
175
|
+
* ## Example workflows
|
|
176
|
+
* 1. **Prospect list building**: Search by title + location + industry → build a targeted outreach list
|
|
177
|
+
* 2. **Recruiting**: Search by title + company + school → find qualified candidates
|
|
178
|
+
* 3. **Network mapping**: Search `connectionOf` + filters → explore someone's network
|
|
179
|
+
*
|
|
180
|
+
* ## Multi-step workflow with filter ID resolution
|
|
181
|
+
* ```
|
|
182
|
+
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'San Francisco' }
|
|
183
|
+
* → returns [{ id: '102277331', title: 'San Francisco, CA' }]
|
|
184
|
+
* Step 2: POST /search/linkedin/parameters { type: 'COMPANY', keywords: 'Google' }
|
|
185
|
+
* → returns [{ id: '1441', title: 'Google' }]
|
|
186
|
+
* Step 3: POST /search/linkedin/people { keywords: 'product manager', location: ['102277331'], currentCompany: ['1441'] }
|
|
187
|
+
* → returns matching people
|
|
188
|
+
* ```
|
|
189
|
+
*
|
|
190
|
+
* ## Credits
|
|
191
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
192
|
+
*/
|
|
193
|
+
async searchPeople(request, options) {
|
|
194
|
+
return unwrapAsync(linkedinSearchSearchPeople(this, request, options));
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Search LinkedIn Companies
|
|
198
|
+
*
|
|
199
|
+
* @remarks
|
|
200
|
+
* # Search LinkedIn Companies
|
|
201
|
+
*
|
|
202
|
+
* Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
|
|
203
|
+
*
|
|
204
|
+
* ## Parameters
|
|
205
|
+
* - **keywords** (optional): Search terms matched against company name, description, and specialties
|
|
206
|
+
*
|
|
207
|
+
* ## Keyword syntax (Boolean operators)
|
|
208
|
+
* Keywords support LinkedIn Boolean search syntax:
|
|
209
|
+
* - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
|
|
210
|
+
* - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
|
|
211
|
+
* - **OR**: `SaaS OR "cloud computing"` — either term
|
|
212
|
+
* - **NOT**: `consulting NOT staffing` — exclude unwanted terms
|
|
213
|
+
* - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
|
|
214
|
+
*
|
|
215
|
+
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
216
|
+
*
|
|
217
|
+
* ## Available filters
|
|
218
|
+
* | Filter | Type | Description | Resolve IDs via |
|
|
219
|
+
* |--------|------|-------------|------------------|
|
|
220
|
+
* | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
221
|
+
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
222
|
+
* | `companySize` | string[] | Employee count codes (see below) | — |
|
|
223
|
+
*
|
|
224
|
+
* ### Company size codes
|
|
225
|
+
* | Code | Employees |
|
|
226
|
+
* |------|-----------|
|
|
227
|
+
* | `A` | 1–10 |
|
|
228
|
+
* | `B` | 11–50 |
|
|
229
|
+
* | `C` | 51–200 |
|
|
230
|
+
* | `D` | 201–500 |
|
|
231
|
+
* | `E` | 501–1,000 |
|
|
232
|
+
* | `F` | 1,001–5,000 |
|
|
233
|
+
* | `G` | 5,001–10,000 |
|
|
234
|
+
* | `H` | 10,001+ |
|
|
235
|
+
* | `I` | Self-employed |
|
|
236
|
+
*
|
|
237
|
+
* ## Response fields (per item)
|
|
238
|
+
* | Field | Type | Description |
|
|
239
|
+
* |-------|------|-------------|
|
|
240
|
+
* | `name` | string | Company display name |
|
|
241
|
+
* | `profileUrl` | string | LinkedIn company page URL |
|
|
242
|
+
* | `summary` | string\|null | Company tagline/description |
|
|
243
|
+
* | `industry` | string\|null | Primary industry |
|
|
244
|
+
* | `location` | string\|null | HQ location |
|
|
245
|
+
* | `followersCount` | number\|null | Number of LinkedIn followers |
|
|
246
|
+
*
|
|
247
|
+
* ## Pagination
|
|
248
|
+
* - Default page size: 10, max: 50
|
|
249
|
+
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
250
|
+
*
|
|
251
|
+
* ## Example workflows
|
|
252
|
+
* 1. **Market research**: Search by industry + location → map the competitive landscape
|
|
253
|
+
* 2. **Sales targeting**: Search by industry + size → build a list of target accounts
|
|
254
|
+
* 3. **Partnership discovery**: Search by keywords + location → find potential partners
|
|
255
|
+
*
|
|
256
|
+
* ## Credits
|
|
257
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
258
|
+
*/
|
|
259
|
+
async searchCompanies(request, options) {
|
|
260
|
+
return unwrapAsync(linkedinSearchSearchCompanies(this, request, options));
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Search LinkedIn Jobs
|
|
264
|
+
*
|
|
265
|
+
* @remarks
|
|
266
|
+
* # Search LinkedIn Jobs
|
|
267
|
+
*
|
|
268
|
+
* Find job listings on LinkedIn by keywords, location, job type, experience level, and workplace type.
|
|
269
|
+
*
|
|
270
|
+
* ## Parameters
|
|
271
|
+
* - **keywords** (optional): Search terms matched against job title, company name, and description
|
|
272
|
+
*
|
|
273
|
+
* ## Keyword syntax (Boolean operators)
|
|
274
|
+
* Keywords support LinkedIn Boolean search syntax:
|
|
275
|
+
* - **Exact phrase**: `"frontend engineer"` — matches only that exact title
|
|
276
|
+
* - **AND**: `React AND TypeScript` — both terms required (spaces default to AND)
|
|
277
|
+
* - **OR**: `"frontend engineer" OR "front-end developer"` — either term
|
|
278
|
+
* - **NOT**: `engineer NOT intern` — exclude unwanted terms
|
|
279
|
+
* - **Parentheses**: `(React OR Vue) AND "senior engineer"` — group logic
|
|
280
|
+
*
|
|
281
|
+
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
282
|
+
*
|
|
283
|
+
* ## Available filters
|
|
284
|
+
* | Filter | Type | Description | Resolve IDs via |
|
|
285
|
+
* |--------|------|-------------|------------------|
|
|
286
|
+
* | `location` | string[] | Geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
287
|
+
* | `datePosted` | string | `"past-24h"` \| `"past-week"` \| `"past-month"` | — |
|
|
288
|
+
* | `sortBy` | string | `"relevance"` \| `"date"` | — |
|
|
289
|
+
* | `jobType` | string[] | Employment type codes (see below) | — |
|
|
290
|
+
* | `experienceLevel` | string[] | Seniority codes (see below) | — |
|
|
291
|
+
* | `workplaceType` | string[] | Work location codes (see below) | — |
|
|
292
|
+
*
|
|
293
|
+
* ### Job type codes
|
|
294
|
+
* | Code | Type |
|
|
295
|
+
* |------|------|
|
|
296
|
+
* | `F` | Full-time |
|
|
297
|
+
* | `P` | Part-time |
|
|
298
|
+
* | `C` | Contract |
|
|
299
|
+
* | `T` | Temporary |
|
|
300
|
+
* | `I` | Internship |
|
|
301
|
+
* | `V` | Volunteer |
|
|
302
|
+
* | `O` | Other |
|
|
303
|
+
*
|
|
304
|
+
* ### Experience level codes
|
|
305
|
+
* | Code | Level |
|
|
306
|
+
* |------|-------|
|
|
307
|
+
* | `1` | Internship |
|
|
308
|
+
* | `2` | Entry level |
|
|
309
|
+
* | `3` | Associate |
|
|
310
|
+
* | `4` | Mid-Senior level |
|
|
311
|
+
* | `5` | Director |
|
|
312
|
+
* | `6` | Executive |
|
|
313
|
+
*
|
|
314
|
+
* ### Workplace type codes
|
|
315
|
+
* | Code | Type |
|
|
316
|
+
* |------|------|
|
|
317
|
+
* | `1` | On-site |
|
|
318
|
+
* | `2` | Remote |
|
|
319
|
+
* | `3` | Hybrid |
|
|
320
|
+
*
|
|
321
|
+
* ## Response fields (per item)
|
|
322
|
+
* | Field | Type | Description |
|
|
323
|
+
* |-------|------|-------------|
|
|
324
|
+
* | `title` | string | Job title |
|
|
325
|
+
* | `company` | string\|null | Hiring company name |
|
|
326
|
+
* | `companyUrl` | string\|null | Company LinkedIn page URL |
|
|
327
|
+
* | `companyLogo` | string\|null | Company logo URL |
|
|
328
|
+
* | `location` | string\|null | Job location |
|
|
329
|
+
* | `workplaceType` | string\|null | On-site / Remote / Hybrid |
|
|
330
|
+
* | `postedAt` | string\|null | Human-readable posting time (e.g. `"2 days ago"`) |
|
|
331
|
+
* | `jobUrl` | string | Direct URL to the job listing |
|
|
332
|
+
* | `listingId` | string | LinkedIn job listing ID |
|
|
333
|
+
*
|
|
334
|
+
* ## Pagination
|
|
335
|
+
* - Default page size: 10, max: 50
|
|
336
|
+
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
337
|
+
*
|
|
338
|
+
* ## Example workflows
|
|
339
|
+
* 1. **Job monitoring**: Search by title + location → track new openings in your area
|
|
340
|
+
* 2. **Competitive hiring analysis**: Search by company keywords → see what roles competitors are hiring for
|
|
341
|
+
* 3. **Market demand research**: Search by skills → gauge demand for specific expertise
|
|
342
|
+
*
|
|
343
|
+
* ## Credits
|
|
344
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
345
|
+
*/
|
|
346
|
+
async searchJobs(request, options) {
|
|
347
|
+
return unwrapAsync(linkedinSearchSearchJobs(this, request, options));
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Search LinkedIn by URL
|
|
351
|
+
*
|
|
352
|
+
* @remarks
|
|
353
|
+
* # Search LinkedIn by URL
|
|
354
|
+
*
|
|
355
|
+
* Paste any LinkedIn search URL and the endpoint will automatically extract the category, keywords, and all filters from it, then execute the search and return structured results.
|
|
356
|
+
*
|
|
357
|
+
* ## When to use this endpoint
|
|
358
|
+
* - A user gives you a LinkedIn search URL and you want to get the results programmatically
|
|
359
|
+
* - You want to replicate a search the user performed in their browser
|
|
360
|
+
* - You want to automate searches based on bookmarked LinkedIn search URLs
|
|
361
|
+
*
|
|
362
|
+
* ## Supported URL formats
|
|
363
|
+
* The endpoint supports all standard LinkedIn search URLs:
|
|
364
|
+
* - `https://www.linkedin.com/search/results/people/?keywords=engineer`
|
|
365
|
+
* - `https://www.linkedin.com/search/results/content/?keywords=AI&sortBy=%22date_posted%22`
|
|
366
|
+
* - `https://www.linkedin.com/search/results/companies/?keywords=startup&companyHqGeo=%5B%22103644278%22%5D`
|
|
367
|
+
* - `https://www.linkedin.com/jobs/search/?keywords=frontend&location=Paris`
|
|
368
|
+
* - `https://www.linkedin.com/search/results/all/?keywords=test` (treated as people search)
|
|
369
|
+
*
|
|
370
|
+
* ## URL path → Category mapping
|
|
371
|
+
* | URL path segment | Category |
|
|
372
|
+
* |------------------|----------|
|
|
373
|
+
* | `/results/content/` | posts |
|
|
374
|
+
* | `/results/people/` | people |
|
|
375
|
+
* | `/results/companies/` | companies |
|
|
376
|
+
* | `/results/all/` | people |
|
|
377
|
+
* | `/jobs/search/` | jobs |
|
|
378
|
+
*
|
|
379
|
+
* ## Extracted parameters
|
|
380
|
+
* The following URL query parameters are parsed and mapped to search filters:
|
|
381
|
+
* - `keywords` → keywords
|
|
382
|
+
* - `network` → connectionDegree (people)
|
|
383
|
+
* - `geoUrn` / `companyHqGeo` → location
|
|
384
|
+
* - `industry` → industry
|
|
385
|
+
* - `company` / `currentCompany` → currentCompany
|
|
386
|
+
* - `pastCompany` → pastCompany
|
|
387
|
+
* - `school` → school
|
|
388
|
+
* - `profileLanguage` → profileLanguage
|
|
389
|
+
* - `connectionOf` → connectionOf
|
|
390
|
+
* - `firstName` / `lastName` → firstName / lastName
|
|
391
|
+
* - `title` → title
|
|
392
|
+
* - `companySize` → companySize (companies)
|
|
393
|
+
* - `sortBy` → sortBy
|
|
394
|
+
* - `datePosted` → datePosted
|
|
395
|
+
* - `f_TPR` → datePosted (jobs)
|
|
396
|
+
* - `f_JT` → jobType (jobs)
|
|
397
|
+
* - `f_E` → experienceLevel (jobs)
|
|
398
|
+
* - `f_WT` → workplaceType (jobs)
|
|
399
|
+
*
|
|
400
|
+
* ## Pagination override
|
|
401
|
+
* You can optionally pass `start` and `count` to override the pagination embedded in the URL.
|
|
402
|
+
*
|
|
403
|
+
* ## Credits
|
|
404
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
405
|
+
*/
|
|
406
|
+
async searchByUrl(request, options) {
|
|
407
|
+
return unwrapAsync(linkedinSearchSearchByUrl(this, request, options));
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Resolve text to LinkedIn search parameter IDs (typeahead)
|
|
411
|
+
*
|
|
412
|
+
* @remarks
|
|
413
|
+
* # Resolve Search Parameters
|
|
414
|
+
*
|
|
415
|
+
* Converts human-readable text into LinkedIn numeric IDs required by search filters. This is a **prerequisite step** before using location, industry, company, or school filters in any search endpoint.
|
|
416
|
+
*
|
|
417
|
+
* ## Supported types
|
|
418
|
+
* | Type | Description | Use with filter |
|
|
419
|
+
* |------|-------------|------------------|
|
|
420
|
+
* | `GEO` | Geographic locations (cities, regions, countries) | `location` filter in people, companies, jobs |
|
|
421
|
+
* | `COMPANY` | Companies and organizations | `currentCompany`, `pastCompany`, `authorCompany` |
|
|
422
|
+
* | `INDUSTRY` | Industries and sectors | `industry`, `authorIndustry` |
|
|
423
|
+
* | `SCHOOL` | Schools and universities | `school` filter in people search |
|
|
424
|
+
* | `CONNECTIONS` | Your LinkedIn connections by name | Identify connection URNs |
|
|
425
|
+
* | `PEOPLE` | Any LinkedIn user by name | Identify profile URNs for `connectionOf` |
|
|
426
|
+
*
|
|
427
|
+
* ## How to use
|
|
428
|
+
* ```
|
|
429
|
+
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'Paris' }
|
|
430
|
+
* → [{ id: '105015875', title: 'Paris, Île-de-France, France', type: 'GEO' }]
|
|
431
|
+
* Step 2: POST /search/linkedin/people { location: ['105015875'], keywords: 'engineer' }
|
|
432
|
+
* → returns engineers in Paris
|
|
433
|
+
* ```
|
|
434
|
+
*
|
|
435
|
+
* ## Response format
|
|
436
|
+
* Each item contains `id` (the LinkedIn numeric ID to use in filters), `title` (human-readable label), and `type` (the parameter type).
|
|
437
|
+
*
|
|
438
|
+
* ## Tips
|
|
439
|
+
* - Use short, specific keywords for best results (e.g. `"Paris"` not `"Paris, France"`)
|
|
440
|
+
* - The API returns up to `limit` results (default 10, max 50)
|
|
441
|
+
* - Results are ranked by relevance
|
|
442
|
+
* - IDs are stable — you can cache them for repeated searches
|
|
443
|
+
*/
|
|
444
|
+
async resolveParameters(request, options) {
|
|
445
|
+
return unwrapAsync(linkedinSearchResolveParameters(this, request, options));
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
//# sourceMappingURL=linkedin-search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-search.js","sourceRoot":"","sources":["../../src/sdk/linkedin-search.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,KAAK,CAAC,aAAa,CACjB,OAAyC,EACzC,OAAwB,EACoB;QAC5C,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0DG;IACH,KAAK,CAAC,WAAW,CACf,OAA8C,EAC9C,OAAwB,EACyB;QACjD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsEG;IACH,KAAK,CAAC,YAAY,CAChB,OAA+C,EAC/C,OAAwB,EAC0B;QAClD,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8DG;IACH,KAAK,CAAC,eAAe,CACnB,OAAkD,EAClD,OAAwB,EAC6B;QACrD,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmFG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB,EACwB;QAChD,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,KAAK,CAAC,WAAW,CACf,OAA8C,EAC9C,OAAwB,EACyB;QACjD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA0D,EAC1D,OAAwB,EACqC;QAC7D,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class Profile extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* Get authenticated user's LinkedIn profile
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Returns the authenticated user's stored LinkedIn profile data from the database. No LinkedIn API call, no credits consumed. Call /me/linkedin/refresh first to populate enriched data (positions, education, etc.).
|
|
9
|
+
*/
|
|
10
|
+
getLinkedInProfile(options?: RequestOptions): Promise<operations.GetMyLinkedInProfileResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Refresh authenticated user's LinkedIn profile
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Re-fetches the authenticated user's LinkedIn profile from the Voyager API and updates stored data (positions, education, location, connections count, verification status). No credits consumed.
|
|
16
|
+
*/
|
|
17
|
+
refresh(options?: RequestOptions): Promise<operations.RefreshMyLinkedInProfileResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Get authenticated user's LinkedIn posts
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Returns paginated posts from the authenticated user's own LinkedIn profile. No credits consumed. Requires valid LinkedIn credentials and a stored profileUrn (call /me/linkedin/refresh first if needed).
|
|
23
|
+
*/
|
|
24
|
+
getPosts(request?: operations.GetMyLinkedInPostsRequest | undefined, options?: RequestOptions): Promise<operations.GetMyLinkedInPostsResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Get authenticated user's LinkedIn followers
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* Returns a paginated list of the authenticated user's LinkedIn followers. LinkedIn caps visible results at ~1 000. No credits consumed. Requires valid LinkedIn credentials.
|
|
30
|
+
*/
|
|
31
|
+
getFollowers(request?: operations.GetMyLinkedInFollowersRequest | undefined, options?: RequestOptions): Promise<operations.GetMyLinkedInFollowersResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Get current LinkedIn rate limit status
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Returns the current rate limit status for all LinkedIn action types. Includes current usage, effective limits (with workspace multiplier applied), remaining quotas, minimum delay between actions in seconds, and next reset times. No credits consumed.
|
|
37
|
+
*/
|
|
38
|
+
getLimits(options?: RequestOptions): Promise<operations.GetMyLimitsResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Get current BeReach credit balance
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Returns the current credit balance for the workspace. Includes credits used, total limit, remaining credits, and usage percentage. No credits consumed.
|
|
44
|
+
*/
|
|
45
|
+
getCredits(options?: RequestOptions): Promise<operations.GetMyCreditsResponse>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/sdk/profile.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAKlD;IAED;;;;;OAKG;IACG,OAAO,CACX,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAKtD;IAED;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,CAAC,EAAE,UAAU,CAAC,yBAAyB,GAAG,SAAS,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAMhD;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,CAAC,EAAE,UAAU,CAAC,6BAA6B,GAAG,SAAS,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAMpD;IAED;;;;;OAKG;IACG,SAAS,CACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAKzC;IAED;;;;;OAKG;IACG,UAAU,CACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAK1C;CACF"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { profileGetCredits } from "../funcs/profile-get-credits.js";
|
|
5
|
+
import { profileGetFollowers } from "../funcs/profile-get-followers.js";
|
|
6
|
+
import { profileGetLimits } from "../funcs/profile-get-limits.js";
|
|
7
|
+
import { profileGetLinkedInProfile } from "../funcs/profile-get-linked-in-profile.js";
|
|
8
|
+
import { profileGetPosts } from "../funcs/profile-get-posts.js";
|
|
9
|
+
import { profileRefresh } from "../funcs/profile-refresh.js";
|
|
10
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
11
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
export class Profile extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Get authenticated user's LinkedIn profile
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* Returns the authenticated user's stored LinkedIn profile data from the database. No LinkedIn API call, no credits consumed. Call /me/linkedin/refresh first to populate enriched data (positions, education, etc.).
|
|
18
|
+
*/
|
|
19
|
+
async getLinkedInProfile(options) {
|
|
20
|
+
return unwrapAsync(profileGetLinkedInProfile(this, options));
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Refresh authenticated user's LinkedIn profile
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* Re-fetches the authenticated user's LinkedIn profile from the Voyager API and updates stored data (positions, education, location, connections count, verification status). No credits consumed.
|
|
27
|
+
*/
|
|
28
|
+
async refresh(options) {
|
|
29
|
+
return unwrapAsync(profileRefresh(this, options));
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get authenticated user's LinkedIn posts
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Returns paginated posts from the authenticated user's own LinkedIn profile. No credits consumed. Requires valid LinkedIn credentials and a stored profileUrn (call /me/linkedin/refresh first if needed).
|
|
36
|
+
*/
|
|
37
|
+
async getPosts(request, options) {
|
|
38
|
+
return unwrapAsync(profileGetPosts(this, request, options));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get authenticated user's LinkedIn followers
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Returns a paginated list of the authenticated user's LinkedIn followers. LinkedIn caps visible results at ~1 000. No credits consumed. Requires valid LinkedIn credentials.
|
|
45
|
+
*/
|
|
46
|
+
async getFollowers(request, options) {
|
|
47
|
+
return unwrapAsync(profileGetFollowers(this, request, options));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get current LinkedIn rate limit status
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Returns the current rate limit status for all LinkedIn action types. Includes current usage, effective limits (with workspace multiplier applied), remaining quotas, minimum delay between actions in seconds, and next reset times. No credits consumed.
|
|
54
|
+
*/
|
|
55
|
+
async getLimits(options) {
|
|
56
|
+
return unwrapAsync(profileGetLimits(this, options));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get current BeReach credit balance
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
* Returns the current credit balance for the workspace. Includes credits used, total limit, remaining credits, and usage percentage. No credits consumed.
|
|
63
|
+
*/
|
|
64
|
+
async getCredits(options) {
|
|
65
|
+
return unwrapAsync(profileGetCredits(this, options));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/sdk/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAAwB,EAC0B;QAClD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,OAAwB,EAC8B;QACtD,OAAO,WAAW,CAAC,cAAc,CAC/B,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAA0D,EAC1D,OAAwB,EACwB;QAChD,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA8D,EAC9D,OAAwB,EAC4B;QACpD,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,SAAS,CACb,OAAwB,EACiB;QACzC,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAAwB,EACkB;QAC1C,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|
package/esm/sdk/sdk.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
2
|
+
import { Campaigns } from "./campaigns.js";
|
|
3
|
+
import { LinkedinActions } from "./linkedin-actions.js";
|
|
4
|
+
import { LinkedinChat } from "./linkedin-chat.js";
|
|
5
|
+
import { LinkedinScrapers } from "./linkedin-scrapers.js";
|
|
6
|
+
import { LinkedinSearch } from "./linkedin-search.js";
|
|
7
|
+
import { Profile } from "./profile.js";
|
|
8
|
+
export declare class Bereach extends ClientSDK {
|
|
9
|
+
private _linkedinScrapers?;
|
|
10
|
+
get linkedinScrapers(): LinkedinScrapers;
|
|
11
|
+
private _linkedinSearch?;
|
|
12
|
+
get linkedinSearch(): LinkedinSearch;
|
|
13
|
+
private _linkedinActions?;
|
|
14
|
+
get linkedinActions(): LinkedinActions;
|
|
15
|
+
private _profile?;
|
|
16
|
+
get profile(): Profile;
|
|
17
|
+
private _linkedinChat?;
|
|
18
|
+
get linkedinChat(): LinkedinChat;
|
|
19
|
+
private _campaigns?;
|
|
20
|
+
get campaigns(): Campaigns;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=sdk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,qBAAa,OAAQ,SAAQ,SAAS;IACpC,OAAO,CAAC,iBAAiB,CAAC,CAAmB;IAC7C,IAAI,gBAAgB,IAAI,gBAAgB,CAEvC;IAED,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,IAAI,cAAc,IAAI,cAAc,CAEnC;IAED,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAC3C,IAAI,eAAe,IAAI,eAAe,CAErC;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,OAAO,CAAC,aAAa,CAAC,CAAe;IACrC,IAAI,YAAY,IAAI,YAAY,CAE/B;IAED,OAAO,CAAC,UAAU,CAAC,CAAY;IAC/B,IAAI,SAAS,IAAI,SAAS,CAEzB;CACF"}
|
package/esm/sdk/sdk.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
5
|
+
import { Campaigns } from "./campaigns.js";
|
|
6
|
+
import { LinkedinActions } from "./linkedin-actions.js";
|
|
7
|
+
import { LinkedinChat } from "./linkedin-chat.js";
|
|
8
|
+
import { LinkedinScrapers } from "./linkedin-scrapers.js";
|
|
9
|
+
import { LinkedinSearch } from "./linkedin-search.js";
|
|
10
|
+
import { Profile } from "./profile.js";
|
|
11
|
+
export class Bereach extends ClientSDK {
|
|
12
|
+
_linkedinScrapers;
|
|
13
|
+
get linkedinScrapers() {
|
|
14
|
+
return (this._linkedinScrapers ?? (this._linkedinScrapers = new LinkedinScrapers(this._options)));
|
|
15
|
+
}
|
|
16
|
+
_linkedinSearch;
|
|
17
|
+
get linkedinSearch() {
|
|
18
|
+
return (this._linkedinSearch ?? (this._linkedinSearch = new LinkedinSearch(this._options)));
|
|
19
|
+
}
|
|
20
|
+
_linkedinActions;
|
|
21
|
+
get linkedinActions() {
|
|
22
|
+
return (this._linkedinActions ?? (this._linkedinActions = new LinkedinActions(this._options)));
|
|
23
|
+
}
|
|
24
|
+
_profile;
|
|
25
|
+
get profile() {
|
|
26
|
+
return (this._profile ?? (this._profile = new Profile(this._options)));
|
|
27
|
+
}
|
|
28
|
+
_linkedinChat;
|
|
29
|
+
get linkedinChat() {
|
|
30
|
+
return (this._linkedinChat ?? (this._linkedinChat = new LinkedinChat(this._options)));
|
|
31
|
+
}
|
|
32
|
+
_campaigns;
|
|
33
|
+
get campaigns() {
|
|
34
|
+
return (this._campaigns ?? (this._campaigns = new Campaigns(this._options)));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=sdk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,SAAS;IAC5B,iBAAiB,CAAoB;IAC7C,IAAI,gBAAgB,GAAqB;QACvC,OAAO,CAAC,IAAI,CAAC,iBAAiB,KAAtB,IAAI,CAAC,iBAAiB,GAAK,IAAI,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACzE;IAEO,eAAe,CAAkB;IACzC,IAAI,cAAc,GAAmB;QACnC,OAAO,CAAC,IAAI,CAAC,eAAe,KAApB,IAAI,CAAC,eAAe,GAAK,IAAI,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACrE;IAEO,gBAAgB,CAAmB;IAC3C,IAAI,eAAe,GAAoB;QACrC,OAAO,CAAC,IAAI,CAAC,gBAAgB,KAArB,IAAI,CAAC,gBAAgB,GAAK,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACvE;IAEO,QAAQ,CAAW;IAC3B,IAAI,OAAO,GAAY;QACrB,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACvD;IAEO,aAAa,CAAgB;IACrC,IAAI,YAAY,GAAiB;QAC/B,OAAO,CAAC,IAAI,CAAC,aAAa,KAAlB,IAAI,CAAC,aAAa,GAAK,IAAI,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACjE;IAEO,UAAU,CAAa;IAC/B,IAAI,SAAS,GAAc;QACzB,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CAC3D;CACF"}
|