bereach 0.2.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +191 -66
- package/esm/funcs/{linkedin-actions-connect-profile.d.ts → actions-connect-profile.d.ts} +2 -2
- package/esm/funcs/actions-connect-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-connect-profile.js → actions-connect-profile.js} +2 -2
- package/esm/funcs/actions-connect-profile.js.map +1 -0
- package/esm/funcs/actions-follow-company.d.ts +18 -0
- package/esm/funcs/{campaigns-sync-actions.d.ts.map → actions-follow-company.d.ts.map} +1 -1
- package/esm/funcs/actions-follow-company.js +95 -0
- package/esm/funcs/actions-follow-company.js.map +1 -0
- package/esm/funcs/{profile-get-linked-in-profile.d.ts → actions-list-sent-invitations.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-publish-post.d.ts.map → actions-list-sent-invitations.d.ts.map} +1 -1
- package/esm/funcs/actions-list-sent-invitations.js +95 -0
- package/esm/funcs/{linkedin-actions-publish-post.js.map → actions-list-sent-invitations.js.map} +1 -1
- package/esm/funcs/actions-send-message.d.ts +18 -0
- package/esm/funcs/actions-send-message.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-send-message.js → actions-send-message.js} +3 -3
- package/esm/funcs/actions-send-message.js.map +1 -0
- package/esm/funcs/campaigns-sync.d.ts +18 -0
- package/esm/funcs/campaigns-sync.d.ts.map +1 -0
- package/esm/funcs/{campaigns-sync-actions.js → campaigns-sync.js} +2 -2
- package/esm/funcs/campaigns-sync.js.map +1 -0
- package/esm/funcs/chat-archive.d.ts +18 -0
- package/esm/funcs/chat-archive.d.ts.map +1 -0
- package/esm/funcs/chat-archive.js +95 -0
- package/esm/funcs/chat-archive.js.map +1 -0
- package/esm/funcs/{linkedin-chat-find-conversation.d.ts → chat-find-conversation.d.ts} +2 -2
- package/esm/funcs/chat-find-conversation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-find-conversation.js → chat-find-conversation.js} +2 -2
- package/esm/funcs/chat-find-conversation.js.map +1 -0
- package/esm/funcs/chat-search-conversations.d.ts +18 -0
- package/esm/funcs/chat-search-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-search-conversations.js → chat-search-conversations.js} +2 -2
- package/esm/funcs/chat-search-conversations.js.map +1 -0
- package/esm/funcs/chat-unreact.d.ts +18 -0
- package/esm/funcs/chat-unreact.d.ts.map +1 -0
- package/esm/funcs/chat-unreact.js +95 -0
- package/esm/funcs/chat-unreact.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +18 -0
- package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -0
- package/esm/funcs/company-pages-get-analytics.js +95 -0
- package/esm/funcs/company-pages-get-analytics.js.map +1 -0
- package/esm/funcs/company-pages-get-permissions.d.ts +18 -0
- package/esm/funcs/{linkedin-actions-send-message.d.ts.map → company-pages-get-permissions.d.ts.map} +1 -1
- package/esm/funcs/company-pages-get-permissions.js +95 -0
- package/esm/funcs/{linkedin-actions-send-message.js.map → company-pages-get-permissions.js.map} +1 -1
- package/esm/funcs/{campaigns-sync-actions.d.ts → company-pages-get-posts.d.ts} +4 -4
- package/esm/funcs/company-pages-get-posts.d.ts.map +1 -0
- package/esm/funcs/company-pages-get-posts.js +95 -0
- package/esm/funcs/company-pages-get-posts.js.map +1 -0
- package/esm/funcs/company-pages-list.d.ts +18 -0
- package/esm/funcs/company-pages-list.d.ts.map +1 -0
- package/esm/funcs/company-pages-list.js +84 -0
- package/esm/funcs/company-pages-list.js.map +1 -0
- package/esm/funcs/contacts-upsert.d.ts +17 -0
- package/esm/funcs/contacts-upsert.d.ts.map +1 -0
- package/esm/funcs/contacts-upsert.js +79 -0
- package/esm/funcs/contacts-upsert.js.map +1 -0
- package/esm/funcs/linked-in-actions-create-comment.d.ts +18 -0
- package/esm/funcs/{linkedin-actions-connect-profile.d.ts.map → linked-in-actions-create-comment.d.ts.map} +1 -1
- package/esm/funcs/linked-in-actions-create-comment.js +95 -0
- package/esm/funcs/{linkedin-actions-connect-profile.js.map → linked-in-actions-create-comment.js.map} +1 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +18 -0
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/linked-in-actions-decline-invitation.js +95 -0
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-comment.d.ts → linked-in-actions-like-comment.d.ts} +2 -2
- package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-comment.js → linked-in-actions-like-comment.js} +2 -2
- package/esm/funcs/linked-in-actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-publish-post.d.ts → linked-in-actions-publish-post.d.ts} +3 -3
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-publish-post.js → linked-in-actions-publish-post.js} +3 -3
- package/esm/funcs/linked-in-actions-publish-post.js.map +1 -0
- package/esm/funcs/linked-in-actions-save-post.d.ts +18 -0
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -0
- package/esm/funcs/linked-in-actions-save-post.js +95 -0
- package/esm/funcs/linked-in-actions-save-post.js.map +1 -0
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +18 -0
- package/esm/funcs/{linkedin-chat-search-conversations.d.ts.map → linked-in-actions-unfollow-profile.d.ts.map} +1 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js +95 -0
- package/esm/funcs/{linkedin-chat-search-conversations.js.map → linked-in-actions-unfollow-profile.js.map} +1 -1
- package/esm/funcs/linked-in-chat-list-starred.d.ts +18 -0
- package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-list-starred.js +97 -0
- package/esm/funcs/linked-in-chat-list-starred.js.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts +18 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.js +95 -0
- package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -0
- package/esm/funcs/linked-in-chat-star.d.ts +18 -0
- package/esm/funcs/linked-in-chat-star.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-star.js +95 -0
- package/esm/funcs/linked-in-chat-star.js.map +1 -0
- package/esm/funcs/linked-in-chat-unarchive.d.ts +18 -0
- package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-unarchive.js +95 -0
- package/esm/funcs/linked-in-chat-unarchive.js.map +1 -0
- package/esm/funcs/linked-in-chat-unstar.d.ts +18 -0
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-unstar.js +95 -0
- package/esm/funcs/linked-in-chat-unstar.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.d.ts → linked-in-scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js → linked-in-scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{campaigns-sync-actions.js.map → linked-in-scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts +18 -0
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/linked-in-scrapers-get-feed.js +97 -0
- package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -0
- package/esm/funcs/{linkedin-search-resolve-parameters.d.ts → linked-in-search-resolve-parameters.d.ts} +2 -2
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-resolve-parameters.js → linked-in-search-resolve-parameters.js} +2 -2
- package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-companies.d.ts → linked-in-search-search-companies.d.ts} +2 -2
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-companies.js → linked-in-search-search-companies.js} +2 -2
- package/esm/funcs/linked-in-search-search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-unified-search.d.ts → linked-in-search-search.d.ts} +2 -2
- package/esm/funcs/linked-in-search-search.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-unified-search.js → linked-in-search-search.js} +2 -2
- package/esm/funcs/linked-in-search-search.js.map +1 -0
- package/esm/funcs/{linkedin-actions-send-message.d.ts → linkedin-actions-edit-comment.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-like-comment.d.ts.map → linkedin-actions-edit-comment.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-edit-comment.js +95 -0
- package/esm/funcs/{linkedin-actions-like-comment.js.map → linkedin-actions-edit-comment.js.map} +1 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-edit-post.js +95 -0
- package/esm/funcs/linkedin-actions-edit-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-follow-profile.d.ts +18 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts.map → linkedin-actions-follow-profile.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-follow-profile.js +95 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.js.map → linkedin-actions-follow-profile.js.map} +1 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-like-post.js +95 -0
- package/esm/funcs/linkedin-actions-like-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-repost-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-repost-post.js +95 -0
- package/esm/funcs/linkedin-actions-repost-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unfollow-company.js +95 -0
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -0
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts +18 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts.map → linkedin-actions-unlike-comment.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js +95 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.js.map → linkedin-actions-unlike-comment.js.map} +1 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unlike-post.js +95 -0
- package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-unsave-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unsave-post.js +95 -0
- package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +18 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.js +95 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts → linkedin-chat-get-unread-count.d.ts} +4 -4
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-get-unread-count.js +85 -0
- package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -0
- package/esm/funcs/linkedin-chat-list-archived.d.ts +18 -0
- package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-list-archived.js +97 -0
- package/esm/funcs/linkedin-chat-list-archived.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-conversations.d.ts → linkedin-chat-list-inbox-conversations.d.ts} +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-conversations.js → linkedin-chat-list-inbox-conversations.js} +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -0
- package/esm/funcs/{linkedin-chat-search-conversations.d.ts → linkedin-chat-mark-all-read.d.ts} +4 -4
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-mark-all-read.js +85 -0
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -0
- package/esm/funcs/linkedin-chat-react.d.ts +18 -0
- package/esm/funcs/linkedin-chat-react.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-react.js +95 -0
- package/esm/funcs/linkedin-chat-react.js.map +1 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +18 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.js +95 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +1 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js +1 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/profile-get-credits.d.ts +1 -1
- package/esm/funcs/profile-get-credits.js +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts +18 -0
- package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -0
- package/esm/funcs/profile-get-follower-analytics.js +85 -0
- package/esm/funcs/profile-get-follower-analytics.js.map +1 -0
- package/esm/funcs/profile-get-post-analytics.d.ts +18 -0
- package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -0
- package/esm/funcs/profile-get-post-analytics.js +95 -0
- package/esm/funcs/profile-get-post-analytics.js.map +1 -0
- package/esm/funcs/profile-get-profile-views.d.ts +18 -0
- package/esm/funcs/profile-get-profile-views.d.ts.map +1 -0
- package/esm/funcs/profile-get-profile-views.js +85 -0
- package/esm/funcs/profile-get-profile-views.js.map +1 -0
- package/esm/funcs/profile-get-search-appearances.d.ts +18 -0
- package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -0
- package/esm/funcs/profile-get-search-appearances.js +85 -0
- package/esm/funcs/profile-get-search-appearances.js.map +1 -0
- package/esm/funcs/profile-get.d.ts +18 -0
- package/esm/funcs/profile-get.d.ts.map +1 -0
- package/esm/funcs/{profile-get-linked-in-profile.js → profile-get.js} +2 -2
- package/esm/funcs/profile-get.js.map +1 -0
- package/esm/funcs/profile-list-accounts.d.ts +18 -0
- package/esm/funcs/profile-list-accounts.d.ts.map +1 -0
- package/esm/funcs/profile-list-accounts.js +84 -0
- package/esm/funcs/profile-list-accounts.js.map +1 -0
- package/esm/funcs/profile-update-account.d.ts +18 -0
- package/esm/funcs/profile-update-account.d.ts.map +1 -0
- package/esm/funcs/profile-update-account.js +95 -0
- package/esm/funcs/profile-update-account.js.map +1 -0
- package/esm/funcs/sales-nav-search-people.d.ts +53 -0
- package/esm/funcs/sales-nav-search-people.d.ts.map +1 -0
- package/esm/funcs/sales-nav-search-people.js +130 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js.map → sales-nav-search-people.js.map} +1 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts +33 -0
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/sales-navigator-search-search-companies.js +110 -0
- package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -0
- package/esm/funcs/sales-navigator-search-search.d.ts +39 -0
- package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -0
- package/esm/funcs/sales-navigator-search-search.js +116 -0
- package/esm/funcs/sales-navigator-search-search.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts → scrapers-collect-posts.d.ts} +2 -2
- package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.js → scrapers-collect-posts.js} +2 -2
- package/esm/funcs/scrapers-collect-posts.js.map +1 -0
- package/esm/funcs/scrapers-visit-profile.d.ts +18 -0
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.js → scrapers-visit-profile.js} +2 -2
- package/esm/funcs/scrapers-visit-profile.js.map +1 -0
- package/esm/lib/config.d.ts +4 -4
- package/esm/lib/config.js +4 -4
- package/esm/models/errors/collect-linked-in-likes.d.ts +18 -18
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
- package/esm/models/errors/collect-linked-in-likes.js +9 -9
- package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
- package/esm/models/operations/get-campaign-stats-response.d.ts +800 -856
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -1
- package/esm/models/operations/get-campaign-stats-response.js +503 -515
- package/esm/models/operations/get-campaign-stats-response.js.map +1 -1
- package/esm/models/operations/index.d.ts +3 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +3 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/scraping-weekly.d.ts +2946 -0
- package/esm/models/operations/scraping-weekly.d.ts.map +1 -0
- package/esm/models/operations/scraping-weekly.js +1594 -0
- package/esm/models/operations/scraping-weekly.js.map +1 -0
- package/esm/models/operations/{send-linked-in-message-response.d.ts → search-linked-in-by-url-type-post.d.ts} +825 -766
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +1 -0
- package/esm/models/operations/{send-linked-in-message-response.js → search-linked-in-by-url-type-post.js} +410 -418
- package/esm/models/operations/search-linked-in-by-url-type-post.js.map +1 -0
- package/esm/models/operations/upsert-contacts.d.ts +182 -0
- package/esm/models/operations/upsert-contacts.d.ts.map +1 -0
- package/esm/models/operations/upsert-contacts.js +116 -0
- package/esm/models/operations/upsert-contacts.js.map +1 -0
- package/esm/sdk/actions.d.ts +33 -0
- package/esm/sdk/actions.d.ts.map +1 -0
- package/esm/sdk/actions.js +48 -0
- package/esm/sdk/actions.js.map +1 -0
- package/esm/sdk/campaigns.d.ts +1 -1
- package/esm/sdk/campaigns.d.ts.map +1 -1
- package/esm/sdk/campaigns.js +3 -3
- package/esm/sdk/campaigns.js.map +1 -1
- package/esm/sdk/{linkedin-chat.d.ts → chat.d.ts} +11 -15
- package/esm/sdk/chat.d.ts.map +1 -0
- package/esm/sdk/chat.js +55 -0
- package/esm/sdk/chat.js.map +1 -0
- package/esm/sdk/company-pages.d.ts +33 -0
- package/esm/sdk/company-pages.d.ts.map +1 -0
- package/esm/sdk/company-pages.js +48 -0
- package/esm/sdk/company-pages.js.map +1 -0
- package/esm/sdk/contacts.d.ts +12 -0
- package/esm/sdk/contacts.d.ts.map +1 -0
- package/esm/sdk/contacts.js +18 -0
- package/esm/sdk/contacts.js.map +1 -0
- package/esm/sdk/linked-in-actions-2.d.ts +47 -0
- package/esm/sdk/linked-in-actions-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-actions-2.js +68 -0
- package/esm/sdk/linked-in-actions-2.js.map +1 -0
- package/esm/sdk/linked-in-chat-2.d.ts +40 -0
- package/esm/sdk/linked-in-chat-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-chat-2.js +58 -0
- package/esm/sdk/linked-in-chat-2.js.map +1 -0
- package/esm/sdk/linked-in-scrapers-2.d.ts +19 -0
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-scrapers-2.js +28 -0
- package/esm/sdk/linked-in-scrapers-2.js.map +1 -0
- package/esm/sdk/linked-in-search-1.d.ts +149 -0
- package/esm/sdk/linked-in-search-1.d.ts.map +1 -0
- package/esm/sdk/linked-in-search-1.js +161 -0
- package/esm/sdk/linked-in-search-1.js.map +1 -0
- package/esm/sdk/linkedin-actions-1.d.ts +96 -0
- package/esm/sdk/linkedin-actions-1.d.ts.map +1 -0
- package/esm/sdk/linkedin-actions-1.js +138 -0
- package/esm/sdk/linkedin-actions-1.js.map +1 -0
- package/esm/sdk/linkedin-chat-1.d.ts +58 -0
- package/esm/sdk/linkedin-chat-1.d.ts.map +1 -0
- package/esm/sdk/linkedin-chat-1.js +82 -0
- package/esm/sdk/linkedin-chat-1.js.map +1 -0
- package/esm/sdk/{linkedin-scrapers.d.ts → linkedin-scrapers-1.d.ts} +12 -19
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +1 -0
- package/esm/sdk/{linkedin-scrapers.js → linkedin-scrapers-1.js} +17 -27
- package/esm/sdk/linkedin-scrapers-1.js.map +1 -0
- package/esm/sdk/{linkedin-search.d.ts → linkedin-search-2.d.ts} +2 -146
- package/esm/sdk/linkedin-search-2.d.ts.map +1 -0
- package/esm/sdk/{linkedin-search.js → linkedin-search-2.js} +2 -155
- package/esm/sdk/linkedin-search-2.js.map +1 -0
- package/esm/sdk/profile.d.ts +44 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +64 -4
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +47 -0
- package/esm/sdk/sales-nav.d.ts.map +1 -0
- package/esm/sdk/sales-nav.js +53 -0
- package/esm/sdk/sales-nav.js.map +1 -0
- package/esm/sdk/sales-navigator-search.d.ts +55 -0
- package/esm/sdk/sales-navigator-search.d.ts.map +1 -0
- package/esm/sdk/sales-navigator-search.js +64 -0
- package/esm/sdk/sales-navigator-search.js.map +1 -0
- package/esm/sdk/scrapers.d.ts +19 -0
- package/esm/sdk/scrapers.d.ts.map +1 -0
- package/esm/sdk/scrapers.js +28 -0
- package/esm/sdk/scrapers.js.map +1 -0
- package/esm/sdk/sdk.d.ts +41 -8
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +63 -8
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/types/discriminated-union.d.ts +25 -0
- package/esm/types/discriminated-union.d.ts.map +1 -0
- package/esm/types/discriminated-union.js +61 -0
- package/esm/types/discriminated-union.js.map +1 -0
- package/esm/types/smart-union.d.ts.map +1 -1
- package/esm/types/smart-union.js +2 -1
- package/esm/types/smart-union.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-connect-profile.ts → actions-connect-profile.ts} +1 -1
- package/src/funcs/actions-follow-company.ts +215 -0
- package/src/funcs/actions-list-sent-invitations.ts +218 -0
- package/src/funcs/{linkedin-actions-send-message.ts → actions-send-message.ts} +2 -2
- package/src/funcs/{campaigns-sync-actions.ts → campaigns-sync.ts} +1 -1
- package/src/funcs/chat-archive.ts +215 -0
- package/src/funcs/{linkedin-chat-find-conversation.ts → chat-find-conversation.ts} +1 -1
- package/src/funcs/{linkedin-chat-search-conversations.ts → chat-search-conversations.ts} +1 -1
- package/src/funcs/chat-unreact.ts +215 -0
- package/src/funcs/company-pages-get-analytics.ts +215 -0
- package/src/funcs/company-pages-get-permissions.ts +218 -0
- package/src/funcs/company-pages-get-posts.ts +215 -0
- package/src/funcs/company-pages-list.ts +195 -0
- package/src/funcs/contacts-upsert.ts +161 -0
- package/src/funcs/linked-in-actions-create-comment.ts +215 -0
- package/src/funcs/linked-in-actions-decline-invitation.ts +218 -0
- package/src/funcs/{linkedin-actions-like-comment.ts → linked-in-actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-publish-post.ts → linked-in-actions-publish-post.ts} +2 -2
- package/src/funcs/linked-in-actions-save-post.ts +215 -0
- package/src/funcs/linked-in-actions-unfollow-profile.ts +215 -0
- package/src/funcs/linked-in-chat-list-starred.ts +220 -0
- package/src/funcs/linked-in-chat-mark-seen.ts +215 -0
- package/src/funcs/linked-in-chat-star.ts +215 -0
- package/src/funcs/linked-in-chat-unarchive.ts +215 -0
- package/src/funcs/linked-in-chat-unstar.ts +215 -0
- package/src/funcs/{linkedin-scrapers-collect-comment-replies.ts → linked-in-scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/linked-in-scrapers-get-feed.ts +220 -0
- package/src/funcs/{linkedin-search-resolve-parameters.ts → linked-in-search-resolve-parameters.ts} +1 -1
- package/src/funcs/{linkedin-search-search-companies.ts → linked-in-search-search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-unified-search.ts → linked-in-search-search.ts} +1 -1
- package/src/funcs/linkedin-actions-edit-comment.ts +215 -0
- package/src/funcs/linkedin-actions-edit-post.ts +215 -0
- package/src/funcs/linkedin-actions-follow-profile.ts +215 -0
- package/src/funcs/linkedin-actions-like-post.ts +215 -0
- package/src/funcs/linkedin-actions-repost-post.ts +215 -0
- package/src/funcs/linkedin-actions-unfollow-company.ts +215 -0
- package/src/funcs/linkedin-actions-unlike-comment.ts +215 -0
- package/src/funcs/linkedin-actions-unlike-post.ts +215 -0
- package/src/funcs/linkedin-actions-unsave-post.ts +215 -0
- package/src/funcs/linkedin-actions-withdraw-invitation.ts +218 -0
- package/src/funcs/linkedin-chat-get-unread-count.ts +199 -0
- package/src/funcs/linkedin-chat-list-archived.ts +220 -0
- package/src/funcs/{linkedin-chat-list-conversations.ts → linkedin-chat-list-inbox-conversations.ts} +1 -1
- package/src/funcs/linkedin-chat-mark-all-read.ts +199 -0
- package/src/funcs/linkedin-chat-react.ts +214 -0
- package/src/funcs/linkedin-chat-send-typing-indicator.ts +215 -0
- package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +218 -0
- package/src/funcs/linkedin-scrapers-collect-likes.ts +1 -1
- package/src/funcs/linkedin-scrapers-list-saved-posts.ts +218 -0
- package/src/funcs/profile-get-credits.ts +1 -1
- package/src/funcs/profile-get-follower-analytics.ts +199 -0
- package/src/funcs/profile-get-post-analytics.ts +215 -0
- package/src/funcs/profile-get-profile-views.ts +199 -0
- package/src/funcs/profile-get-search-appearances.ts +199 -0
- package/src/funcs/{profile-get-linked-in-profile.ts → profile-get.ts} +1 -1
- package/src/funcs/profile-list-accounts.ts +195 -0
- package/src/funcs/profile-update-account.ts +215 -0
- package/src/funcs/sales-nav-search-people.ts +250 -0
- package/src/funcs/sales-navigator-search-search-companies.ts +230 -0
- package/src/funcs/sales-navigator-search-search.ts +235 -0
- package/src/funcs/{linkedin-scrapers-collect-posts.ts → scrapers-collect-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-profile.ts → scrapers-visit-profile.ts} +1 -1
- package/src/lib/config.ts +4 -4
- package/src/models/errors/collect-linked-in-likes.ts +27 -27
- package/src/models/operations/get-campaign-stats-response.ts +1616 -1584
- package/src/models/operations/index.ts +3 -1
- package/src/models/operations/scraping-weekly.ts +5707 -0
- package/src/models/operations/{send-linked-in-message-response.ts → search-linked-in-by-url-type-post.ts} +2086 -2093
- package/src/models/operations/upsert-contacts.ts +305 -0
- package/src/sdk/actions.ts +81 -0
- package/src/sdk/campaigns.ts +3 -3
- package/src/sdk/{linkedin-chat.ts → chat.ts} +29 -33
- package/src/sdk/company-pages.ts +79 -0
- package/src/sdk/contacts.ts +27 -0
- package/src/sdk/linked-in-actions-2.ts +117 -0
- package/src/sdk/linked-in-chat-2.ts +99 -0
- package/src/sdk/linked-in-scrapers-2.ts +45 -0
- package/src/sdk/linked-in-search-1.ts +186 -0
- package/src/sdk/linkedin-actions-1.ts +243 -0
- package/src/sdk/linkedin-chat-1.ts +139 -0
- package/src/sdk/{linkedin-scrapers.ts → linkedin-scrapers-1.ts} +22 -40
- package/src/sdk/{linkedin-search.ts → linkedin-search-2.ts} +1 -178
- package/src/sdk/profile.ts +110 -4
- package/src/sdk/sales-nav.ts +62 -0
- package/src/sdk/sales-navigator-search.ts +81 -0
- package/src/sdk/scrapers.ts +45 -0
- package/src/sdk/sdk.ts +84 -16
- package/src/types/discriminated-union.ts +101 -0
- package/src/types/smart-union.ts +2 -1
- package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-find-conversation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-conversations.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-resolve-parameters.js.map +0 -1
- package/esm/funcs/linkedin-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-companies.js.map +0 -1
- package/esm/funcs/linkedin-search-unified-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-unified-search.js.map +0 -1
- package/esm/funcs/profile-get-linked-in-profile.d.ts.map +0 -1
- package/esm/funcs/profile-get-linked-in-profile.js.map +0 -1
- package/esm/models/operations/send-linked-in-message-response.d.ts.map +0 -1
- package/esm/models/operations/send-linked-in-message-response.js.map +0 -1
- package/esm/sdk/linkedin-actions.d.ts +0 -54
- package/esm/sdk/linkedin-actions.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions.js +0 -78
- package/esm/sdk/linkedin-actions.js.map +0 -1
- package/esm/sdk/linkedin-chat.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat.js +0 -59
- package/esm/sdk/linkedin-chat.js.map +0 -1
- package/esm/sdk/linkedin-scrapers.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers.js.map +0 -1
- package/esm/sdk/linkedin-search.d.ts.map +0 -1
- package/esm/sdk/linkedin-search.js.map +0 -1
- package/src/sdk/linkedin-actions.ts +0 -135
|
@@ -2,39 +2,60 @@ import * as z from "zod/v4-mini";
|
|
|
2
2
|
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
-
|
|
5
|
+
import { ConnectionRequest, GetMyLimitsMessage, ProfileVisit, ScrapingDaily, ScrapingWeekly } from "./scraping-weekly.js";
|
|
6
|
+
/**
|
|
7
|
+
* Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
|
|
8
|
+
*/
|
|
9
|
+
export type Scraping = {
|
|
10
|
+
/**
|
|
11
|
+
* Daily usage counter (resets at midnight UTC)
|
|
12
|
+
*/
|
|
13
|
+
daily: ScrapingDaily;
|
|
6
14
|
/**
|
|
7
|
-
*
|
|
15
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
8
16
|
*/
|
|
9
|
-
|
|
17
|
+
weekly: ScrapingWeekly | null;
|
|
10
18
|
/**
|
|
11
|
-
*
|
|
19
|
+
* Minimum delay in seconds required between two consecutive actions of this type
|
|
12
20
|
*/
|
|
13
|
-
|
|
21
|
+
minIntervalSeconds: number;
|
|
14
22
|
/**
|
|
15
|
-
*
|
|
23
|
+
* ISO 8601 timestamp of the next daily counter reset
|
|
16
24
|
*/
|
|
17
|
-
|
|
25
|
+
nextResetDaily: Date;
|
|
18
26
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
27
|
+
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
22
28
|
*/
|
|
23
|
-
|
|
29
|
+
nextResetWeekly: Date | null;
|
|
24
30
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
export type Limits = {
|
|
32
|
+
/**
|
|
33
|
+
* Limits for sending LinkedIn connection requests
|
|
34
|
+
*/
|
|
35
|
+
connectionRequest: ConnectionRequest;
|
|
36
|
+
/**
|
|
37
|
+
* Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
|
|
38
|
+
*/
|
|
39
|
+
message: GetMyLimitsMessage;
|
|
40
|
+
/**
|
|
41
|
+
* Limits for visiting LinkedIn profiles and company pages
|
|
42
|
+
*/
|
|
43
|
+
profileVisit: ProfileVisit;
|
|
30
44
|
/**
|
|
31
|
-
*
|
|
45
|
+
* Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
|
|
32
46
|
*/
|
|
33
|
-
|
|
47
|
+
scraping: Scraping;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Rate limit status for all action types
|
|
51
|
+
*/
|
|
52
|
+
export type GetMyLimitsResponse = {
|
|
53
|
+
success: true;
|
|
34
54
|
/**
|
|
35
|
-
*
|
|
55
|
+
* Workspace limit multiplier applied to all base limits (default 1.0)
|
|
36
56
|
*/
|
|
37
|
-
|
|
57
|
+
multiplier: number;
|
|
58
|
+
limits: Limits;
|
|
38
59
|
/**
|
|
39
60
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
40
61
|
*/
|
|
@@ -44,54 +65,51 @@ export type ReplyToLinkedInCommentResponse = {
|
|
|
44
65
|
*/
|
|
45
66
|
retryAfter: number;
|
|
46
67
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
readonly Love: "LOVE";
|
|
53
|
-
readonly Celebrate: "CELEBRATE";
|
|
54
|
-
readonly Support: "SUPPORT";
|
|
55
|
-
readonly Funny: "FUNNY";
|
|
56
|
-
readonly Insightful: "INSIGHTFUL";
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Reaction type (default: LIKE)
|
|
60
|
-
*/
|
|
61
|
-
export type ReactionType = ClosedEnum<typeof ReactionType>;
|
|
62
|
-
export type LikeLinkedInCommentRequest = {
|
|
68
|
+
export type Credits = {
|
|
69
|
+
/**
|
|
70
|
+
* Number of credits used in the current billing period
|
|
71
|
+
*/
|
|
72
|
+
current: number;
|
|
63
73
|
/**
|
|
64
|
-
*
|
|
74
|
+
* Maximum credits available for the workspace, or null if unlimited
|
|
65
75
|
*/
|
|
66
|
-
|
|
76
|
+
limit: number | null;
|
|
67
77
|
/**
|
|
68
|
-
*
|
|
78
|
+
* Credits remaining before hitting the limit, or null if unlimited
|
|
69
79
|
*/
|
|
70
|
-
|
|
80
|
+
remaining: number | null;
|
|
71
81
|
/**
|
|
72
|
-
*
|
|
82
|
+
* Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
|
|
73
83
|
*/
|
|
74
|
-
|
|
84
|
+
percentage: number;
|
|
75
85
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
86
|
+
* Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
|
|
79
87
|
*/
|
|
80
|
-
|
|
88
|
+
isUnlimited: boolean;
|
|
81
89
|
};
|
|
82
90
|
/**
|
|
83
|
-
*
|
|
91
|
+
* Credit balance for the workspace
|
|
84
92
|
*/
|
|
85
|
-
export type
|
|
86
|
-
success:
|
|
93
|
+
export type GetMyCreditsResponse = {
|
|
94
|
+
success: true;
|
|
95
|
+
credits: Credits;
|
|
87
96
|
/**
|
|
88
|
-
*
|
|
97
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
89
98
|
*/
|
|
90
|
-
|
|
99
|
+
creditsUsed: number;
|
|
91
100
|
/**
|
|
92
|
-
*
|
|
101
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
93
102
|
*/
|
|
94
|
-
|
|
103
|
+
retryAfter: number;
|
|
104
|
+
};
|
|
105
|
+
export type GetLinkedInProfileViewsRequest = {};
|
|
106
|
+
/**
|
|
107
|
+
* Profile viewers
|
|
108
|
+
*/
|
|
109
|
+
export type GetLinkedInProfileViewsResponse = {
|
|
110
|
+
success: true;
|
|
111
|
+
views: Array<any>;
|
|
112
|
+
total: number;
|
|
95
113
|
/**
|
|
96
114
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
97
115
|
*/
|
|
@@ -101,395 +119,261 @@ export type LikeLinkedInCommentResponse = {
|
|
|
101
119
|
*/
|
|
102
120
|
retryAfter: number;
|
|
103
121
|
};
|
|
122
|
+
export type GetLinkedInSearchAppearancesRequest = {};
|
|
104
123
|
/**
|
|
105
|
-
*
|
|
106
|
-
*/
|
|
107
|
-
export declare const Mode: {
|
|
108
|
-
readonly Scheduled: "scheduled";
|
|
109
|
-
readonly Instant: "instant";
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
113
|
-
*/
|
|
114
|
-
export type Mode = ClosedEnum<typeof Mode>;
|
|
115
|
-
/**
|
|
116
|
-
* Post visibility
|
|
117
|
-
*/
|
|
118
|
-
export declare const Visibility: {
|
|
119
|
-
readonly Anyone: "ANYONE";
|
|
120
|
-
readonly Connections: "CONNECTIONS";
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Post visibility
|
|
124
|
+
* Search appearance stats
|
|
124
125
|
*/
|
|
125
|
-
export type
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
* LinkedIn profile URN of the mentioned person (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B...')
|
|
129
|
-
*/
|
|
130
|
-
profileUrn: string;
|
|
126
|
+
export type GetLinkedInSearchAppearancesResponse = {
|
|
127
|
+
success: true;
|
|
128
|
+
appearances: any;
|
|
131
129
|
/**
|
|
132
|
-
*
|
|
130
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
133
131
|
*/
|
|
134
|
-
|
|
132
|
+
creditsUsed: number;
|
|
135
133
|
/**
|
|
136
|
-
*
|
|
134
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
137
135
|
*/
|
|
138
|
-
|
|
136
|
+
retryAfter: number;
|
|
139
137
|
};
|
|
140
|
-
export type
|
|
138
|
+
export type GetLinkedInPostAnalyticsRequest = {
|
|
141
139
|
/**
|
|
142
|
-
*
|
|
140
|
+
* LinkedIn post URL or URN
|
|
143
141
|
*/
|
|
144
|
-
|
|
142
|
+
postUrl: string;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Post analytics
|
|
146
|
+
*/
|
|
147
|
+
export type GetLinkedInPostAnalyticsResponse = {
|
|
148
|
+
success: true;
|
|
149
|
+
analytics: any;
|
|
145
150
|
/**
|
|
146
|
-
*
|
|
151
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
147
152
|
*/
|
|
148
|
-
|
|
153
|
+
creditsUsed: number;
|
|
149
154
|
/**
|
|
150
|
-
*
|
|
155
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
151
156
|
*/
|
|
152
|
-
|
|
157
|
+
retryAfter: number;
|
|
158
|
+
};
|
|
159
|
+
export type GetLinkedInFollowerAnalyticsRequest = {};
|
|
160
|
+
/**
|
|
161
|
+
* Follower analytics
|
|
162
|
+
*/
|
|
163
|
+
export type GetLinkedInFollowerAnalyticsResponse = {
|
|
164
|
+
success: true;
|
|
165
|
+
analytics: any;
|
|
153
166
|
/**
|
|
154
|
-
*
|
|
167
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
155
168
|
*/
|
|
156
|
-
|
|
169
|
+
creditsUsed: number;
|
|
157
170
|
/**
|
|
158
|
-
*
|
|
171
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
159
172
|
*/
|
|
160
|
-
|
|
173
|
+
retryAfter: number;
|
|
174
|
+
};
|
|
175
|
+
export type Page = {
|
|
161
176
|
/**
|
|
162
|
-
*
|
|
177
|
+
* LinkedIn numeric company ID.
|
|
163
178
|
*/
|
|
164
|
-
|
|
179
|
+
id: string;
|
|
165
180
|
/**
|
|
166
|
-
*
|
|
181
|
+
* Company URL slug (e.g. 'openai').
|
|
167
182
|
*/
|
|
168
|
-
|
|
183
|
+
universalName: string;
|
|
184
|
+
name: string;
|
|
185
|
+
url: string;
|
|
186
|
+
logoUrl: string | null;
|
|
187
|
+
followerCount: number | null;
|
|
188
|
+
industry: string | null;
|
|
189
|
+
employeeCount: number | null;
|
|
169
190
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
191
|
+
* Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
|
|
173
192
|
*/
|
|
174
|
-
|
|
193
|
+
adminRole: string | null;
|
|
175
194
|
};
|
|
176
195
|
/**
|
|
177
|
-
*
|
|
196
|
+
* List of managed company pages
|
|
178
197
|
*/
|
|
179
|
-
export type
|
|
180
|
-
success:
|
|
198
|
+
export type ListLinkedInCompanyPagesResponse = {
|
|
199
|
+
success: true;
|
|
200
|
+
pages: Array<Page>;
|
|
201
|
+
total: number;
|
|
181
202
|
/**
|
|
182
|
-
*
|
|
203
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
183
204
|
*/
|
|
184
|
-
|
|
205
|
+
creditsUsed: number;
|
|
185
206
|
/**
|
|
186
|
-
*
|
|
207
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
187
208
|
*/
|
|
188
|
-
|
|
209
|
+
retryAfter: number;
|
|
210
|
+
};
|
|
211
|
+
export type GetCompanyPagePostsRequest = {
|
|
189
212
|
/**
|
|
190
|
-
*
|
|
213
|
+
* Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
|
|
191
214
|
*/
|
|
192
|
-
|
|
215
|
+
universalName: string;
|
|
193
216
|
/**
|
|
194
|
-
*
|
|
217
|
+
* Number of posts to return (max 50).
|
|
195
218
|
*/
|
|
196
|
-
|
|
219
|
+
count?: number | undefined;
|
|
197
220
|
/**
|
|
198
|
-
*
|
|
221
|
+
* Pagination offset.
|
|
199
222
|
*/
|
|
200
|
-
|
|
201
|
-
};
|
|
202
|
-
export type GetMyLinkedInProfilePositionStartDate = {
|
|
203
|
-
month: number | null;
|
|
204
|
-
year: number;
|
|
205
|
-
};
|
|
206
|
-
export type GetMyLinkedInProfilePositionEndDate = {
|
|
207
|
-
month: number | null;
|
|
208
|
-
year: number;
|
|
209
|
-
};
|
|
210
|
-
export type GetMyLinkedInProfilePosition = {
|
|
211
|
-
companyName: string | null;
|
|
212
|
-
title: string | null;
|
|
213
|
-
companyUrl: string | null;
|
|
214
|
-
companyLogo: string | null;
|
|
215
|
-
startDate: GetMyLinkedInProfilePositionStartDate | null;
|
|
216
|
-
endDate: GetMyLinkedInProfilePositionEndDate | null;
|
|
217
|
-
isCurrent: boolean;
|
|
218
|
-
};
|
|
219
|
-
export type GetMyLinkedInProfileEducationStartDate = {
|
|
220
|
-
month: number | null;
|
|
221
|
-
year: number;
|
|
222
|
-
};
|
|
223
|
-
export type GetMyLinkedInProfileEducationEndDate = {
|
|
224
|
-
month: number | null;
|
|
225
|
-
year: number;
|
|
226
|
-
};
|
|
227
|
-
export type GetMyLinkedInProfileEducation = {
|
|
228
|
-
schoolName: string | null;
|
|
229
|
-
degreeName: string | null;
|
|
230
|
-
fieldOfStudy: string | null;
|
|
231
|
-
schoolUrl: string | null;
|
|
232
|
-
schoolLogo: string | null;
|
|
233
|
-
startDate: GetMyLinkedInProfileEducationStartDate | null;
|
|
234
|
-
endDate: GetMyLinkedInProfileEducationEndDate | null;
|
|
235
|
-
};
|
|
236
|
-
/**
|
|
237
|
-
* Profile location
|
|
238
|
-
*/
|
|
239
|
-
export type GetMyLinkedInProfileLocation = {
|
|
240
|
-
countryCode: string;
|
|
241
|
-
postalCode?: string | undefined;
|
|
242
|
-
};
|
|
243
|
-
export declare const GetMyLinkedInProfileType: {
|
|
244
|
-
readonly Activity: "activity";
|
|
245
|
-
readonly UgcPost: "ugcPost";
|
|
246
|
-
readonly Share: "share";
|
|
247
|
-
};
|
|
248
|
-
export type GetMyLinkedInProfileType = OpenEnum<typeof GetMyLinkedInProfileType>;
|
|
249
|
-
export type GetMyLinkedInProfileLastPost = {
|
|
250
|
-
postUrl: string;
|
|
251
|
-
text: string;
|
|
252
|
-
date: number;
|
|
253
|
-
likesCount: number;
|
|
254
|
-
commentsCount: number;
|
|
255
|
-
sharesCount: number;
|
|
256
|
-
postUrn: string;
|
|
257
|
-
postId: string;
|
|
258
|
-
type: GetMyLinkedInProfileType;
|
|
223
|
+
start?: number | undefined;
|
|
259
224
|
};
|
|
260
|
-
|
|
261
|
-
* Stored LinkedIn profile data
|
|
262
|
-
*/
|
|
263
|
-
export type GetMyLinkedInProfileResponse = {
|
|
264
|
-
success: boolean;
|
|
225
|
+
export type GetCompanyPagePostsPost = {
|
|
265
226
|
/**
|
|
266
|
-
* LinkedIn
|
|
227
|
+
* LinkedIn activity URN for this post.
|
|
267
228
|
*/
|
|
268
|
-
|
|
229
|
+
activityUrn: string;
|
|
269
230
|
/**
|
|
270
|
-
*
|
|
231
|
+
* Direct URL to the post on LinkedIn.
|
|
271
232
|
*/
|
|
272
|
-
|
|
233
|
+
postUrl: string;
|
|
273
234
|
/**
|
|
274
|
-
*
|
|
235
|
+
* Post text content (null if media-only).
|
|
275
236
|
*/
|
|
276
|
-
|
|
237
|
+
text: string | null;
|
|
277
238
|
/**
|
|
278
|
-
*
|
|
239
|
+
* Unix timestamp in milliseconds (null if unavailable).
|
|
279
240
|
*/
|
|
280
|
-
|
|
241
|
+
publishedAt: number | null;
|
|
281
242
|
/**
|
|
282
|
-
*
|
|
243
|
+
* Number of likes/reactions.
|
|
283
244
|
*/
|
|
284
|
-
|
|
245
|
+
numLikes: number | null;
|
|
285
246
|
/**
|
|
286
|
-
*
|
|
247
|
+
* Number of comments.
|
|
287
248
|
*/
|
|
288
|
-
|
|
249
|
+
numComments: number | null;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Company page posts
|
|
253
|
+
*/
|
|
254
|
+
export type GetCompanyPagePostsResponse = {
|
|
255
|
+
success: true;
|
|
256
|
+
posts: Array<GetCompanyPagePostsPost>;
|
|
289
257
|
/**
|
|
290
|
-
*
|
|
258
|
+
* Total number of posts available.
|
|
291
259
|
*/
|
|
292
|
-
|
|
260
|
+
total: number;
|
|
293
261
|
/**
|
|
294
|
-
*
|
|
262
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
295
263
|
*/
|
|
296
|
-
|
|
264
|
+
creditsUsed: number;
|
|
297
265
|
/**
|
|
298
|
-
*
|
|
266
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
299
267
|
*/
|
|
300
|
-
|
|
268
|
+
retryAfter: number;
|
|
269
|
+
};
|
|
270
|
+
export type GetCompanyPagePermissionsRequest = {
|
|
301
271
|
/**
|
|
302
|
-
*
|
|
272
|
+
* Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
|
|
303
273
|
*/
|
|
304
|
-
|
|
274
|
+
universalName: string;
|
|
275
|
+
};
|
|
276
|
+
export type Permissions = {
|
|
305
277
|
/**
|
|
306
|
-
*
|
|
278
|
+
* Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
|
|
307
279
|
*/
|
|
308
|
-
|
|
280
|
+
role: string | null;
|
|
309
281
|
/**
|
|
310
|
-
*
|
|
282
|
+
* Can post as the company page.
|
|
311
283
|
*/
|
|
312
|
-
|
|
284
|
+
canCreateOrganicShare: boolean;
|
|
313
285
|
/**
|
|
314
|
-
*
|
|
286
|
+
* Can comment as the company page.
|
|
315
287
|
*/
|
|
316
|
-
|
|
288
|
+
canCreateComment: boolean;
|
|
317
289
|
/**
|
|
318
|
-
*
|
|
290
|
+
* Can like/react as the company page.
|
|
319
291
|
*/
|
|
320
|
-
|
|
292
|
+
canCreateReaction: boolean;
|
|
321
293
|
/**
|
|
322
|
-
*
|
|
294
|
+
* Can delete company page posts.
|
|
323
295
|
*/
|
|
324
|
-
|
|
325
|
-
};
|
|
326
|
-
export type RefreshMyLinkedInProfilePositionStartDate = {
|
|
327
|
-
month: number | null;
|
|
328
|
-
year: number;
|
|
329
|
-
};
|
|
330
|
-
export type RefreshMyLinkedInProfilePositionEndDate = {
|
|
331
|
-
month: number | null;
|
|
332
|
-
year: number;
|
|
333
|
-
};
|
|
334
|
-
export type RefreshMyLinkedInProfilePosition = {
|
|
335
|
-
companyName: string | null;
|
|
336
|
-
title: string | null;
|
|
337
|
-
companyUrl: string | null;
|
|
338
|
-
companyLogo: string | null;
|
|
339
|
-
startDate: RefreshMyLinkedInProfilePositionStartDate | null;
|
|
340
|
-
endDate: RefreshMyLinkedInProfilePositionEndDate | null;
|
|
341
|
-
isCurrent: boolean;
|
|
342
|
-
};
|
|
343
|
-
export type RefreshMyLinkedInProfileEducationStartDate = {
|
|
344
|
-
month: number | null;
|
|
345
|
-
year: number;
|
|
346
|
-
};
|
|
347
|
-
export type RefreshMyLinkedInProfileEducationEndDate = {
|
|
348
|
-
month: number | null;
|
|
349
|
-
year: number;
|
|
350
|
-
};
|
|
351
|
-
export type RefreshMyLinkedInProfileEducation = {
|
|
352
|
-
schoolName: string | null;
|
|
353
|
-
degreeName: string | null;
|
|
354
|
-
fieldOfStudy: string | null;
|
|
355
|
-
schoolUrl: string | null;
|
|
356
|
-
schoolLogo: string | null;
|
|
357
|
-
startDate: RefreshMyLinkedInProfileEducationStartDate | null;
|
|
358
|
-
endDate: RefreshMyLinkedInProfileEducationEndDate | null;
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* Profile location
|
|
362
|
-
*/
|
|
363
|
-
export type RefreshMyLinkedInProfileLocation = {
|
|
364
|
-
countryCode: string;
|
|
365
|
-
postalCode?: string | undefined;
|
|
366
|
-
};
|
|
367
|
-
export declare const RefreshMyLinkedInProfileType: {
|
|
368
|
-
readonly Activity: "activity";
|
|
369
|
-
readonly UgcPost: "ugcPost";
|
|
370
|
-
readonly Share: "share";
|
|
371
|
-
};
|
|
372
|
-
export type RefreshMyLinkedInProfileType = OpenEnum<typeof RefreshMyLinkedInProfileType>;
|
|
373
|
-
export type RefreshMyLinkedInProfileLastPost = {
|
|
374
|
-
postUrl: string;
|
|
375
|
-
text: string;
|
|
376
|
-
date: number;
|
|
377
|
-
likesCount: number;
|
|
378
|
-
commentsCount: number;
|
|
379
|
-
sharesCount: number;
|
|
380
|
-
postUrn: string;
|
|
381
|
-
postId: string;
|
|
382
|
-
type: RefreshMyLinkedInProfileType;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* Refreshed LinkedIn profile data
|
|
386
|
-
*/
|
|
387
|
-
export type RefreshMyLinkedInProfileResponse = {
|
|
388
|
-
success: boolean;
|
|
296
|
+
canDeleteShare: boolean;
|
|
389
297
|
/**
|
|
390
|
-
*
|
|
298
|
+
* Can pin posts on the company page.
|
|
391
299
|
*/
|
|
392
|
-
|
|
300
|
+
canPinShare: boolean;
|
|
393
301
|
/**
|
|
394
|
-
*
|
|
302
|
+
* Can send messages from the company page inbox.
|
|
395
303
|
*/
|
|
396
|
-
|
|
304
|
+
canSendMessages: boolean;
|
|
397
305
|
/**
|
|
398
|
-
*
|
|
306
|
+
* Can read the company page inbox.
|
|
399
307
|
*/
|
|
400
|
-
|
|
308
|
+
canReadMessages: boolean;
|
|
401
309
|
/**
|
|
402
|
-
*
|
|
310
|
+
* Can access the admin analytics dashboard.
|
|
403
311
|
*/
|
|
404
|
-
|
|
312
|
+
canReadAdminDashboard: boolean;
|
|
405
313
|
/**
|
|
406
|
-
*
|
|
314
|
+
* Can view post/update analytics.
|
|
407
315
|
*/
|
|
408
|
-
|
|
316
|
+
canReadOrganizationUpdateAnalytics: boolean;
|
|
409
317
|
/**
|
|
410
|
-
*
|
|
318
|
+
* Can view visitor analytics.
|
|
411
319
|
*/
|
|
412
|
-
|
|
320
|
+
canReadOrganizationVisitorAnalytics: boolean;
|
|
413
321
|
/**
|
|
414
|
-
*
|
|
322
|
+
* Can view follower analytics.
|
|
415
323
|
*/
|
|
416
|
-
|
|
324
|
+
canReadOrganizationFollowerAnalytics: boolean;
|
|
417
325
|
/**
|
|
418
|
-
*
|
|
326
|
+
* Can view search appearance analytics.
|
|
419
327
|
*/
|
|
420
|
-
|
|
328
|
+
canReadOrganizationSearchAppearanceAnalytics: boolean;
|
|
421
329
|
/**
|
|
422
|
-
*
|
|
330
|
+
* Can edit the company page profile.
|
|
423
331
|
*/
|
|
424
|
-
|
|
332
|
+
canUpdateOrganizationProfile: boolean;
|
|
425
333
|
/**
|
|
426
|
-
*
|
|
334
|
+
* Can add/remove page admins.
|
|
427
335
|
*/
|
|
428
|
-
|
|
336
|
+
canEditAdministrators: boolean;
|
|
429
337
|
/**
|
|
430
|
-
*
|
|
338
|
+
* Can deactivate the company page.
|
|
431
339
|
*/
|
|
432
|
-
|
|
340
|
+
canDeactivateOrganization: boolean;
|
|
433
341
|
/**
|
|
434
|
-
*
|
|
342
|
+
* Can create/edit company events.
|
|
435
343
|
*/
|
|
436
|
-
|
|
344
|
+
canEditEvents: boolean;
|
|
437
345
|
/**
|
|
438
|
-
*
|
|
346
|
+
* Can view company events.
|
|
439
347
|
*/
|
|
440
|
-
|
|
441
|
-
refreshed: boolean;
|
|
348
|
+
canReadEvents: boolean;
|
|
442
349
|
/**
|
|
443
|
-
*
|
|
350
|
+
* Can sponsor/boost posts.
|
|
444
351
|
*/
|
|
445
|
-
|
|
352
|
+
canSponsorShare: boolean;
|
|
446
353
|
/**
|
|
447
|
-
*
|
|
354
|
+
* Can manage the career page section.
|
|
448
355
|
*/
|
|
449
|
-
|
|
450
|
-
};
|
|
451
|
-
export type GetMyLinkedInPostsRequest = {
|
|
356
|
+
canManageCareerPages: boolean;
|
|
452
357
|
/**
|
|
453
|
-
*
|
|
358
|
+
* Can manage messaging settings.
|
|
454
359
|
*/
|
|
455
|
-
|
|
360
|
+
canManageMessagingAccess: boolean;
|
|
456
361
|
/**
|
|
457
|
-
*
|
|
362
|
+
* Can notify employees about posts.
|
|
458
363
|
*/
|
|
459
|
-
|
|
364
|
+
canNotifyEmployees: boolean;
|
|
460
365
|
/**
|
|
461
|
-
*
|
|
366
|
+
* Can export lead-gen form leads.
|
|
462
367
|
*/
|
|
463
|
-
|
|
464
|
-
};
|
|
465
|
-
export declare const GetMyLinkedInPostsType: {
|
|
466
|
-
readonly Activity: "activity";
|
|
467
|
-
readonly UgcPost: "ugcPost";
|
|
468
|
-
readonly Share: "share";
|
|
469
|
-
};
|
|
470
|
-
export type GetMyLinkedInPostsType = OpenEnum<typeof GetMyLinkedInPostsType>;
|
|
471
|
-
export type GetMyLinkedInPostsPost = {
|
|
472
|
-
postUrl: string;
|
|
473
|
-
text: string;
|
|
474
|
-
date: number;
|
|
475
|
-
likesCount: number;
|
|
476
|
-
commentsCount: number;
|
|
477
|
-
sharesCount: number;
|
|
478
|
-
postUrn: string;
|
|
479
|
-
postId: string;
|
|
480
|
-
type: GetMyLinkedInPostsType;
|
|
368
|
+
canExportLeads: boolean;
|
|
481
369
|
};
|
|
482
370
|
/**
|
|
483
|
-
*
|
|
371
|
+
* Company page admin permissions
|
|
484
372
|
*/
|
|
485
|
-
export type
|
|
486
|
-
success:
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
total: number;
|
|
490
|
-
start: number;
|
|
491
|
-
hasMore: boolean;
|
|
492
|
-
paginationToken: string | null;
|
|
373
|
+
export type GetCompanyPagePermissionsResponse = {
|
|
374
|
+
success: true;
|
|
375
|
+
universalName: string;
|
|
376
|
+
permissions: Permissions;
|
|
493
377
|
/**
|
|
494
378
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
495
379
|
*/
|
|
@@ -499,40 +383,45 @@ export type GetMyLinkedInPostsResponse = {
|
|
|
499
383
|
*/
|
|
500
384
|
retryAfter: number;
|
|
501
385
|
};
|
|
502
|
-
export type
|
|
503
|
-
/**
|
|
504
|
-
* Pagination offset (default 0).
|
|
505
|
-
*/
|
|
506
|
-
start?: number | undefined;
|
|
386
|
+
export type GetCompanyPageAnalyticsRequest = {
|
|
507
387
|
/**
|
|
508
|
-
*
|
|
388
|
+
* Company page ID (numeric, e.g. '111652438')
|
|
509
389
|
*/
|
|
510
|
-
|
|
390
|
+
companyId: string;
|
|
391
|
+
};
|
|
392
|
+
export type GetCompanyPageAnalyticsFoundedOn = {
|
|
393
|
+
year: number;
|
|
394
|
+
month?: number | undefined;
|
|
395
|
+
day?: number | undefined;
|
|
511
396
|
};
|
|
512
|
-
export type
|
|
397
|
+
export type GetCompanyPageAnalyticsHeadquarter = {
|
|
398
|
+
city: string;
|
|
399
|
+
country: string;
|
|
400
|
+
line1?: string | undefined;
|
|
401
|
+
postalCode?: string | undefined;
|
|
402
|
+
};
|
|
403
|
+
export type Analytics = {
|
|
513
404
|
name: string;
|
|
514
|
-
|
|
515
|
-
profileUrl: string | null;
|
|
516
|
-
profilePicture: string | null;
|
|
405
|
+
universalName: string;
|
|
517
406
|
followerCount: number | null;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
407
|
+
employeeCount: number | null;
|
|
408
|
+
visitorsInPastMonthCount: number | null;
|
|
409
|
+
isActive: boolean;
|
|
410
|
+
foundedOn: GetCompanyPageAnalyticsFoundedOn | null;
|
|
411
|
+
headquarter: GetCompanyPageAnalyticsHeadquarter | null;
|
|
412
|
+
description: string | null;
|
|
413
|
+
tagline: string | null;
|
|
414
|
+
websiteUrl: string | null;
|
|
415
|
+
organizationType: string | null;
|
|
416
|
+
specialities: Array<string>;
|
|
417
|
+
industryUrns: Array<string>;
|
|
522
418
|
};
|
|
523
419
|
/**
|
|
524
|
-
*
|
|
420
|
+
* Company page overview analytics
|
|
525
421
|
*/
|
|
526
|
-
export type
|
|
527
|
-
success:
|
|
528
|
-
|
|
529
|
-
count: number;
|
|
530
|
-
/**
|
|
531
|
-
* Total reported by LinkedIn (capped at ~1000)
|
|
532
|
-
*/
|
|
533
|
-
totalFollowers: number;
|
|
534
|
-
start: number;
|
|
535
|
-
hasMore: boolean;
|
|
422
|
+
export type GetCompanyPageAnalyticsResponse = {
|
|
423
|
+
success: true;
|
|
424
|
+
analytics: Analytics;
|
|
536
425
|
/**
|
|
537
426
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
538
427
|
*/
|
|
@@ -542,270 +431,420 @@ export type GetMyLinkedInFollowersResponse = {
|
|
|
542
431
|
*/
|
|
543
432
|
retryAfter: number;
|
|
544
433
|
};
|
|
545
|
-
|
|
546
|
-
* Daily usage counter (resets at midnight UTC)
|
|
547
|
-
*/
|
|
548
|
-
export type ConnectionRequestDaily = {
|
|
549
|
-
/**
|
|
550
|
-
* Number of actions used in this window
|
|
551
|
-
*/
|
|
552
|
-
current: number;
|
|
553
|
-
/**
|
|
554
|
-
* Maximum allowed actions in this window (with multiplier applied)
|
|
555
|
-
*/
|
|
556
|
-
limit: number;
|
|
434
|
+
export type ListInboxConversationsRequest = {
|
|
557
435
|
/**
|
|
558
|
-
*
|
|
436
|
+
* Pagination cursor from a previous response
|
|
559
437
|
*/
|
|
560
|
-
|
|
438
|
+
nextCursor?: string | undefined;
|
|
439
|
+
};
|
|
440
|
+
export type ListInboxConversationsParticipant = {
|
|
441
|
+
profileUrn: string;
|
|
442
|
+
firstName: string;
|
|
443
|
+
lastName: string;
|
|
444
|
+
profileUrl: string | null;
|
|
445
|
+
headline: string | null;
|
|
446
|
+
profilePicture: string | null;
|
|
447
|
+
publicIdentifier: string | null;
|
|
448
|
+
};
|
|
449
|
+
export type ListInboxConversationsLastMessage = {
|
|
450
|
+
text: string | null;
|
|
451
|
+
deliveredAt: number;
|
|
452
|
+
senderProfileUrn: string;
|
|
453
|
+
};
|
|
454
|
+
export type ListInboxConversationsConversation = {
|
|
455
|
+
conversationUrn: string;
|
|
456
|
+
conversationUrl: string;
|
|
457
|
+
lastActivityAt: number;
|
|
458
|
+
createdAt: number;
|
|
459
|
+
read: boolean;
|
|
460
|
+
unreadCount: number;
|
|
461
|
+
groupChat: boolean;
|
|
462
|
+
participants: Array<ListInboxConversationsParticipant>;
|
|
463
|
+
lastMessage: ListInboxConversationsLastMessage | null;
|
|
561
464
|
};
|
|
562
465
|
/**
|
|
563
|
-
*
|
|
466
|
+
* Inbox conversations
|
|
564
467
|
*/
|
|
565
|
-
export type
|
|
468
|
+
export type ListInboxConversationsResponse = {
|
|
469
|
+
success: true;
|
|
470
|
+
conversations: Array<ListInboxConversationsConversation>;
|
|
566
471
|
/**
|
|
567
|
-
*
|
|
472
|
+
* Cursor for fetching next page
|
|
568
473
|
*/
|
|
569
|
-
|
|
474
|
+
nextCursor: string | null;
|
|
570
475
|
/**
|
|
571
|
-
*
|
|
476
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
572
477
|
*/
|
|
573
|
-
|
|
478
|
+
creditsUsed: number;
|
|
574
479
|
/**
|
|
575
|
-
*
|
|
480
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
576
481
|
*/
|
|
577
|
-
|
|
482
|
+
retryAfter: number;
|
|
578
483
|
};
|
|
579
|
-
|
|
580
|
-
* Limits for sending LinkedIn connection requests
|
|
581
|
-
*/
|
|
582
|
-
export type ConnectionRequest = {
|
|
583
|
-
/**
|
|
584
|
-
* Daily usage counter (resets at midnight UTC)
|
|
585
|
-
*/
|
|
586
|
-
daily: ConnectionRequestDaily;
|
|
484
|
+
export type GetConversationMessagesRequest = {
|
|
587
485
|
/**
|
|
588
|
-
*
|
|
486
|
+
* Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
|
|
589
487
|
*/
|
|
590
|
-
|
|
488
|
+
conversationUrn: string;
|
|
591
489
|
/**
|
|
592
|
-
*
|
|
490
|
+
* Timestamp (ms) of the oldest message from previous page — pass this to load older messages
|
|
593
491
|
*/
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
492
|
+
deliveredAt?: number | undefined;
|
|
493
|
+
};
|
|
494
|
+
export type GetConversationMessagesSender = {
|
|
495
|
+
firstName: string;
|
|
496
|
+
lastName: string;
|
|
497
|
+
profileUrl: string | null;
|
|
498
|
+
headline: string | null;
|
|
499
|
+
profilePicture: string | null;
|
|
500
|
+
publicIdentifier: string | null;
|
|
501
|
+
profileUrn: string | null;
|
|
502
|
+
};
|
|
503
|
+
export declare const GetConversationMessagesType: {
|
|
504
|
+
readonly Audio: "audio";
|
|
505
|
+
readonly SharedPost: "shared_post";
|
|
506
|
+
readonly RepliedMessage: "replied_message";
|
|
507
|
+
readonly Image: "image";
|
|
508
|
+
readonly File: "file";
|
|
509
|
+
readonly Unknown: "unknown";
|
|
510
|
+
};
|
|
511
|
+
export type GetConversationMessagesType = OpenEnum<typeof GetConversationMessagesType>;
|
|
512
|
+
export type GetConversationMessagesAttachment = {
|
|
513
|
+
type: GetConversationMessagesType;
|
|
514
|
+
audioUrl?: string | undefined;
|
|
515
|
+
audioDuration?: number | undefined;
|
|
516
|
+
hostUrn?: string | undefined;
|
|
517
|
+
repliedText?: string | undefined;
|
|
518
|
+
repliedSenderName?: string | undefined;
|
|
519
|
+
imageUrl?: string | undefined;
|
|
520
|
+
fileName?: string | undefined;
|
|
521
|
+
fileUrl?: string | undefined;
|
|
522
|
+
};
|
|
523
|
+
export type GetConversationMessagesMessage = {
|
|
524
|
+
messageUrn: string;
|
|
525
|
+
text: string | null;
|
|
526
|
+
deliveredAt: number;
|
|
527
|
+
senderProfileUrn: string;
|
|
528
|
+
sender: GetConversationMessagesSender;
|
|
529
|
+
attachments: Array<GetConversationMessagesAttachment>;
|
|
603
530
|
};
|
|
604
531
|
/**
|
|
605
|
-
*
|
|
532
|
+
* Conversation messages
|
|
606
533
|
*/
|
|
607
|
-
export type
|
|
534
|
+
export type GetConversationMessagesResponse = {
|
|
535
|
+
success: true;
|
|
536
|
+
messages: Array<GetConversationMessagesMessage>;
|
|
608
537
|
/**
|
|
609
|
-
*
|
|
538
|
+
* deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
|
|
610
539
|
*/
|
|
611
|
-
|
|
540
|
+
prevCursor: number | null;
|
|
612
541
|
/**
|
|
613
|
-
*
|
|
542
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
614
543
|
*/
|
|
615
|
-
|
|
544
|
+
creditsUsed: number;
|
|
616
545
|
/**
|
|
617
|
-
*
|
|
546
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
618
547
|
*/
|
|
619
|
-
|
|
548
|
+
retryAfter: number;
|
|
620
549
|
};
|
|
550
|
+
export type MarkAllConversationsReadRequest = {};
|
|
621
551
|
/**
|
|
622
|
-
*
|
|
552
|
+
* All conversations marked as read
|
|
623
553
|
*/
|
|
624
|
-
export type
|
|
554
|
+
export type MarkAllConversationsReadResponse = {
|
|
555
|
+
success: true;
|
|
625
556
|
/**
|
|
626
|
-
*
|
|
557
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
627
558
|
*/
|
|
628
|
-
|
|
559
|
+
creditsUsed: number;
|
|
629
560
|
/**
|
|
630
|
-
*
|
|
561
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
631
562
|
*/
|
|
632
|
-
|
|
563
|
+
retryAfter: number;
|
|
564
|
+
};
|
|
565
|
+
export type ListArchivedConversationsRequest = {
|
|
633
566
|
/**
|
|
634
|
-
*
|
|
567
|
+
* Pagination cursor from a previous response
|
|
635
568
|
*/
|
|
636
|
-
|
|
569
|
+
nextCursor?: string | undefined;
|
|
570
|
+
};
|
|
571
|
+
export type ListArchivedConversationsParticipant = {
|
|
572
|
+
profileUrn: string;
|
|
573
|
+
firstName: string;
|
|
574
|
+
lastName: string;
|
|
575
|
+
profileUrl: string | null;
|
|
576
|
+
headline: string | null;
|
|
577
|
+
profilePicture: string | null;
|
|
578
|
+
publicIdentifier: string | null;
|
|
579
|
+
};
|
|
580
|
+
export type ListArchivedConversationsLastMessage = {
|
|
581
|
+
text: string | null;
|
|
582
|
+
deliveredAt: number;
|
|
583
|
+
senderProfileUrn: string;
|
|
584
|
+
};
|
|
585
|
+
export type ListArchivedConversationsConversation = {
|
|
586
|
+
conversationUrn: string;
|
|
587
|
+
conversationUrl: string;
|
|
588
|
+
lastActivityAt: number;
|
|
589
|
+
createdAt: number;
|
|
590
|
+
read: boolean;
|
|
591
|
+
unreadCount: number;
|
|
592
|
+
groupChat: boolean;
|
|
593
|
+
participants: Array<ListArchivedConversationsParticipant>;
|
|
594
|
+
lastMessage: ListArchivedConversationsLastMessage | null;
|
|
637
595
|
};
|
|
638
596
|
/**
|
|
639
|
-
*
|
|
597
|
+
* Archived conversations
|
|
640
598
|
*/
|
|
641
|
-
export type
|
|
599
|
+
export type ListArchivedConversationsResponse = {
|
|
600
|
+
success: true;
|
|
601
|
+
conversations: Array<ListArchivedConversationsConversation>;
|
|
642
602
|
/**
|
|
643
|
-
*
|
|
603
|
+
* Cursor for fetching next page
|
|
644
604
|
*/
|
|
645
|
-
|
|
605
|
+
nextCursor: string | null;
|
|
646
606
|
/**
|
|
647
|
-
*
|
|
607
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
648
608
|
*/
|
|
649
|
-
|
|
609
|
+
creditsUsed: number;
|
|
650
610
|
/**
|
|
651
|
-
*
|
|
611
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
652
612
|
*/
|
|
653
|
-
|
|
613
|
+
retryAfter: number;
|
|
614
|
+
};
|
|
615
|
+
export type ReactToMessageRequest = {
|
|
654
616
|
/**
|
|
655
|
-
*
|
|
617
|
+
* Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
|
|
656
618
|
*/
|
|
657
|
-
|
|
619
|
+
messageUrn: string;
|
|
658
620
|
/**
|
|
659
|
-
*
|
|
621
|
+
* Emoji character to react with (e.g. '👍', '❤️', '😂')
|
|
660
622
|
*/
|
|
661
|
-
|
|
623
|
+
emoji: string;
|
|
624
|
+
/**
|
|
625
|
+
* Conversation URN (required for the old messaging API fallback)
|
|
626
|
+
*/
|
|
627
|
+
conversationUrn: string;
|
|
662
628
|
};
|
|
663
629
|
/**
|
|
664
|
-
*
|
|
630
|
+
* Reaction added
|
|
665
631
|
*/
|
|
666
|
-
export type
|
|
632
|
+
export type ReactToMessageResponse = {
|
|
633
|
+
success: true;
|
|
667
634
|
/**
|
|
668
|
-
*
|
|
635
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
669
636
|
*/
|
|
670
|
-
|
|
637
|
+
creditsUsed: number;
|
|
671
638
|
/**
|
|
672
|
-
*
|
|
639
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
673
640
|
*/
|
|
674
|
-
|
|
641
|
+
retryAfter: number;
|
|
642
|
+
};
|
|
643
|
+
export type SendTypingIndicatorRequest = {
|
|
675
644
|
/**
|
|
676
|
-
*
|
|
645
|
+
* Full conversation URN
|
|
677
646
|
*/
|
|
678
|
-
|
|
647
|
+
conversationUrn: string;
|
|
679
648
|
};
|
|
680
649
|
/**
|
|
681
|
-
*
|
|
650
|
+
* Typing indicator sent
|
|
682
651
|
*/
|
|
683
|
-
export type
|
|
684
|
-
|
|
685
|
-
* Number of actions used in this window
|
|
686
|
-
*/
|
|
687
|
-
current: number;
|
|
652
|
+
export type SendTypingIndicatorResponse = {
|
|
653
|
+
success: true;
|
|
688
654
|
/**
|
|
689
|
-
*
|
|
655
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
690
656
|
*/
|
|
691
|
-
|
|
657
|
+
creditsUsed: number;
|
|
692
658
|
/**
|
|
693
|
-
*
|
|
659
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
694
660
|
*/
|
|
695
|
-
|
|
661
|
+
retryAfter: number;
|
|
696
662
|
};
|
|
663
|
+
export type GetUnreadCountRequest = {};
|
|
697
664
|
/**
|
|
698
|
-
*
|
|
665
|
+
* Unread count
|
|
699
666
|
*/
|
|
700
|
-
export type
|
|
667
|
+
export type GetUnreadCountResponse = {
|
|
668
|
+
success: true;
|
|
701
669
|
/**
|
|
702
|
-
*
|
|
670
|
+
* Number of unread conversations/messages
|
|
703
671
|
*/
|
|
704
|
-
|
|
672
|
+
unreadCount: number;
|
|
705
673
|
/**
|
|
706
|
-
*
|
|
674
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
707
675
|
*/
|
|
708
|
-
|
|
676
|
+
creditsUsed: number;
|
|
709
677
|
/**
|
|
710
|
-
*
|
|
678
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
711
679
|
*/
|
|
712
|
-
|
|
680
|
+
retryAfter: number;
|
|
681
|
+
};
|
|
682
|
+
export type SearchLinkedInConversationsRequest = {
|
|
713
683
|
/**
|
|
714
|
-
*
|
|
684
|
+
* Search keywords
|
|
715
685
|
*/
|
|
716
|
-
|
|
686
|
+
keywords: string;
|
|
717
687
|
/**
|
|
718
|
-
*
|
|
688
|
+
* Pagination cursor from a previous response
|
|
719
689
|
*/
|
|
720
|
-
|
|
690
|
+
nextCursor?: string | undefined;
|
|
691
|
+
};
|
|
692
|
+
export type SearchLinkedInConversationsParticipant = {
|
|
693
|
+
profileUrn: string;
|
|
694
|
+
firstName: string;
|
|
695
|
+
lastName: string;
|
|
696
|
+
profileUrl: string | null;
|
|
697
|
+
headline: string | null;
|
|
698
|
+
profilePicture: string | null;
|
|
699
|
+
publicIdentifier: string | null;
|
|
700
|
+
};
|
|
701
|
+
export type SearchLinkedInConversationsLastMessage = {
|
|
702
|
+
text: string | null;
|
|
703
|
+
deliveredAt: number;
|
|
704
|
+
senderProfileUrn: string;
|
|
705
|
+
};
|
|
706
|
+
export type SearchLinkedInConversationsConversation = {
|
|
707
|
+
conversationUrn: string;
|
|
708
|
+
conversationUrl: string;
|
|
709
|
+
lastActivityAt: number;
|
|
710
|
+
createdAt: number;
|
|
711
|
+
read: boolean;
|
|
712
|
+
unreadCount: number;
|
|
713
|
+
groupChat: boolean;
|
|
714
|
+
participants: Array<SearchLinkedInConversationsParticipant>;
|
|
715
|
+
lastMessage: SearchLinkedInConversationsLastMessage | null;
|
|
721
716
|
};
|
|
722
717
|
/**
|
|
723
|
-
*
|
|
718
|
+
* Matching conversations
|
|
724
719
|
*/
|
|
725
|
-
export type
|
|
720
|
+
export type SearchLinkedInConversationsResponse = {
|
|
721
|
+
success: true;
|
|
722
|
+
conversations: Array<SearchLinkedInConversationsConversation>;
|
|
726
723
|
/**
|
|
727
|
-
*
|
|
724
|
+
* Cursor for fetching next page
|
|
728
725
|
*/
|
|
729
|
-
|
|
726
|
+
nextCursor: string | null;
|
|
730
727
|
/**
|
|
731
|
-
*
|
|
728
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
732
729
|
*/
|
|
733
|
-
|
|
730
|
+
creditsUsed: number;
|
|
734
731
|
/**
|
|
735
|
-
*
|
|
732
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
736
733
|
*/
|
|
737
|
-
|
|
734
|
+
retryAfter: number;
|
|
738
735
|
};
|
|
739
|
-
|
|
740
|
-
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
741
|
-
*/
|
|
742
|
-
export type ScrapingWeekly = {
|
|
743
|
-
/**
|
|
744
|
-
* Number of actions used in this window
|
|
745
|
-
*/
|
|
746
|
-
current: number;
|
|
736
|
+
export type FindLinkedInConversationRequest = {
|
|
747
737
|
/**
|
|
748
|
-
*
|
|
738
|
+
* Accepts full profile URLs, vanity names (e.g. marie-sandre), or profile URNs. Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
|
|
749
739
|
*/
|
|
750
|
-
|
|
740
|
+
profile: string;
|
|
751
741
|
/**
|
|
752
|
-
*
|
|
742
|
+
* If true, also return the conversation's recent messages (0 extra credits).
|
|
753
743
|
*/
|
|
754
|
-
|
|
744
|
+
includeMessages?: boolean | undefined;
|
|
755
745
|
};
|
|
756
746
|
/**
|
|
757
|
-
*
|
|
747
|
+
* Lightweight conversation reference (O(1) lookup returns URN only, not full details).
|
|
758
748
|
*/
|
|
759
|
-
export type
|
|
749
|
+
export type FindLinkedInConversationConversation = {
|
|
750
|
+
conversationUrn: string;
|
|
751
|
+
};
|
|
752
|
+
export type FindLinkedInConversationSender = {
|
|
753
|
+
firstName: string;
|
|
754
|
+
lastName: string;
|
|
755
|
+
profileUrl: string | null;
|
|
756
|
+
headline: string | null;
|
|
757
|
+
profilePicture: string | null;
|
|
758
|
+
publicIdentifier: string | null;
|
|
759
|
+
profileUrn: string | null;
|
|
760
|
+
};
|
|
761
|
+
export declare const FindLinkedInConversationType: {
|
|
762
|
+
readonly Audio: "audio";
|
|
763
|
+
readonly SharedPost: "shared_post";
|
|
764
|
+
readonly RepliedMessage: "replied_message";
|
|
765
|
+
readonly Image: "image";
|
|
766
|
+
readonly File: "file";
|
|
767
|
+
readonly Unknown: "unknown";
|
|
768
|
+
};
|
|
769
|
+
export type FindLinkedInConversationType = OpenEnum<typeof FindLinkedInConversationType>;
|
|
770
|
+
export type FindLinkedInConversationAttachment = {
|
|
771
|
+
type: FindLinkedInConversationType;
|
|
772
|
+
audioUrl?: string | undefined;
|
|
773
|
+
audioDuration?: number | undefined;
|
|
774
|
+
hostUrn?: string | undefined;
|
|
775
|
+
repliedText?: string | undefined;
|
|
776
|
+
repliedSenderName?: string | undefined;
|
|
777
|
+
imageUrl?: string | undefined;
|
|
778
|
+
fileName?: string | undefined;
|
|
779
|
+
fileUrl?: string | undefined;
|
|
780
|
+
};
|
|
781
|
+
export type FindLinkedInConversationMessage = {
|
|
782
|
+
messageUrn: string;
|
|
783
|
+
text: string | null;
|
|
784
|
+
deliveredAt: number;
|
|
785
|
+
senderProfileUrn: string;
|
|
786
|
+
sender: FindLinkedInConversationSender;
|
|
787
|
+
attachments: Array<FindLinkedInConversationAttachment>;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Conversation found (or not)
|
|
791
|
+
*/
|
|
792
|
+
export type FindLinkedInConversationResponse = {
|
|
793
|
+
success: true;
|
|
794
|
+
found: boolean;
|
|
760
795
|
/**
|
|
761
|
-
*
|
|
796
|
+
* Lightweight conversation reference (O(1) lookup returns URN only, not full details).
|
|
762
797
|
*/
|
|
763
|
-
|
|
798
|
+
conversation: FindLinkedInConversationConversation | null;
|
|
799
|
+
messages: Array<FindLinkedInConversationMessage> | null;
|
|
764
800
|
/**
|
|
765
|
-
*
|
|
801
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
766
802
|
*/
|
|
767
|
-
|
|
803
|
+
creditsUsed: number;
|
|
768
804
|
/**
|
|
769
|
-
*
|
|
805
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
770
806
|
*/
|
|
771
|
-
|
|
807
|
+
retryAfter: number;
|
|
808
|
+
};
|
|
809
|
+
export type ArchiveConversationRequest = {
|
|
772
810
|
/**
|
|
773
|
-
*
|
|
811
|
+
* Full conversation URN
|
|
774
812
|
*/
|
|
775
|
-
|
|
813
|
+
conversationUrn: string;
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* Conversation archived
|
|
817
|
+
*/
|
|
818
|
+
export type ArchiveConversationResponse = {
|
|
819
|
+
success: true;
|
|
776
820
|
/**
|
|
777
|
-
*
|
|
821
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
778
822
|
*/
|
|
779
|
-
|
|
780
|
-
};
|
|
781
|
-
export type Limits = {
|
|
823
|
+
creditsUsed: number;
|
|
782
824
|
/**
|
|
783
|
-
*
|
|
825
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
784
826
|
*/
|
|
785
|
-
|
|
827
|
+
retryAfter: number;
|
|
828
|
+
};
|
|
829
|
+
export type UnreactToMessageRequest = {
|
|
786
830
|
/**
|
|
787
|
-
*
|
|
831
|
+
* Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
|
|
788
832
|
*/
|
|
789
|
-
|
|
833
|
+
messageUrn: string;
|
|
790
834
|
/**
|
|
791
|
-
*
|
|
835
|
+
* Emoji character to react with (e.g. '👍', '❤️', '😂')
|
|
792
836
|
*/
|
|
793
|
-
|
|
837
|
+
emoji: string;
|
|
794
838
|
/**
|
|
795
|
-
*
|
|
839
|
+
* Conversation URN (required for the old messaging API fallback)
|
|
796
840
|
*/
|
|
797
|
-
|
|
841
|
+
conversationUrn: string;
|
|
798
842
|
};
|
|
799
843
|
/**
|
|
800
|
-
*
|
|
844
|
+
* Reaction removed
|
|
801
845
|
*/
|
|
802
|
-
export type
|
|
803
|
-
success:
|
|
804
|
-
/**
|
|
805
|
-
* Workspace limit multiplier applied to all base limits (default 1.0)
|
|
806
|
-
*/
|
|
807
|
-
multiplier: number;
|
|
808
|
-
limits: Limits;
|
|
846
|
+
export type UnreactToMessageResponse = {
|
|
847
|
+
success: true;
|
|
809
848
|
/**
|
|
810
849
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
811
850
|
*/
|
|
@@ -815,30 +854,37 @@ export type GetMyLimitsResponse = {
|
|
|
815
854
|
*/
|
|
816
855
|
retryAfter: number;
|
|
817
856
|
};
|
|
818
|
-
export type
|
|
857
|
+
export type MarkConversationSeenRequest = {
|
|
819
858
|
/**
|
|
820
|
-
*
|
|
859
|
+
* Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
|
|
821
860
|
*/
|
|
822
|
-
|
|
861
|
+
conversationUrn: string;
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* Conversation marked as read
|
|
865
|
+
*/
|
|
866
|
+
export type MarkConversationSeenResponse = {
|
|
867
|
+
success: true;
|
|
823
868
|
/**
|
|
824
|
-
*
|
|
869
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
825
870
|
*/
|
|
826
|
-
|
|
871
|
+
creditsUsed: number;
|
|
827
872
|
/**
|
|
828
|
-
*
|
|
873
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
829
874
|
*/
|
|
830
|
-
|
|
875
|
+
retryAfter: number;
|
|
876
|
+
};
|
|
877
|
+
export type StarConversationRequest = {
|
|
831
878
|
/**
|
|
832
|
-
*
|
|
879
|
+
* Full conversation URN
|
|
833
880
|
*/
|
|
834
|
-
|
|
881
|
+
conversationUrn: string;
|
|
835
882
|
};
|
|
836
883
|
/**
|
|
837
|
-
*
|
|
884
|
+
* Conversation starred
|
|
838
885
|
*/
|
|
839
|
-
export type
|
|
840
|
-
success:
|
|
841
|
-
credits: Credits;
|
|
886
|
+
export type StarConversationResponse = {
|
|
887
|
+
success: true;
|
|
842
888
|
/**
|
|
843
889
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
844
890
|
*/
|
|
@@ -848,46 +894,17 @@ export type GetMyCreditsResponse = {
|
|
|
848
894
|
*/
|
|
849
895
|
retryAfter: number;
|
|
850
896
|
};
|
|
851
|
-
export type
|
|
897
|
+
export type UnstarConversationRequest = {
|
|
852
898
|
/**
|
|
853
|
-
*
|
|
899
|
+
* Full conversation URN
|
|
854
900
|
*/
|
|
855
|
-
nextCursor?: string | undefined;
|
|
856
|
-
};
|
|
857
|
-
export type ListInboxConversationsParticipant = {
|
|
858
|
-
profileUrn: string;
|
|
859
|
-
firstName: string;
|
|
860
|
-
lastName: string;
|
|
861
|
-
profileUrl: string | null;
|
|
862
|
-
headline: string | null;
|
|
863
|
-
profilePicture: string | null;
|
|
864
|
-
};
|
|
865
|
-
export type ListInboxConversationsLastMessage = {
|
|
866
|
-
text: string | null;
|
|
867
|
-
deliveredAt: number;
|
|
868
|
-
senderProfileUrn: string;
|
|
869
|
-
};
|
|
870
|
-
export type ListInboxConversationsConversation = {
|
|
871
901
|
conversationUrn: string;
|
|
872
|
-
conversationUrl: string;
|
|
873
|
-
lastActivityAt: number;
|
|
874
|
-
createdAt: number;
|
|
875
|
-
read: boolean;
|
|
876
|
-
unreadCount: number;
|
|
877
|
-
groupChat: boolean;
|
|
878
|
-
participants: Array<ListInboxConversationsParticipant>;
|
|
879
|
-
lastMessage: ListInboxConversationsLastMessage | null;
|
|
880
902
|
};
|
|
881
903
|
/**
|
|
882
|
-
*
|
|
904
|
+
* Conversation unstarred
|
|
883
905
|
*/
|
|
884
|
-
export type
|
|
885
|
-
success:
|
|
886
|
-
conversations: Array<ListInboxConversationsConversation>;
|
|
887
|
-
/**
|
|
888
|
-
* Cursor for fetching next page
|
|
889
|
-
*/
|
|
890
|
-
nextCursor: string | null;
|
|
906
|
+
export type UnstarConversationResponse = {
|
|
907
|
+
success: true;
|
|
891
908
|
/**
|
|
892
909
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
893
910
|
*/
|
|
@@ -897,30 +914,27 @@ export type ListInboxConversationsResponse = {
|
|
|
897
914
|
*/
|
|
898
915
|
retryAfter: number;
|
|
899
916
|
};
|
|
900
|
-
export type
|
|
901
|
-
/**
|
|
902
|
-
* Search keywords
|
|
903
|
-
*/
|
|
904
|
-
keywords: string;
|
|
917
|
+
export type ListStarredConversationsRequest = {
|
|
905
918
|
/**
|
|
906
919
|
* Pagination cursor from a previous response
|
|
907
920
|
*/
|
|
908
921
|
nextCursor?: string | undefined;
|
|
909
922
|
};
|
|
910
|
-
export type
|
|
923
|
+
export type ListStarredConversationsParticipant = {
|
|
911
924
|
profileUrn: string;
|
|
912
925
|
firstName: string;
|
|
913
926
|
lastName: string;
|
|
914
927
|
profileUrl: string | null;
|
|
915
928
|
headline: string | null;
|
|
916
929
|
profilePicture: string | null;
|
|
930
|
+
publicIdentifier: string | null;
|
|
917
931
|
};
|
|
918
|
-
export type
|
|
932
|
+
export type ListStarredConversationsLastMessage = {
|
|
919
933
|
text: string | null;
|
|
920
934
|
deliveredAt: number;
|
|
921
935
|
senderProfileUrn: string;
|
|
922
936
|
};
|
|
923
|
-
export type
|
|
937
|
+
export type ListStarredConversationsConversation = {
|
|
924
938
|
conversationUrn: string;
|
|
925
939
|
conversationUrl: string;
|
|
926
940
|
lastActivityAt: number;
|
|
@@ -928,15 +942,15 @@ export type SearchLinkedInConversationsConversation = {
|
|
|
928
942
|
read: boolean;
|
|
929
943
|
unreadCount: number;
|
|
930
944
|
groupChat: boolean;
|
|
931
|
-
participants: Array<
|
|
932
|
-
lastMessage:
|
|
945
|
+
participants: Array<ListStarredConversationsParticipant>;
|
|
946
|
+
lastMessage: ListStarredConversationsLastMessage | null;
|
|
933
947
|
};
|
|
934
948
|
/**
|
|
935
|
-
*
|
|
949
|
+
* Starred conversations
|
|
936
950
|
*/
|
|
937
|
-
export type
|
|
938
|
-
success:
|
|
939
|
-
conversations: Array<
|
|
951
|
+
export type ListStarredConversationsResponse = {
|
|
952
|
+
success: true;
|
|
953
|
+
conversations: Array<ListStarredConversationsConversation>;
|
|
940
954
|
/**
|
|
941
955
|
* Cursor for fetching next page
|
|
942
956
|
*/
|
|
@@ -950,132 +964,17 @@ export type SearchLinkedInConversationsResponse = {
|
|
|
950
964
|
*/
|
|
951
965
|
retryAfter: number;
|
|
952
966
|
};
|
|
953
|
-
export type
|
|
954
|
-
/**
|
|
955
|
-
* Profile URL or URN (e.g. 'https://linkedin.com/in/marie-sandre' or 'urn:li:fsd_profile:ACoAA...'). Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
|
|
956
|
-
*/
|
|
957
|
-
profile: string;
|
|
958
|
-
/**
|
|
959
|
-
* If true, also return the conversation's recent messages (0 extra credits).
|
|
960
|
-
*/
|
|
961
|
-
includeMessages?: boolean | undefined;
|
|
962
|
-
};
|
|
963
|
-
/**
|
|
964
|
-
* Lightweight conversation reference (O(1) lookup returns URN only, not full details).
|
|
965
|
-
*/
|
|
966
|
-
export type FindLinkedInConversationConversation = {
|
|
967
|
-
conversationUrn: string;
|
|
968
|
-
};
|
|
969
|
-
export type FindLinkedInConversationSender = {
|
|
970
|
-
firstName: string;
|
|
971
|
-
lastName: string;
|
|
972
|
-
profileUrl: string | null;
|
|
973
|
-
headline: string | null;
|
|
974
|
-
profilePicture: string | null;
|
|
975
|
-
};
|
|
976
|
-
export declare const FindLinkedInConversationType: {
|
|
977
|
-
readonly Audio: "audio";
|
|
978
|
-
readonly SharedPost: "shared_post";
|
|
979
|
-
readonly RepliedMessage: "replied_message";
|
|
980
|
-
readonly Image: "image";
|
|
981
|
-
readonly File: "file";
|
|
982
|
-
readonly Unknown: "unknown";
|
|
983
|
-
};
|
|
984
|
-
export type FindLinkedInConversationType = OpenEnum<typeof FindLinkedInConversationType>;
|
|
985
|
-
export type FindLinkedInConversationAttachment = {
|
|
986
|
-
type: FindLinkedInConversationType;
|
|
987
|
-
audioUrl?: string | undefined;
|
|
988
|
-
audioDuration?: number | undefined;
|
|
989
|
-
hostUrn?: string | undefined;
|
|
990
|
-
repliedText?: string | undefined;
|
|
991
|
-
repliedSenderName?: string | undefined;
|
|
992
|
-
imageUrl?: string | undefined;
|
|
993
|
-
fileName?: string | undefined;
|
|
994
|
-
fileUrl?: string | undefined;
|
|
995
|
-
};
|
|
996
|
-
export type FindLinkedInConversationMessage = {
|
|
997
|
-
messageUrn: string;
|
|
998
|
-
text: string | null;
|
|
999
|
-
deliveredAt: number;
|
|
1000
|
-
senderProfileUrn: string;
|
|
1001
|
-
sender: FindLinkedInConversationSender;
|
|
1002
|
-
attachments: Array<FindLinkedInConversationAttachment>;
|
|
1003
|
-
};
|
|
1004
|
-
/**
|
|
1005
|
-
* Conversation found (or not)
|
|
1006
|
-
*/
|
|
1007
|
-
export type FindLinkedInConversationResponse = {
|
|
1008
|
-
success: boolean;
|
|
1009
|
-
found: boolean;
|
|
1010
|
-
/**
|
|
1011
|
-
* Lightweight conversation reference (O(1) lookup returns URN only, not full details).
|
|
1012
|
-
*/
|
|
1013
|
-
conversation: FindLinkedInConversationConversation | null;
|
|
1014
|
-
messages: Array<FindLinkedInConversationMessage> | null;
|
|
1015
|
-
/**
|
|
1016
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1017
|
-
*/
|
|
1018
|
-
creditsUsed: number;
|
|
1019
|
-
/**
|
|
1020
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1021
|
-
*/
|
|
1022
|
-
retryAfter: number;
|
|
1023
|
-
};
|
|
1024
|
-
export type GetConversationMessagesRequest = {
|
|
967
|
+
export type UnarchiveConversationRequest = {
|
|
1025
968
|
/**
|
|
1026
|
-
* Full conversation URN
|
|
969
|
+
* Full conversation URN
|
|
1027
970
|
*/
|
|
1028
971
|
conversationUrn: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* Timestamp (ms) of the oldest message from previous page — pass this to load older messages
|
|
1031
|
-
*/
|
|
1032
|
-
deliveredAt?: number | undefined;
|
|
1033
|
-
};
|
|
1034
|
-
export type GetConversationMessagesSender = {
|
|
1035
|
-
firstName: string;
|
|
1036
|
-
lastName: string;
|
|
1037
|
-
profileUrl: string | null;
|
|
1038
|
-
headline: string | null;
|
|
1039
|
-
profilePicture: string | null;
|
|
1040
|
-
};
|
|
1041
|
-
export declare const GetConversationMessagesType: {
|
|
1042
|
-
readonly Audio: "audio";
|
|
1043
|
-
readonly SharedPost: "shared_post";
|
|
1044
|
-
readonly RepliedMessage: "replied_message";
|
|
1045
|
-
readonly Image: "image";
|
|
1046
|
-
readonly File: "file";
|
|
1047
|
-
readonly Unknown: "unknown";
|
|
1048
|
-
};
|
|
1049
|
-
export type GetConversationMessagesType = OpenEnum<typeof GetConversationMessagesType>;
|
|
1050
|
-
export type GetConversationMessagesAttachment = {
|
|
1051
|
-
type: GetConversationMessagesType;
|
|
1052
|
-
audioUrl?: string | undefined;
|
|
1053
|
-
audioDuration?: number | undefined;
|
|
1054
|
-
hostUrn?: string | undefined;
|
|
1055
|
-
repliedText?: string | undefined;
|
|
1056
|
-
repliedSenderName?: string | undefined;
|
|
1057
|
-
imageUrl?: string | undefined;
|
|
1058
|
-
fileName?: string | undefined;
|
|
1059
|
-
fileUrl?: string | undefined;
|
|
1060
|
-
};
|
|
1061
|
-
export type GetConversationMessagesMessage = {
|
|
1062
|
-
messageUrn: string;
|
|
1063
|
-
text: string | null;
|
|
1064
|
-
deliveredAt: number;
|
|
1065
|
-
senderProfileUrn: string;
|
|
1066
|
-
sender: GetConversationMessagesSender;
|
|
1067
|
-
attachments: Array<GetConversationMessagesAttachment>;
|
|
1068
972
|
};
|
|
1069
973
|
/**
|
|
1070
|
-
* Conversation
|
|
974
|
+
* Conversation unarchived
|
|
1071
975
|
*/
|
|
1072
|
-
export type
|
|
1073
|
-
success:
|
|
1074
|
-
messages: Array<GetConversationMessagesMessage>;
|
|
1075
|
-
/**
|
|
1076
|
-
* deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
|
|
1077
|
-
*/
|
|
1078
|
-
prevCursor: number | null;
|
|
976
|
+
export type UnarchiveConversationResponse = {
|
|
977
|
+
success: true;
|
|
1079
978
|
/**
|
|
1080
979
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1081
980
|
*/
|
|
@@ -1145,7 +1044,7 @@ export type GetCampaignStatusProfile = {
|
|
|
1145
1044
|
* Per-profile action completion status
|
|
1146
1045
|
*/
|
|
1147
1046
|
export type GetCampaignStatusResponse = {
|
|
1148
|
-
success:
|
|
1047
|
+
success: true;
|
|
1149
1048
|
profiles: Array<GetCampaignStatusProfile>;
|
|
1150
1049
|
/**
|
|
1151
1050
|
* Credits consumed by this call (always 0 for campaign queries).
|
|
@@ -1197,7 +1096,7 @@ export type Synced = {
|
|
|
1197
1096
|
* Actions marked as completed
|
|
1198
1097
|
*/
|
|
1199
1098
|
export type SyncCampaignActionsResponse = {
|
|
1200
|
-
success:
|
|
1099
|
+
success: true;
|
|
1201
1100
|
synced: Array<Synced>;
|
|
1202
1101
|
/**
|
|
1203
1102
|
* Credits consumed by this call (always 0 for campaign queries).
|
|
@@ -1220,7 +1119,7 @@ export type GetCampaignStatsRequest = {
|
|
|
1220
1119
|
* Aggregate campaign statistics
|
|
1221
1120
|
*/
|
|
1222
1121
|
export type GetCampaignStatsResponse = {
|
|
1223
|
-
success:
|
|
1122
|
+
success: true;
|
|
1224
1123
|
/**
|
|
1225
1124
|
* Per-action-type counts (e.g. message: 45, reply: 120)
|
|
1226
1125
|
*/
|
|
@@ -1241,219 +1140,205 @@ export type GetCampaignStatsResponse = {
|
|
|
1241
1140
|
retryAfter: number;
|
|
1242
1141
|
};
|
|
1243
1142
|
/** @internal */
|
|
1244
|
-
export
|
|
1245
|
-
|
|
1246
|
-
message: string;
|
|
1247
|
-
campaignSlug?: string | undefined;
|
|
1248
|
-
actionSlug?: string | undefined;
|
|
1249
|
-
};
|
|
1143
|
+
export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
|
|
1144
|
+
export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
|
|
1250
1145
|
/** @internal */
|
|
1251
|
-
export declare const
|
|
1252
|
-
export declare function
|
|
1146
|
+
export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
|
|
1147
|
+
export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
|
|
1253
1148
|
/** @internal */
|
|
1254
|
-
export declare const
|
|
1255
|
-
export declare function
|
|
1149
|
+
export declare const GetMyLimitsResponse$inboundSchema: z.ZodMiniType<GetMyLimitsResponse, unknown>;
|
|
1150
|
+
export declare function getMyLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetMyLimitsResponse, SDKValidationError>;
|
|
1256
1151
|
/** @internal */
|
|
1257
|
-
export declare const
|
|
1152
|
+
export declare const Credits$inboundSchema: z.ZodMiniType<Credits, unknown>;
|
|
1153
|
+
export declare function creditsFromJSON(jsonString: string): SafeParseResult<Credits, SDKValidationError>;
|
|
1258
1154
|
/** @internal */
|
|
1259
|
-
export
|
|
1260
|
-
|
|
1261
|
-
reactionType: string;
|
|
1262
|
-
campaignSlug?: string | undefined;
|
|
1263
|
-
actionSlug?: string | undefined;
|
|
1264
|
-
};
|
|
1155
|
+
export declare const GetMyCreditsResponse$inboundSchema: z.ZodMiniType<GetMyCreditsResponse, unknown>;
|
|
1156
|
+
export declare function getMyCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetMyCreditsResponse, SDKValidationError>;
|
|
1265
1157
|
/** @internal */
|
|
1266
|
-
export
|
|
1267
|
-
export declare function likeLinkedInCommentRequestToJSON(likeLinkedInCommentRequest: LikeLinkedInCommentRequest): string;
|
|
1158
|
+
export type GetLinkedInProfileViewsRequest$Outbound = {};
|
|
1268
1159
|
/** @internal */
|
|
1269
|
-
export declare const
|
|
1270
|
-
export declare function
|
|
1160
|
+
export declare const GetLinkedInProfileViewsRequest$outboundSchema: z.ZodMiniType<GetLinkedInProfileViewsRequest$Outbound, GetLinkedInProfileViewsRequest>;
|
|
1161
|
+
export declare function getLinkedInProfileViewsRequestToJSON(getLinkedInProfileViewsRequest: GetLinkedInProfileViewsRequest): string;
|
|
1271
1162
|
/** @internal */
|
|
1272
|
-
export declare const
|
|
1163
|
+
export declare const GetLinkedInProfileViewsResponse$inboundSchema: z.ZodMiniType<GetLinkedInProfileViewsResponse, unknown>;
|
|
1164
|
+
export declare function getLinkedInProfileViewsResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInProfileViewsResponse, SDKValidationError>;
|
|
1273
1165
|
/** @internal */
|
|
1274
|
-
export
|
|
1166
|
+
export type GetLinkedInSearchAppearancesRequest$Outbound = {};
|
|
1275
1167
|
/** @internal */
|
|
1276
|
-
export
|
|
1277
|
-
|
|
1278
|
-
start: number;
|
|
1279
|
-
length: number;
|
|
1280
|
-
};
|
|
1168
|
+
export declare const GetLinkedInSearchAppearancesRequest$outboundSchema: z.ZodMiniType<GetLinkedInSearchAppearancesRequest$Outbound, GetLinkedInSearchAppearancesRequest>;
|
|
1169
|
+
export declare function getLinkedInSearchAppearancesRequestToJSON(getLinkedInSearchAppearancesRequest: GetLinkedInSearchAppearancesRequest): string;
|
|
1281
1170
|
/** @internal */
|
|
1282
|
-
export declare const
|
|
1283
|
-
export declare function
|
|
1171
|
+
export declare const GetLinkedInSearchAppearancesResponse$inboundSchema: z.ZodMiniType<GetLinkedInSearchAppearancesResponse, unknown>;
|
|
1172
|
+
export declare function getLinkedInSearchAppearancesResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInSearchAppearancesResponse, SDKValidationError>;
|
|
1284
1173
|
/** @internal */
|
|
1285
|
-
export type
|
|
1286
|
-
|
|
1287
|
-
mode: string;
|
|
1288
|
-
scheduledAt?: number | undefined;
|
|
1289
|
-
imageUrl?: string | undefined;
|
|
1290
|
-
visibility: string;
|
|
1291
|
-
mentions?: Array<Mention$Outbound> | undefined;
|
|
1292
|
-
campaignSlug?: string | undefined;
|
|
1293
|
-
actionSlug?: string | undefined;
|
|
1174
|
+
export type GetLinkedInPostAnalyticsRequest$Outbound = {
|
|
1175
|
+
postUrl: string;
|
|
1294
1176
|
};
|
|
1295
1177
|
/** @internal */
|
|
1296
|
-
export declare const
|
|
1297
|
-
export declare function
|
|
1298
|
-
/** @internal */
|
|
1299
|
-
export declare const PublishLinkedInPostResponse$inboundSchema: z.ZodMiniType<PublishLinkedInPostResponse, unknown>;
|
|
1300
|
-
export declare function publishLinkedInPostResponseFromJSON(jsonString: string): SafeParseResult<PublishLinkedInPostResponse, SDKValidationError>;
|
|
1178
|
+
export declare const GetLinkedInPostAnalyticsRequest$outboundSchema: z.ZodMiniType<GetLinkedInPostAnalyticsRequest$Outbound, GetLinkedInPostAnalyticsRequest>;
|
|
1179
|
+
export declare function getLinkedInPostAnalyticsRequestToJSON(getLinkedInPostAnalyticsRequest: GetLinkedInPostAnalyticsRequest): string;
|
|
1301
1180
|
/** @internal */
|
|
1302
|
-
export declare const
|
|
1303
|
-
export declare function
|
|
1181
|
+
export declare const GetLinkedInPostAnalyticsResponse$inboundSchema: z.ZodMiniType<GetLinkedInPostAnalyticsResponse, unknown>;
|
|
1182
|
+
export declare function getLinkedInPostAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInPostAnalyticsResponse, SDKValidationError>;
|
|
1304
1183
|
/** @internal */
|
|
1305
|
-
export
|
|
1306
|
-
export declare function getMyLinkedInProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePositionEndDate, SDKValidationError>;
|
|
1184
|
+
export type GetLinkedInFollowerAnalyticsRequest$Outbound = {};
|
|
1307
1185
|
/** @internal */
|
|
1308
|
-
export declare const
|
|
1309
|
-
export declare function
|
|
1186
|
+
export declare const GetLinkedInFollowerAnalyticsRequest$outboundSchema: z.ZodMiniType<GetLinkedInFollowerAnalyticsRequest$Outbound, GetLinkedInFollowerAnalyticsRequest>;
|
|
1187
|
+
export declare function getLinkedInFollowerAnalyticsRequestToJSON(getLinkedInFollowerAnalyticsRequest: GetLinkedInFollowerAnalyticsRequest): string;
|
|
1310
1188
|
/** @internal */
|
|
1311
|
-
export declare const
|
|
1312
|
-
export declare function
|
|
1189
|
+
export declare const GetLinkedInFollowerAnalyticsResponse$inboundSchema: z.ZodMiniType<GetLinkedInFollowerAnalyticsResponse, unknown>;
|
|
1190
|
+
export declare function getLinkedInFollowerAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInFollowerAnalyticsResponse, SDKValidationError>;
|
|
1313
1191
|
/** @internal */
|
|
1314
|
-
export declare const
|
|
1315
|
-
export declare function
|
|
1192
|
+
export declare const Page$inboundSchema: z.ZodMiniType<Page, unknown>;
|
|
1193
|
+
export declare function pageFromJSON(jsonString: string): SafeParseResult<Page, SDKValidationError>;
|
|
1316
1194
|
/** @internal */
|
|
1317
|
-
export declare const
|
|
1318
|
-
export declare function
|
|
1195
|
+
export declare const ListLinkedInCompanyPagesResponse$inboundSchema: z.ZodMiniType<ListLinkedInCompanyPagesResponse, unknown>;
|
|
1196
|
+
export declare function listLinkedInCompanyPagesResponseFromJSON(jsonString: string): SafeParseResult<ListLinkedInCompanyPagesResponse, SDKValidationError>;
|
|
1319
1197
|
/** @internal */
|
|
1320
|
-
export
|
|
1321
|
-
|
|
1198
|
+
export type GetCompanyPagePostsRequest$Outbound = {
|
|
1199
|
+
universalName: string;
|
|
1200
|
+
count: number;
|
|
1201
|
+
start: number;
|
|
1202
|
+
};
|
|
1322
1203
|
/** @internal */
|
|
1323
|
-
export declare const
|
|
1204
|
+
export declare const GetCompanyPagePostsRequest$outboundSchema: z.ZodMiniType<GetCompanyPagePostsRequest$Outbound, GetCompanyPagePostsRequest>;
|
|
1205
|
+
export declare function getCompanyPagePostsRequestToJSON(getCompanyPagePostsRequest: GetCompanyPagePostsRequest): string;
|
|
1324
1206
|
/** @internal */
|
|
1325
|
-
export declare const
|
|
1326
|
-
export declare function
|
|
1207
|
+
export declare const GetCompanyPagePostsPost$inboundSchema: z.ZodMiniType<GetCompanyPagePostsPost, unknown>;
|
|
1208
|
+
export declare function getCompanyPagePostsPostFromJSON(jsonString: string): SafeParseResult<GetCompanyPagePostsPost, SDKValidationError>;
|
|
1327
1209
|
/** @internal */
|
|
1328
|
-
export declare const
|
|
1329
|
-
export declare function
|
|
1210
|
+
export declare const GetCompanyPagePostsResponse$inboundSchema: z.ZodMiniType<GetCompanyPagePostsResponse, unknown>;
|
|
1211
|
+
export declare function getCompanyPagePostsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPagePostsResponse, SDKValidationError>;
|
|
1330
1212
|
/** @internal */
|
|
1331
|
-
export
|
|
1332
|
-
|
|
1213
|
+
export type GetCompanyPagePermissionsRequest$Outbound = {
|
|
1214
|
+
universalName: string;
|
|
1215
|
+
};
|
|
1333
1216
|
/** @internal */
|
|
1334
|
-
export declare const
|
|
1335
|
-
export declare function
|
|
1217
|
+
export declare const GetCompanyPagePermissionsRequest$outboundSchema: z.ZodMiniType<GetCompanyPagePermissionsRequest$Outbound, GetCompanyPagePermissionsRequest>;
|
|
1218
|
+
export declare function getCompanyPagePermissionsRequestToJSON(getCompanyPagePermissionsRequest: GetCompanyPagePermissionsRequest): string;
|
|
1336
1219
|
/** @internal */
|
|
1337
|
-
export declare const
|
|
1338
|
-
export declare function
|
|
1220
|
+
export declare const Permissions$inboundSchema: z.ZodMiniType<Permissions, unknown>;
|
|
1221
|
+
export declare function permissionsFromJSON(jsonString: string): SafeParseResult<Permissions, SDKValidationError>;
|
|
1339
1222
|
/** @internal */
|
|
1340
|
-
export declare const
|
|
1341
|
-
export declare function
|
|
1223
|
+
export declare const GetCompanyPagePermissionsResponse$inboundSchema: z.ZodMiniType<GetCompanyPagePermissionsResponse, unknown>;
|
|
1224
|
+
export declare function getCompanyPagePermissionsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPagePermissionsResponse, SDKValidationError>;
|
|
1342
1225
|
/** @internal */
|
|
1343
|
-
export
|
|
1344
|
-
|
|
1226
|
+
export type GetCompanyPageAnalyticsRequest$Outbound = {
|
|
1227
|
+
companyId: string;
|
|
1228
|
+
};
|
|
1345
1229
|
/** @internal */
|
|
1346
|
-
export declare const
|
|
1347
|
-
export declare function
|
|
1230
|
+
export declare const GetCompanyPageAnalyticsRequest$outboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsRequest$Outbound, GetCompanyPageAnalyticsRequest>;
|
|
1231
|
+
export declare function getCompanyPageAnalyticsRequestToJSON(getCompanyPageAnalyticsRequest: GetCompanyPageAnalyticsRequest): string;
|
|
1348
1232
|
/** @internal */
|
|
1349
|
-
export declare const
|
|
1350
|
-
export declare function
|
|
1233
|
+
export declare const GetCompanyPageAnalyticsFoundedOn$inboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsFoundedOn, unknown>;
|
|
1234
|
+
export declare function getCompanyPageAnalyticsFoundedOnFromJSON(jsonString: string): SafeParseResult<GetCompanyPageAnalyticsFoundedOn, SDKValidationError>;
|
|
1351
1235
|
/** @internal */
|
|
1352
|
-
export declare const
|
|
1236
|
+
export declare const GetCompanyPageAnalyticsHeadquarter$inboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsHeadquarter, unknown>;
|
|
1237
|
+
export declare function getCompanyPageAnalyticsHeadquarterFromJSON(jsonString: string): SafeParseResult<GetCompanyPageAnalyticsHeadquarter, SDKValidationError>;
|
|
1353
1238
|
/** @internal */
|
|
1354
|
-
export declare const
|
|
1355
|
-
export declare function
|
|
1239
|
+
export declare const Analytics$inboundSchema: z.ZodMiniType<Analytics, unknown>;
|
|
1240
|
+
export declare function analyticsFromJSON(jsonString: string): SafeParseResult<Analytics, SDKValidationError>;
|
|
1356
1241
|
/** @internal */
|
|
1357
|
-
export declare const
|
|
1358
|
-
export declare function
|
|
1242
|
+
export declare const GetCompanyPageAnalyticsResponse$inboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsResponse, unknown>;
|
|
1243
|
+
export declare function getCompanyPageAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPageAnalyticsResponse, SDKValidationError>;
|
|
1359
1244
|
/** @internal */
|
|
1360
|
-
export type
|
|
1361
|
-
|
|
1362
|
-
start?: number | undefined;
|
|
1363
|
-
paginationToken?: string | undefined;
|
|
1245
|
+
export type ListInboxConversationsRequest$Outbound = {
|
|
1246
|
+
nextCursor?: string | undefined;
|
|
1364
1247
|
};
|
|
1365
1248
|
/** @internal */
|
|
1366
|
-
export declare const
|
|
1367
|
-
export declare function
|
|
1249
|
+
export declare const ListInboxConversationsRequest$outboundSchema: z.ZodMiniType<ListInboxConversationsRequest$Outbound, ListInboxConversationsRequest>;
|
|
1250
|
+
export declare function listInboxConversationsRequestToJSON(listInboxConversationsRequest: ListInboxConversationsRequest): string;
|
|
1251
|
+
/** @internal */
|
|
1252
|
+
export declare const ListInboxConversationsParticipant$inboundSchema: z.ZodMiniType<ListInboxConversationsParticipant, unknown>;
|
|
1253
|
+
export declare function listInboxConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsParticipant, SDKValidationError>;
|
|
1368
1254
|
/** @internal */
|
|
1369
|
-
export declare const
|
|
1255
|
+
export declare const ListInboxConversationsLastMessage$inboundSchema: z.ZodMiniType<ListInboxConversationsLastMessage, unknown>;
|
|
1256
|
+
export declare function listInboxConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsLastMessage, SDKValidationError>;
|
|
1370
1257
|
/** @internal */
|
|
1371
|
-
export declare const
|
|
1372
|
-
export declare function
|
|
1258
|
+
export declare const ListInboxConversationsConversation$inboundSchema: z.ZodMiniType<ListInboxConversationsConversation, unknown>;
|
|
1259
|
+
export declare function listInboxConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsConversation, SDKValidationError>;
|
|
1373
1260
|
/** @internal */
|
|
1374
|
-
export declare const
|
|
1375
|
-
export declare function
|
|
1261
|
+
export declare const ListInboxConversationsResponse$inboundSchema: z.ZodMiniType<ListInboxConversationsResponse, unknown>;
|
|
1262
|
+
export declare function listInboxConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsResponse, SDKValidationError>;
|
|
1376
1263
|
/** @internal */
|
|
1377
|
-
export type
|
|
1378
|
-
|
|
1379
|
-
|
|
1264
|
+
export type GetConversationMessagesRequest$Outbound = {
|
|
1265
|
+
conversationUrn: string;
|
|
1266
|
+
deliveredAt?: number | undefined;
|
|
1380
1267
|
};
|
|
1381
1268
|
/** @internal */
|
|
1382
|
-
export declare const
|
|
1383
|
-
export declare function
|
|
1384
|
-
/** @internal */
|
|
1385
|
-
export declare const Follower$inboundSchema: z.ZodMiniType<Follower, unknown>;
|
|
1386
|
-
export declare function followerFromJSON(jsonString: string): SafeParseResult<Follower, SDKValidationError>;
|
|
1269
|
+
export declare const GetConversationMessagesRequest$outboundSchema: z.ZodMiniType<GetConversationMessagesRequest$Outbound, GetConversationMessagesRequest>;
|
|
1270
|
+
export declare function getConversationMessagesRequestToJSON(getConversationMessagesRequest: GetConversationMessagesRequest): string;
|
|
1387
1271
|
/** @internal */
|
|
1388
|
-
export declare const
|
|
1389
|
-
export declare function
|
|
1272
|
+
export declare const GetConversationMessagesSender$inboundSchema: z.ZodMiniType<GetConversationMessagesSender, unknown>;
|
|
1273
|
+
export declare function getConversationMessagesSenderFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesSender, SDKValidationError>;
|
|
1390
1274
|
/** @internal */
|
|
1391
|
-
export declare const
|
|
1392
|
-
export declare function connectionRequestDailyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestDaily, SDKValidationError>;
|
|
1275
|
+
export declare const GetConversationMessagesType$inboundSchema: z.ZodMiniType<GetConversationMessagesType, unknown>;
|
|
1393
1276
|
/** @internal */
|
|
1394
|
-
export declare const
|
|
1395
|
-
export declare function
|
|
1277
|
+
export declare const GetConversationMessagesAttachment$inboundSchema: z.ZodMiniType<GetConversationMessagesAttachment, unknown>;
|
|
1278
|
+
export declare function getConversationMessagesAttachmentFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesAttachment, SDKValidationError>;
|
|
1396
1279
|
/** @internal */
|
|
1397
|
-
export declare const
|
|
1398
|
-
export declare function
|
|
1280
|
+
export declare const GetConversationMessagesMessage$inboundSchema: z.ZodMiniType<GetConversationMessagesMessage, unknown>;
|
|
1281
|
+
export declare function getConversationMessagesMessageFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesMessage, SDKValidationError>;
|
|
1399
1282
|
/** @internal */
|
|
1400
|
-
export declare const
|
|
1401
|
-
export declare function
|
|
1283
|
+
export declare const GetConversationMessagesResponse$inboundSchema: z.ZodMiniType<GetConversationMessagesResponse, unknown>;
|
|
1284
|
+
export declare function getConversationMessagesResponseFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesResponse, SDKValidationError>;
|
|
1402
1285
|
/** @internal */
|
|
1403
|
-
export
|
|
1404
|
-
export declare function messageWeeklyFromJSON(jsonString: string): SafeParseResult<MessageWeekly, SDKValidationError>;
|
|
1286
|
+
export type MarkAllConversationsReadRequest$Outbound = {};
|
|
1405
1287
|
/** @internal */
|
|
1406
|
-
export declare const
|
|
1407
|
-
export declare function
|
|
1288
|
+
export declare const MarkAllConversationsReadRequest$outboundSchema: z.ZodMiniType<MarkAllConversationsReadRequest$Outbound, MarkAllConversationsReadRequest>;
|
|
1289
|
+
export declare function markAllConversationsReadRequestToJSON(markAllConversationsReadRequest: MarkAllConversationsReadRequest): string;
|
|
1408
1290
|
/** @internal */
|
|
1409
|
-
export declare const
|
|
1410
|
-
export declare function
|
|
1291
|
+
export declare const MarkAllConversationsReadResponse$inboundSchema: z.ZodMiniType<MarkAllConversationsReadResponse, unknown>;
|
|
1292
|
+
export declare function markAllConversationsReadResponseFromJSON(jsonString: string): SafeParseResult<MarkAllConversationsReadResponse, SDKValidationError>;
|
|
1411
1293
|
/** @internal */
|
|
1412
|
-
export
|
|
1413
|
-
|
|
1294
|
+
export type ListArchivedConversationsRequest$Outbound = {
|
|
1295
|
+
nextCursor?: string | undefined;
|
|
1296
|
+
};
|
|
1414
1297
|
/** @internal */
|
|
1415
|
-
export declare const
|
|
1416
|
-
export declare function
|
|
1298
|
+
export declare const ListArchivedConversationsRequest$outboundSchema: z.ZodMiniType<ListArchivedConversationsRequest$Outbound, ListArchivedConversationsRequest>;
|
|
1299
|
+
export declare function listArchivedConversationsRequestToJSON(listArchivedConversationsRequest: ListArchivedConversationsRequest): string;
|
|
1417
1300
|
/** @internal */
|
|
1418
|
-
export declare const
|
|
1419
|
-
export declare function
|
|
1301
|
+
export declare const ListArchivedConversationsParticipant$inboundSchema: z.ZodMiniType<ListArchivedConversationsParticipant, unknown>;
|
|
1302
|
+
export declare function listArchivedConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsParticipant, SDKValidationError>;
|
|
1420
1303
|
/** @internal */
|
|
1421
|
-
export declare const
|
|
1422
|
-
export declare function
|
|
1304
|
+
export declare const ListArchivedConversationsLastMessage$inboundSchema: z.ZodMiniType<ListArchivedConversationsLastMessage, unknown>;
|
|
1305
|
+
export declare function listArchivedConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsLastMessage, SDKValidationError>;
|
|
1423
1306
|
/** @internal */
|
|
1424
|
-
export declare const
|
|
1425
|
-
export declare function
|
|
1307
|
+
export declare const ListArchivedConversationsConversation$inboundSchema: z.ZodMiniType<ListArchivedConversationsConversation, unknown>;
|
|
1308
|
+
export declare function listArchivedConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsConversation, SDKValidationError>;
|
|
1426
1309
|
/** @internal */
|
|
1427
|
-
export declare const
|
|
1428
|
-
export declare function
|
|
1310
|
+
export declare const ListArchivedConversationsResponse$inboundSchema: z.ZodMiniType<ListArchivedConversationsResponse, unknown>;
|
|
1311
|
+
export declare function listArchivedConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsResponse, SDKValidationError>;
|
|
1429
1312
|
/** @internal */
|
|
1430
|
-
export
|
|
1431
|
-
|
|
1313
|
+
export type ReactToMessageRequest$Outbound = {
|
|
1314
|
+
messageUrn: string;
|
|
1315
|
+
emoji: string;
|
|
1316
|
+
conversationUrn: string;
|
|
1317
|
+
};
|
|
1432
1318
|
/** @internal */
|
|
1433
|
-
export declare const
|
|
1434
|
-
export declare function
|
|
1319
|
+
export declare const ReactToMessageRequest$outboundSchema: z.ZodMiniType<ReactToMessageRequest$Outbound, ReactToMessageRequest>;
|
|
1320
|
+
export declare function reactToMessageRequestToJSON(reactToMessageRequest: ReactToMessageRequest): string;
|
|
1435
1321
|
/** @internal */
|
|
1436
|
-
export declare const
|
|
1437
|
-
export declare function
|
|
1322
|
+
export declare const ReactToMessageResponse$inboundSchema: z.ZodMiniType<ReactToMessageResponse, unknown>;
|
|
1323
|
+
export declare function reactToMessageResponseFromJSON(jsonString: string): SafeParseResult<ReactToMessageResponse, SDKValidationError>;
|
|
1438
1324
|
/** @internal */
|
|
1439
|
-
export type
|
|
1440
|
-
|
|
1325
|
+
export type SendTypingIndicatorRequest$Outbound = {
|
|
1326
|
+
conversationUrn: string;
|
|
1441
1327
|
};
|
|
1442
1328
|
/** @internal */
|
|
1443
|
-
export declare const
|
|
1444
|
-
export declare function
|
|
1329
|
+
export declare const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<SendTypingIndicatorRequest$Outbound, SendTypingIndicatorRequest>;
|
|
1330
|
+
export declare function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest: SendTypingIndicatorRequest): string;
|
|
1445
1331
|
/** @internal */
|
|
1446
|
-
export declare const
|
|
1447
|
-
export declare function
|
|
1332
|
+
export declare const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<SendTypingIndicatorResponse, unknown>;
|
|
1333
|
+
export declare function sendTypingIndicatorResponseFromJSON(jsonString: string): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError>;
|
|
1448
1334
|
/** @internal */
|
|
1449
|
-
export
|
|
1450
|
-
export declare function listInboxConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsLastMessage, SDKValidationError>;
|
|
1335
|
+
export type GetUnreadCountRequest$Outbound = {};
|
|
1451
1336
|
/** @internal */
|
|
1452
|
-
export declare const
|
|
1453
|
-
export declare function
|
|
1337
|
+
export declare const GetUnreadCountRequest$outboundSchema: z.ZodMiniType<GetUnreadCountRequest$Outbound, GetUnreadCountRequest>;
|
|
1338
|
+
export declare function getUnreadCountRequestToJSON(getUnreadCountRequest: GetUnreadCountRequest): string;
|
|
1454
1339
|
/** @internal */
|
|
1455
|
-
export declare const
|
|
1456
|
-
export declare function
|
|
1340
|
+
export declare const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<GetUnreadCountResponse, unknown>;
|
|
1341
|
+
export declare function getUnreadCountResponseFromJSON(jsonString: string): SafeParseResult<GetUnreadCountResponse, SDKValidationError>;
|
|
1457
1342
|
/** @internal */
|
|
1458
1343
|
export type SearchLinkedInConversationsRequest$Outbound = {
|
|
1459
1344
|
keywords: string;
|
|
@@ -1500,27 +1385,86 @@ export declare function findLinkedInConversationMessageFromJSON(jsonString: stri
|
|
|
1500
1385
|
export declare const FindLinkedInConversationResponse$inboundSchema: z.ZodMiniType<FindLinkedInConversationResponse, unknown>;
|
|
1501
1386
|
export declare function findLinkedInConversationResponseFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationResponse, SDKValidationError>;
|
|
1502
1387
|
/** @internal */
|
|
1503
|
-
export type
|
|
1388
|
+
export type ArchiveConversationRequest$Outbound = {
|
|
1504
1389
|
conversationUrn: string;
|
|
1505
|
-
deliveredAt?: number | undefined;
|
|
1506
1390
|
};
|
|
1507
1391
|
/** @internal */
|
|
1508
|
-
export declare const
|
|
1509
|
-
export declare function
|
|
1392
|
+
export declare const ArchiveConversationRequest$outboundSchema: z.ZodMiniType<ArchiveConversationRequest$Outbound, ArchiveConversationRequest>;
|
|
1393
|
+
export declare function archiveConversationRequestToJSON(archiveConversationRequest: ArchiveConversationRequest): string;
|
|
1510
1394
|
/** @internal */
|
|
1511
|
-
export declare const
|
|
1512
|
-
export declare function
|
|
1395
|
+
export declare const ArchiveConversationResponse$inboundSchema: z.ZodMiniType<ArchiveConversationResponse, unknown>;
|
|
1396
|
+
export declare function archiveConversationResponseFromJSON(jsonString: string): SafeParseResult<ArchiveConversationResponse, SDKValidationError>;
|
|
1513
1397
|
/** @internal */
|
|
1514
|
-
export
|
|
1398
|
+
export type UnreactToMessageRequest$Outbound = {
|
|
1399
|
+
messageUrn: string;
|
|
1400
|
+
emoji: string;
|
|
1401
|
+
conversationUrn: string;
|
|
1402
|
+
};
|
|
1515
1403
|
/** @internal */
|
|
1516
|
-
export declare const
|
|
1517
|
-
export declare function
|
|
1404
|
+
export declare const UnreactToMessageRequest$outboundSchema: z.ZodMiniType<UnreactToMessageRequest$Outbound, UnreactToMessageRequest>;
|
|
1405
|
+
export declare function unreactToMessageRequestToJSON(unreactToMessageRequest: UnreactToMessageRequest): string;
|
|
1518
1406
|
/** @internal */
|
|
1519
|
-
export declare const
|
|
1520
|
-
export declare function
|
|
1407
|
+
export declare const UnreactToMessageResponse$inboundSchema: z.ZodMiniType<UnreactToMessageResponse, unknown>;
|
|
1408
|
+
export declare function unreactToMessageResponseFromJSON(jsonString: string): SafeParseResult<UnreactToMessageResponse, SDKValidationError>;
|
|
1521
1409
|
/** @internal */
|
|
1522
|
-
export
|
|
1523
|
-
|
|
1410
|
+
export type MarkConversationSeenRequest$Outbound = {
|
|
1411
|
+
conversationUrn: string;
|
|
1412
|
+
};
|
|
1413
|
+
/** @internal */
|
|
1414
|
+
export declare const MarkConversationSeenRequest$outboundSchema: z.ZodMiniType<MarkConversationSeenRequest$Outbound, MarkConversationSeenRequest>;
|
|
1415
|
+
export declare function markConversationSeenRequestToJSON(markConversationSeenRequest: MarkConversationSeenRequest): string;
|
|
1416
|
+
/** @internal */
|
|
1417
|
+
export declare const MarkConversationSeenResponse$inboundSchema: z.ZodMiniType<MarkConversationSeenResponse, unknown>;
|
|
1418
|
+
export declare function markConversationSeenResponseFromJSON(jsonString: string): SafeParseResult<MarkConversationSeenResponse, SDKValidationError>;
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
export type StarConversationRequest$Outbound = {
|
|
1421
|
+
conversationUrn: string;
|
|
1422
|
+
};
|
|
1423
|
+
/** @internal */
|
|
1424
|
+
export declare const StarConversationRequest$outboundSchema: z.ZodMiniType<StarConversationRequest$Outbound, StarConversationRequest>;
|
|
1425
|
+
export declare function starConversationRequestToJSON(starConversationRequest: StarConversationRequest): string;
|
|
1426
|
+
/** @internal */
|
|
1427
|
+
export declare const StarConversationResponse$inboundSchema: z.ZodMiniType<StarConversationResponse, unknown>;
|
|
1428
|
+
export declare function starConversationResponseFromJSON(jsonString: string): SafeParseResult<StarConversationResponse, SDKValidationError>;
|
|
1429
|
+
/** @internal */
|
|
1430
|
+
export type UnstarConversationRequest$Outbound = {
|
|
1431
|
+
conversationUrn: string;
|
|
1432
|
+
};
|
|
1433
|
+
/** @internal */
|
|
1434
|
+
export declare const UnstarConversationRequest$outboundSchema: z.ZodMiniType<UnstarConversationRequest$Outbound, UnstarConversationRequest>;
|
|
1435
|
+
export declare function unstarConversationRequestToJSON(unstarConversationRequest: UnstarConversationRequest): string;
|
|
1436
|
+
/** @internal */
|
|
1437
|
+
export declare const UnstarConversationResponse$inboundSchema: z.ZodMiniType<UnstarConversationResponse, unknown>;
|
|
1438
|
+
export declare function unstarConversationResponseFromJSON(jsonString: string): SafeParseResult<UnstarConversationResponse, SDKValidationError>;
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
export type ListStarredConversationsRequest$Outbound = {
|
|
1441
|
+
nextCursor?: string | undefined;
|
|
1442
|
+
};
|
|
1443
|
+
/** @internal */
|
|
1444
|
+
export declare const ListStarredConversationsRequest$outboundSchema: z.ZodMiniType<ListStarredConversationsRequest$Outbound, ListStarredConversationsRequest>;
|
|
1445
|
+
export declare function listStarredConversationsRequestToJSON(listStarredConversationsRequest: ListStarredConversationsRequest): string;
|
|
1446
|
+
/** @internal */
|
|
1447
|
+
export declare const ListStarredConversationsParticipant$inboundSchema: z.ZodMiniType<ListStarredConversationsParticipant, unknown>;
|
|
1448
|
+
export declare function listStarredConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsParticipant, SDKValidationError>;
|
|
1449
|
+
/** @internal */
|
|
1450
|
+
export declare const ListStarredConversationsLastMessage$inboundSchema: z.ZodMiniType<ListStarredConversationsLastMessage, unknown>;
|
|
1451
|
+
export declare function listStarredConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsLastMessage, SDKValidationError>;
|
|
1452
|
+
/** @internal */
|
|
1453
|
+
export declare const ListStarredConversationsConversation$inboundSchema: z.ZodMiniType<ListStarredConversationsConversation, unknown>;
|
|
1454
|
+
export declare function listStarredConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsConversation, SDKValidationError>;
|
|
1455
|
+
/** @internal */
|
|
1456
|
+
export declare const ListStarredConversationsResponse$inboundSchema: z.ZodMiniType<ListStarredConversationsResponse, unknown>;
|
|
1457
|
+
export declare function listStarredConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsResponse, SDKValidationError>;
|
|
1458
|
+
/** @internal */
|
|
1459
|
+
export type UnarchiveConversationRequest$Outbound = {
|
|
1460
|
+
conversationUrn: string;
|
|
1461
|
+
};
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export declare const UnarchiveConversationRequest$outboundSchema: z.ZodMiniType<UnarchiveConversationRequest$Outbound, UnarchiveConversationRequest>;
|
|
1464
|
+
export declare function unarchiveConversationRequestToJSON(unarchiveConversationRequest: UnarchiveConversationRequest): string;
|
|
1465
|
+
/** @internal */
|
|
1466
|
+
export declare const UnarchiveConversationResponse$inboundSchema: z.ZodMiniType<UnarchiveConversationResponse, unknown>;
|
|
1467
|
+
export declare function unarchiveConversationResponseFromJSON(jsonString: string): SafeParseResult<UnarchiveConversationResponse, SDKValidationError>;
|
|
1524
1468
|
/** @internal */
|
|
1525
1469
|
export type FilterCampaignRequest$Outbound = {
|
|
1526
1470
|
campaignSlug: string;
|