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,2350 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
export type CollectLinkedInLikesRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* LinkedIn post URL to inspect for reactions.
|
|
8
|
+
*/
|
|
9
|
+
postUrl: string;
|
|
10
|
+
/**
|
|
11
|
+
* Pagination offset (multiples of 200).
|
|
12
|
+
*/
|
|
13
|
+
start?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Number of likes to fetch per page (0-200, default 200). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
|
|
16
|
+
*/
|
|
17
|
+
count?: number | undefined;
|
|
18
|
+
};
|
|
19
|
+
export type CollectLinkedInLikesInternalServerErrorDetails = string | Array<string>;
|
|
20
|
+
export type CollectLinkedInLikesInternalServerErrorError = {
|
|
21
|
+
code: string;
|
|
22
|
+
message: string;
|
|
23
|
+
docs?: string | undefined;
|
|
24
|
+
details?: string | Array<string> | undefined;
|
|
25
|
+
};
|
|
26
|
+
export declare const CollectLinkedInLikesCode: {
|
|
27
|
+
readonly RateLimitExceeded: "rate_limit_exceeded";
|
|
28
|
+
};
|
|
29
|
+
export type CollectLinkedInLikesCode = ClosedEnum<typeof CollectLinkedInLikesCode>;
|
|
30
|
+
/**
|
|
31
|
+
* Current and max daily usage (null if no daily cap).
|
|
32
|
+
*/
|
|
33
|
+
export type CollectLinkedInLikesDaily = {
|
|
34
|
+
current: number;
|
|
35
|
+
limit: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Current and max weekly usage (null if no weekly cap).
|
|
39
|
+
*/
|
|
40
|
+
export type CollectLinkedInLikesWeekly = {
|
|
41
|
+
current: number;
|
|
42
|
+
limit: number;
|
|
43
|
+
};
|
|
44
|
+
export type CollectLinkedInLikesTooManyRequestsError = {
|
|
45
|
+
code: CollectLinkedInLikesCode;
|
|
46
|
+
message: string;
|
|
47
|
+
docs?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Seconds to wait before retrying.
|
|
50
|
+
*/
|
|
51
|
+
retryAfter: number;
|
|
52
|
+
/**
|
|
53
|
+
* Current and max daily usage (null if no daily cap).
|
|
54
|
+
*/
|
|
55
|
+
daily: CollectLinkedInLikesDaily | null;
|
|
56
|
+
/**
|
|
57
|
+
* Current and max weekly usage (null if no weekly cap).
|
|
58
|
+
*/
|
|
59
|
+
weekly: CollectLinkedInLikesWeekly | null;
|
|
60
|
+
};
|
|
61
|
+
export type CollectLinkedInLikesUnprocessableEntityDetails = string | Array<string>;
|
|
62
|
+
export type CollectLinkedInLikesUnprocessableEntityError = {
|
|
63
|
+
code: string;
|
|
64
|
+
message: string;
|
|
65
|
+
docs?: string | undefined;
|
|
66
|
+
details?: string | Array<string> | undefined;
|
|
67
|
+
};
|
|
68
|
+
export type CollectLinkedInLikesGoneDetails = string | Array<string>;
|
|
69
|
+
export type CollectLinkedInLikesGoneError = {
|
|
70
|
+
code: string;
|
|
71
|
+
message: string;
|
|
72
|
+
docs?: string | undefined;
|
|
73
|
+
details?: string | Array<string> | undefined;
|
|
74
|
+
};
|
|
75
|
+
export type CollectLinkedInLikesConflictDetails = string | Array<string>;
|
|
76
|
+
export type CollectLinkedInLikesConflictError = {
|
|
77
|
+
code: string;
|
|
78
|
+
message: string;
|
|
79
|
+
docs?: string | undefined;
|
|
80
|
+
details?: string | Array<string> | undefined;
|
|
81
|
+
};
|
|
82
|
+
export type CollectLinkedInLikesNotFoundDetails = string | Array<string>;
|
|
83
|
+
export type CollectLinkedInLikesNotFoundError = {
|
|
84
|
+
code: string;
|
|
85
|
+
message: string;
|
|
86
|
+
docs?: string | undefined;
|
|
87
|
+
details?: string | Array<string> | undefined;
|
|
88
|
+
};
|
|
89
|
+
export type CollectLinkedInLikesForbiddenDetails = string | Array<string>;
|
|
90
|
+
export type CollectLinkedInLikesForbiddenError = {
|
|
91
|
+
code: string;
|
|
92
|
+
message: string;
|
|
93
|
+
docs?: string | undefined;
|
|
94
|
+
details?: string | Array<string> | undefined;
|
|
95
|
+
};
|
|
96
|
+
export type CollectLinkedInLikesUnauthorizedDetails = string | Array<string>;
|
|
97
|
+
export type CollectLinkedInLikesUnauthorizedError = {
|
|
98
|
+
code: string;
|
|
99
|
+
message: string;
|
|
100
|
+
docs?: string | undefined;
|
|
101
|
+
details?: string | Array<string> | undefined;
|
|
102
|
+
};
|
|
103
|
+
export type CollectLinkedInLikesBadRequestDetails = string | Array<string>;
|
|
104
|
+
export type CollectLinkedInLikesBadRequestError = {
|
|
105
|
+
code: string;
|
|
106
|
+
message: string;
|
|
107
|
+
docs?: string | undefined;
|
|
108
|
+
details?: string | Array<string> | undefined;
|
|
109
|
+
};
|
|
110
|
+
export declare const CollectLinkedInLikesType: {
|
|
111
|
+
readonly Like: "like";
|
|
112
|
+
};
|
|
113
|
+
export type CollectLinkedInLikesType = ClosedEnum<typeof CollectLinkedInLikesType>;
|
|
114
|
+
export type CollectLinkedInLikesProfile = {
|
|
115
|
+
name: string;
|
|
116
|
+
headline?: string | null | undefined;
|
|
117
|
+
profileUrl?: string | null | undefined;
|
|
118
|
+
imageUrl?: string | null | undefined;
|
|
119
|
+
type: CollectLinkedInLikesType;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* List of profiles who liked the post
|
|
123
|
+
*/
|
|
124
|
+
export type CollectLinkedInLikesResponse = {
|
|
125
|
+
success: boolean;
|
|
126
|
+
profiles: Array<CollectLinkedInLikesProfile>;
|
|
127
|
+
count: number;
|
|
128
|
+
total: number;
|
|
129
|
+
start: number;
|
|
130
|
+
hasMore: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* The total from your last call to this endpoint for the same post (null on first call). Compare with total to detect new likes without client-side tracking.
|
|
133
|
+
*/
|
|
134
|
+
previousTotal: number | null;
|
|
135
|
+
/**
|
|
136
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
137
|
+
*/
|
|
138
|
+
creditsUsed: number;
|
|
139
|
+
/**
|
|
140
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
141
|
+
*/
|
|
142
|
+
retryAfter: number;
|
|
143
|
+
};
|
|
144
|
+
export type CollectLinkedInCommentsRequest = {
|
|
145
|
+
/**
|
|
146
|
+
* LinkedIn post URL to inspect for comments.
|
|
147
|
+
*/
|
|
148
|
+
postUrl: string;
|
|
149
|
+
/**
|
|
150
|
+
* Pagination offset (multiples of 100).
|
|
151
|
+
*/
|
|
152
|
+
start?: number | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Number of comments to fetch per page (0-100, default 100). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed — can call count=100 immediately after).
|
|
155
|
+
*/
|
|
156
|
+
count?: number | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* When provided, each profile in the response includes actionsCompleted (message/reply/like/visit/connect booleans) and knownDistance (cached memberDistance from recent visits, null if not cached). Enables campaign-aware scraping without manual cross-referencing.
|
|
159
|
+
*/
|
|
160
|
+
campaignSlug?: string | undefined;
|
|
161
|
+
};
|
|
162
|
+
export declare const CollectLinkedInCommentsType: {
|
|
163
|
+
readonly Comment: "comment";
|
|
164
|
+
};
|
|
165
|
+
export type CollectLinkedInCommentsType = ClosedEnum<typeof CollectLinkedInCommentsType>;
|
|
166
|
+
/**
|
|
167
|
+
* Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
|
|
168
|
+
*/
|
|
169
|
+
export type CollectLinkedInCommentsActionsCompleted = {
|
|
170
|
+
message: boolean;
|
|
171
|
+
reply: boolean;
|
|
172
|
+
like: boolean;
|
|
173
|
+
visit: boolean;
|
|
174
|
+
connect: boolean;
|
|
175
|
+
};
|
|
176
|
+
export type CollectLinkedInCommentsProfile = {
|
|
177
|
+
name: string;
|
|
178
|
+
headline?: string | null | undefined;
|
|
179
|
+
profileUrl?: string | null | undefined;
|
|
180
|
+
imageUrl?: string | null | undefined;
|
|
181
|
+
type: CollectLinkedInCommentsType;
|
|
182
|
+
commentText?: string | undefined;
|
|
183
|
+
timestamp?: number | null | undefined;
|
|
184
|
+
isEdited?: boolean | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Full comment URN — use directly for /reply and /like endpoints. Do NOT reconstruct from hash fields.
|
|
187
|
+
*/
|
|
188
|
+
commentUrn?: string | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* SHA256 hash of commentUrn — use for dedup slugs only, not for building URNs.
|
|
191
|
+
*/
|
|
192
|
+
commentHash?: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* True if the commenter is the post author.
|
|
195
|
+
*/
|
|
196
|
+
isPostAuthor?: boolean | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Number of replies to this comment.
|
|
199
|
+
*/
|
|
200
|
+
repliesCount?: number | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* True if the post author already replied to this comment.
|
|
203
|
+
*/
|
|
204
|
+
hasReplyFromPostAuthor?: boolean | undefined;
|
|
205
|
+
postUrn?: string | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* SHA256 hash of postUrn — use for dedup slugs only.
|
|
208
|
+
*/
|
|
209
|
+
postHash?: string | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
|
|
212
|
+
*/
|
|
213
|
+
actionsCompleted?: CollectLinkedInCommentsActionsCompleted | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* Cached memberDistance from a recent profile visit (1 = connected, 2 = 2nd degree, etc.). Only present when campaignSlug is provided. null if the profile has not been visited recently.
|
|
216
|
+
*/
|
|
217
|
+
knownDistance?: number | null | undefined;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* List of profiles who commented on the post
|
|
221
|
+
*/
|
|
222
|
+
export type CollectLinkedInCommentsResponse = {
|
|
223
|
+
success: boolean;
|
|
224
|
+
profiles: Array<CollectLinkedInCommentsProfile>;
|
|
225
|
+
count: number;
|
|
226
|
+
total: number;
|
|
227
|
+
start: number;
|
|
228
|
+
hasMore: boolean;
|
|
229
|
+
/**
|
|
230
|
+
* The total from your last call to this endpoint for the same post (null on first call). Compare with total to detect new comments without client-side tracking.
|
|
231
|
+
*/
|
|
232
|
+
previousTotal: number | null;
|
|
233
|
+
/**
|
|
234
|
+
* Number of returned profiles that already have a completed 'message' action in this campaign. Only present when campaignSlug is provided.
|
|
235
|
+
*/
|
|
236
|
+
processedCount?: number | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* Number of returned profiles that have NOT yet been messaged in this campaign. Only present when campaignSlug is provided.
|
|
239
|
+
*/
|
|
240
|
+
newCount?: number | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
243
|
+
*/
|
|
244
|
+
creditsUsed: number;
|
|
245
|
+
/**
|
|
246
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
247
|
+
*/
|
|
248
|
+
retryAfter: number;
|
|
249
|
+
};
|
|
250
|
+
export type CollectLinkedInCommentRepliesRequest = {
|
|
251
|
+
/**
|
|
252
|
+
* Comment URN returned by the comments endpoint (e.g., 'urn:li:comment:(activity:123456,789)').
|
|
253
|
+
*/
|
|
254
|
+
commentUrn: string;
|
|
255
|
+
/**
|
|
256
|
+
* Pagination offset (default 0).
|
|
257
|
+
*/
|
|
258
|
+
start?: number | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* Number of replies to fetch per page (0-100, default 100). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
|
|
261
|
+
*/
|
|
262
|
+
count?: number | undefined;
|
|
263
|
+
};
|
|
264
|
+
export declare const CollectLinkedInCommentRepliesType: {
|
|
265
|
+
readonly Comment: "comment";
|
|
266
|
+
};
|
|
267
|
+
export type CollectLinkedInCommentRepliesType = ClosedEnum<typeof CollectLinkedInCommentRepliesType>;
|
|
268
|
+
/**
|
|
269
|
+
* Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
|
|
270
|
+
*/
|
|
271
|
+
export type CollectLinkedInCommentRepliesActionsCompleted = {
|
|
272
|
+
message: boolean;
|
|
273
|
+
reply: boolean;
|
|
274
|
+
like: boolean;
|
|
275
|
+
visit: boolean;
|
|
276
|
+
connect: boolean;
|
|
277
|
+
};
|
|
278
|
+
export type Reply = {
|
|
279
|
+
name: string;
|
|
280
|
+
headline?: string | null | undefined;
|
|
281
|
+
profileUrl?: string | null | undefined;
|
|
282
|
+
imageUrl?: string | null | undefined;
|
|
283
|
+
type: CollectLinkedInCommentRepliesType;
|
|
284
|
+
commentText?: string | undefined;
|
|
285
|
+
timestamp?: number | null | undefined;
|
|
286
|
+
isEdited?: boolean | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* Full comment URN — use directly for /reply and /like endpoints. Do NOT reconstruct from hash fields.
|
|
289
|
+
*/
|
|
290
|
+
commentUrn?: string | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* SHA256 hash of commentUrn — use for dedup slugs only, not for building URNs.
|
|
293
|
+
*/
|
|
294
|
+
commentHash?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* True if the commenter is the post author.
|
|
297
|
+
*/
|
|
298
|
+
isPostAuthor?: boolean | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* Number of replies to this comment.
|
|
301
|
+
*/
|
|
302
|
+
repliesCount?: number | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* True if the post author already replied to this comment.
|
|
305
|
+
*/
|
|
306
|
+
hasReplyFromPostAuthor?: boolean | undefined;
|
|
307
|
+
postUrn?: string | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* SHA256 hash of postUrn — use for dedup slugs only.
|
|
310
|
+
*/
|
|
311
|
+
postHash?: string | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
|
|
314
|
+
*/
|
|
315
|
+
actionsCompleted?: CollectLinkedInCommentRepliesActionsCompleted | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* Cached memberDistance from a recent profile visit (1 = connected, 2 = 2nd degree, etc.). Only present when campaignSlug is provided. null if the profile has not been visited recently.
|
|
318
|
+
*/
|
|
319
|
+
knownDistance?: number | null | undefined;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* List of replies to the comment
|
|
323
|
+
*/
|
|
324
|
+
export type CollectLinkedInCommentRepliesResponse = {
|
|
325
|
+
success: boolean;
|
|
326
|
+
replies: Array<Reply>;
|
|
327
|
+
count: number;
|
|
328
|
+
total: number;
|
|
329
|
+
start: number;
|
|
330
|
+
hasMore: boolean;
|
|
331
|
+
parentCommentUrn: string;
|
|
332
|
+
/**
|
|
333
|
+
* The total from your last call to this endpoint for the same comment (null on first call). Compare with total to detect new replies without client-side tracking.
|
|
334
|
+
*/
|
|
335
|
+
previousTotal: number | null;
|
|
336
|
+
/**
|
|
337
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
338
|
+
*/
|
|
339
|
+
creditsUsed: number;
|
|
340
|
+
/**
|
|
341
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
342
|
+
*/
|
|
343
|
+
retryAfter: number;
|
|
344
|
+
};
|
|
345
|
+
export type CollectLinkedInPostsRequest = {
|
|
346
|
+
/**
|
|
347
|
+
* LinkedIn profile URL to fetch posts from.
|
|
348
|
+
*/
|
|
349
|
+
profileUrl: string;
|
|
350
|
+
/**
|
|
351
|
+
* Number of posts to fetch (0-100, default 20). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
|
|
352
|
+
*/
|
|
353
|
+
count?: number | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* Pagination offset (default 0).
|
|
356
|
+
*/
|
|
357
|
+
start?: number | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* Pagination token from a previous response to fetch the next page.
|
|
360
|
+
*/
|
|
361
|
+
paginationToken?: string | undefined;
|
|
362
|
+
};
|
|
363
|
+
export declare const CollectLinkedInPostsType: {
|
|
364
|
+
readonly Activity: "activity";
|
|
365
|
+
readonly UgcPost: "ugcPost";
|
|
366
|
+
readonly Share: "share";
|
|
367
|
+
};
|
|
368
|
+
export type CollectLinkedInPostsType = OpenEnum<typeof CollectLinkedInPostsType>;
|
|
369
|
+
export type CollectLinkedInPostsPost = {
|
|
370
|
+
postUrl: string;
|
|
371
|
+
text: string;
|
|
372
|
+
date: number;
|
|
373
|
+
likesCount: number;
|
|
374
|
+
commentsCount: number;
|
|
375
|
+
sharesCount: number;
|
|
376
|
+
postUrn: string;
|
|
377
|
+
postId: string;
|
|
378
|
+
type: CollectLinkedInPostsType;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Paginated list of posts from the profile
|
|
382
|
+
*/
|
|
383
|
+
export type CollectLinkedInPostsResponse = {
|
|
384
|
+
success: boolean;
|
|
385
|
+
posts: Array<CollectLinkedInPostsPost>;
|
|
386
|
+
count: number;
|
|
387
|
+
total: number;
|
|
388
|
+
start: number;
|
|
389
|
+
hasMore: boolean;
|
|
390
|
+
paginationToken: string | null;
|
|
391
|
+
/**
|
|
392
|
+
* The total from your last call to this endpoint for the same profile (null on first call). Compare with total to detect new posts without client-side tracking.
|
|
393
|
+
*/
|
|
394
|
+
previousTotal: number | null;
|
|
395
|
+
/**
|
|
396
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
397
|
+
*/
|
|
398
|
+
creditsUsed: number;
|
|
399
|
+
/**
|
|
400
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
401
|
+
*/
|
|
402
|
+
retryAfter: number;
|
|
403
|
+
};
|
|
404
|
+
export type VisitLinkedInProfileRequest = {
|
|
405
|
+
/**
|
|
406
|
+
* LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/username') or profile URN (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B6pt58d4FVmts1F7TPi4D1-uL1fw')
|
|
407
|
+
*/
|
|
408
|
+
profile: string;
|
|
409
|
+
/**
|
|
410
|
+
* Optional campaign identifier for tracking only. No dedup — visit always executes.
|
|
411
|
+
*/
|
|
412
|
+
campaignSlug?: string | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Deprecated. Use campaignSlug only.
|
|
415
|
+
*
|
|
416
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
417
|
+
*/
|
|
418
|
+
actionSlug?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* When true, fetches the last 5 posts from the profile (adds a random delay between requests). Defaults to false.
|
|
421
|
+
*/
|
|
422
|
+
includePosts?: boolean | undefined;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
426
|
+
*/
|
|
427
|
+
export declare const PendingConnection: {
|
|
428
|
+
readonly Pending: "pending";
|
|
429
|
+
readonly Failed: "failed";
|
|
430
|
+
readonly None: "none";
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
434
|
+
*/
|
|
435
|
+
export type PendingConnection = OpenEnum<typeof PendingConnection>;
|
|
436
|
+
export type VisitLinkedInProfilePositionStartDate = {
|
|
437
|
+
month: number | null;
|
|
438
|
+
year: number;
|
|
439
|
+
};
|
|
440
|
+
export type VisitLinkedInProfilePositionEndDate = {
|
|
441
|
+
month: number | null;
|
|
442
|
+
year: number;
|
|
443
|
+
};
|
|
444
|
+
export type VisitLinkedInProfilePosition = {
|
|
445
|
+
companyName: string | null;
|
|
446
|
+
title: string | null;
|
|
447
|
+
companyUrl: string | null;
|
|
448
|
+
companyLogo: string | null;
|
|
449
|
+
startDate: VisitLinkedInProfilePositionStartDate | null;
|
|
450
|
+
endDate: VisitLinkedInProfilePositionEndDate | null;
|
|
451
|
+
isCurrent: boolean;
|
|
452
|
+
};
|
|
453
|
+
export type VisitLinkedInProfileEducationStartDate = {
|
|
454
|
+
month: number | null;
|
|
455
|
+
year: number;
|
|
456
|
+
};
|
|
457
|
+
export type VisitLinkedInProfileEducationEndDate = {
|
|
458
|
+
month: number | null;
|
|
459
|
+
year: number;
|
|
460
|
+
};
|
|
461
|
+
export type VisitLinkedInProfileEducation = {
|
|
462
|
+
schoolName: string | null;
|
|
463
|
+
degreeName: string | null;
|
|
464
|
+
fieldOfStudy: string | null;
|
|
465
|
+
schoolUrl: string | null;
|
|
466
|
+
schoolLogo: string | null;
|
|
467
|
+
startDate: VisitLinkedInProfileEducationStartDate | null;
|
|
468
|
+
endDate: VisitLinkedInProfileEducationEndDate | null;
|
|
469
|
+
};
|
|
470
|
+
export declare const VisitLinkedInProfileType: {
|
|
471
|
+
readonly Activity: "activity";
|
|
472
|
+
readonly UgcPost: "ugcPost";
|
|
473
|
+
readonly Share: "share";
|
|
474
|
+
};
|
|
475
|
+
export type VisitLinkedInProfileType = OpenEnum<typeof VisitLinkedInProfileType>;
|
|
476
|
+
export type VisitLinkedInProfileLastPost = {
|
|
477
|
+
postUrl: string;
|
|
478
|
+
text: string;
|
|
479
|
+
date: number;
|
|
480
|
+
likesCount: number;
|
|
481
|
+
commentsCount: number;
|
|
482
|
+
sharesCount: number;
|
|
483
|
+
postUrn: string;
|
|
484
|
+
postId: string;
|
|
485
|
+
type: VisitLinkedInProfileType;
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* Profile contact data
|
|
489
|
+
*/
|
|
490
|
+
export type VisitLinkedInProfileResponse = {
|
|
491
|
+
success: boolean;
|
|
492
|
+
firstName: string;
|
|
493
|
+
lastName: string;
|
|
494
|
+
headline: string | null;
|
|
495
|
+
publicIdentifier: string;
|
|
496
|
+
profileUrl: string;
|
|
497
|
+
/**
|
|
498
|
+
* LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAAA...'). Use this for matching against inbox participants.
|
|
499
|
+
*/
|
|
500
|
+
profileUrn?: string | undefined;
|
|
501
|
+
imageUrl: string | null;
|
|
502
|
+
email?: string | null | undefined;
|
|
503
|
+
location?: string | null | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* Current company name (from most recent position)
|
|
506
|
+
*/
|
|
507
|
+
company?: string | null | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* Current job title (from most recent position)
|
|
510
|
+
*/
|
|
511
|
+
position?: string | null | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* Connection degree: 0 (self), 1 (direct connection), 2+ (2nd degree, 3rd degree, etc.), or null if unknown
|
|
514
|
+
*/
|
|
515
|
+
memberDistance?: number | null | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
518
|
+
*/
|
|
519
|
+
pendingConnection: PendingConnection;
|
|
520
|
+
/**
|
|
521
|
+
* Work experience positions
|
|
522
|
+
*/
|
|
523
|
+
positions?: Array<VisitLinkedInProfilePosition> | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* Education entries
|
|
526
|
+
*/
|
|
527
|
+
educations?: Array<VisitLinkedInProfileEducation> | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* Last 5 posts from the profile (only present when includePosts is true)
|
|
530
|
+
*/
|
|
531
|
+
lastPosts?: Array<VisitLinkedInProfileLastPost> | undefined;
|
|
532
|
+
/**
|
|
533
|
+
* true if this result was served from cache (0 credits). Distance-1 profiles are cached for 24h.
|
|
534
|
+
*/
|
|
535
|
+
cached: boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
538
|
+
*/
|
|
539
|
+
creditsUsed: number;
|
|
540
|
+
/**
|
|
541
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
542
|
+
*/
|
|
543
|
+
retryAfter: number;
|
|
544
|
+
};
|
|
545
|
+
export type VisitLinkedInCompanyRequest = {
|
|
546
|
+
/**
|
|
547
|
+
* LinkedIn company URL (e.g., 'https://www.linkedin.com/company/openai') or universal name (e.g., 'openai')
|
|
548
|
+
*/
|
|
549
|
+
companyUrl: string;
|
|
550
|
+
/**
|
|
551
|
+
* Include workplace policy data such as hybrid/remote status and benefits. Costs 1 extra credit (extra API call).
|
|
552
|
+
*/
|
|
553
|
+
includeWorkplacePolicy?: boolean | undefined;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Employee count range
|
|
557
|
+
*/
|
|
558
|
+
export type EmployeeCountRange = {
|
|
559
|
+
start: number;
|
|
560
|
+
end: number | null;
|
|
561
|
+
};
|
|
562
|
+
export type Headquarter = {
|
|
563
|
+
country: string | null;
|
|
564
|
+
geographicArea: string | null;
|
|
565
|
+
city: string | null;
|
|
566
|
+
postalCode: string | null;
|
|
567
|
+
line1: string | null;
|
|
568
|
+
line2: string | null;
|
|
569
|
+
};
|
|
570
|
+
export type FoundedOn = {
|
|
571
|
+
year: number;
|
|
572
|
+
};
|
|
573
|
+
export type CallToAction = {
|
|
574
|
+
type: string;
|
|
575
|
+
url: string;
|
|
576
|
+
};
|
|
577
|
+
export type AffiliatedCompany = {
|
|
578
|
+
id: string;
|
|
579
|
+
universalName: string;
|
|
580
|
+
name: string;
|
|
581
|
+
url: string | null;
|
|
582
|
+
logoUrl: string | null;
|
|
583
|
+
followerCount: number | null;
|
|
584
|
+
industry: string | null;
|
|
585
|
+
};
|
|
586
|
+
export type SimilarCompany = {
|
|
587
|
+
id: string;
|
|
588
|
+
universalName: string;
|
|
589
|
+
name: string;
|
|
590
|
+
url: string | null;
|
|
591
|
+
logoUrl: string | null;
|
|
592
|
+
followerCount: number | null;
|
|
593
|
+
industry: string | null;
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* Workplace policy (only present when includeWorkplacePolicy=true)
|
|
597
|
+
*/
|
|
598
|
+
export type WorkplacePolicy = {
|
|
599
|
+
title: string | null;
|
|
600
|
+
description: string | null;
|
|
601
|
+
timeAtOnsite: string | null;
|
|
602
|
+
benefits: Array<string>;
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* Company profile data
|
|
606
|
+
*/
|
|
607
|
+
export type VisitLinkedInCompanyResponse = {
|
|
608
|
+
success: boolean;
|
|
609
|
+
/**
|
|
610
|
+
* LinkedIn numeric company ID
|
|
611
|
+
*/
|
|
612
|
+
id: string;
|
|
613
|
+
/**
|
|
614
|
+
* Company URL slug
|
|
615
|
+
*/
|
|
616
|
+
universalName: string;
|
|
617
|
+
name: string;
|
|
618
|
+
description: string | null;
|
|
619
|
+
/**
|
|
620
|
+
* LinkedIn company page URL
|
|
621
|
+
*/
|
|
622
|
+
url: string;
|
|
623
|
+
/**
|
|
624
|
+
* External website URL
|
|
625
|
+
*/
|
|
626
|
+
websiteUrl: string | null;
|
|
627
|
+
industry: string | null;
|
|
628
|
+
/**
|
|
629
|
+
* Exact employee count on LinkedIn
|
|
630
|
+
*/
|
|
631
|
+
employeeCount: number | null;
|
|
632
|
+
/**
|
|
633
|
+
* Employee count range
|
|
634
|
+
*/
|
|
635
|
+
employeeCountRange: EmployeeCountRange | null;
|
|
636
|
+
headquarter: Headquarter | null;
|
|
637
|
+
logoUrl: string | null;
|
|
638
|
+
coverImageUrl: string | null;
|
|
639
|
+
followerCount: number | null;
|
|
640
|
+
specialities: Array<string>;
|
|
641
|
+
tagline: string | null;
|
|
642
|
+
isVerified: boolean;
|
|
643
|
+
foundedOn: FoundedOn | null;
|
|
644
|
+
phone: string | null;
|
|
645
|
+
callToAction: CallToAction | null;
|
|
646
|
+
hashtags: Array<string>;
|
|
647
|
+
/**
|
|
648
|
+
* Showcase / affiliated pages
|
|
649
|
+
*/
|
|
650
|
+
affiliatedCompanies: Array<AffiliatedCompany>;
|
|
651
|
+
/**
|
|
652
|
+
* Similar companies suggested by LinkedIn
|
|
653
|
+
*/
|
|
654
|
+
similarCompanies: Array<SimilarCompany>;
|
|
655
|
+
/**
|
|
656
|
+
* Workplace policy (only present when includeWorkplacePolicy=true)
|
|
657
|
+
*/
|
|
658
|
+
workplacePolicy?: WorkplacePolicy | null | undefined;
|
|
659
|
+
/**
|
|
660
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
661
|
+
*/
|
|
662
|
+
creditsUsed: number;
|
|
663
|
+
/**
|
|
664
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
665
|
+
*/
|
|
666
|
+
retryAfter: number;
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* Type of search to perform (required unless url is provided)
|
|
670
|
+
*/
|
|
671
|
+
export declare const CategoryRequest: {
|
|
672
|
+
readonly Posts: "posts";
|
|
673
|
+
readonly People: "people";
|
|
674
|
+
readonly Companies: "companies";
|
|
675
|
+
readonly Jobs: "jobs";
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* Type of search to perform (required unless url is provided)
|
|
679
|
+
*/
|
|
680
|
+
export type CategoryRequest = ClosedEnum<typeof CategoryRequest>;
|
|
681
|
+
/**
|
|
682
|
+
* Sort order (posts & jobs)
|
|
683
|
+
*/
|
|
684
|
+
export declare const SearchLinkedInSortBy: {
|
|
685
|
+
readonly Relevance: "relevance";
|
|
686
|
+
readonly Date: "date";
|
|
687
|
+
};
|
|
688
|
+
/**
|
|
689
|
+
* Sort order (posts & jobs)
|
|
690
|
+
*/
|
|
691
|
+
export type SearchLinkedInSortBy = ClosedEnum<typeof SearchLinkedInSortBy>;
|
|
692
|
+
/**
|
|
693
|
+
* Time filter (posts & jobs)
|
|
694
|
+
*/
|
|
695
|
+
export declare const SearchLinkedInDatePosted: {
|
|
696
|
+
readonly Past24h: "past-24h";
|
|
697
|
+
readonly PastWeek: "past-week";
|
|
698
|
+
readonly PastMonth: "past-month";
|
|
699
|
+
};
|
|
700
|
+
/**
|
|
701
|
+
* Time filter (posts & jobs)
|
|
702
|
+
*/
|
|
703
|
+
export type SearchLinkedInDatePosted = ClosedEnum<typeof SearchLinkedInDatePosted>;
|
|
704
|
+
/**
|
|
705
|
+
* Media type filter (posts only)
|
|
706
|
+
*/
|
|
707
|
+
export declare const SearchLinkedInContentType: {
|
|
708
|
+
readonly Images: "images";
|
|
709
|
+
readonly Videos: "videos";
|
|
710
|
+
readonly Documents: "documents";
|
|
711
|
+
};
|
|
712
|
+
/**
|
|
713
|
+
* Media type filter (posts only)
|
|
714
|
+
*/
|
|
715
|
+
export type SearchLinkedInContentType = ClosedEnum<typeof SearchLinkedInContentType>;
|
|
716
|
+
export declare const SearchLinkedInConnectionDegree: {
|
|
717
|
+
readonly F: "F";
|
|
718
|
+
readonly S: "S";
|
|
719
|
+
readonly O: "O";
|
|
720
|
+
};
|
|
721
|
+
export type SearchLinkedInConnectionDegree = ClosedEnum<typeof SearchLinkedInConnectionDegree>;
|
|
722
|
+
export declare const SearchLinkedInCompanySize: {
|
|
723
|
+
readonly A: "A";
|
|
724
|
+
readonly B: "B";
|
|
725
|
+
readonly C: "C";
|
|
726
|
+
readonly D: "D";
|
|
727
|
+
readonly E: "E";
|
|
728
|
+
readonly F: "F";
|
|
729
|
+
readonly G: "G";
|
|
730
|
+
readonly H: "H";
|
|
731
|
+
readonly I: "I";
|
|
732
|
+
};
|
|
733
|
+
export type SearchLinkedInCompanySize = ClosedEnum<typeof SearchLinkedInCompanySize>;
|
|
734
|
+
export declare const SearchLinkedInJobType: {
|
|
735
|
+
readonly F: "F";
|
|
736
|
+
readonly P: "P";
|
|
737
|
+
readonly C: "C";
|
|
738
|
+
readonly T: "T";
|
|
739
|
+
readonly I: "I";
|
|
740
|
+
readonly V: "V";
|
|
741
|
+
readonly O: "O";
|
|
742
|
+
};
|
|
743
|
+
export type SearchLinkedInJobType = ClosedEnum<typeof SearchLinkedInJobType>;
|
|
744
|
+
export declare const SearchLinkedInExperienceLevel: {
|
|
745
|
+
readonly One: "1";
|
|
746
|
+
readonly Two: "2";
|
|
747
|
+
readonly Three: "3";
|
|
748
|
+
readonly Four: "4";
|
|
749
|
+
readonly Five: "5";
|
|
750
|
+
readonly Six: "6";
|
|
751
|
+
};
|
|
752
|
+
export type SearchLinkedInExperienceLevel = ClosedEnum<typeof SearchLinkedInExperienceLevel>;
|
|
753
|
+
export declare const SearchLinkedInWorkplaceType: {
|
|
754
|
+
readonly One: "1";
|
|
755
|
+
readonly Two: "2";
|
|
756
|
+
readonly Three: "3";
|
|
757
|
+
};
|
|
758
|
+
export type SearchLinkedInWorkplaceType = ClosedEnum<typeof SearchLinkedInWorkplaceType>;
|
|
759
|
+
export type SearchLinkedInRequest = {
|
|
760
|
+
/**
|
|
761
|
+
* Type of search to perform (required unless url is provided)
|
|
762
|
+
*/
|
|
763
|
+
category?: CategoryRequest | undefined;
|
|
764
|
+
/**
|
|
765
|
+
* LinkedIn search URL — category and filters are extracted automatically. Explicit params override URL-derived ones.
|
|
766
|
+
*/
|
|
767
|
+
url?: string | undefined;
|
|
768
|
+
/**
|
|
769
|
+
* Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "outreach automation"), AND to require both terms, OR for alternatives (e.g. CEO OR founder), NOT to exclude (e.g. manager NOT assistant), and parentheses to group (e.g. (CEO OR CTO) AND SaaS). Operators must be UPPERCASE. Without quotes, multi-word queries are treated as AND by default which may return overly broad results — use exact phrases with quotes for precise matching.
|
|
770
|
+
*/
|
|
771
|
+
keywords?: string | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* Sort order (posts & jobs)
|
|
774
|
+
*/
|
|
775
|
+
sortBy?: SearchLinkedInSortBy | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* Time filter (posts & jobs)
|
|
778
|
+
*/
|
|
779
|
+
datePosted?: SearchLinkedInDatePosted | undefined;
|
|
780
|
+
/**
|
|
781
|
+
* Media type filter (posts only)
|
|
782
|
+
*/
|
|
783
|
+
contentType?: SearchLinkedInContentType | undefined;
|
|
784
|
+
/**
|
|
785
|
+
* Author industry IDs (posts only, resolve via /search/parameters)
|
|
786
|
+
*/
|
|
787
|
+
authorIndustry?: Array<string> | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* Author company IDs (posts only, resolve via /search/parameters)
|
|
790
|
+
*/
|
|
791
|
+
authorCompany?: Array<string> | undefined;
|
|
792
|
+
/**
|
|
793
|
+
* Connection degree: F=1st, S=2nd, O=3rd+ (people only)
|
|
794
|
+
*/
|
|
795
|
+
connectionDegree?: Array<SearchLinkedInConnectionDegree> | undefined;
|
|
796
|
+
/**
|
|
797
|
+
* First name filter (people only)
|
|
798
|
+
*/
|
|
799
|
+
firstName?: string | undefined;
|
|
800
|
+
/**
|
|
801
|
+
* Last name filter (people only)
|
|
802
|
+
*/
|
|
803
|
+
lastName?: string | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* Job title filter, supports OR syntax (people only)
|
|
806
|
+
*/
|
|
807
|
+
title?: string | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* Profile URN to find connections of (people only)
|
|
810
|
+
*/
|
|
811
|
+
connectionOf?: string | undefined;
|
|
812
|
+
/**
|
|
813
|
+
* Profile language codes e.g. ['en','fr'] (people only)
|
|
814
|
+
*/
|
|
815
|
+
profileLanguage?: Array<string> | undefined;
|
|
816
|
+
/**
|
|
817
|
+
* School IDs (people only, resolve via /search/parameters)
|
|
818
|
+
*/
|
|
819
|
+
school?: Array<string> | undefined;
|
|
820
|
+
/**
|
|
821
|
+
* Geo IDs (people, companies, jobs -- resolve via /search/parameters)
|
|
822
|
+
*/
|
|
823
|
+
location?: Array<string> | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* Industry IDs (people, companies -- resolve via /search/parameters)
|
|
826
|
+
*/
|
|
827
|
+
industry?: Array<string> | undefined;
|
|
828
|
+
/**
|
|
829
|
+
* Current company IDs (people only, resolve via /search/parameters)
|
|
830
|
+
*/
|
|
831
|
+
currentCompany?: Array<string> | undefined;
|
|
832
|
+
/**
|
|
833
|
+
* Past company IDs (people only, resolve via /search/parameters)
|
|
834
|
+
*/
|
|
835
|
+
pastCompany?: Array<string> | undefined;
|
|
836
|
+
/**
|
|
837
|
+
* Company size: A=1-10, B=11-50, C=51-200, D=201-500, E=501-1K, F=1K-5K, G=5K-10K, H=10K+, I=self (companies only)
|
|
838
|
+
*/
|
|
839
|
+
companySize?: Array<SearchLinkedInCompanySize> | undefined;
|
|
840
|
+
/**
|
|
841
|
+
* Job type: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other (jobs only)
|
|
842
|
+
*/
|
|
843
|
+
jobType?: Array<SearchLinkedInJobType> | undefined;
|
|
844
|
+
/**
|
|
845
|
+
* Experience level: 1=Internship, 2=Entry, 3=Associate, 4=Mid-Senior, 5=Director, 6=Executive (jobs only)
|
|
846
|
+
*/
|
|
847
|
+
experienceLevel?: Array<SearchLinkedInExperienceLevel> | undefined;
|
|
848
|
+
/**
|
|
849
|
+
* Workplace type: 1=On-site, 2=Remote, 3=Hybrid (jobs only)
|
|
850
|
+
*/
|
|
851
|
+
workplaceType?: Array<SearchLinkedInWorkplaceType> | undefined;
|
|
852
|
+
/**
|
|
853
|
+
* Pagination offset (default 0)
|
|
854
|
+
*/
|
|
855
|
+
start?: number | undefined;
|
|
856
|
+
/**
|
|
857
|
+
* Results per page (default 10, max 50)
|
|
858
|
+
*/
|
|
859
|
+
count?: number | undefined;
|
|
860
|
+
};
|
|
861
|
+
export declare const SearchLinkedInCategoryResponseBody: {
|
|
862
|
+
readonly Posts: "posts";
|
|
863
|
+
readonly People: "people";
|
|
864
|
+
readonly Companies: "companies";
|
|
865
|
+
readonly Jobs: "jobs";
|
|
866
|
+
};
|
|
867
|
+
export type SearchLinkedInCategoryResponseBody = OpenEnum<typeof SearchLinkedInCategoryResponseBody>;
|
|
868
|
+
export declare const SearchLinkedInTypeJob: {
|
|
869
|
+
readonly Job: "JOB";
|
|
870
|
+
};
|
|
871
|
+
export type SearchLinkedInTypeJob = ClosedEnum<typeof SearchLinkedInTypeJob>;
|
|
872
|
+
export type SearchLinkedInItemsJob = {
|
|
873
|
+
type: SearchLinkedInTypeJob;
|
|
874
|
+
title: string;
|
|
875
|
+
company: string | null;
|
|
876
|
+
companyUrl: string | null;
|
|
877
|
+
companyLogo: string | null;
|
|
878
|
+
location: string | null;
|
|
879
|
+
workplaceType: string | null;
|
|
880
|
+
postedAt: string | null;
|
|
881
|
+
jobUrl: string;
|
|
882
|
+
listingId: string;
|
|
883
|
+
};
|
|
884
|
+
export declare const SearchLinkedInTypeCompany: {
|
|
885
|
+
readonly Company: "COMPANY";
|
|
886
|
+
};
|
|
887
|
+
export type SearchLinkedInTypeCompany = ClosedEnum<typeof SearchLinkedInTypeCompany>;
|
|
888
|
+
export type SearchLinkedInItemsCompany = {
|
|
889
|
+
type: SearchLinkedInTypeCompany;
|
|
890
|
+
name: string;
|
|
891
|
+
profileUrl: string;
|
|
892
|
+
summary: string | null;
|
|
893
|
+
industry: string | null;
|
|
894
|
+
location: string | null;
|
|
895
|
+
followersCount: number | null;
|
|
896
|
+
};
|
|
897
|
+
export declare const SearchLinkedInTypePeople: {
|
|
898
|
+
readonly People: "PEOPLE";
|
|
899
|
+
};
|
|
900
|
+
export type SearchLinkedInTypePeople = ClosedEnum<typeof SearchLinkedInTypePeople>;
|
|
901
|
+
export declare const SearchLinkedInNetworkDistance: {
|
|
902
|
+
readonly Distance1: "DISTANCE_1";
|
|
903
|
+
readonly Distance2: "DISTANCE_2";
|
|
904
|
+
readonly Distance3: "DISTANCE_3";
|
|
905
|
+
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
906
|
+
};
|
|
907
|
+
export type SearchLinkedInNetworkDistance = OpenEnum<typeof SearchLinkedInNetworkDistance>;
|
|
908
|
+
export type SearchLinkedInCurrentPosition = {
|
|
909
|
+
company: string | null;
|
|
910
|
+
role: string | null;
|
|
911
|
+
};
|
|
912
|
+
export type SearchLinkedInItemsPeople = {
|
|
913
|
+
type: SearchLinkedInTypePeople;
|
|
914
|
+
name: string;
|
|
915
|
+
profileUrl: string;
|
|
916
|
+
headline: string | null;
|
|
917
|
+
location: string | null;
|
|
918
|
+
profilePicture: string | null;
|
|
919
|
+
networkDistance: SearchLinkedInNetworkDistance | null;
|
|
920
|
+
currentPositions: Array<SearchLinkedInCurrentPosition>;
|
|
921
|
+
};
|
|
922
|
+
export declare const SearchLinkedInTypePost: {
|
|
923
|
+
readonly Post: "POST";
|
|
924
|
+
};
|
|
925
|
+
export type SearchLinkedInTypePost = ClosedEnum<typeof SearchLinkedInTypePost>;
|
|
926
|
+
export type SearchLinkedInAuthor = {
|
|
927
|
+
name: string;
|
|
928
|
+
profileUrl: string | null;
|
|
929
|
+
headline: string | null;
|
|
930
|
+
profilePicture: string | null;
|
|
931
|
+
isCompany: boolean;
|
|
932
|
+
};
|
|
933
|
+
export type SearchLinkedInItemsPost = {
|
|
934
|
+
type: SearchLinkedInTypePost;
|
|
935
|
+
postUrl: string;
|
|
936
|
+
text: string;
|
|
937
|
+
date: number;
|
|
938
|
+
likesCount: number;
|
|
939
|
+
commentsCount: number;
|
|
940
|
+
sharesCount: number;
|
|
941
|
+
postUrn: string;
|
|
942
|
+
postId: string;
|
|
943
|
+
author: SearchLinkedInAuthor;
|
|
944
|
+
isRepost: boolean;
|
|
945
|
+
};
|
|
946
|
+
export type SearchLinkedInItemsUnion = Array<SearchLinkedInItemsPost> | Array<SearchLinkedInItemsPeople> | Array<SearchLinkedInItemsCompany> | Array<SearchLinkedInItemsJob>;
|
|
947
|
+
export type SearchLinkedInPaging = {
|
|
948
|
+
start: number;
|
|
949
|
+
count: number;
|
|
950
|
+
total: number;
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* Search results for the specified category
|
|
954
|
+
*/
|
|
955
|
+
export type SearchLinkedInResponse = {
|
|
956
|
+
success: boolean;
|
|
957
|
+
category: SearchLinkedInCategoryResponseBody;
|
|
958
|
+
items: Array<SearchLinkedInItemsPost> | Array<SearchLinkedInItemsPeople> | Array<SearchLinkedInItemsCompany> | Array<SearchLinkedInItemsJob>;
|
|
959
|
+
paging: SearchLinkedInPaging;
|
|
960
|
+
hasMore: boolean;
|
|
961
|
+
/**
|
|
962
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
963
|
+
*/
|
|
964
|
+
creditsUsed: number;
|
|
965
|
+
/**
|
|
966
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
967
|
+
*/
|
|
968
|
+
retryAfter: number;
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
|
|
972
|
+
*/
|
|
973
|
+
export declare const SearchLinkedInPostsSortBy: {
|
|
974
|
+
readonly Relevance: "relevance";
|
|
975
|
+
readonly Date: "date";
|
|
976
|
+
};
|
|
977
|
+
/**
|
|
978
|
+
* Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
|
|
979
|
+
*/
|
|
980
|
+
export type SearchLinkedInPostsSortBy = ClosedEnum<typeof SearchLinkedInPostsSortBy>;
|
|
981
|
+
/**
|
|
982
|
+
* Filter by publication date. Useful for finding recent discussions or trending topics.
|
|
983
|
+
*/
|
|
984
|
+
export declare const SearchLinkedInPostsDatePosted: {
|
|
985
|
+
readonly Past24h: "past-24h";
|
|
986
|
+
readonly PastWeek: "past-week";
|
|
987
|
+
readonly PastMonth: "past-month";
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* Filter by publication date. Useful for finding recent discussions or trending topics.
|
|
991
|
+
*/
|
|
992
|
+
export type SearchLinkedInPostsDatePosted = ClosedEnum<typeof SearchLinkedInPostsDatePosted>;
|
|
993
|
+
/**
|
|
994
|
+
* Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
|
|
995
|
+
*/
|
|
996
|
+
export declare const SearchLinkedInPostsContentType: {
|
|
997
|
+
readonly Images: "images";
|
|
998
|
+
readonly Videos: "videos";
|
|
999
|
+
readonly Documents: "documents";
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
|
|
1003
|
+
*/
|
|
1004
|
+
export type SearchLinkedInPostsContentType = ClosedEnum<typeof SearchLinkedInPostsContentType>;
|
|
1005
|
+
export type SearchLinkedInPostsRequest = {
|
|
1006
|
+
/**
|
|
1007
|
+
* Search keywords (required). Searches across post text content. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "AI automation"), AND to require both terms, OR for alternatives (e.g. "growth hacking" OR "growth marketing"), NOT to exclude (e.g. outreach NOT webinar), and parentheses to group (e.g. (AI OR ML) AND "case study"). Operators must be UPPERCASE. Without quotes, multi-word queries are treated as AND by default which may return broad results.
|
|
1008
|
+
*/
|
|
1009
|
+
keywords: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1012
|
+
*/
|
|
1013
|
+
url?: string | undefined;
|
|
1014
|
+
/**
|
|
1015
|
+
* Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
|
|
1016
|
+
*/
|
|
1017
|
+
sortBy?: SearchLinkedInPostsSortBy | undefined;
|
|
1018
|
+
/**
|
|
1019
|
+
* Filter by publication date. Useful for finding recent discussions or trending topics.
|
|
1020
|
+
*/
|
|
1021
|
+
datePosted?: SearchLinkedInPostsDatePosted | undefined;
|
|
1022
|
+
/**
|
|
1023
|
+
* Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
|
|
1024
|
+
*/
|
|
1025
|
+
contentType?: SearchLinkedInPostsContentType | undefined;
|
|
1026
|
+
/**
|
|
1027
|
+
* Filter by the post author's industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'. Example: resolve 'Technology' to get industry IDs.
|
|
1028
|
+
*/
|
|
1029
|
+
authorIndustry?: Array<string> | undefined;
|
|
1030
|
+
/**
|
|
1031
|
+
* Filter by the post author's company. Array of LinkedIn company IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' to get company ID '1441'.
|
|
1032
|
+
*/
|
|
1033
|
+
authorCompany?: Array<string> | undefined;
|
|
1034
|
+
/**
|
|
1035
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results. Example: start=0 for page 1, start=10 for page 2 (with count=10).
|
|
1036
|
+
*/
|
|
1037
|
+
start?: number | undefined;
|
|
1038
|
+
/**
|
|
1039
|
+
* Results per page (default 10, max 50). Controls how many posts are returned per request.
|
|
1040
|
+
*/
|
|
1041
|
+
count?: number | undefined;
|
|
1042
|
+
};
|
|
1043
|
+
export declare const SearchLinkedInPostsCategory: {
|
|
1044
|
+
readonly Posts: "posts";
|
|
1045
|
+
};
|
|
1046
|
+
export type SearchLinkedInPostsCategory = ClosedEnum<typeof SearchLinkedInPostsCategory>;
|
|
1047
|
+
export declare const SearchLinkedInPostsType: {
|
|
1048
|
+
readonly Post: "POST";
|
|
1049
|
+
};
|
|
1050
|
+
export type SearchLinkedInPostsType = ClosedEnum<typeof SearchLinkedInPostsType>;
|
|
1051
|
+
export type SearchLinkedInPostsAuthor = {
|
|
1052
|
+
name: string;
|
|
1053
|
+
profileUrl: string | null;
|
|
1054
|
+
headline: string | null;
|
|
1055
|
+
profilePicture: string | null;
|
|
1056
|
+
isCompany: boolean;
|
|
1057
|
+
};
|
|
1058
|
+
export type SearchLinkedInPostsItem = {
|
|
1059
|
+
type: SearchLinkedInPostsType;
|
|
1060
|
+
postUrl: string;
|
|
1061
|
+
text: string;
|
|
1062
|
+
date: number;
|
|
1063
|
+
likesCount: number;
|
|
1064
|
+
commentsCount: number;
|
|
1065
|
+
sharesCount: number;
|
|
1066
|
+
postUrn: string;
|
|
1067
|
+
postId: string;
|
|
1068
|
+
author: SearchLinkedInPostsAuthor;
|
|
1069
|
+
isRepost: boolean;
|
|
1070
|
+
};
|
|
1071
|
+
export type SearchLinkedInPostsPaging = {
|
|
1072
|
+
start: number;
|
|
1073
|
+
count: number;
|
|
1074
|
+
total: number;
|
|
1075
|
+
};
|
|
1076
|
+
/**
|
|
1077
|
+
* List of LinkedIn posts matching the search criteria
|
|
1078
|
+
*/
|
|
1079
|
+
export type SearchLinkedInPostsResponse = {
|
|
1080
|
+
success: boolean;
|
|
1081
|
+
category: SearchLinkedInPostsCategory;
|
|
1082
|
+
items: Array<SearchLinkedInPostsItem>;
|
|
1083
|
+
paging: SearchLinkedInPostsPaging;
|
|
1084
|
+
hasMore: boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1087
|
+
*/
|
|
1088
|
+
creditsUsed: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1091
|
+
*/
|
|
1092
|
+
retryAfter: number;
|
|
1093
|
+
};
|
|
1094
|
+
export declare const SearchLinkedInPeopleConnectionDegree: {
|
|
1095
|
+
readonly F: "F";
|
|
1096
|
+
readonly S: "S";
|
|
1097
|
+
readonly O: "O";
|
|
1098
|
+
};
|
|
1099
|
+
export type SearchLinkedInPeopleConnectionDegree = ClosedEnum<typeof SearchLinkedInPeopleConnectionDegree>;
|
|
1100
|
+
export type SearchLinkedInPeopleRequest = {
|
|
1101
|
+
/**
|
|
1102
|
+
* Search keywords. Matches against name, headline, company, skills, and bio. Optional — you can search by filters alone (e.g. all 2nd-degree connections in Paris). Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "product manager"), AND to require both terms, OR for alternatives (e.g. CEO OR founder OR CTO), NOT to exclude (e.g. manager NOT assistant), and parentheses to group (e.g. (CEO OR CTO) AND SaaS). Operators must be UPPERCASE.
|
|
1103
|
+
*/
|
|
1104
|
+
keywords?: string | undefined;
|
|
1105
|
+
/**
|
|
1106
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1107
|
+
*/
|
|
1108
|
+
url?: string | undefined;
|
|
1109
|
+
/**
|
|
1110
|
+
* Filter by connection degree. 'F' = 1st degree (your direct connections), 'S' = 2nd degree (connections of connections), 'O' = 3rd+ degree and out of network. Accepts multiple values, e.g. ['F','S'] for 1st and 2nd degree.
|
|
1111
|
+
*/
|
|
1112
|
+
connectionDegree?: Array<SearchLinkedInPeopleConnectionDegree> | undefined;
|
|
1113
|
+
/**
|
|
1114
|
+
* Filter by first name. Exact match (case-insensitive).
|
|
1115
|
+
*/
|
|
1116
|
+
firstName?: string | undefined;
|
|
1117
|
+
/**
|
|
1118
|
+
* Filter by last name. Exact match (case-insensitive).
|
|
1119
|
+
*/
|
|
1120
|
+
lastName?: string | undefined;
|
|
1121
|
+
/**
|
|
1122
|
+
* Filter by current job title. Matches against the person's current position title. Supports boolean OR syntax with '|' separator. Example: 'CEO|CTO|Founder' finds people with any of these titles.
|
|
1123
|
+
*/
|
|
1124
|
+
title?: string | undefined;
|
|
1125
|
+
/**
|
|
1126
|
+
* Find connections of a specific person. Pass the person's LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAABZ0Qo4B...'). Returns people who are connected to this person.
|
|
1127
|
+
*/
|
|
1128
|
+
connectionOf?: string | undefined;
|
|
1129
|
+
/**
|
|
1130
|
+
* Filter by LinkedIn profile language. Array of ISO 639-1 codes. Example: ['en'] for English profiles, ['en','fr'] for English or French profiles.
|
|
1131
|
+
*/
|
|
1132
|
+
profileLanguage?: Array<string> | undefined;
|
|
1133
|
+
/**
|
|
1134
|
+
* Filter by school/university. Array of LinkedIn school IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='SCHOOL'. Example: resolve 'Harvard' to get school IDs.
|
|
1135
|
+
*/
|
|
1136
|
+
school?: Array<string> | undefined;
|
|
1137
|
+
/**
|
|
1138
|
+
* Filter by geographic location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'. Example: resolve 'San Francisco' → '102277331'.
|
|
1139
|
+
*/
|
|
1140
|
+
location?: Array<string> | undefined;
|
|
1141
|
+
/**
|
|
1142
|
+
* Filter by industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
|
|
1143
|
+
*/
|
|
1144
|
+
industry?: Array<string> | undefined;
|
|
1145
|
+
/**
|
|
1146
|
+
* Filter by current employer. Array of LinkedIn company IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' → '1441'.
|
|
1147
|
+
*/
|
|
1148
|
+
currentCompany?: Array<string> | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* Filter by past employer. Array of LinkedIn company IDs. Finds people who previously worked at these companies.
|
|
1151
|
+
*/
|
|
1152
|
+
pastCompany?: Array<string> | undefined;
|
|
1153
|
+
/**
|
|
1154
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
1155
|
+
*/
|
|
1156
|
+
start?: number | undefined;
|
|
1157
|
+
/**
|
|
1158
|
+
* Results per page (default 10, max 50).
|
|
1159
|
+
*/
|
|
1160
|
+
count?: number | undefined;
|
|
1161
|
+
};
|
|
1162
|
+
export declare const SearchLinkedInPeopleCategory: {
|
|
1163
|
+
readonly People: "people";
|
|
1164
|
+
};
|
|
1165
|
+
export type SearchLinkedInPeopleCategory = ClosedEnum<typeof SearchLinkedInPeopleCategory>;
|
|
1166
|
+
export declare const SearchLinkedInPeopleType: {
|
|
1167
|
+
readonly People: "PEOPLE";
|
|
1168
|
+
};
|
|
1169
|
+
export type SearchLinkedInPeopleType = ClosedEnum<typeof SearchLinkedInPeopleType>;
|
|
1170
|
+
export declare const SearchLinkedInPeopleNetworkDistance: {
|
|
1171
|
+
readonly Distance1: "DISTANCE_1";
|
|
1172
|
+
readonly Distance2: "DISTANCE_2";
|
|
1173
|
+
readonly Distance3: "DISTANCE_3";
|
|
1174
|
+
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
1175
|
+
};
|
|
1176
|
+
export type SearchLinkedInPeopleNetworkDistance = OpenEnum<typeof SearchLinkedInPeopleNetworkDistance>;
|
|
1177
|
+
export type SearchLinkedInPeopleCurrentPosition = {
|
|
1178
|
+
company: string | null;
|
|
1179
|
+
role: string | null;
|
|
1180
|
+
};
|
|
1181
|
+
export type SearchLinkedInPeopleItem = {
|
|
1182
|
+
type: SearchLinkedInPeopleType;
|
|
1183
|
+
name: string;
|
|
1184
|
+
profileUrl: string;
|
|
1185
|
+
headline: string | null;
|
|
1186
|
+
location: string | null;
|
|
1187
|
+
profilePicture: string | null;
|
|
1188
|
+
networkDistance: SearchLinkedInPeopleNetworkDistance | null;
|
|
1189
|
+
currentPositions: Array<SearchLinkedInPeopleCurrentPosition>;
|
|
1190
|
+
};
|
|
1191
|
+
export type SearchLinkedInPeoplePaging = {
|
|
1192
|
+
start: number;
|
|
1193
|
+
count: number;
|
|
1194
|
+
total: number;
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* List of LinkedIn people matching the search criteria
|
|
1198
|
+
*/
|
|
1199
|
+
export type SearchLinkedInPeopleResponse = {
|
|
1200
|
+
success: boolean;
|
|
1201
|
+
category: SearchLinkedInPeopleCategory;
|
|
1202
|
+
items: Array<SearchLinkedInPeopleItem>;
|
|
1203
|
+
paging: SearchLinkedInPeoplePaging;
|
|
1204
|
+
hasMore: boolean;
|
|
1205
|
+
/**
|
|
1206
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1207
|
+
*/
|
|
1208
|
+
creditsUsed: number;
|
|
1209
|
+
/**
|
|
1210
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1211
|
+
*/
|
|
1212
|
+
retryAfter: number;
|
|
1213
|
+
};
|
|
1214
|
+
export declare const SearchLinkedInCompaniesCompanySize: {
|
|
1215
|
+
readonly A: "A";
|
|
1216
|
+
readonly B: "B";
|
|
1217
|
+
readonly C: "C";
|
|
1218
|
+
readonly D: "D";
|
|
1219
|
+
readonly E: "E";
|
|
1220
|
+
readonly F: "F";
|
|
1221
|
+
readonly G: "G";
|
|
1222
|
+
readonly H: "H";
|
|
1223
|
+
readonly I: "I";
|
|
1224
|
+
};
|
|
1225
|
+
export type SearchLinkedInCompaniesCompanySize = ClosedEnum<typeof SearchLinkedInCompaniesCompanySize>;
|
|
1226
|
+
export type SearchLinkedInCompaniesRequest = {
|
|
1227
|
+
/**
|
|
1228
|
+
* Search keywords. Matches against company name, description, and specialties. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "artificial intelligence"), AND to require both terms, OR for alternatives (e.g. SaaS OR "cloud computing"), NOT to exclude (e.g. consulting NOT staffing), and parentheses to group (e.g. (AI OR ML) AND healthcare). Operators must be UPPERCASE.
|
|
1229
|
+
*/
|
|
1230
|
+
keywords?: string | undefined;
|
|
1231
|
+
/**
|
|
1232
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1233
|
+
*/
|
|
1234
|
+
url?: string | undefined;
|
|
1235
|
+
/**
|
|
1236
|
+
* Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
|
|
1237
|
+
*/
|
|
1238
|
+
location?: Array<string> | undefined;
|
|
1239
|
+
/**
|
|
1240
|
+
* Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
|
|
1241
|
+
*/
|
|
1242
|
+
industry?: Array<string> | undefined;
|
|
1243
|
+
/**
|
|
1244
|
+
* Filter by employee count. Multiple values accepted (OR logic). Codes: A=1-10 employees, B=11-50, C=51-200, D=201-500, E=501-1,000, F=1,001-5,000, G=5,001-10,000, H=10,001+, I=Self-employed.
|
|
1245
|
+
*/
|
|
1246
|
+
companySize?: Array<SearchLinkedInCompaniesCompanySize> | undefined;
|
|
1247
|
+
/**
|
|
1248
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
1249
|
+
*/
|
|
1250
|
+
start?: number | undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* Results per page (default 10, max 50).
|
|
1253
|
+
*/
|
|
1254
|
+
count?: number | undefined;
|
|
1255
|
+
};
|
|
1256
|
+
export declare const SearchLinkedInCompaniesCategory: {
|
|
1257
|
+
readonly Companies: "companies";
|
|
1258
|
+
};
|
|
1259
|
+
export type SearchLinkedInCompaniesCategory = ClosedEnum<typeof SearchLinkedInCompaniesCategory>;
|
|
1260
|
+
export declare const SearchLinkedInCompaniesType: {
|
|
1261
|
+
readonly Company: "COMPANY";
|
|
1262
|
+
};
|
|
1263
|
+
export type SearchLinkedInCompaniesType = ClosedEnum<typeof SearchLinkedInCompaniesType>;
|
|
1264
|
+
export type SearchLinkedInCompaniesItem = {
|
|
1265
|
+
type: SearchLinkedInCompaniesType;
|
|
1266
|
+
name: string;
|
|
1267
|
+
profileUrl: string;
|
|
1268
|
+
summary: string | null;
|
|
1269
|
+
industry: string | null;
|
|
1270
|
+
location: string | null;
|
|
1271
|
+
followersCount: number | null;
|
|
1272
|
+
};
|
|
1273
|
+
export type SearchLinkedInCompaniesPaging = {
|
|
1274
|
+
start: number;
|
|
1275
|
+
count: number;
|
|
1276
|
+
total: number;
|
|
1277
|
+
};
|
|
1278
|
+
/**
|
|
1279
|
+
* List of LinkedIn companies matching the search criteria
|
|
1280
|
+
*/
|
|
1281
|
+
export type SearchLinkedInCompaniesResponse = {
|
|
1282
|
+
success: boolean;
|
|
1283
|
+
category: SearchLinkedInCompaniesCategory;
|
|
1284
|
+
items: Array<SearchLinkedInCompaniesItem>;
|
|
1285
|
+
paging: SearchLinkedInCompaniesPaging;
|
|
1286
|
+
hasMore: boolean;
|
|
1287
|
+
/**
|
|
1288
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1289
|
+
*/
|
|
1290
|
+
creditsUsed: number;
|
|
1291
|
+
/**
|
|
1292
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1293
|
+
*/
|
|
1294
|
+
retryAfter: number;
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
1298
|
+
*/
|
|
1299
|
+
export declare const SearchLinkedInJobsDatePosted: {
|
|
1300
|
+
readonly Past24h: "past-24h";
|
|
1301
|
+
readonly PastWeek: "past-week";
|
|
1302
|
+
readonly PastMonth: "past-month";
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
1306
|
+
*/
|
|
1307
|
+
export type SearchLinkedInJobsDatePosted = ClosedEnum<typeof SearchLinkedInJobsDatePosted>;
|
|
1308
|
+
/**
|
|
1309
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
1310
|
+
*/
|
|
1311
|
+
export declare const SearchLinkedInJobsSortBy: {
|
|
1312
|
+
readonly Relevance: "relevance";
|
|
1313
|
+
readonly Date: "date";
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
1317
|
+
*/
|
|
1318
|
+
export type SearchLinkedInJobsSortBy = ClosedEnum<typeof SearchLinkedInJobsSortBy>;
|
|
1319
|
+
export declare const SearchLinkedInJobsJobType: {
|
|
1320
|
+
readonly F: "F";
|
|
1321
|
+
readonly P: "P";
|
|
1322
|
+
readonly C: "C";
|
|
1323
|
+
readonly T: "T";
|
|
1324
|
+
readonly I: "I";
|
|
1325
|
+
readonly V: "V";
|
|
1326
|
+
readonly O: "O";
|
|
1327
|
+
};
|
|
1328
|
+
export type SearchLinkedInJobsJobType = ClosedEnum<typeof SearchLinkedInJobsJobType>;
|
|
1329
|
+
export declare const SearchLinkedInJobsExperienceLevel: {
|
|
1330
|
+
readonly One: "1";
|
|
1331
|
+
readonly Two: "2";
|
|
1332
|
+
readonly Three: "3";
|
|
1333
|
+
readonly Four: "4";
|
|
1334
|
+
readonly Five: "5";
|
|
1335
|
+
readonly Six: "6";
|
|
1336
|
+
};
|
|
1337
|
+
export type SearchLinkedInJobsExperienceLevel = ClosedEnum<typeof SearchLinkedInJobsExperienceLevel>;
|
|
1338
|
+
export declare const SearchLinkedInJobsWorkplaceType: {
|
|
1339
|
+
readonly One: "1";
|
|
1340
|
+
readonly Two: "2";
|
|
1341
|
+
readonly Three: "3";
|
|
1342
|
+
};
|
|
1343
|
+
export type SearchLinkedInJobsWorkplaceType = ClosedEnum<typeof SearchLinkedInJobsWorkplaceType>;
|
|
1344
|
+
export type SearchLinkedInJobsRequest = {
|
|
1345
|
+
/**
|
|
1346
|
+
* Search keywords. Matches against job title, company name, and description. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "frontend engineer"), AND to require both terms, OR for alternatives (e.g. React OR Vue OR Angular), NOT to exclude (e.g. engineer NOT intern), and parentheses to group (e.g. (React OR Vue) AND "senior engineer"). Operators must be UPPERCASE.
|
|
1347
|
+
*/
|
|
1348
|
+
keywords?: string | undefined;
|
|
1349
|
+
/**
|
|
1350
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1351
|
+
*/
|
|
1352
|
+
url?: string | undefined;
|
|
1353
|
+
/**
|
|
1354
|
+
* Filter by job location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
|
|
1355
|
+
*/
|
|
1356
|
+
location?: Array<string> | undefined;
|
|
1357
|
+
/**
|
|
1358
|
+
* Filter by posting date. Useful for finding recently posted jobs.
|
|
1359
|
+
*/
|
|
1360
|
+
datePosted?: SearchLinkedInJobsDatePosted | undefined;
|
|
1361
|
+
/**
|
|
1362
|
+
* Sort order. 'relevance' (default) or 'date' (most recent first).
|
|
1363
|
+
*/
|
|
1364
|
+
sortBy?: SearchLinkedInJobsSortBy | undefined;
|
|
1365
|
+
/**
|
|
1366
|
+
* Filter by employment type. Multiple values accepted (OR logic). Codes: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other.
|
|
1367
|
+
*/
|
|
1368
|
+
jobType?: Array<SearchLinkedInJobsJobType> | undefined;
|
|
1369
|
+
/**
|
|
1370
|
+
* Filter by seniority. Multiple values accepted (OR logic). Codes: 1=Internship, 2=Entry level, 3=Associate, 4=Mid-Senior level, 5=Director, 6=Executive.
|
|
1371
|
+
*/
|
|
1372
|
+
experienceLevel?: Array<SearchLinkedInJobsExperienceLevel> | undefined;
|
|
1373
|
+
/**
|
|
1374
|
+
* Filter by workplace type. Multiple values accepted (OR logic). Codes: 1=On-site, 2=Remote, 3=Hybrid.
|
|
1375
|
+
*/
|
|
1376
|
+
workplaceType?: Array<SearchLinkedInJobsWorkplaceType> | undefined;
|
|
1377
|
+
/**
|
|
1378
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
1379
|
+
*/
|
|
1380
|
+
start?: number | undefined;
|
|
1381
|
+
/**
|
|
1382
|
+
* Results per page (default 10, max 50).
|
|
1383
|
+
*/
|
|
1384
|
+
count?: number | undefined;
|
|
1385
|
+
};
|
|
1386
|
+
export declare const SearchLinkedInJobsCategory: {
|
|
1387
|
+
readonly Jobs: "jobs";
|
|
1388
|
+
};
|
|
1389
|
+
export type SearchLinkedInJobsCategory = ClosedEnum<typeof SearchLinkedInJobsCategory>;
|
|
1390
|
+
export declare const SearchLinkedInJobsType: {
|
|
1391
|
+
readonly Job: "JOB";
|
|
1392
|
+
};
|
|
1393
|
+
export type SearchLinkedInJobsType = ClosedEnum<typeof SearchLinkedInJobsType>;
|
|
1394
|
+
export type SearchLinkedInJobsItem = {
|
|
1395
|
+
type: SearchLinkedInJobsType;
|
|
1396
|
+
title: string;
|
|
1397
|
+
company: string | null;
|
|
1398
|
+
companyUrl: string | null;
|
|
1399
|
+
companyLogo: string | null;
|
|
1400
|
+
location: string | null;
|
|
1401
|
+
workplaceType: string | null;
|
|
1402
|
+
postedAt: string | null;
|
|
1403
|
+
jobUrl: string;
|
|
1404
|
+
listingId: string;
|
|
1405
|
+
};
|
|
1406
|
+
export type SearchLinkedInJobsPaging = {
|
|
1407
|
+
start: number;
|
|
1408
|
+
count: number;
|
|
1409
|
+
total: number;
|
|
1410
|
+
};
|
|
1411
|
+
/**
|
|
1412
|
+
* List of LinkedIn job listings matching the search criteria
|
|
1413
|
+
*/
|
|
1414
|
+
export type SearchLinkedInJobsResponse = {
|
|
1415
|
+
success: boolean;
|
|
1416
|
+
category: SearchLinkedInJobsCategory;
|
|
1417
|
+
items: Array<SearchLinkedInJobsItem>;
|
|
1418
|
+
paging: SearchLinkedInJobsPaging;
|
|
1419
|
+
hasMore: boolean;
|
|
1420
|
+
/**
|
|
1421
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1422
|
+
*/
|
|
1423
|
+
creditsUsed: number;
|
|
1424
|
+
/**
|
|
1425
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1426
|
+
*/
|
|
1427
|
+
retryAfter: number;
|
|
1428
|
+
};
|
|
1429
|
+
export type SearchLinkedInByUrlRequest = {
|
|
1430
|
+
/**
|
|
1431
|
+
* A LinkedIn search URL. The endpoint automatically extracts the category, keywords, and all filters from the URL. Example: 'https://www.linkedin.com/search/results/people/?keywords=engineer&network=%5B%22S%22%5D'
|
|
1432
|
+
*/
|
|
1433
|
+
url: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* Override pagination offset. If not provided, uses the page from the URL (or defaults to 0).
|
|
1436
|
+
*/
|
|
1437
|
+
start?: number | undefined;
|
|
1438
|
+
/**
|
|
1439
|
+
* Override results per page (default 10, max 50).
|
|
1440
|
+
*/
|
|
1441
|
+
count?: number | undefined;
|
|
1442
|
+
};
|
|
1443
|
+
export declare const SearchLinkedInByUrlCategory: {
|
|
1444
|
+
readonly Posts: "posts";
|
|
1445
|
+
readonly People: "people";
|
|
1446
|
+
readonly Companies: "companies";
|
|
1447
|
+
readonly Jobs: "jobs";
|
|
1448
|
+
};
|
|
1449
|
+
export type SearchLinkedInByUrlCategory = OpenEnum<typeof SearchLinkedInByUrlCategory>;
|
|
1450
|
+
export declare const SearchLinkedInByUrlTypeJob: {
|
|
1451
|
+
readonly Job: "JOB";
|
|
1452
|
+
};
|
|
1453
|
+
export type SearchLinkedInByUrlTypeJob = ClosedEnum<typeof SearchLinkedInByUrlTypeJob>;
|
|
1454
|
+
export type SearchLinkedInByUrlItemsJob = {
|
|
1455
|
+
type: SearchLinkedInByUrlTypeJob;
|
|
1456
|
+
title: string;
|
|
1457
|
+
company: string | null;
|
|
1458
|
+
companyUrl: string | null;
|
|
1459
|
+
companyLogo: string | null;
|
|
1460
|
+
location: string | null;
|
|
1461
|
+
workplaceType: string | null;
|
|
1462
|
+
postedAt: string | null;
|
|
1463
|
+
jobUrl: string;
|
|
1464
|
+
listingId: string;
|
|
1465
|
+
};
|
|
1466
|
+
export declare const SearchLinkedInByUrlTypeCompany: {
|
|
1467
|
+
readonly Company: "COMPANY";
|
|
1468
|
+
};
|
|
1469
|
+
export type SearchLinkedInByUrlTypeCompany = ClosedEnum<typeof SearchLinkedInByUrlTypeCompany>;
|
|
1470
|
+
export type SearchLinkedInByUrlItemsCompany = {
|
|
1471
|
+
type: SearchLinkedInByUrlTypeCompany;
|
|
1472
|
+
name: string;
|
|
1473
|
+
profileUrl: string;
|
|
1474
|
+
summary: string | null;
|
|
1475
|
+
industry: string | null;
|
|
1476
|
+
location: string | null;
|
|
1477
|
+
followersCount: number | null;
|
|
1478
|
+
};
|
|
1479
|
+
export declare const SearchLinkedInByUrlTypePeople: {
|
|
1480
|
+
readonly People: "PEOPLE";
|
|
1481
|
+
};
|
|
1482
|
+
export type SearchLinkedInByUrlTypePeople = ClosedEnum<typeof SearchLinkedInByUrlTypePeople>;
|
|
1483
|
+
export declare const SearchLinkedInByUrlNetworkDistance: {
|
|
1484
|
+
readonly Distance1: "DISTANCE_1";
|
|
1485
|
+
readonly Distance2: "DISTANCE_2";
|
|
1486
|
+
readonly Distance3: "DISTANCE_3";
|
|
1487
|
+
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
1488
|
+
};
|
|
1489
|
+
export type SearchLinkedInByUrlNetworkDistance = OpenEnum<typeof SearchLinkedInByUrlNetworkDistance>;
|
|
1490
|
+
export type SearchLinkedInByUrlCurrentPosition = {
|
|
1491
|
+
company: string | null;
|
|
1492
|
+
role: string | null;
|
|
1493
|
+
};
|
|
1494
|
+
export type SearchLinkedInByUrlItemsPeople = {
|
|
1495
|
+
type: SearchLinkedInByUrlTypePeople;
|
|
1496
|
+
name: string;
|
|
1497
|
+
profileUrl: string;
|
|
1498
|
+
headline: string | null;
|
|
1499
|
+
location: string | null;
|
|
1500
|
+
profilePicture: string | null;
|
|
1501
|
+
networkDistance: SearchLinkedInByUrlNetworkDistance | null;
|
|
1502
|
+
currentPositions: Array<SearchLinkedInByUrlCurrentPosition>;
|
|
1503
|
+
};
|
|
1504
|
+
export declare const SearchLinkedInByUrlTypePost: {
|
|
1505
|
+
readonly Post: "POST";
|
|
1506
|
+
};
|
|
1507
|
+
export type SearchLinkedInByUrlTypePost = ClosedEnum<typeof SearchLinkedInByUrlTypePost>;
|
|
1508
|
+
export type SearchLinkedInByUrlAuthor = {
|
|
1509
|
+
name: string;
|
|
1510
|
+
profileUrl: string | null;
|
|
1511
|
+
headline: string | null;
|
|
1512
|
+
profilePicture: string | null;
|
|
1513
|
+
isCompany: boolean;
|
|
1514
|
+
};
|
|
1515
|
+
export type SearchLinkedInByUrlItemsPost = {
|
|
1516
|
+
type: SearchLinkedInByUrlTypePost;
|
|
1517
|
+
postUrl: string;
|
|
1518
|
+
text: string;
|
|
1519
|
+
date: number;
|
|
1520
|
+
likesCount: number;
|
|
1521
|
+
commentsCount: number;
|
|
1522
|
+
sharesCount: number;
|
|
1523
|
+
postUrn: string;
|
|
1524
|
+
postId: string;
|
|
1525
|
+
author: SearchLinkedInByUrlAuthor;
|
|
1526
|
+
isRepost: boolean;
|
|
1527
|
+
};
|
|
1528
|
+
export type SearchLinkedInByUrlItemsUnion = Array<SearchLinkedInByUrlItemsPost> | Array<SearchLinkedInByUrlItemsPeople> | Array<SearchLinkedInByUrlItemsCompany> | Array<SearchLinkedInByUrlItemsJob>;
|
|
1529
|
+
export type SearchLinkedInByUrlPaging = {
|
|
1530
|
+
start: number;
|
|
1531
|
+
count: number;
|
|
1532
|
+
total: number;
|
|
1533
|
+
};
|
|
1534
|
+
/**
|
|
1535
|
+
* Search results parsed from the LinkedIn URL
|
|
1536
|
+
*/
|
|
1537
|
+
export type SearchLinkedInByUrlResponse = {
|
|
1538
|
+
success: boolean;
|
|
1539
|
+
category: SearchLinkedInByUrlCategory;
|
|
1540
|
+
items: Array<SearchLinkedInByUrlItemsPost> | Array<SearchLinkedInByUrlItemsPeople> | Array<SearchLinkedInByUrlItemsCompany> | Array<SearchLinkedInByUrlItemsJob>;
|
|
1541
|
+
paging: SearchLinkedInByUrlPaging;
|
|
1542
|
+
hasMore: boolean;
|
|
1543
|
+
/**
|
|
1544
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1545
|
+
*/
|
|
1546
|
+
creditsUsed: number;
|
|
1547
|
+
/**
|
|
1548
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1549
|
+
*/
|
|
1550
|
+
retryAfter: number;
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* Parameter type to resolve
|
|
1554
|
+
*/
|
|
1555
|
+
export declare const ResolveLinkedInSearchParametersType: {
|
|
1556
|
+
readonly Geo: "GEO";
|
|
1557
|
+
readonly Company: "COMPANY";
|
|
1558
|
+
readonly Industry: "INDUSTRY";
|
|
1559
|
+
readonly School: "SCHOOL";
|
|
1560
|
+
readonly Connections: "CONNECTIONS";
|
|
1561
|
+
readonly People: "PEOPLE";
|
|
1562
|
+
};
|
|
1563
|
+
/**
|
|
1564
|
+
* Parameter type to resolve
|
|
1565
|
+
*/
|
|
1566
|
+
export type ResolveLinkedInSearchParametersType = ClosedEnum<typeof ResolveLinkedInSearchParametersType>;
|
|
1567
|
+
export type ResolveLinkedInSearchParametersRequest = {
|
|
1568
|
+
/**
|
|
1569
|
+
* Parameter type to resolve
|
|
1570
|
+
*/
|
|
1571
|
+
type: ResolveLinkedInSearchParametersType;
|
|
1572
|
+
/**
|
|
1573
|
+
* Text to resolve into LinkedIn IDs
|
|
1574
|
+
*/
|
|
1575
|
+
keywords: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* Max results (default 10, max 50)
|
|
1578
|
+
*/
|
|
1579
|
+
limit?: number | undefined;
|
|
1580
|
+
};
|
|
1581
|
+
export type ResolveLinkedInSearchParametersItem = {
|
|
1582
|
+
id: string;
|
|
1583
|
+
title: string;
|
|
1584
|
+
type: string;
|
|
1585
|
+
};
|
|
1586
|
+
/**
|
|
1587
|
+
* Resolved search parameter items
|
|
1588
|
+
*/
|
|
1589
|
+
export type ResolveLinkedInSearchParametersResponse = {
|
|
1590
|
+
success: boolean;
|
|
1591
|
+
items: Array<ResolveLinkedInSearchParametersItem>;
|
|
1592
|
+
count: number;
|
|
1593
|
+
/**
|
|
1594
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1595
|
+
*/
|
|
1596
|
+
creditsUsed: number;
|
|
1597
|
+
/**
|
|
1598
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1599
|
+
*/
|
|
1600
|
+
retryAfter: number;
|
|
1601
|
+
};
|
|
1602
|
+
export type ConnectLinkedInProfileRequest = {
|
|
1603
|
+
/**
|
|
1604
|
+
* LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/username') or profile URN (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B6pt58d4FVmts1F7TPi4D1-uL1fw')
|
|
1605
|
+
*/
|
|
1606
|
+
profile: string;
|
|
1607
|
+
/**
|
|
1608
|
+
* Campaign identifier for deduplication. Dedup by profile automatically.
|
|
1609
|
+
*/
|
|
1610
|
+
campaignSlug?: string | undefined;
|
|
1611
|
+
/**
|
|
1612
|
+
* Deprecated. Use campaignSlug only.
|
|
1613
|
+
*
|
|
1614
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1615
|
+
*/
|
|
1616
|
+
actionSlug?: string | undefined;
|
|
1617
|
+
};
|
|
1618
|
+
/**
|
|
1619
|
+
* Connection request sent successfully
|
|
1620
|
+
*/
|
|
1621
|
+
export type ConnectLinkedInProfileResponse = {
|
|
1622
|
+
success: boolean;
|
|
1623
|
+
message: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* True if a connection request was already successfully sent to this profile this week
|
|
1626
|
+
*/
|
|
1627
|
+
duplicate?: boolean | undefined;
|
|
1628
|
+
/**
|
|
1629
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1630
|
+
*/
|
|
1631
|
+
creditsUsed: number;
|
|
1632
|
+
/**
|
|
1633
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1634
|
+
*/
|
|
1635
|
+
retryAfter: number;
|
|
1636
|
+
};
|
|
1637
|
+
export type ListLinkedInInvitationsRequest = {
|
|
1638
|
+
/**
|
|
1639
|
+
* Pagination offset (0-based)
|
|
1640
|
+
*/
|
|
1641
|
+
start?: number | undefined;
|
|
1642
|
+
/**
|
|
1643
|
+
* Number of invitations to return (max 100)
|
|
1644
|
+
*/
|
|
1645
|
+
count?: number | undefined;
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* Profile info of the person who sent the invitation
|
|
1649
|
+
*/
|
|
1650
|
+
export type FromMember = {
|
|
1651
|
+
name?: string | null | undefined;
|
|
1652
|
+
headline?: string | null | undefined;
|
|
1653
|
+
profileUrl?: string | null | undefined;
|
|
1654
|
+
profilePicture?: string | null | undefined;
|
|
1655
|
+
};
|
|
1656
|
+
export type Invitation = {
|
|
1657
|
+
/**
|
|
1658
|
+
* Invitation ID needed for accepting
|
|
1659
|
+
*/
|
|
1660
|
+
invitationId: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* Shared secret needed for accepting
|
|
1663
|
+
*/
|
|
1664
|
+
sharedSecret: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Full invitation URN
|
|
1667
|
+
*/
|
|
1668
|
+
entityUrn: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* ISO 8601 timestamp when invitation was sent
|
|
1671
|
+
*/
|
|
1672
|
+
sentAt?: string | null | undefined;
|
|
1673
|
+
/**
|
|
1674
|
+
* Custom message included with the invitation
|
|
1675
|
+
*/
|
|
1676
|
+
message?: string | null | undefined;
|
|
1677
|
+
/**
|
|
1678
|
+
* Sender's profile ID (pass to accept endpoint)
|
|
1679
|
+
*/
|
|
1680
|
+
senderProfileId?: string | null | undefined;
|
|
1681
|
+
/**
|
|
1682
|
+
* Sender's first name (pass to accept endpoint)
|
|
1683
|
+
*/
|
|
1684
|
+
senderFirstName?: string | null | undefined;
|
|
1685
|
+
/**
|
|
1686
|
+
* Sender's last name (pass to accept endpoint)
|
|
1687
|
+
*/
|
|
1688
|
+
senderLastName?: string | null | undefined;
|
|
1689
|
+
/**
|
|
1690
|
+
* Profile info of the person who sent the invitation
|
|
1691
|
+
*/
|
|
1692
|
+
fromMember?: FromMember | null | undefined;
|
|
1693
|
+
};
|
|
1694
|
+
/**
|
|
1695
|
+
* List of pending invitations
|
|
1696
|
+
*/
|
|
1697
|
+
export type ListLinkedInInvitationsResponse = {
|
|
1698
|
+
success: boolean;
|
|
1699
|
+
invitations: Array<Invitation>;
|
|
1700
|
+
/**
|
|
1701
|
+
* Total number of pending invitations
|
|
1702
|
+
*/
|
|
1703
|
+
total: number;
|
|
1704
|
+
start: number;
|
|
1705
|
+
count: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1708
|
+
*/
|
|
1709
|
+
creditsUsed: number;
|
|
1710
|
+
/**
|
|
1711
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1712
|
+
*/
|
|
1713
|
+
retryAfter: number;
|
|
1714
|
+
};
|
|
1715
|
+
export type AcceptLinkedInInvitationRequest = {
|
|
1716
|
+
/**
|
|
1717
|
+
* Invitation ID (from the list invitations endpoint)
|
|
1718
|
+
*/
|
|
1719
|
+
invitationId: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* Shared secret / validation token (from the list invitations endpoint)
|
|
1722
|
+
*/
|
|
1723
|
+
sharedSecret: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* Sender's profile ID (from the list invitations endpoint, e.g. 'ACoAAB6pI5sB...'). Recommended for reliability.
|
|
1726
|
+
*/
|
|
1727
|
+
senderProfileId?: string | undefined;
|
|
1728
|
+
/**
|
|
1729
|
+
* Sender's first name (from the list invitations endpoint). Recommended for reliability.
|
|
1730
|
+
*/
|
|
1731
|
+
firstName?: string | undefined;
|
|
1732
|
+
/**
|
|
1733
|
+
* Sender's last name (from the list invitations endpoint). Recommended for reliability.
|
|
1734
|
+
*/
|
|
1735
|
+
lastName?: string | undefined;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* Invitation accepted successfully
|
|
1739
|
+
*/
|
|
1740
|
+
export type AcceptLinkedInInvitationResponse = {
|
|
1741
|
+
success: boolean;
|
|
1742
|
+
message: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1745
|
+
*/
|
|
1746
|
+
creditsUsed: number;
|
|
1747
|
+
/**
|
|
1748
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1749
|
+
*/
|
|
1750
|
+
retryAfter: number;
|
|
1751
|
+
};
|
|
1752
|
+
export type SendLinkedInMessageRequest = {
|
|
1753
|
+
/**
|
|
1754
|
+
* LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/username') or profile URN (e.g., 'urn:li:member:123456')
|
|
1755
|
+
*/
|
|
1756
|
+
profile: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Message content to send
|
|
1759
|
+
*/
|
|
1760
|
+
message: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* Campaign identifier for deduplication. Dedup by profile automatically.
|
|
1763
|
+
*/
|
|
1764
|
+
campaignSlug?: string | undefined;
|
|
1765
|
+
/**
|
|
1766
|
+
* Deprecated. Use campaignSlug only.
|
|
1767
|
+
*
|
|
1768
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1769
|
+
*/
|
|
1770
|
+
actionSlug?: string | undefined;
|
|
1771
|
+
};
|
|
1772
|
+
/**
|
|
1773
|
+
* Message sent successfully
|
|
1774
|
+
*/
|
|
1775
|
+
export type SendLinkedInMessageResponse = {
|
|
1776
|
+
success: boolean;
|
|
1777
|
+
messageId: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1780
|
+
*/
|
|
1781
|
+
duplicate?: boolean | undefined;
|
|
1782
|
+
/**
|
|
1783
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1784
|
+
*/
|
|
1785
|
+
creditsUsed: number;
|
|
1786
|
+
/**
|
|
1787
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1788
|
+
*/
|
|
1789
|
+
retryAfter: number;
|
|
1790
|
+
};
|
|
1791
|
+
/** @internal */
|
|
1792
|
+
export type CollectLinkedInLikesRequest$Outbound = {
|
|
1793
|
+
postUrl: string;
|
|
1794
|
+
start?: number | undefined;
|
|
1795
|
+
count?: number | undefined;
|
|
1796
|
+
};
|
|
1797
|
+
/** @internal */
|
|
1798
|
+
export declare const CollectLinkedInLikesRequest$outboundSchema: z.ZodMiniType<CollectLinkedInLikesRequest$Outbound, CollectLinkedInLikesRequest>;
|
|
1799
|
+
export declare function collectLinkedInLikesRequestToJSON(collectLinkedInLikesRequest: CollectLinkedInLikesRequest): string;
|
|
1800
|
+
/** @internal */
|
|
1801
|
+
export declare const CollectLinkedInLikesInternalServerErrorDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesInternalServerErrorDetails, unknown>;
|
|
1802
|
+
export declare function collectLinkedInLikesInternalServerErrorDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesInternalServerErrorDetails, SDKValidationError>;
|
|
1803
|
+
/** @internal */
|
|
1804
|
+
export declare const CollectLinkedInLikesInternalServerErrorError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesInternalServerErrorError, unknown>;
|
|
1805
|
+
export declare function collectLinkedInLikesInternalServerErrorErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesInternalServerErrorError, SDKValidationError>;
|
|
1806
|
+
/** @internal */
|
|
1807
|
+
export declare const CollectLinkedInLikesCode$inboundSchema: z.ZodMiniEnum<typeof CollectLinkedInLikesCode>;
|
|
1808
|
+
/** @internal */
|
|
1809
|
+
export declare const CollectLinkedInLikesDaily$inboundSchema: z.ZodMiniType<CollectLinkedInLikesDaily, unknown>;
|
|
1810
|
+
export declare function collectLinkedInLikesDailyFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesDaily, SDKValidationError>;
|
|
1811
|
+
/** @internal */
|
|
1812
|
+
export declare const CollectLinkedInLikesWeekly$inboundSchema: z.ZodMiniType<CollectLinkedInLikesWeekly, unknown>;
|
|
1813
|
+
export declare function collectLinkedInLikesWeeklyFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesWeekly, SDKValidationError>;
|
|
1814
|
+
/** @internal */
|
|
1815
|
+
export declare const CollectLinkedInLikesTooManyRequestsError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesTooManyRequestsError, unknown>;
|
|
1816
|
+
export declare function collectLinkedInLikesTooManyRequestsErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesTooManyRequestsError, SDKValidationError>;
|
|
1817
|
+
/** @internal */
|
|
1818
|
+
export declare const CollectLinkedInLikesUnprocessableEntityDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesUnprocessableEntityDetails, unknown>;
|
|
1819
|
+
export declare function collectLinkedInLikesUnprocessableEntityDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesUnprocessableEntityDetails, SDKValidationError>;
|
|
1820
|
+
/** @internal */
|
|
1821
|
+
export declare const CollectLinkedInLikesUnprocessableEntityError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesUnprocessableEntityError, unknown>;
|
|
1822
|
+
export declare function collectLinkedInLikesUnprocessableEntityErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesUnprocessableEntityError, SDKValidationError>;
|
|
1823
|
+
/** @internal */
|
|
1824
|
+
export declare const CollectLinkedInLikesGoneDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesGoneDetails, unknown>;
|
|
1825
|
+
export declare function collectLinkedInLikesGoneDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesGoneDetails, SDKValidationError>;
|
|
1826
|
+
/** @internal */
|
|
1827
|
+
export declare const CollectLinkedInLikesGoneError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesGoneError, unknown>;
|
|
1828
|
+
export declare function collectLinkedInLikesGoneErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesGoneError, SDKValidationError>;
|
|
1829
|
+
/** @internal */
|
|
1830
|
+
export declare const CollectLinkedInLikesConflictDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesConflictDetails, unknown>;
|
|
1831
|
+
export declare function collectLinkedInLikesConflictDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesConflictDetails, SDKValidationError>;
|
|
1832
|
+
/** @internal */
|
|
1833
|
+
export declare const CollectLinkedInLikesConflictError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesConflictError, unknown>;
|
|
1834
|
+
export declare function collectLinkedInLikesConflictErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesConflictError, SDKValidationError>;
|
|
1835
|
+
/** @internal */
|
|
1836
|
+
export declare const CollectLinkedInLikesNotFoundDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesNotFoundDetails, unknown>;
|
|
1837
|
+
export declare function collectLinkedInLikesNotFoundDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesNotFoundDetails, SDKValidationError>;
|
|
1838
|
+
/** @internal */
|
|
1839
|
+
export declare const CollectLinkedInLikesNotFoundError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesNotFoundError, unknown>;
|
|
1840
|
+
export declare function collectLinkedInLikesNotFoundErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesNotFoundError, SDKValidationError>;
|
|
1841
|
+
/** @internal */
|
|
1842
|
+
export declare const CollectLinkedInLikesForbiddenDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesForbiddenDetails, unknown>;
|
|
1843
|
+
export declare function collectLinkedInLikesForbiddenDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesForbiddenDetails, SDKValidationError>;
|
|
1844
|
+
/** @internal */
|
|
1845
|
+
export declare const CollectLinkedInLikesForbiddenError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesForbiddenError, unknown>;
|
|
1846
|
+
export declare function collectLinkedInLikesForbiddenErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesForbiddenError, SDKValidationError>;
|
|
1847
|
+
/** @internal */
|
|
1848
|
+
export declare const CollectLinkedInLikesUnauthorizedDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesUnauthorizedDetails, unknown>;
|
|
1849
|
+
export declare function collectLinkedInLikesUnauthorizedDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesUnauthorizedDetails, SDKValidationError>;
|
|
1850
|
+
/** @internal */
|
|
1851
|
+
export declare const CollectLinkedInLikesUnauthorizedError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesUnauthorizedError, unknown>;
|
|
1852
|
+
export declare function collectLinkedInLikesUnauthorizedErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesUnauthorizedError, SDKValidationError>;
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
export declare const CollectLinkedInLikesBadRequestDetails$inboundSchema: z.ZodMiniType<CollectLinkedInLikesBadRequestDetails, unknown>;
|
|
1855
|
+
export declare function collectLinkedInLikesBadRequestDetailsFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesBadRequestDetails, SDKValidationError>;
|
|
1856
|
+
/** @internal */
|
|
1857
|
+
export declare const CollectLinkedInLikesBadRequestError$inboundSchema: z.ZodMiniType<CollectLinkedInLikesBadRequestError, unknown>;
|
|
1858
|
+
export declare function collectLinkedInLikesBadRequestErrorFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesBadRequestError, SDKValidationError>;
|
|
1859
|
+
/** @internal */
|
|
1860
|
+
export declare const CollectLinkedInLikesType$inboundSchema: z.ZodMiniEnum<typeof CollectLinkedInLikesType>;
|
|
1861
|
+
/** @internal */
|
|
1862
|
+
export declare const CollectLinkedInLikesProfile$inboundSchema: z.ZodMiniType<CollectLinkedInLikesProfile, unknown>;
|
|
1863
|
+
export declare function collectLinkedInLikesProfileFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesProfile, SDKValidationError>;
|
|
1864
|
+
/** @internal */
|
|
1865
|
+
export declare const CollectLinkedInLikesResponse$inboundSchema: z.ZodMiniType<CollectLinkedInLikesResponse, unknown>;
|
|
1866
|
+
export declare function collectLinkedInLikesResponseFromJSON(jsonString: string): SafeParseResult<CollectLinkedInLikesResponse, SDKValidationError>;
|
|
1867
|
+
/** @internal */
|
|
1868
|
+
export type CollectLinkedInCommentsRequest$Outbound = {
|
|
1869
|
+
postUrl: string;
|
|
1870
|
+
start?: number | undefined;
|
|
1871
|
+
count?: number | undefined;
|
|
1872
|
+
campaignSlug?: string | undefined;
|
|
1873
|
+
};
|
|
1874
|
+
/** @internal */
|
|
1875
|
+
export declare const CollectLinkedInCommentsRequest$outboundSchema: z.ZodMiniType<CollectLinkedInCommentsRequest$Outbound, CollectLinkedInCommentsRequest>;
|
|
1876
|
+
export declare function collectLinkedInCommentsRequestToJSON(collectLinkedInCommentsRequest: CollectLinkedInCommentsRequest): string;
|
|
1877
|
+
/** @internal */
|
|
1878
|
+
export declare const CollectLinkedInCommentsType$inboundSchema: z.ZodMiniEnum<typeof CollectLinkedInCommentsType>;
|
|
1879
|
+
/** @internal */
|
|
1880
|
+
export declare const CollectLinkedInCommentsActionsCompleted$inboundSchema: z.ZodMiniType<CollectLinkedInCommentsActionsCompleted, unknown>;
|
|
1881
|
+
export declare function collectLinkedInCommentsActionsCompletedFromJSON(jsonString: string): SafeParseResult<CollectLinkedInCommentsActionsCompleted, SDKValidationError>;
|
|
1882
|
+
/** @internal */
|
|
1883
|
+
export declare const CollectLinkedInCommentsProfile$inboundSchema: z.ZodMiniType<CollectLinkedInCommentsProfile, unknown>;
|
|
1884
|
+
export declare function collectLinkedInCommentsProfileFromJSON(jsonString: string): SafeParseResult<CollectLinkedInCommentsProfile, SDKValidationError>;
|
|
1885
|
+
/** @internal */
|
|
1886
|
+
export declare const CollectLinkedInCommentsResponse$inboundSchema: z.ZodMiniType<CollectLinkedInCommentsResponse, unknown>;
|
|
1887
|
+
export declare function collectLinkedInCommentsResponseFromJSON(jsonString: string): SafeParseResult<CollectLinkedInCommentsResponse, SDKValidationError>;
|
|
1888
|
+
/** @internal */
|
|
1889
|
+
export type CollectLinkedInCommentRepliesRequest$Outbound = {
|
|
1890
|
+
commentUrn: string;
|
|
1891
|
+
start?: number | undefined;
|
|
1892
|
+
count?: number | undefined;
|
|
1893
|
+
};
|
|
1894
|
+
/** @internal */
|
|
1895
|
+
export declare const CollectLinkedInCommentRepliesRequest$outboundSchema: z.ZodMiniType<CollectLinkedInCommentRepliesRequest$Outbound, CollectLinkedInCommentRepliesRequest>;
|
|
1896
|
+
export declare function collectLinkedInCommentRepliesRequestToJSON(collectLinkedInCommentRepliesRequest: CollectLinkedInCommentRepliesRequest): string;
|
|
1897
|
+
/** @internal */
|
|
1898
|
+
export declare const CollectLinkedInCommentRepliesType$inboundSchema: z.ZodMiniEnum<typeof CollectLinkedInCommentRepliesType>;
|
|
1899
|
+
/** @internal */
|
|
1900
|
+
export declare const CollectLinkedInCommentRepliesActionsCompleted$inboundSchema: z.ZodMiniType<CollectLinkedInCommentRepliesActionsCompleted, unknown>;
|
|
1901
|
+
export declare function collectLinkedInCommentRepliesActionsCompletedFromJSON(jsonString: string): SafeParseResult<CollectLinkedInCommentRepliesActionsCompleted, SDKValidationError>;
|
|
1902
|
+
/** @internal */
|
|
1903
|
+
export declare const Reply$inboundSchema: z.ZodMiniType<Reply, unknown>;
|
|
1904
|
+
export declare function replyFromJSON(jsonString: string): SafeParseResult<Reply, SDKValidationError>;
|
|
1905
|
+
/** @internal */
|
|
1906
|
+
export declare const CollectLinkedInCommentRepliesResponse$inboundSchema: z.ZodMiniType<CollectLinkedInCommentRepliesResponse, unknown>;
|
|
1907
|
+
export declare function collectLinkedInCommentRepliesResponseFromJSON(jsonString: string): SafeParseResult<CollectLinkedInCommentRepliesResponse, SDKValidationError>;
|
|
1908
|
+
/** @internal */
|
|
1909
|
+
export type CollectLinkedInPostsRequest$Outbound = {
|
|
1910
|
+
profileUrl: string;
|
|
1911
|
+
count?: number | undefined;
|
|
1912
|
+
start?: number | undefined;
|
|
1913
|
+
paginationToken?: string | undefined;
|
|
1914
|
+
};
|
|
1915
|
+
/** @internal */
|
|
1916
|
+
export declare const CollectLinkedInPostsRequest$outboundSchema: z.ZodMiniType<CollectLinkedInPostsRequest$Outbound, CollectLinkedInPostsRequest>;
|
|
1917
|
+
export declare function collectLinkedInPostsRequestToJSON(collectLinkedInPostsRequest: CollectLinkedInPostsRequest): string;
|
|
1918
|
+
/** @internal */
|
|
1919
|
+
export declare const CollectLinkedInPostsType$inboundSchema: z.ZodMiniType<CollectLinkedInPostsType, unknown>;
|
|
1920
|
+
/** @internal */
|
|
1921
|
+
export declare const CollectLinkedInPostsPost$inboundSchema: z.ZodMiniType<CollectLinkedInPostsPost, unknown>;
|
|
1922
|
+
export declare function collectLinkedInPostsPostFromJSON(jsonString: string): SafeParseResult<CollectLinkedInPostsPost, SDKValidationError>;
|
|
1923
|
+
/** @internal */
|
|
1924
|
+
export declare const CollectLinkedInPostsResponse$inboundSchema: z.ZodMiniType<CollectLinkedInPostsResponse, unknown>;
|
|
1925
|
+
export declare function collectLinkedInPostsResponseFromJSON(jsonString: string): SafeParseResult<CollectLinkedInPostsResponse, SDKValidationError>;
|
|
1926
|
+
/** @internal */
|
|
1927
|
+
export type VisitLinkedInProfileRequest$Outbound = {
|
|
1928
|
+
profile: string;
|
|
1929
|
+
campaignSlug?: string | undefined;
|
|
1930
|
+
actionSlug?: string | undefined;
|
|
1931
|
+
includePosts?: boolean | undefined;
|
|
1932
|
+
};
|
|
1933
|
+
/** @internal */
|
|
1934
|
+
export declare const VisitLinkedInProfileRequest$outboundSchema: z.ZodMiniType<VisitLinkedInProfileRequest$Outbound, VisitLinkedInProfileRequest>;
|
|
1935
|
+
export declare function visitLinkedInProfileRequestToJSON(visitLinkedInProfileRequest: VisitLinkedInProfileRequest): string;
|
|
1936
|
+
/** @internal */
|
|
1937
|
+
export declare const PendingConnection$inboundSchema: z.ZodMiniType<PendingConnection, unknown>;
|
|
1938
|
+
/** @internal */
|
|
1939
|
+
export declare const VisitLinkedInProfilePositionStartDate$inboundSchema: z.ZodMiniType<VisitLinkedInProfilePositionStartDate, unknown>;
|
|
1940
|
+
export declare function visitLinkedInProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfilePositionStartDate, SDKValidationError>;
|
|
1941
|
+
/** @internal */
|
|
1942
|
+
export declare const VisitLinkedInProfilePositionEndDate$inboundSchema: z.ZodMiniType<VisitLinkedInProfilePositionEndDate, unknown>;
|
|
1943
|
+
export declare function visitLinkedInProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfilePositionEndDate, SDKValidationError>;
|
|
1944
|
+
/** @internal */
|
|
1945
|
+
export declare const VisitLinkedInProfilePosition$inboundSchema: z.ZodMiniType<VisitLinkedInProfilePosition, unknown>;
|
|
1946
|
+
export declare function visitLinkedInProfilePositionFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfilePosition, SDKValidationError>;
|
|
1947
|
+
/** @internal */
|
|
1948
|
+
export declare const VisitLinkedInProfileEducationStartDate$inboundSchema: z.ZodMiniType<VisitLinkedInProfileEducationStartDate, unknown>;
|
|
1949
|
+
export declare function visitLinkedInProfileEducationStartDateFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfileEducationStartDate, SDKValidationError>;
|
|
1950
|
+
/** @internal */
|
|
1951
|
+
export declare const VisitLinkedInProfileEducationEndDate$inboundSchema: z.ZodMiniType<VisitLinkedInProfileEducationEndDate, unknown>;
|
|
1952
|
+
export declare function visitLinkedInProfileEducationEndDateFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfileEducationEndDate, SDKValidationError>;
|
|
1953
|
+
/** @internal */
|
|
1954
|
+
export declare const VisitLinkedInProfileEducation$inboundSchema: z.ZodMiniType<VisitLinkedInProfileEducation, unknown>;
|
|
1955
|
+
export declare function visitLinkedInProfileEducationFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfileEducation, SDKValidationError>;
|
|
1956
|
+
/** @internal */
|
|
1957
|
+
export declare const VisitLinkedInProfileType$inboundSchema: z.ZodMiniType<VisitLinkedInProfileType, unknown>;
|
|
1958
|
+
/** @internal */
|
|
1959
|
+
export declare const VisitLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<VisitLinkedInProfileLastPost, unknown>;
|
|
1960
|
+
export declare function visitLinkedInProfileLastPostFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfileLastPost, SDKValidationError>;
|
|
1961
|
+
/** @internal */
|
|
1962
|
+
export declare const VisitLinkedInProfileResponse$inboundSchema: z.ZodMiniType<VisitLinkedInProfileResponse, unknown>;
|
|
1963
|
+
export declare function visitLinkedInProfileResponseFromJSON(jsonString: string): SafeParseResult<VisitLinkedInProfileResponse, SDKValidationError>;
|
|
1964
|
+
/** @internal */
|
|
1965
|
+
export type VisitLinkedInCompanyRequest$Outbound = {
|
|
1966
|
+
companyUrl: string;
|
|
1967
|
+
includeWorkplacePolicy?: boolean | undefined;
|
|
1968
|
+
};
|
|
1969
|
+
/** @internal */
|
|
1970
|
+
export declare const VisitLinkedInCompanyRequest$outboundSchema: z.ZodMiniType<VisitLinkedInCompanyRequest$Outbound, VisitLinkedInCompanyRequest>;
|
|
1971
|
+
export declare function visitLinkedInCompanyRequestToJSON(visitLinkedInCompanyRequest: VisitLinkedInCompanyRequest): string;
|
|
1972
|
+
/** @internal */
|
|
1973
|
+
export declare const EmployeeCountRange$inboundSchema: z.ZodMiniType<EmployeeCountRange, unknown>;
|
|
1974
|
+
export declare function employeeCountRangeFromJSON(jsonString: string): SafeParseResult<EmployeeCountRange, SDKValidationError>;
|
|
1975
|
+
/** @internal */
|
|
1976
|
+
export declare const Headquarter$inboundSchema: z.ZodMiniType<Headquarter, unknown>;
|
|
1977
|
+
export declare function headquarterFromJSON(jsonString: string): SafeParseResult<Headquarter, SDKValidationError>;
|
|
1978
|
+
/** @internal */
|
|
1979
|
+
export declare const FoundedOn$inboundSchema: z.ZodMiniType<FoundedOn, unknown>;
|
|
1980
|
+
export declare function foundedOnFromJSON(jsonString: string): SafeParseResult<FoundedOn, SDKValidationError>;
|
|
1981
|
+
/** @internal */
|
|
1982
|
+
export declare const CallToAction$inboundSchema: z.ZodMiniType<CallToAction, unknown>;
|
|
1983
|
+
export declare function callToActionFromJSON(jsonString: string): SafeParseResult<CallToAction, SDKValidationError>;
|
|
1984
|
+
/** @internal */
|
|
1985
|
+
export declare const AffiliatedCompany$inboundSchema: z.ZodMiniType<AffiliatedCompany, unknown>;
|
|
1986
|
+
export declare function affiliatedCompanyFromJSON(jsonString: string): SafeParseResult<AffiliatedCompany, SDKValidationError>;
|
|
1987
|
+
/** @internal */
|
|
1988
|
+
export declare const SimilarCompany$inboundSchema: z.ZodMiniType<SimilarCompany, unknown>;
|
|
1989
|
+
export declare function similarCompanyFromJSON(jsonString: string): SafeParseResult<SimilarCompany, SDKValidationError>;
|
|
1990
|
+
/** @internal */
|
|
1991
|
+
export declare const WorkplacePolicy$inboundSchema: z.ZodMiniType<WorkplacePolicy, unknown>;
|
|
1992
|
+
export declare function workplacePolicyFromJSON(jsonString: string): SafeParseResult<WorkplacePolicy, SDKValidationError>;
|
|
1993
|
+
/** @internal */
|
|
1994
|
+
export declare const VisitLinkedInCompanyResponse$inboundSchema: z.ZodMiniType<VisitLinkedInCompanyResponse, unknown>;
|
|
1995
|
+
export declare function visitLinkedInCompanyResponseFromJSON(jsonString: string): SafeParseResult<VisitLinkedInCompanyResponse, SDKValidationError>;
|
|
1996
|
+
/** @internal */
|
|
1997
|
+
export declare const CategoryRequest$outboundSchema: z.ZodMiniEnum<typeof CategoryRequest>;
|
|
1998
|
+
/** @internal */
|
|
1999
|
+
export declare const SearchLinkedInSortBy$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInSortBy>;
|
|
2000
|
+
/** @internal */
|
|
2001
|
+
export declare const SearchLinkedInDatePosted$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInDatePosted>;
|
|
2002
|
+
/** @internal */
|
|
2003
|
+
export declare const SearchLinkedInContentType$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInContentType>;
|
|
2004
|
+
/** @internal */
|
|
2005
|
+
export declare const SearchLinkedInConnectionDegree$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInConnectionDegree>;
|
|
2006
|
+
/** @internal */
|
|
2007
|
+
export declare const SearchLinkedInCompanySize$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInCompanySize>;
|
|
2008
|
+
/** @internal */
|
|
2009
|
+
export declare const SearchLinkedInJobType$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobType>;
|
|
2010
|
+
/** @internal */
|
|
2011
|
+
export declare const SearchLinkedInExperienceLevel$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInExperienceLevel>;
|
|
2012
|
+
/** @internal */
|
|
2013
|
+
export declare const SearchLinkedInWorkplaceType$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInWorkplaceType>;
|
|
2014
|
+
/** @internal */
|
|
2015
|
+
export type SearchLinkedInRequest$Outbound = {
|
|
2016
|
+
category?: string | undefined;
|
|
2017
|
+
url?: string | undefined;
|
|
2018
|
+
keywords?: string | undefined;
|
|
2019
|
+
sortBy?: string | undefined;
|
|
2020
|
+
datePosted?: string | undefined;
|
|
2021
|
+
contentType?: string | undefined;
|
|
2022
|
+
authorIndustry?: Array<string> | undefined;
|
|
2023
|
+
authorCompany?: Array<string> | undefined;
|
|
2024
|
+
connectionDegree?: Array<string> | undefined;
|
|
2025
|
+
firstName?: string | undefined;
|
|
2026
|
+
lastName?: string | undefined;
|
|
2027
|
+
title?: string | undefined;
|
|
2028
|
+
connectionOf?: string | undefined;
|
|
2029
|
+
profileLanguage?: Array<string> | undefined;
|
|
2030
|
+
school?: Array<string> | undefined;
|
|
2031
|
+
location?: Array<string> | undefined;
|
|
2032
|
+
industry?: Array<string> | undefined;
|
|
2033
|
+
currentCompany?: Array<string> | undefined;
|
|
2034
|
+
pastCompany?: Array<string> | undefined;
|
|
2035
|
+
companySize?: Array<string> | undefined;
|
|
2036
|
+
jobType?: Array<string> | undefined;
|
|
2037
|
+
experienceLevel?: Array<string> | undefined;
|
|
2038
|
+
workplaceType?: Array<string> | undefined;
|
|
2039
|
+
start?: number | undefined;
|
|
2040
|
+
count?: number | undefined;
|
|
2041
|
+
};
|
|
2042
|
+
/** @internal */
|
|
2043
|
+
export declare const SearchLinkedInRequest$outboundSchema: z.ZodMiniType<SearchLinkedInRequest$Outbound, SearchLinkedInRequest>;
|
|
2044
|
+
export declare function searchLinkedInRequestToJSON(searchLinkedInRequest: SearchLinkedInRequest): string;
|
|
2045
|
+
/** @internal */
|
|
2046
|
+
export declare const SearchLinkedInCategoryResponseBody$inboundSchema: z.ZodMiniType<SearchLinkedInCategoryResponseBody, unknown>;
|
|
2047
|
+
/** @internal */
|
|
2048
|
+
export declare const SearchLinkedInTypeJob$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInTypeJob>;
|
|
2049
|
+
/** @internal */
|
|
2050
|
+
export declare const SearchLinkedInItemsJob$inboundSchema: z.ZodMiniType<SearchLinkedInItemsJob, unknown>;
|
|
2051
|
+
export declare function searchLinkedInItemsJobFromJSON(jsonString: string): SafeParseResult<SearchLinkedInItemsJob, SDKValidationError>;
|
|
2052
|
+
/** @internal */
|
|
2053
|
+
export declare const SearchLinkedInTypeCompany$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInTypeCompany>;
|
|
2054
|
+
/** @internal */
|
|
2055
|
+
export declare const SearchLinkedInItemsCompany$inboundSchema: z.ZodMiniType<SearchLinkedInItemsCompany, unknown>;
|
|
2056
|
+
export declare function searchLinkedInItemsCompanyFromJSON(jsonString: string): SafeParseResult<SearchLinkedInItemsCompany, SDKValidationError>;
|
|
2057
|
+
/** @internal */
|
|
2058
|
+
export declare const SearchLinkedInTypePeople$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInTypePeople>;
|
|
2059
|
+
/** @internal */
|
|
2060
|
+
export declare const SearchLinkedInNetworkDistance$inboundSchema: z.ZodMiniType<SearchLinkedInNetworkDistance, unknown>;
|
|
2061
|
+
/** @internal */
|
|
2062
|
+
export declare const SearchLinkedInCurrentPosition$inboundSchema: z.ZodMiniType<SearchLinkedInCurrentPosition, unknown>;
|
|
2063
|
+
export declare function searchLinkedInCurrentPositionFromJSON(jsonString: string): SafeParseResult<SearchLinkedInCurrentPosition, SDKValidationError>;
|
|
2064
|
+
/** @internal */
|
|
2065
|
+
export declare const SearchLinkedInItemsPeople$inboundSchema: z.ZodMiniType<SearchLinkedInItemsPeople, unknown>;
|
|
2066
|
+
export declare function searchLinkedInItemsPeopleFromJSON(jsonString: string): SafeParseResult<SearchLinkedInItemsPeople, SDKValidationError>;
|
|
2067
|
+
/** @internal */
|
|
2068
|
+
export declare const SearchLinkedInTypePost$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInTypePost>;
|
|
2069
|
+
/** @internal */
|
|
2070
|
+
export declare const SearchLinkedInAuthor$inboundSchema: z.ZodMiniType<SearchLinkedInAuthor, unknown>;
|
|
2071
|
+
export declare function searchLinkedInAuthorFromJSON(jsonString: string): SafeParseResult<SearchLinkedInAuthor, SDKValidationError>;
|
|
2072
|
+
/** @internal */
|
|
2073
|
+
export declare const SearchLinkedInItemsPost$inboundSchema: z.ZodMiniType<SearchLinkedInItemsPost, unknown>;
|
|
2074
|
+
export declare function searchLinkedInItemsPostFromJSON(jsonString: string): SafeParseResult<SearchLinkedInItemsPost, SDKValidationError>;
|
|
2075
|
+
/** @internal */
|
|
2076
|
+
export declare const SearchLinkedInItemsUnion$inboundSchema: z.ZodMiniType<SearchLinkedInItemsUnion, unknown>;
|
|
2077
|
+
export declare function searchLinkedInItemsUnionFromJSON(jsonString: string): SafeParseResult<SearchLinkedInItemsUnion, SDKValidationError>;
|
|
2078
|
+
/** @internal */
|
|
2079
|
+
export declare const SearchLinkedInPaging$inboundSchema: z.ZodMiniType<SearchLinkedInPaging, unknown>;
|
|
2080
|
+
export declare function searchLinkedInPagingFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPaging, SDKValidationError>;
|
|
2081
|
+
/** @internal */
|
|
2082
|
+
export declare const SearchLinkedInResponse$inboundSchema: z.ZodMiniType<SearchLinkedInResponse, unknown>;
|
|
2083
|
+
export declare function searchLinkedInResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInResponse, SDKValidationError>;
|
|
2084
|
+
/** @internal */
|
|
2085
|
+
export declare const SearchLinkedInPostsSortBy$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPostsSortBy>;
|
|
2086
|
+
/** @internal */
|
|
2087
|
+
export declare const SearchLinkedInPostsDatePosted$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPostsDatePosted>;
|
|
2088
|
+
/** @internal */
|
|
2089
|
+
export declare const SearchLinkedInPostsContentType$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPostsContentType>;
|
|
2090
|
+
/** @internal */
|
|
2091
|
+
export type SearchLinkedInPostsRequest$Outbound = {
|
|
2092
|
+
keywords: string;
|
|
2093
|
+
url?: string | undefined;
|
|
2094
|
+
sortBy?: string | undefined;
|
|
2095
|
+
datePosted?: string | undefined;
|
|
2096
|
+
contentType?: string | undefined;
|
|
2097
|
+
authorIndustry?: Array<string> | undefined;
|
|
2098
|
+
authorCompany?: Array<string> | undefined;
|
|
2099
|
+
start?: number | undefined;
|
|
2100
|
+
count?: number | undefined;
|
|
2101
|
+
};
|
|
2102
|
+
/** @internal */
|
|
2103
|
+
export declare const SearchLinkedInPostsRequest$outboundSchema: z.ZodMiniType<SearchLinkedInPostsRequest$Outbound, SearchLinkedInPostsRequest>;
|
|
2104
|
+
export declare function searchLinkedInPostsRequestToJSON(searchLinkedInPostsRequest: SearchLinkedInPostsRequest): string;
|
|
2105
|
+
/** @internal */
|
|
2106
|
+
export declare const SearchLinkedInPostsCategory$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPostsCategory>;
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export declare const SearchLinkedInPostsType$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPostsType>;
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
export declare const SearchLinkedInPostsAuthor$inboundSchema: z.ZodMiniType<SearchLinkedInPostsAuthor, unknown>;
|
|
2111
|
+
export declare function searchLinkedInPostsAuthorFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPostsAuthor, SDKValidationError>;
|
|
2112
|
+
/** @internal */
|
|
2113
|
+
export declare const SearchLinkedInPostsItem$inboundSchema: z.ZodMiniType<SearchLinkedInPostsItem, unknown>;
|
|
2114
|
+
export declare function searchLinkedInPostsItemFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPostsItem, SDKValidationError>;
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export declare const SearchLinkedInPostsPaging$inboundSchema: z.ZodMiniType<SearchLinkedInPostsPaging, unknown>;
|
|
2117
|
+
export declare function searchLinkedInPostsPagingFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPostsPaging, SDKValidationError>;
|
|
2118
|
+
/** @internal */
|
|
2119
|
+
export declare const SearchLinkedInPostsResponse$inboundSchema: z.ZodMiniType<SearchLinkedInPostsResponse, unknown>;
|
|
2120
|
+
export declare function searchLinkedInPostsResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPostsResponse, SDKValidationError>;
|
|
2121
|
+
/** @internal */
|
|
2122
|
+
export declare const SearchLinkedInPeopleConnectionDegree$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPeopleConnectionDegree>;
|
|
2123
|
+
/** @internal */
|
|
2124
|
+
export type SearchLinkedInPeopleRequest$Outbound = {
|
|
2125
|
+
keywords?: string | undefined;
|
|
2126
|
+
url?: string | undefined;
|
|
2127
|
+
connectionDegree?: Array<string> | undefined;
|
|
2128
|
+
firstName?: string | undefined;
|
|
2129
|
+
lastName?: string | undefined;
|
|
2130
|
+
title?: string | undefined;
|
|
2131
|
+
connectionOf?: string | undefined;
|
|
2132
|
+
profileLanguage?: Array<string> | undefined;
|
|
2133
|
+
school?: Array<string> | undefined;
|
|
2134
|
+
location?: Array<string> | undefined;
|
|
2135
|
+
industry?: Array<string> | undefined;
|
|
2136
|
+
currentCompany?: Array<string> | undefined;
|
|
2137
|
+
pastCompany?: Array<string> | undefined;
|
|
2138
|
+
start?: number | undefined;
|
|
2139
|
+
count?: number | undefined;
|
|
2140
|
+
};
|
|
2141
|
+
/** @internal */
|
|
2142
|
+
export declare const SearchLinkedInPeopleRequest$outboundSchema: z.ZodMiniType<SearchLinkedInPeopleRequest$Outbound, SearchLinkedInPeopleRequest>;
|
|
2143
|
+
export declare function searchLinkedInPeopleRequestToJSON(searchLinkedInPeopleRequest: SearchLinkedInPeopleRequest): string;
|
|
2144
|
+
/** @internal */
|
|
2145
|
+
export declare const SearchLinkedInPeopleCategory$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPeopleCategory>;
|
|
2146
|
+
/** @internal */
|
|
2147
|
+
export declare const SearchLinkedInPeopleType$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInPeopleType>;
|
|
2148
|
+
/** @internal */
|
|
2149
|
+
export declare const SearchLinkedInPeopleNetworkDistance$inboundSchema: z.ZodMiniType<SearchLinkedInPeopleNetworkDistance, unknown>;
|
|
2150
|
+
/** @internal */
|
|
2151
|
+
export declare const SearchLinkedInPeopleCurrentPosition$inboundSchema: z.ZodMiniType<SearchLinkedInPeopleCurrentPosition, unknown>;
|
|
2152
|
+
export declare function searchLinkedInPeopleCurrentPositionFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPeopleCurrentPosition, SDKValidationError>;
|
|
2153
|
+
/** @internal */
|
|
2154
|
+
export declare const SearchLinkedInPeopleItem$inboundSchema: z.ZodMiniType<SearchLinkedInPeopleItem, unknown>;
|
|
2155
|
+
export declare function searchLinkedInPeopleItemFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPeopleItem, SDKValidationError>;
|
|
2156
|
+
/** @internal */
|
|
2157
|
+
export declare const SearchLinkedInPeoplePaging$inboundSchema: z.ZodMiniType<SearchLinkedInPeoplePaging, unknown>;
|
|
2158
|
+
export declare function searchLinkedInPeoplePagingFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPeoplePaging, SDKValidationError>;
|
|
2159
|
+
/** @internal */
|
|
2160
|
+
export declare const SearchLinkedInPeopleResponse$inboundSchema: z.ZodMiniType<SearchLinkedInPeopleResponse, unknown>;
|
|
2161
|
+
export declare function searchLinkedInPeopleResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInPeopleResponse, SDKValidationError>;
|
|
2162
|
+
/** @internal */
|
|
2163
|
+
export declare const SearchLinkedInCompaniesCompanySize$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInCompaniesCompanySize>;
|
|
2164
|
+
/** @internal */
|
|
2165
|
+
export type SearchLinkedInCompaniesRequest$Outbound = {
|
|
2166
|
+
keywords?: string | undefined;
|
|
2167
|
+
url?: string | undefined;
|
|
2168
|
+
location?: Array<string> | undefined;
|
|
2169
|
+
industry?: Array<string> | undefined;
|
|
2170
|
+
companySize?: Array<string> | undefined;
|
|
2171
|
+
start?: number | undefined;
|
|
2172
|
+
count?: number | undefined;
|
|
2173
|
+
};
|
|
2174
|
+
/** @internal */
|
|
2175
|
+
export declare const SearchLinkedInCompaniesRequest$outboundSchema: z.ZodMiniType<SearchLinkedInCompaniesRequest$Outbound, SearchLinkedInCompaniesRequest>;
|
|
2176
|
+
export declare function searchLinkedInCompaniesRequestToJSON(searchLinkedInCompaniesRequest: SearchLinkedInCompaniesRequest): string;
|
|
2177
|
+
/** @internal */
|
|
2178
|
+
export declare const SearchLinkedInCompaniesCategory$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInCompaniesCategory>;
|
|
2179
|
+
/** @internal */
|
|
2180
|
+
export declare const SearchLinkedInCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInCompaniesType>;
|
|
2181
|
+
/** @internal */
|
|
2182
|
+
export declare const SearchLinkedInCompaniesItem$inboundSchema: z.ZodMiniType<SearchLinkedInCompaniesItem, unknown>;
|
|
2183
|
+
export declare function searchLinkedInCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchLinkedInCompaniesItem, SDKValidationError>;
|
|
2184
|
+
/** @internal */
|
|
2185
|
+
export declare const SearchLinkedInCompaniesPaging$inboundSchema: z.ZodMiniType<SearchLinkedInCompaniesPaging, unknown>;
|
|
2186
|
+
export declare function searchLinkedInCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchLinkedInCompaniesPaging, SDKValidationError>;
|
|
2187
|
+
/** @internal */
|
|
2188
|
+
export declare const SearchLinkedInCompaniesResponse$inboundSchema: z.ZodMiniType<SearchLinkedInCompaniesResponse, unknown>;
|
|
2189
|
+
export declare function searchLinkedInCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInCompaniesResponse, SDKValidationError>;
|
|
2190
|
+
/** @internal */
|
|
2191
|
+
export declare const SearchLinkedInJobsDatePosted$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsDatePosted>;
|
|
2192
|
+
/** @internal */
|
|
2193
|
+
export declare const SearchLinkedInJobsSortBy$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsSortBy>;
|
|
2194
|
+
/** @internal */
|
|
2195
|
+
export declare const SearchLinkedInJobsJobType$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsJobType>;
|
|
2196
|
+
/** @internal */
|
|
2197
|
+
export declare const SearchLinkedInJobsExperienceLevel$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsExperienceLevel>;
|
|
2198
|
+
/** @internal */
|
|
2199
|
+
export declare const SearchLinkedInJobsWorkplaceType$outboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsWorkplaceType>;
|
|
2200
|
+
/** @internal */
|
|
2201
|
+
export type SearchLinkedInJobsRequest$Outbound = {
|
|
2202
|
+
keywords?: string | undefined;
|
|
2203
|
+
url?: string | undefined;
|
|
2204
|
+
location?: Array<string> | undefined;
|
|
2205
|
+
datePosted?: string | undefined;
|
|
2206
|
+
sortBy?: string | undefined;
|
|
2207
|
+
jobType?: Array<string> | undefined;
|
|
2208
|
+
experienceLevel?: Array<string> | undefined;
|
|
2209
|
+
workplaceType?: Array<string> | undefined;
|
|
2210
|
+
start?: number | undefined;
|
|
2211
|
+
count?: number | undefined;
|
|
2212
|
+
};
|
|
2213
|
+
/** @internal */
|
|
2214
|
+
export declare const SearchLinkedInJobsRequest$outboundSchema: z.ZodMiniType<SearchLinkedInJobsRequest$Outbound, SearchLinkedInJobsRequest>;
|
|
2215
|
+
export declare function searchLinkedInJobsRequestToJSON(searchLinkedInJobsRequest: SearchLinkedInJobsRequest): string;
|
|
2216
|
+
/** @internal */
|
|
2217
|
+
export declare const SearchLinkedInJobsCategory$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsCategory>;
|
|
2218
|
+
/** @internal */
|
|
2219
|
+
export declare const SearchLinkedInJobsType$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInJobsType>;
|
|
2220
|
+
/** @internal */
|
|
2221
|
+
export declare const SearchLinkedInJobsItem$inboundSchema: z.ZodMiniType<SearchLinkedInJobsItem, unknown>;
|
|
2222
|
+
export declare function searchLinkedInJobsItemFromJSON(jsonString: string): SafeParseResult<SearchLinkedInJobsItem, SDKValidationError>;
|
|
2223
|
+
/** @internal */
|
|
2224
|
+
export declare const SearchLinkedInJobsPaging$inboundSchema: z.ZodMiniType<SearchLinkedInJobsPaging, unknown>;
|
|
2225
|
+
export declare function searchLinkedInJobsPagingFromJSON(jsonString: string): SafeParseResult<SearchLinkedInJobsPaging, SDKValidationError>;
|
|
2226
|
+
/** @internal */
|
|
2227
|
+
export declare const SearchLinkedInJobsResponse$inboundSchema: z.ZodMiniType<SearchLinkedInJobsResponse, unknown>;
|
|
2228
|
+
export declare function searchLinkedInJobsResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInJobsResponse, SDKValidationError>;
|
|
2229
|
+
/** @internal */
|
|
2230
|
+
export type SearchLinkedInByUrlRequest$Outbound = {
|
|
2231
|
+
url: string;
|
|
2232
|
+
start?: number | undefined;
|
|
2233
|
+
count?: number | undefined;
|
|
2234
|
+
};
|
|
2235
|
+
/** @internal */
|
|
2236
|
+
export declare const SearchLinkedInByUrlRequest$outboundSchema: z.ZodMiniType<SearchLinkedInByUrlRequest$Outbound, SearchLinkedInByUrlRequest>;
|
|
2237
|
+
export declare function searchLinkedInByUrlRequestToJSON(searchLinkedInByUrlRequest: SearchLinkedInByUrlRequest): string;
|
|
2238
|
+
/** @internal */
|
|
2239
|
+
export declare const SearchLinkedInByUrlCategory$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlCategory, unknown>;
|
|
2240
|
+
/** @internal */
|
|
2241
|
+
export declare const SearchLinkedInByUrlTypeJob$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInByUrlTypeJob>;
|
|
2242
|
+
/** @internal */
|
|
2243
|
+
export declare const SearchLinkedInByUrlItemsJob$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlItemsJob, unknown>;
|
|
2244
|
+
export declare function searchLinkedInByUrlItemsJobFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlItemsJob, SDKValidationError>;
|
|
2245
|
+
/** @internal */
|
|
2246
|
+
export declare const SearchLinkedInByUrlTypeCompany$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInByUrlTypeCompany>;
|
|
2247
|
+
/** @internal */
|
|
2248
|
+
export declare const SearchLinkedInByUrlItemsCompany$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlItemsCompany, unknown>;
|
|
2249
|
+
export declare function searchLinkedInByUrlItemsCompanyFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlItemsCompany, SDKValidationError>;
|
|
2250
|
+
/** @internal */
|
|
2251
|
+
export declare const SearchLinkedInByUrlTypePeople$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInByUrlTypePeople>;
|
|
2252
|
+
/** @internal */
|
|
2253
|
+
export declare const SearchLinkedInByUrlNetworkDistance$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlNetworkDistance, unknown>;
|
|
2254
|
+
/** @internal */
|
|
2255
|
+
export declare const SearchLinkedInByUrlCurrentPosition$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlCurrentPosition, unknown>;
|
|
2256
|
+
export declare function searchLinkedInByUrlCurrentPositionFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlCurrentPosition, SDKValidationError>;
|
|
2257
|
+
/** @internal */
|
|
2258
|
+
export declare const SearchLinkedInByUrlItemsPeople$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlItemsPeople, unknown>;
|
|
2259
|
+
export declare function searchLinkedInByUrlItemsPeopleFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlItemsPeople, SDKValidationError>;
|
|
2260
|
+
/** @internal */
|
|
2261
|
+
export declare const SearchLinkedInByUrlTypePost$inboundSchema: z.ZodMiniEnum<typeof SearchLinkedInByUrlTypePost>;
|
|
2262
|
+
/** @internal */
|
|
2263
|
+
export declare const SearchLinkedInByUrlAuthor$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlAuthor, unknown>;
|
|
2264
|
+
export declare function searchLinkedInByUrlAuthorFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlAuthor, SDKValidationError>;
|
|
2265
|
+
/** @internal */
|
|
2266
|
+
export declare const SearchLinkedInByUrlItemsPost$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlItemsPost, unknown>;
|
|
2267
|
+
export declare function searchLinkedInByUrlItemsPostFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlItemsPost, SDKValidationError>;
|
|
2268
|
+
/** @internal */
|
|
2269
|
+
export declare const SearchLinkedInByUrlItemsUnion$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlItemsUnion, unknown>;
|
|
2270
|
+
export declare function searchLinkedInByUrlItemsUnionFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlItemsUnion, SDKValidationError>;
|
|
2271
|
+
/** @internal */
|
|
2272
|
+
export declare const SearchLinkedInByUrlPaging$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlPaging, unknown>;
|
|
2273
|
+
export declare function searchLinkedInByUrlPagingFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlPaging, SDKValidationError>;
|
|
2274
|
+
/** @internal */
|
|
2275
|
+
export declare const SearchLinkedInByUrlResponse$inboundSchema: z.ZodMiniType<SearchLinkedInByUrlResponse, unknown>;
|
|
2276
|
+
export declare function searchLinkedInByUrlResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInByUrlResponse, SDKValidationError>;
|
|
2277
|
+
/** @internal */
|
|
2278
|
+
export declare const ResolveLinkedInSearchParametersType$outboundSchema: z.ZodMiniEnum<typeof ResolveLinkedInSearchParametersType>;
|
|
2279
|
+
/** @internal */
|
|
2280
|
+
export type ResolveLinkedInSearchParametersRequest$Outbound = {
|
|
2281
|
+
type: string;
|
|
2282
|
+
keywords: string;
|
|
2283
|
+
limit?: number | undefined;
|
|
2284
|
+
};
|
|
2285
|
+
/** @internal */
|
|
2286
|
+
export declare const ResolveLinkedInSearchParametersRequest$outboundSchema: z.ZodMiniType<ResolveLinkedInSearchParametersRequest$Outbound, ResolveLinkedInSearchParametersRequest>;
|
|
2287
|
+
export declare function resolveLinkedInSearchParametersRequestToJSON(resolveLinkedInSearchParametersRequest: ResolveLinkedInSearchParametersRequest): string;
|
|
2288
|
+
/** @internal */
|
|
2289
|
+
export declare const ResolveLinkedInSearchParametersItem$inboundSchema: z.ZodMiniType<ResolveLinkedInSearchParametersItem, unknown>;
|
|
2290
|
+
export declare function resolveLinkedInSearchParametersItemFromJSON(jsonString: string): SafeParseResult<ResolveLinkedInSearchParametersItem, SDKValidationError>;
|
|
2291
|
+
/** @internal */
|
|
2292
|
+
export declare const ResolveLinkedInSearchParametersResponse$inboundSchema: z.ZodMiniType<ResolveLinkedInSearchParametersResponse, unknown>;
|
|
2293
|
+
export declare function resolveLinkedInSearchParametersResponseFromJSON(jsonString: string): SafeParseResult<ResolveLinkedInSearchParametersResponse, SDKValidationError>;
|
|
2294
|
+
/** @internal */
|
|
2295
|
+
export type ConnectLinkedInProfileRequest$Outbound = {
|
|
2296
|
+
profile: string;
|
|
2297
|
+
campaignSlug?: string | undefined;
|
|
2298
|
+
actionSlug?: string | undefined;
|
|
2299
|
+
};
|
|
2300
|
+
/** @internal */
|
|
2301
|
+
export declare const ConnectLinkedInProfileRequest$outboundSchema: z.ZodMiniType<ConnectLinkedInProfileRequest$Outbound, ConnectLinkedInProfileRequest>;
|
|
2302
|
+
export declare function connectLinkedInProfileRequestToJSON(connectLinkedInProfileRequest: ConnectLinkedInProfileRequest): string;
|
|
2303
|
+
/** @internal */
|
|
2304
|
+
export declare const ConnectLinkedInProfileResponse$inboundSchema: z.ZodMiniType<ConnectLinkedInProfileResponse, unknown>;
|
|
2305
|
+
export declare function connectLinkedInProfileResponseFromJSON(jsonString: string): SafeParseResult<ConnectLinkedInProfileResponse, SDKValidationError>;
|
|
2306
|
+
/** @internal */
|
|
2307
|
+
export type ListLinkedInInvitationsRequest$Outbound = {
|
|
2308
|
+
start: number;
|
|
2309
|
+
count: number;
|
|
2310
|
+
};
|
|
2311
|
+
/** @internal */
|
|
2312
|
+
export declare const ListLinkedInInvitationsRequest$outboundSchema: z.ZodMiniType<ListLinkedInInvitationsRequest$Outbound, ListLinkedInInvitationsRequest>;
|
|
2313
|
+
export declare function listLinkedInInvitationsRequestToJSON(listLinkedInInvitationsRequest: ListLinkedInInvitationsRequest): string;
|
|
2314
|
+
/** @internal */
|
|
2315
|
+
export declare const FromMember$inboundSchema: z.ZodMiniType<FromMember, unknown>;
|
|
2316
|
+
export declare function fromMemberFromJSON(jsonString: string): SafeParseResult<FromMember, SDKValidationError>;
|
|
2317
|
+
/** @internal */
|
|
2318
|
+
export declare const Invitation$inboundSchema: z.ZodMiniType<Invitation, unknown>;
|
|
2319
|
+
export declare function invitationFromJSON(jsonString: string): SafeParseResult<Invitation, SDKValidationError>;
|
|
2320
|
+
/** @internal */
|
|
2321
|
+
export declare const ListLinkedInInvitationsResponse$inboundSchema: z.ZodMiniType<ListLinkedInInvitationsResponse, unknown>;
|
|
2322
|
+
export declare function listLinkedInInvitationsResponseFromJSON(jsonString: string): SafeParseResult<ListLinkedInInvitationsResponse, SDKValidationError>;
|
|
2323
|
+
/** @internal */
|
|
2324
|
+
export type AcceptLinkedInInvitationRequest$Outbound = {
|
|
2325
|
+
invitationId: string;
|
|
2326
|
+
sharedSecret: string;
|
|
2327
|
+
senderProfileId?: string | undefined;
|
|
2328
|
+
firstName?: string | undefined;
|
|
2329
|
+
lastName?: string | undefined;
|
|
2330
|
+
};
|
|
2331
|
+
/** @internal */
|
|
2332
|
+
export declare const AcceptLinkedInInvitationRequest$outboundSchema: z.ZodMiniType<AcceptLinkedInInvitationRequest$Outbound, AcceptLinkedInInvitationRequest>;
|
|
2333
|
+
export declare function acceptLinkedInInvitationRequestToJSON(acceptLinkedInInvitationRequest: AcceptLinkedInInvitationRequest): string;
|
|
2334
|
+
/** @internal */
|
|
2335
|
+
export declare const AcceptLinkedInInvitationResponse$inboundSchema: z.ZodMiniType<AcceptLinkedInInvitationResponse, unknown>;
|
|
2336
|
+
export declare function acceptLinkedInInvitationResponseFromJSON(jsonString: string): SafeParseResult<AcceptLinkedInInvitationResponse, SDKValidationError>;
|
|
2337
|
+
/** @internal */
|
|
2338
|
+
export type SendLinkedInMessageRequest$Outbound = {
|
|
2339
|
+
profile: string;
|
|
2340
|
+
message: string;
|
|
2341
|
+
campaignSlug?: string | undefined;
|
|
2342
|
+
actionSlug?: string | undefined;
|
|
2343
|
+
};
|
|
2344
|
+
/** @internal */
|
|
2345
|
+
export declare const SendLinkedInMessageRequest$outboundSchema: z.ZodMiniType<SendLinkedInMessageRequest$Outbound, SendLinkedInMessageRequest>;
|
|
2346
|
+
export declare function sendLinkedInMessageRequestToJSON(sendLinkedInMessageRequest: SendLinkedInMessageRequest): string;
|
|
2347
|
+
/** @internal */
|
|
2348
|
+
export declare const SendLinkedInMessageResponse$inboundSchema: z.ZodMiniType<SendLinkedInMessageResponse, unknown>;
|
|
2349
|
+
export declare function sendLinkedInMessageResponseFromJSON(jsonString: string): SafeParseResult<SendLinkedInMessageResponse, SDKValidationError>;
|
|
2350
|
+
//# sourceMappingURL=send-linked-in-message-response.d.ts.map
|