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
|
@@ -6,47 +6,8 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import * as openEnums from "../../types/enums.js";
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
export const ReactionType = {
|
|
13
|
-
Like: "LIKE",
|
|
14
|
-
Love: "LOVE",
|
|
15
|
-
Celebrate: "CELEBRATE",
|
|
16
|
-
Support: "SUPPORT",
|
|
17
|
-
Funny: "FUNNY",
|
|
18
|
-
Insightful: "INSIGHTFUL",
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
22
|
-
*/
|
|
23
|
-
export const Mode = {
|
|
24
|
-
Scheduled: "scheduled",
|
|
25
|
-
Instant: "instant",
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Post visibility
|
|
29
|
-
*/
|
|
30
|
-
export const Visibility = {
|
|
31
|
-
Anyone: "ANYONE",
|
|
32
|
-
Connections: "CONNECTIONS",
|
|
33
|
-
};
|
|
34
|
-
export const GetMyLinkedInProfileType = {
|
|
35
|
-
Activity: "activity",
|
|
36
|
-
UgcPost: "ugcPost",
|
|
37
|
-
Share: "share",
|
|
38
|
-
};
|
|
39
|
-
export const RefreshMyLinkedInProfileType = {
|
|
40
|
-
Activity: "activity",
|
|
41
|
-
UgcPost: "ugcPost",
|
|
42
|
-
Share: "share",
|
|
43
|
-
};
|
|
44
|
-
export const GetMyLinkedInPostsType = {
|
|
45
|
-
Activity: "activity",
|
|
46
|
-
UgcPost: "ugcPost",
|
|
47
|
-
Share: "share",
|
|
48
|
-
};
|
|
49
|
-
export const FindLinkedInConversationType = {
|
|
9
|
+
import { ConnectionRequest$inboundSchema, GetMyLimitsMessage$inboundSchema, ProfileVisit$inboundSchema, ScrapingDaily$inboundSchema, ScrapingWeekly$inboundSchema, } from "./scraping-weekly.js";
|
|
10
|
+
export const GetConversationMessagesType = {
|
|
50
11
|
Audio: "audio",
|
|
51
12
|
SharedPost: "shared_post",
|
|
52
13
|
RepliedMessage: "replied_message",
|
|
@@ -54,7 +15,7 @@ export const FindLinkedInConversationType = {
|
|
|
54
15
|
File: "file",
|
|
55
16
|
Unknown: "unknown",
|
|
56
17
|
};
|
|
57
|
-
export const
|
|
18
|
+
export const FindLinkedInConversationType = {
|
|
58
19
|
Audio: "audio",
|
|
59
20
|
SharedPost: "shared_post",
|
|
60
21
|
RepliedMessage: "replied_message",
|
|
@@ -70,570 +31,451 @@ export const Action = {
|
|
|
70
31
|
Connect: "connect",
|
|
71
32
|
};
|
|
72
33
|
/** @internal */
|
|
73
|
-
export const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return JSON.stringify(ReplyToLinkedInCommentRequest$outboundSchema.parse(replyToLinkedInCommentRequest));
|
|
81
|
-
}
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const ReplyToLinkedInCommentResponse$inboundSchema = z.object({
|
|
84
|
-
success: types.boolean(),
|
|
85
|
-
replyUrn: types.optional(types.string()),
|
|
86
|
-
duplicate: types.optional(types.boolean()),
|
|
87
|
-
creditsUsed: types.number(),
|
|
88
|
-
retryAfter: types.number(),
|
|
34
|
+
export const Scraping$inboundSchema = z
|
|
35
|
+
.object({
|
|
36
|
+
daily: ScrapingDaily$inboundSchema,
|
|
37
|
+
weekly: types.nullable(ScrapingWeekly$inboundSchema),
|
|
38
|
+
minIntervalSeconds: types.number(),
|
|
39
|
+
nextResetDaily: types.date(),
|
|
40
|
+
nextResetWeekly: types.nullable(types.date()),
|
|
89
41
|
});
|
|
90
|
-
export function
|
|
91
|
-
return safeParse(jsonString, (x) =>
|
|
42
|
+
export function scrapingFromJSON(jsonString) {
|
|
43
|
+
return safeParse(jsonString, (x) => Scraping$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Scraping' from JSON`);
|
|
92
44
|
}
|
|
93
45
|
/** @internal */
|
|
94
|
-
export const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
46
|
+
export const Limits$inboundSchema = z.pipe(z.object({
|
|
47
|
+
connection_request: ConnectionRequest$inboundSchema,
|
|
48
|
+
message: GetMyLimitsMessage$inboundSchema,
|
|
49
|
+
profile_visit: ProfileVisit$inboundSchema,
|
|
50
|
+
scraping: z.lazy(() => Scraping$inboundSchema),
|
|
51
|
+
}), z.transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"connection_request": "connectionRequest",
|
|
54
|
+
"profile_visit": "profileVisit",
|
|
55
|
+
});
|
|
56
|
+
}));
|
|
57
|
+
export function limitsFromJSON(jsonString) {
|
|
58
|
+
return safeParse(jsonString, (x) => Limits$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Limits' from JSON`);
|
|
105
59
|
}
|
|
106
60
|
/** @internal */
|
|
107
|
-
export const
|
|
108
|
-
success: types.
|
|
109
|
-
|
|
110
|
-
|
|
61
|
+
export const GetMyLimitsResponse$inboundSchema = z.object({
|
|
62
|
+
success: types.literal(true),
|
|
63
|
+
multiplier: types.number(),
|
|
64
|
+
limits: z.lazy(() => Limits$inboundSchema),
|
|
111
65
|
creditsUsed: types.number(),
|
|
112
66
|
retryAfter: types.number(),
|
|
113
67
|
});
|
|
114
|
-
export function
|
|
115
|
-
return safeParse(jsonString, (x) =>
|
|
116
|
-
}
|
|
117
|
-
/** @internal */
|
|
118
|
-
export const Mode$outboundSchema = z.enum(Mode);
|
|
119
|
-
/** @internal */
|
|
120
|
-
export const Visibility$outboundSchema = z
|
|
121
|
-
.enum(Visibility);
|
|
122
|
-
/** @internal */
|
|
123
|
-
export const Mention$outboundSchema = z.object({
|
|
124
|
-
profileUrn: z.string(),
|
|
125
|
-
start: z.int(),
|
|
126
|
-
length: z.int(),
|
|
127
|
-
});
|
|
128
|
-
export function mentionToJSON(mention) {
|
|
129
|
-
return JSON.stringify(Mention$outboundSchema.parse(mention));
|
|
68
|
+
export function getMyLimitsResponseFromJSON(jsonString) {
|
|
69
|
+
return safeParse(jsonString, (x) => GetMyLimitsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLimitsResponse' from JSON`);
|
|
130
70
|
}
|
|
131
71
|
/** @internal */
|
|
132
|
-
export const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
mentions: z.optional(z.array(z.lazy(() => Mention$outboundSchema))),
|
|
139
|
-
campaignSlug: z.optional(z.string()),
|
|
140
|
-
actionSlug: z.optional(z.string()),
|
|
72
|
+
export const Credits$inboundSchema = z.object({
|
|
73
|
+
current: types.number(),
|
|
74
|
+
limit: types.nullable(types.number()),
|
|
75
|
+
remaining: types.nullable(types.number()),
|
|
76
|
+
percentage: types.number(),
|
|
77
|
+
isUnlimited: types.boolean(),
|
|
141
78
|
});
|
|
142
|
-
export function
|
|
143
|
-
return
|
|
79
|
+
export function creditsFromJSON(jsonString) {
|
|
80
|
+
return safeParse(jsonString, (x) => Credits$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Credits' from JSON`);
|
|
144
81
|
}
|
|
145
82
|
/** @internal */
|
|
146
|
-
export const
|
|
147
|
-
success: types.
|
|
148
|
-
|
|
149
|
-
activityUrn: types.nullable(types.string()),
|
|
150
|
-
duplicate: types.optional(types.boolean()),
|
|
83
|
+
export const GetMyCreditsResponse$inboundSchema = z.object({
|
|
84
|
+
success: types.literal(true),
|
|
85
|
+
credits: z.lazy(() => Credits$inboundSchema),
|
|
151
86
|
creditsUsed: types.number(),
|
|
152
87
|
retryAfter: types.number(),
|
|
153
88
|
});
|
|
154
|
-
export function
|
|
155
|
-
return safeParse(jsonString, (x) =>
|
|
89
|
+
export function getMyCreditsResponseFromJSON(jsonString) {
|
|
90
|
+
return safeParse(jsonString, (x) => GetMyCreditsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyCreditsResponse' from JSON`);
|
|
156
91
|
}
|
|
157
92
|
/** @internal */
|
|
158
|
-
export const
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
});
|
|
162
|
-
export function getMyLinkedInProfilePositionStartDateFromJSON(jsonString) {
|
|
163
|
-
return safeParse(jsonString, (x) => GetMyLinkedInProfilePositionStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInProfilePositionStartDate' from JSON`);
|
|
93
|
+
export const GetLinkedInProfileViewsRequest$outboundSchema = z.object({});
|
|
94
|
+
export function getLinkedInProfileViewsRequestToJSON(getLinkedInProfileViewsRequest) {
|
|
95
|
+
return JSON.stringify(GetLinkedInProfileViewsRequest$outboundSchema.parse(getLinkedInProfileViewsRequest));
|
|
164
96
|
}
|
|
165
97
|
/** @internal */
|
|
166
|
-
export const
|
|
167
|
-
|
|
168
|
-
|
|
98
|
+
export const GetLinkedInProfileViewsResponse$inboundSchema = z.object({
|
|
99
|
+
success: types.literal(true),
|
|
100
|
+
views: z.array(z.any()),
|
|
101
|
+
total: types.number(),
|
|
102
|
+
creditsUsed: types.number(),
|
|
103
|
+
retryAfter: types.number(),
|
|
169
104
|
});
|
|
170
|
-
export function
|
|
171
|
-
return safeParse(jsonString, (x) =>
|
|
105
|
+
export function getLinkedInProfileViewsResponseFromJSON(jsonString) {
|
|
106
|
+
return safeParse(jsonString, (x) => GetLinkedInProfileViewsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInProfileViewsResponse' from JSON`);
|
|
172
107
|
}
|
|
173
108
|
/** @internal */
|
|
174
|
-
export const
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
companyUrl: types.nullable(types.string()),
|
|
178
|
-
companyLogo: types.nullable(types.string()),
|
|
179
|
-
startDate: types.nullable(z.lazy(() => GetMyLinkedInProfilePositionStartDate$inboundSchema)),
|
|
180
|
-
endDate: types.nullable(z.lazy(() => GetMyLinkedInProfilePositionEndDate$inboundSchema)),
|
|
181
|
-
isCurrent: types.boolean(),
|
|
182
|
-
});
|
|
183
|
-
export function getMyLinkedInProfilePositionFromJSON(jsonString) {
|
|
184
|
-
return safeParse(jsonString, (x) => GetMyLinkedInProfilePosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInProfilePosition' from JSON`);
|
|
109
|
+
export const GetLinkedInSearchAppearancesRequest$outboundSchema = z.object({});
|
|
110
|
+
export function getLinkedInSearchAppearancesRequestToJSON(getLinkedInSearchAppearancesRequest) {
|
|
111
|
+
return JSON.stringify(GetLinkedInSearchAppearancesRequest$outboundSchema.parse(getLinkedInSearchAppearancesRequest));
|
|
185
112
|
}
|
|
186
113
|
/** @internal */
|
|
187
|
-
export const
|
|
188
|
-
|
|
189
|
-
|
|
114
|
+
export const GetLinkedInSearchAppearancesResponse$inboundSchema = z.object({
|
|
115
|
+
success: types.literal(true),
|
|
116
|
+
appearances: z.any(),
|
|
117
|
+
creditsUsed: types.number(),
|
|
118
|
+
retryAfter: types.number(),
|
|
190
119
|
});
|
|
191
|
-
export function
|
|
192
|
-
return safeParse(jsonString, (x) =>
|
|
120
|
+
export function getLinkedInSearchAppearancesResponseFromJSON(jsonString) {
|
|
121
|
+
return safeParse(jsonString, (x) => GetLinkedInSearchAppearancesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInSearchAppearancesResponse' from JSON`);
|
|
193
122
|
}
|
|
194
123
|
/** @internal */
|
|
195
|
-
export const
|
|
196
|
-
|
|
197
|
-
year: types.number(),
|
|
124
|
+
export const GetLinkedInPostAnalyticsRequest$outboundSchema = z.object({
|
|
125
|
+
postUrl: z.string(),
|
|
198
126
|
});
|
|
199
|
-
export function
|
|
200
|
-
return
|
|
127
|
+
export function getLinkedInPostAnalyticsRequestToJSON(getLinkedInPostAnalyticsRequest) {
|
|
128
|
+
return JSON.stringify(GetLinkedInPostAnalyticsRequest$outboundSchema.parse(getLinkedInPostAnalyticsRequest));
|
|
201
129
|
}
|
|
202
130
|
/** @internal */
|
|
203
|
-
export const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
schoolLogo: types.nullable(types.string()),
|
|
209
|
-
startDate: types.nullable(z.lazy(() => GetMyLinkedInProfileEducationStartDate$inboundSchema)),
|
|
210
|
-
endDate: types.nullable(z.lazy(() => GetMyLinkedInProfileEducationEndDate$inboundSchema)),
|
|
131
|
+
export const GetLinkedInPostAnalyticsResponse$inboundSchema = z.object({
|
|
132
|
+
success: types.literal(true),
|
|
133
|
+
analytics: z.any(),
|
|
134
|
+
creditsUsed: types.number(),
|
|
135
|
+
retryAfter: types.number(),
|
|
211
136
|
});
|
|
212
|
-
export function
|
|
213
|
-
return safeParse(jsonString, (x) =>
|
|
137
|
+
export function getLinkedInPostAnalyticsResponseFromJSON(jsonString) {
|
|
138
|
+
return safeParse(jsonString, (x) => GetLinkedInPostAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInPostAnalyticsResponse' from JSON`);
|
|
214
139
|
}
|
|
215
140
|
/** @internal */
|
|
216
|
-
export const
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
});
|
|
220
|
-
export function getMyLinkedInProfileLocationFromJSON(jsonString) {
|
|
221
|
-
return safeParse(jsonString, (x) => GetMyLinkedInProfileLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInProfileLocation' from JSON`);
|
|
141
|
+
export const GetLinkedInFollowerAnalyticsRequest$outboundSchema = z.object({});
|
|
142
|
+
export function getLinkedInFollowerAnalyticsRequestToJSON(getLinkedInFollowerAnalyticsRequest) {
|
|
143
|
+
return JSON.stringify(GetLinkedInFollowerAnalyticsRequest$outboundSchema.parse(getLinkedInFollowerAnalyticsRequest));
|
|
222
144
|
}
|
|
223
145
|
/** @internal */
|
|
224
|
-
export const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
postUrl: types.string(),
|
|
228
|
-
text: types.string(),
|
|
229
|
-
date: types.number(),
|
|
230
|
-
likesCount: types.number(),
|
|
231
|
-
commentsCount: types.number(),
|
|
232
|
-
sharesCount: types.number(),
|
|
233
|
-
postUrn: types.string(),
|
|
234
|
-
postId: types.string(),
|
|
235
|
-
type: GetMyLinkedInProfileType$inboundSchema,
|
|
236
|
-
});
|
|
237
|
-
export function getMyLinkedInProfileLastPostFromJSON(jsonString) {
|
|
238
|
-
return safeParse(jsonString, (x) => GetMyLinkedInProfileLastPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInProfileLastPost' from JSON`);
|
|
239
|
-
}
|
|
240
|
-
/** @internal */
|
|
241
|
-
export const GetMyLinkedInProfileResponse$inboundSchema = z.object({
|
|
242
|
-
success: types.boolean(),
|
|
243
|
-
linkedinProfileId: types.nullable(types.string()),
|
|
244
|
-
linkedinName: types.nullable(types.string()),
|
|
245
|
-
linkedinEmail: types.nullable(types.string()),
|
|
246
|
-
profileUrn: types.nullable(types.string()),
|
|
247
|
-
headline: types.nullable(types.string()),
|
|
248
|
-
profilePic: types.nullable(types.string()),
|
|
249
|
-
profileUrl: types.nullable(types.string()),
|
|
250
|
-
positions: types.optional(z.array(z.lazy(() => GetMyLinkedInProfilePosition$inboundSchema))),
|
|
251
|
-
educations: types.optional(z.array(z.lazy(() => GetMyLinkedInProfileEducation$inboundSchema))),
|
|
252
|
-
connectionsCount: types.nullable(types.number()),
|
|
253
|
-
location: types.nullable(z.lazy(() => GetMyLinkedInProfileLocation$inboundSchema)),
|
|
254
|
-
isVerified: types.nullable(types.boolean()),
|
|
255
|
-
lastPosts: types.optional(z.array(z.lazy(() => GetMyLinkedInProfileLastPost$inboundSchema))),
|
|
146
|
+
export const GetLinkedInFollowerAnalyticsResponse$inboundSchema = z.object({
|
|
147
|
+
success: types.literal(true),
|
|
148
|
+
analytics: z.any(),
|
|
256
149
|
creditsUsed: types.number(),
|
|
257
150
|
retryAfter: types.number(),
|
|
258
151
|
});
|
|
259
|
-
export function
|
|
260
|
-
return safeParse(jsonString, (x) =>
|
|
261
|
-
}
|
|
262
|
-
/** @internal */
|
|
263
|
-
export const RefreshMyLinkedInProfilePositionStartDate$inboundSchema = z.object({
|
|
264
|
-
month: types.nullable(types.number()),
|
|
265
|
-
year: types.number(),
|
|
266
|
-
});
|
|
267
|
-
export function refreshMyLinkedInProfilePositionStartDateFromJSON(jsonString) {
|
|
268
|
-
return safeParse(jsonString, (x) => RefreshMyLinkedInProfilePositionStartDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshMyLinkedInProfilePositionStartDate' from JSON`);
|
|
152
|
+
export function getLinkedInFollowerAnalyticsResponseFromJSON(jsonString) {
|
|
153
|
+
return safeParse(jsonString, (x) => GetLinkedInFollowerAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInFollowerAnalyticsResponse' from JSON`);
|
|
269
154
|
}
|
|
270
155
|
/** @internal */
|
|
271
|
-
export const
|
|
272
|
-
|
|
273
|
-
|
|
156
|
+
export const Page$inboundSchema = z.object({
|
|
157
|
+
id: types.string(),
|
|
158
|
+
universalName: types.string(),
|
|
159
|
+
name: types.string(),
|
|
160
|
+
url: types.string(),
|
|
161
|
+
logoUrl: types.nullable(types.string()),
|
|
162
|
+
followerCount: types.nullable(types.number()),
|
|
163
|
+
industry: types.nullable(types.string()),
|
|
164
|
+
employeeCount: types.nullable(types.number()),
|
|
165
|
+
adminRole: types.nullable(types.string()),
|
|
274
166
|
});
|
|
275
|
-
export function
|
|
276
|
-
return safeParse(jsonString, (x) =>
|
|
167
|
+
export function pageFromJSON(jsonString) {
|
|
168
|
+
return safeParse(jsonString, (x) => Page$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Page' from JSON`);
|
|
277
169
|
}
|
|
278
170
|
/** @internal */
|
|
279
|
-
export const
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
endDate: types.nullable(z.lazy(() => RefreshMyLinkedInProfilePositionEndDate$inboundSchema)),
|
|
286
|
-
isCurrent: types.boolean(),
|
|
171
|
+
export const ListLinkedInCompanyPagesResponse$inboundSchema = z.object({
|
|
172
|
+
success: types.literal(true),
|
|
173
|
+
pages: z.array(z.lazy(() => Page$inboundSchema)),
|
|
174
|
+
total: types.number(),
|
|
175
|
+
creditsUsed: types.number(),
|
|
176
|
+
retryAfter: types.number(),
|
|
287
177
|
});
|
|
288
|
-
export function
|
|
289
|
-
return safeParse(jsonString, (x) =>
|
|
178
|
+
export function listLinkedInCompanyPagesResponseFromJSON(jsonString) {
|
|
179
|
+
return safeParse(jsonString, (x) => ListLinkedInCompanyPagesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListLinkedInCompanyPagesResponse' from JSON`);
|
|
290
180
|
}
|
|
291
181
|
/** @internal */
|
|
292
|
-
export const
|
|
293
|
-
|
|
294
|
-
|
|
182
|
+
export const GetCompanyPagePostsRequest$outboundSchema = z.object({
|
|
183
|
+
universalName: z.string(),
|
|
184
|
+
count: z._default(z.int(), 10),
|
|
185
|
+
start: z._default(z.int(), 0),
|
|
295
186
|
});
|
|
296
|
-
export function
|
|
297
|
-
return
|
|
187
|
+
export function getCompanyPagePostsRequestToJSON(getCompanyPagePostsRequest) {
|
|
188
|
+
return JSON.stringify(GetCompanyPagePostsRequest$outboundSchema.parse(getCompanyPagePostsRequest));
|
|
298
189
|
}
|
|
299
190
|
/** @internal */
|
|
300
|
-
export const
|
|
301
|
-
|
|
302
|
-
|
|
191
|
+
export const GetCompanyPagePostsPost$inboundSchema = z.object({
|
|
192
|
+
activityUrn: types.string(),
|
|
193
|
+
postUrl: types.string(),
|
|
194
|
+
text: types.nullable(types.string()),
|
|
195
|
+
publishedAt: types.nullable(types.number()),
|
|
196
|
+
numLikes: types.nullable(types.number()),
|
|
197
|
+
numComments: types.nullable(types.number()),
|
|
303
198
|
});
|
|
304
|
-
export function
|
|
305
|
-
return safeParse(jsonString, (x) =>
|
|
199
|
+
export function getCompanyPagePostsPostFromJSON(jsonString) {
|
|
200
|
+
return safeParse(jsonString, (x) => GetCompanyPagePostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPagePostsPost' from JSON`);
|
|
306
201
|
}
|
|
307
202
|
/** @internal */
|
|
308
|
-
export const
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
startDate: types.nullable(z.lazy(() => RefreshMyLinkedInProfileEducationStartDate$inboundSchema)),
|
|
315
|
-
endDate: types.nullable(z.lazy(() => RefreshMyLinkedInProfileEducationEndDate$inboundSchema)),
|
|
203
|
+
export const GetCompanyPagePostsResponse$inboundSchema = z.object({
|
|
204
|
+
success: types.literal(true),
|
|
205
|
+
posts: z.array(z.lazy(() => GetCompanyPagePostsPost$inboundSchema)),
|
|
206
|
+
total: types.number(),
|
|
207
|
+
creditsUsed: types.number(),
|
|
208
|
+
retryAfter: types.number(),
|
|
316
209
|
});
|
|
317
|
-
export function
|
|
318
|
-
return safeParse(jsonString, (x) =>
|
|
210
|
+
export function getCompanyPagePostsResponseFromJSON(jsonString) {
|
|
211
|
+
return safeParse(jsonString, (x) => GetCompanyPagePostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPagePostsResponse' from JSON`);
|
|
319
212
|
}
|
|
320
213
|
/** @internal */
|
|
321
|
-
export const
|
|
322
|
-
|
|
323
|
-
postalCode: types.optional(types.string()),
|
|
214
|
+
export const GetCompanyPagePermissionsRequest$outboundSchema = z.object({
|
|
215
|
+
universalName: z.string(),
|
|
324
216
|
});
|
|
325
|
-
export function
|
|
326
|
-
return
|
|
217
|
+
export function getCompanyPagePermissionsRequestToJSON(getCompanyPagePermissionsRequest) {
|
|
218
|
+
return JSON.stringify(GetCompanyPagePermissionsRequest$outboundSchema.parse(getCompanyPagePermissionsRequest));
|
|
327
219
|
}
|
|
328
220
|
/** @internal */
|
|
329
|
-
export const
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
221
|
+
export const Permissions$inboundSchema = z
|
|
222
|
+
.object({
|
|
223
|
+
role: types.nullable(types.string()),
|
|
224
|
+
canCreateOrganicShare: types.boolean(),
|
|
225
|
+
canCreateComment: types.boolean(),
|
|
226
|
+
canCreateReaction: types.boolean(),
|
|
227
|
+
canDeleteShare: types.boolean(),
|
|
228
|
+
canPinShare: types.boolean(),
|
|
229
|
+
canSendMessages: types.boolean(),
|
|
230
|
+
canReadMessages: types.boolean(),
|
|
231
|
+
canReadAdminDashboard: types.boolean(),
|
|
232
|
+
canReadOrganizationUpdateAnalytics: types.boolean(),
|
|
233
|
+
canReadOrganizationVisitorAnalytics: types.boolean(),
|
|
234
|
+
canReadOrganizationFollowerAnalytics: types.boolean(),
|
|
235
|
+
canReadOrganizationSearchAppearanceAnalytics: types.boolean(),
|
|
236
|
+
canUpdateOrganizationProfile: types.boolean(),
|
|
237
|
+
canEditAdministrators: types.boolean(),
|
|
238
|
+
canDeactivateOrganization: types.boolean(),
|
|
239
|
+
canEditEvents: types.boolean(),
|
|
240
|
+
canReadEvents: types.boolean(),
|
|
241
|
+
canSponsorShare: types.boolean(),
|
|
242
|
+
canManageCareerPages: types.boolean(),
|
|
243
|
+
canManageMessagingAccess: types.boolean(),
|
|
244
|
+
canNotifyEmployees: types.boolean(),
|
|
245
|
+
canExportLeads: types.boolean(),
|
|
246
|
+
});
|
|
247
|
+
export function permissionsFromJSON(jsonString) {
|
|
248
|
+
return safeParse(jsonString, (x) => Permissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Permissions' from JSON`);
|
|
249
|
+
}
|
|
250
|
+
/** @internal */
|
|
251
|
+
export const GetCompanyPagePermissionsResponse$inboundSchema = z.object({
|
|
252
|
+
success: types.literal(true),
|
|
253
|
+
universalName: types.string(),
|
|
254
|
+
permissions: z.lazy(() => Permissions$inboundSchema),
|
|
362
255
|
creditsUsed: types.number(),
|
|
363
256
|
retryAfter: types.number(),
|
|
364
257
|
});
|
|
365
|
-
export function
|
|
366
|
-
return safeParse(jsonString, (x) =>
|
|
258
|
+
export function getCompanyPagePermissionsResponseFromJSON(jsonString) {
|
|
259
|
+
return safeParse(jsonString, (x) => GetCompanyPagePermissionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPagePermissionsResponse' from JSON`);
|
|
367
260
|
}
|
|
368
261
|
/** @internal */
|
|
369
|
-
export const
|
|
370
|
-
|
|
371
|
-
start: z.optional(z.int()),
|
|
372
|
-
paginationToken: z.optional(z.string()),
|
|
262
|
+
export const GetCompanyPageAnalyticsRequest$outboundSchema = z.object({
|
|
263
|
+
companyId: z.string(),
|
|
373
264
|
});
|
|
374
|
-
export function
|
|
375
|
-
return JSON.stringify(
|
|
265
|
+
export function getCompanyPageAnalyticsRequestToJSON(getCompanyPageAnalyticsRequest) {
|
|
266
|
+
return JSON.stringify(GetCompanyPageAnalyticsRequest$outboundSchema.parse(getCompanyPageAnalyticsRequest));
|
|
376
267
|
}
|
|
377
268
|
/** @internal */
|
|
378
|
-
export const
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
text: types.string(),
|
|
383
|
-
date: types.number(),
|
|
384
|
-
likesCount: types.number(),
|
|
385
|
-
commentsCount: types.number(),
|
|
386
|
-
sharesCount: types.number(),
|
|
387
|
-
postUrn: types.string(),
|
|
388
|
-
postId: types.string(),
|
|
389
|
-
type: GetMyLinkedInPostsType$inboundSchema,
|
|
390
|
-
});
|
|
391
|
-
export function getMyLinkedInPostsPostFromJSON(jsonString) {
|
|
392
|
-
return safeParse(jsonString, (x) => GetMyLinkedInPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInPostsPost' from JSON`);
|
|
393
|
-
}
|
|
394
|
-
/** @internal */
|
|
395
|
-
export const GetMyLinkedInPostsResponse$inboundSchema = z.object({
|
|
396
|
-
success: types.boolean(),
|
|
397
|
-
posts: z.array(z.lazy(() => GetMyLinkedInPostsPost$inboundSchema)),
|
|
398
|
-
count: types.number(),
|
|
399
|
-
total: types.number(),
|
|
400
|
-
start: types.number(),
|
|
401
|
-
hasMore: types.boolean(),
|
|
402
|
-
paginationToken: types.nullable(types.string()),
|
|
403
|
-
creditsUsed: types.number(),
|
|
404
|
-
retryAfter: types.number(),
|
|
269
|
+
export const GetCompanyPageAnalyticsFoundedOn$inboundSchema = z.object({
|
|
270
|
+
year: types.number(),
|
|
271
|
+
month: types.optional(types.number()),
|
|
272
|
+
day: types.optional(types.number()),
|
|
405
273
|
});
|
|
406
|
-
export function
|
|
407
|
-
return safeParse(jsonString, (x) =>
|
|
274
|
+
export function getCompanyPageAnalyticsFoundedOnFromJSON(jsonString) {
|
|
275
|
+
return safeParse(jsonString, (x) => GetCompanyPageAnalyticsFoundedOn$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPageAnalyticsFoundedOn' from JSON`);
|
|
408
276
|
}
|
|
409
277
|
/** @internal */
|
|
410
|
-
export const
|
|
411
|
-
|
|
412
|
-
|
|
278
|
+
export const GetCompanyPageAnalyticsHeadquarter$inboundSchema = z.object({
|
|
279
|
+
city: types.string(),
|
|
280
|
+
country: types.string(),
|
|
281
|
+
line1: types.optional(types.string()),
|
|
282
|
+
postalCode: types.optional(types.string()),
|
|
413
283
|
});
|
|
414
|
-
export function
|
|
415
|
-
return
|
|
284
|
+
export function getCompanyPageAnalyticsHeadquarterFromJSON(jsonString) {
|
|
285
|
+
return safeParse(jsonString, (x) => GetCompanyPageAnalyticsHeadquarter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPageAnalyticsHeadquarter' from JSON`);
|
|
416
286
|
}
|
|
417
287
|
/** @internal */
|
|
418
|
-
export const
|
|
288
|
+
export const Analytics$inboundSchema = z
|
|
419
289
|
.object({
|
|
420
290
|
name: types.string(),
|
|
421
|
-
|
|
422
|
-
profileUrl: types.nullable(types.string()),
|
|
423
|
-
profilePicture: types.nullable(types.string()),
|
|
291
|
+
universalName: types.string(),
|
|
424
292
|
followerCount: types.nullable(types.number()),
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
293
|
+
employeeCount: types.nullable(types.number()),
|
|
294
|
+
visitorsInPastMonthCount: types.nullable(types.number()),
|
|
295
|
+
isActive: types.boolean(),
|
|
296
|
+
foundedOn: types.nullable(z.lazy(() => GetCompanyPageAnalyticsFoundedOn$inboundSchema)),
|
|
297
|
+
headquarter: types.nullable(z.lazy(() => GetCompanyPageAnalyticsHeadquarter$inboundSchema)),
|
|
298
|
+
description: types.nullable(types.string()),
|
|
299
|
+
tagline: types.nullable(types.string()),
|
|
300
|
+
websiteUrl: types.nullable(types.string()),
|
|
301
|
+
organizationType: types.nullable(types.string()),
|
|
302
|
+
specialities: z.array(types.string()),
|
|
303
|
+
industryUrns: z.array(types.string()),
|
|
304
|
+
});
|
|
305
|
+
export function analyticsFromJSON(jsonString) {
|
|
306
|
+
return safeParse(jsonString, (x) => Analytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Analytics' from JSON`);
|
|
307
|
+
}
|
|
308
|
+
/** @internal */
|
|
309
|
+
export const GetCompanyPageAnalyticsResponse$inboundSchema = z.object({
|
|
310
|
+
success: types.literal(true),
|
|
311
|
+
analytics: z.lazy(() => Analytics$inboundSchema),
|
|
438
312
|
creditsUsed: types.number(),
|
|
439
313
|
retryAfter: types.number(),
|
|
440
314
|
});
|
|
441
|
-
export function
|
|
442
|
-
return safeParse(jsonString, (x) =>
|
|
443
|
-
}
|
|
444
|
-
/** @internal */
|
|
445
|
-
export const ConnectionRequestDaily$inboundSchema = z.object({
|
|
446
|
-
current: types.number(),
|
|
447
|
-
limit: types.number(),
|
|
448
|
-
remaining: types.number(),
|
|
449
|
-
});
|
|
450
|
-
export function connectionRequestDailyFromJSON(jsonString) {
|
|
451
|
-
return safeParse(jsonString, (x) => ConnectionRequestDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequestDaily' from JSON`);
|
|
452
|
-
}
|
|
453
|
-
/** @internal */
|
|
454
|
-
export const ConnectionRequestWeekly$inboundSchema = z.object({
|
|
455
|
-
current: types.number(),
|
|
456
|
-
limit: types.number(),
|
|
457
|
-
remaining: types.number(),
|
|
458
|
-
});
|
|
459
|
-
export function connectionRequestWeeklyFromJSON(jsonString) {
|
|
460
|
-
return safeParse(jsonString, (x) => ConnectionRequestWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequestWeekly' from JSON`);
|
|
315
|
+
export function getCompanyPageAnalyticsResponseFromJSON(jsonString) {
|
|
316
|
+
return safeParse(jsonString, (x) => GetCompanyPageAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPageAnalyticsResponse' from JSON`);
|
|
461
317
|
}
|
|
462
318
|
/** @internal */
|
|
463
|
-
export const
|
|
464
|
-
|
|
465
|
-
weekly: types.nullable(z.lazy(() => ConnectionRequestWeekly$inboundSchema)),
|
|
466
|
-
minIntervalSeconds: types.number(),
|
|
467
|
-
nextResetDaily: types.date(),
|
|
468
|
-
nextResetWeekly: types.nullable(types.date()),
|
|
319
|
+
export const ListInboxConversationsRequest$outboundSchema = z.object({
|
|
320
|
+
nextCursor: z.optional(z.string()),
|
|
469
321
|
});
|
|
470
|
-
export function
|
|
471
|
-
return
|
|
322
|
+
export function listInboxConversationsRequestToJSON(listInboxConversationsRequest) {
|
|
323
|
+
return JSON.stringify(ListInboxConversationsRequest$outboundSchema.parse(listInboxConversationsRequest));
|
|
472
324
|
}
|
|
473
325
|
/** @internal */
|
|
474
|
-
export const
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
326
|
+
export const ListInboxConversationsParticipant$inboundSchema = z.object({
|
|
327
|
+
profileUrn: types.string(),
|
|
328
|
+
firstName: types.string(),
|
|
329
|
+
lastName: types.string(),
|
|
330
|
+
profileUrl: types.nullable(types.string()),
|
|
331
|
+
headline: types.nullable(types.string()),
|
|
332
|
+
profilePicture: types.nullable(types.string()),
|
|
333
|
+
publicIdentifier: types.nullable(types.string()),
|
|
478
334
|
});
|
|
479
|
-
export function
|
|
480
|
-
return safeParse(jsonString, (x) =>
|
|
335
|
+
export function listInboxConversationsParticipantFromJSON(jsonString) {
|
|
336
|
+
return safeParse(jsonString, (x) => ListInboxConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxConversationsParticipant' from JSON`);
|
|
481
337
|
}
|
|
482
338
|
/** @internal */
|
|
483
|
-
export const
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
339
|
+
export const ListInboxConversationsLastMessage$inboundSchema = z.object({
|
|
340
|
+
text: types.nullable(types.string()),
|
|
341
|
+
deliveredAt: types.number(),
|
|
342
|
+
senderProfileUrn: types.string(),
|
|
487
343
|
});
|
|
488
|
-
export function
|
|
489
|
-
return safeParse(jsonString, (x) =>
|
|
344
|
+
export function listInboxConversationsLastMessageFromJSON(jsonString) {
|
|
345
|
+
return safeParse(jsonString, (x) => ListInboxConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxConversationsLastMessage' from JSON`);
|
|
490
346
|
}
|
|
491
347
|
/** @internal */
|
|
492
|
-
export const
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
348
|
+
export const ListInboxConversationsConversation$inboundSchema = z.object({
|
|
349
|
+
conversationUrn: types.string(),
|
|
350
|
+
conversationUrl: types.string(),
|
|
351
|
+
lastActivityAt: types.number(),
|
|
352
|
+
createdAt: types.number(),
|
|
353
|
+
read: types.boolean(),
|
|
354
|
+
unreadCount: types.number(),
|
|
355
|
+
groupChat: types.boolean(),
|
|
356
|
+
participants: z.array(z.lazy(() => ListInboxConversationsParticipant$inboundSchema)),
|
|
357
|
+
lastMessage: types.nullable(z.lazy(() => ListInboxConversationsLastMessage$inboundSchema)),
|
|
498
358
|
});
|
|
499
|
-
export function
|
|
500
|
-
return safeParse(jsonString, (x) =>
|
|
359
|
+
export function listInboxConversationsConversationFromJSON(jsonString) {
|
|
360
|
+
return safeParse(jsonString, (x) => ListInboxConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxConversationsConversation' from JSON`);
|
|
501
361
|
}
|
|
502
362
|
/** @internal */
|
|
503
|
-
export const
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
363
|
+
export const ListInboxConversationsResponse$inboundSchema = z.object({
|
|
364
|
+
success: types.literal(true),
|
|
365
|
+
conversations: z.array(z.lazy(() => ListInboxConversationsConversation$inboundSchema)),
|
|
366
|
+
nextCursor: types.nullable(types.string()),
|
|
367
|
+
creditsUsed: types.number(),
|
|
368
|
+
retryAfter: types.number(),
|
|
507
369
|
});
|
|
508
|
-
export function
|
|
509
|
-
return safeParse(jsonString, (x) =>
|
|
370
|
+
export function listInboxConversationsResponseFromJSON(jsonString) {
|
|
371
|
+
return safeParse(jsonString, (x) => ListInboxConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxConversationsResponse' from JSON`);
|
|
510
372
|
}
|
|
511
373
|
/** @internal */
|
|
512
|
-
export const
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
remaining: types.number(),
|
|
374
|
+
export const GetConversationMessagesRequest$outboundSchema = z.object({
|
|
375
|
+
conversationUrn: z.string(),
|
|
376
|
+
deliveredAt: z.optional(z.int()),
|
|
516
377
|
});
|
|
517
|
-
export function
|
|
518
|
-
return
|
|
378
|
+
export function getConversationMessagesRequestToJSON(getConversationMessagesRequest) {
|
|
379
|
+
return JSON.stringify(GetConversationMessagesRequest$outboundSchema.parse(getConversationMessagesRequest));
|
|
519
380
|
}
|
|
520
381
|
/** @internal */
|
|
521
|
-
export const
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
382
|
+
export const GetConversationMessagesSender$inboundSchema = z.object({
|
|
383
|
+
firstName: types.string(),
|
|
384
|
+
lastName: types.string(),
|
|
385
|
+
profileUrl: types.nullable(types.string()),
|
|
386
|
+
headline: types.nullable(types.string()),
|
|
387
|
+
profilePicture: types.nullable(types.string()),
|
|
388
|
+
publicIdentifier: types.nullable(types.string()),
|
|
389
|
+
profileUrn: types.nullable(types.string()),
|
|
527
390
|
});
|
|
528
|
-
export function
|
|
529
|
-
return safeParse(jsonString, (x) =>
|
|
391
|
+
export function getConversationMessagesSenderFromJSON(jsonString) {
|
|
392
|
+
return safeParse(jsonString, (x) => GetConversationMessagesSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesSender' from JSON`);
|
|
530
393
|
}
|
|
531
394
|
/** @internal */
|
|
532
|
-
export const
|
|
533
|
-
current: types.number(),
|
|
534
|
-
limit: types.number(),
|
|
535
|
-
remaining: types.number(),
|
|
536
|
-
});
|
|
537
|
-
export function scrapingDailyFromJSON(jsonString) {
|
|
538
|
-
return safeParse(jsonString, (x) => ScrapingDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScrapingDaily' from JSON`);
|
|
539
|
-
}
|
|
395
|
+
export const GetConversationMessagesType$inboundSchema = openEnums.inboundSchema(GetConversationMessagesType);
|
|
540
396
|
/** @internal */
|
|
541
|
-
export const
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
397
|
+
export const GetConversationMessagesAttachment$inboundSchema = z.object({
|
|
398
|
+
type: GetConversationMessagesType$inboundSchema,
|
|
399
|
+
audioUrl: types.optional(types.string()),
|
|
400
|
+
audioDuration: types.optional(types.number()),
|
|
401
|
+
hostUrn: types.optional(types.string()),
|
|
402
|
+
repliedText: types.optional(types.string()),
|
|
403
|
+
repliedSenderName: types.optional(types.string()),
|
|
404
|
+
imageUrl: types.optional(types.string()),
|
|
405
|
+
fileName: types.optional(types.string()),
|
|
406
|
+
fileUrl: types.optional(types.string()),
|
|
545
407
|
});
|
|
546
|
-
export function
|
|
547
|
-
return safeParse(jsonString, (x) =>
|
|
408
|
+
export function getConversationMessagesAttachmentFromJSON(jsonString) {
|
|
409
|
+
return safeParse(jsonString, (x) => GetConversationMessagesAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesAttachment' from JSON`);
|
|
548
410
|
}
|
|
549
411
|
/** @internal */
|
|
550
|
-
export const
|
|
551
|
-
.
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
412
|
+
export const GetConversationMessagesMessage$inboundSchema = z.object({
|
|
413
|
+
messageUrn: types.string(),
|
|
414
|
+
text: types.nullable(types.string()),
|
|
415
|
+
deliveredAt: types.number(),
|
|
416
|
+
senderProfileUrn: types.string(),
|
|
417
|
+
sender: z.lazy(() => GetConversationMessagesSender$inboundSchema),
|
|
418
|
+
attachments: z.array(z.lazy(() => GetConversationMessagesAttachment$inboundSchema)),
|
|
557
419
|
});
|
|
558
|
-
export function
|
|
559
|
-
return safeParse(jsonString, (x) =>
|
|
560
|
-
}
|
|
561
|
-
/** @internal */
|
|
562
|
-
export const Limits$inboundSchema = z.pipe(z.object({
|
|
563
|
-
connection_request: z.lazy(() => ConnectionRequest$inboundSchema),
|
|
564
|
-
message: z.lazy(() => GetMyLimitsMessage$inboundSchema),
|
|
565
|
-
profile_visit: z.lazy(() => ProfileVisit$inboundSchema),
|
|
566
|
-
scraping: z.lazy(() => Scraping$inboundSchema),
|
|
567
|
-
}), z.transform((v) => {
|
|
568
|
-
return remap$(v, {
|
|
569
|
-
"connection_request": "connectionRequest",
|
|
570
|
-
"profile_visit": "profileVisit",
|
|
571
|
-
});
|
|
572
|
-
}));
|
|
573
|
-
export function limitsFromJSON(jsonString) {
|
|
574
|
-
return safeParse(jsonString, (x) => Limits$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Limits' from JSON`);
|
|
420
|
+
export function getConversationMessagesMessageFromJSON(jsonString) {
|
|
421
|
+
return safeParse(jsonString, (x) => GetConversationMessagesMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesMessage' from JSON`);
|
|
575
422
|
}
|
|
576
423
|
/** @internal */
|
|
577
|
-
export const
|
|
578
|
-
success: types.
|
|
579
|
-
|
|
580
|
-
|
|
424
|
+
export const GetConversationMessagesResponse$inboundSchema = z.object({
|
|
425
|
+
success: types.literal(true),
|
|
426
|
+
messages: z.array(z.lazy(() => GetConversationMessagesMessage$inboundSchema)),
|
|
427
|
+
prevCursor: types.nullable(types.number()),
|
|
581
428
|
creditsUsed: types.number(),
|
|
582
429
|
retryAfter: types.number(),
|
|
583
430
|
});
|
|
584
|
-
export function
|
|
585
|
-
return safeParse(jsonString, (x) =>
|
|
431
|
+
export function getConversationMessagesResponseFromJSON(jsonString) {
|
|
432
|
+
return safeParse(jsonString, (x) => GetConversationMessagesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesResponse' from JSON`);
|
|
586
433
|
}
|
|
587
434
|
/** @internal */
|
|
588
|
-
export const
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
remaining: types.number(),
|
|
592
|
-
percentage: types.number(),
|
|
593
|
-
});
|
|
594
|
-
export function creditsFromJSON(jsonString) {
|
|
595
|
-
return safeParse(jsonString, (x) => Credits$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Credits' from JSON`);
|
|
435
|
+
export const MarkAllConversationsReadRequest$outboundSchema = z.object({});
|
|
436
|
+
export function markAllConversationsReadRequestToJSON(markAllConversationsReadRequest) {
|
|
437
|
+
return JSON.stringify(MarkAllConversationsReadRequest$outboundSchema.parse(markAllConversationsReadRequest));
|
|
596
438
|
}
|
|
597
439
|
/** @internal */
|
|
598
|
-
export const
|
|
599
|
-
success: types.
|
|
600
|
-
credits: z.lazy(() => Credits$inboundSchema),
|
|
440
|
+
export const MarkAllConversationsReadResponse$inboundSchema = z.object({
|
|
441
|
+
success: types.literal(true),
|
|
601
442
|
creditsUsed: types.number(),
|
|
602
443
|
retryAfter: types.number(),
|
|
603
444
|
});
|
|
604
|
-
export function
|
|
605
|
-
return safeParse(jsonString, (x) =>
|
|
445
|
+
export function markAllConversationsReadResponseFromJSON(jsonString) {
|
|
446
|
+
return safeParse(jsonString, (x) => MarkAllConversationsReadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MarkAllConversationsReadResponse' from JSON`);
|
|
606
447
|
}
|
|
607
448
|
/** @internal */
|
|
608
|
-
export const
|
|
449
|
+
export const ListArchivedConversationsRequest$outboundSchema = z.object({
|
|
609
450
|
nextCursor: z.optional(z.string()),
|
|
610
451
|
});
|
|
611
|
-
export function
|
|
612
|
-
return JSON.stringify(
|
|
452
|
+
export function listArchivedConversationsRequestToJSON(listArchivedConversationsRequest) {
|
|
453
|
+
return JSON.stringify(ListArchivedConversationsRequest$outboundSchema.parse(listArchivedConversationsRequest));
|
|
613
454
|
}
|
|
614
455
|
/** @internal */
|
|
615
|
-
export const
|
|
456
|
+
export const ListArchivedConversationsParticipant$inboundSchema = z.object({
|
|
616
457
|
profileUrn: types.string(),
|
|
617
458
|
firstName: types.string(),
|
|
618
459
|
lastName: types.string(),
|
|
619
460
|
profileUrl: types.nullable(types.string()),
|
|
620
461
|
headline: types.nullable(types.string()),
|
|
621
462
|
profilePicture: types.nullable(types.string()),
|
|
463
|
+
publicIdentifier: types.nullable(types.string()),
|
|
622
464
|
});
|
|
623
|
-
export function
|
|
624
|
-
return safeParse(jsonString, (x) =>
|
|
465
|
+
export function listArchivedConversationsParticipantFromJSON(jsonString) {
|
|
466
|
+
return safeParse(jsonString, (x) => ListArchivedConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsParticipant' from JSON`);
|
|
625
467
|
}
|
|
626
468
|
/** @internal */
|
|
627
|
-
export const
|
|
469
|
+
export const ListArchivedConversationsLastMessage$inboundSchema = z.object({
|
|
628
470
|
text: types.nullable(types.string()),
|
|
629
471
|
deliveredAt: types.number(),
|
|
630
472
|
senderProfileUrn: types.string(),
|
|
631
473
|
});
|
|
632
|
-
export function
|
|
633
|
-
return safeParse(jsonString, (x) =>
|
|
474
|
+
export function listArchivedConversationsLastMessageFromJSON(jsonString) {
|
|
475
|
+
return safeParse(jsonString, (x) => ListArchivedConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsLastMessage' from JSON`);
|
|
634
476
|
}
|
|
635
477
|
/** @internal */
|
|
636
|
-
export const
|
|
478
|
+
export const ListArchivedConversationsConversation$inboundSchema = z.object({
|
|
637
479
|
conversationUrn: types.string(),
|
|
638
480
|
conversationUrl: types.string(),
|
|
639
481
|
lastActivityAt: types.number(),
|
|
@@ -641,22 +483,71 @@ export const ListInboxConversationsConversation$inboundSchema = z.object({
|
|
|
641
483
|
read: types.boolean(),
|
|
642
484
|
unreadCount: types.number(),
|
|
643
485
|
groupChat: types.boolean(),
|
|
644
|
-
participants: z.array(z.lazy(() =>
|
|
645
|
-
lastMessage: types.nullable(z.lazy(() =>
|
|
486
|
+
participants: z.array(z.lazy(() => ListArchivedConversationsParticipant$inboundSchema)),
|
|
487
|
+
lastMessage: types.nullable(z.lazy(() => ListArchivedConversationsLastMessage$inboundSchema)),
|
|
646
488
|
});
|
|
647
|
-
export function
|
|
648
|
-
return safeParse(jsonString, (x) =>
|
|
489
|
+
export function listArchivedConversationsConversationFromJSON(jsonString) {
|
|
490
|
+
return safeParse(jsonString, (x) => ListArchivedConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsConversation' from JSON`);
|
|
649
491
|
}
|
|
650
492
|
/** @internal */
|
|
651
|
-
export const
|
|
652
|
-
success: types.
|
|
653
|
-
conversations: z.array(z.lazy(() =>
|
|
493
|
+
export const ListArchivedConversationsResponse$inboundSchema = z.object({
|
|
494
|
+
success: types.literal(true),
|
|
495
|
+
conversations: z.array(z.lazy(() => ListArchivedConversationsConversation$inboundSchema)),
|
|
654
496
|
nextCursor: types.nullable(types.string()),
|
|
655
497
|
creditsUsed: types.number(),
|
|
656
498
|
retryAfter: types.number(),
|
|
657
499
|
});
|
|
658
|
-
export function
|
|
659
|
-
return safeParse(jsonString, (x) =>
|
|
500
|
+
export function listArchivedConversationsResponseFromJSON(jsonString) {
|
|
501
|
+
return safeParse(jsonString, (x) => ListArchivedConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsResponse' from JSON`);
|
|
502
|
+
}
|
|
503
|
+
/** @internal */
|
|
504
|
+
export const ReactToMessageRequest$outboundSchema = z.object({
|
|
505
|
+
messageUrn: z.string(),
|
|
506
|
+
emoji: z.string(),
|
|
507
|
+
conversationUrn: z.string(),
|
|
508
|
+
});
|
|
509
|
+
export function reactToMessageRequestToJSON(reactToMessageRequest) {
|
|
510
|
+
return JSON.stringify(ReactToMessageRequest$outboundSchema.parse(reactToMessageRequest));
|
|
511
|
+
}
|
|
512
|
+
/** @internal */
|
|
513
|
+
export const ReactToMessageResponse$inboundSchema = z.object({
|
|
514
|
+
success: types.literal(true),
|
|
515
|
+
creditsUsed: types.number(),
|
|
516
|
+
retryAfter: types.number(),
|
|
517
|
+
});
|
|
518
|
+
export function reactToMessageResponseFromJSON(jsonString) {
|
|
519
|
+
return safeParse(jsonString, (x) => ReactToMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReactToMessageResponse' from JSON`);
|
|
520
|
+
}
|
|
521
|
+
/** @internal */
|
|
522
|
+
export const SendTypingIndicatorRequest$outboundSchema = z.object({
|
|
523
|
+
conversationUrn: z.string(),
|
|
524
|
+
});
|
|
525
|
+
export function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest) {
|
|
526
|
+
return JSON.stringify(SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest));
|
|
527
|
+
}
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const SendTypingIndicatorResponse$inboundSchema = z.object({
|
|
530
|
+
success: types.literal(true),
|
|
531
|
+
creditsUsed: types.number(),
|
|
532
|
+
retryAfter: types.number(),
|
|
533
|
+
});
|
|
534
|
+
export function sendTypingIndicatorResponseFromJSON(jsonString) {
|
|
535
|
+
return safeParse(jsonString, (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendTypingIndicatorResponse' from JSON`);
|
|
536
|
+
}
|
|
537
|
+
/** @internal */
|
|
538
|
+
export const GetUnreadCountRequest$outboundSchema = z.object({});
|
|
539
|
+
export function getUnreadCountRequestToJSON(getUnreadCountRequest) {
|
|
540
|
+
return JSON.stringify(GetUnreadCountRequest$outboundSchema.parse(getUnreadCountRequest));
|
|
541
|
+
}
|
|
542
|
+
/** @internal */
|
|
543
|
+
export const GetUnreadCountResponse$inboundSchema = z.object({
|
|
544
|
+
success: types.literal(true),
|
|
545
|
+
unreadCount: types.number(),
|
|
546
|
+
creditsUsed: types.number(),
|
|
547
|
+
retryAfter: types.number(),
|
|
548
|
+
});
|
|
549
|
+
export function getUnreadCountResponseFromJSON(jsonString) {
|
|
550
|
+
return safeParse(jsonString, (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetUnreadCountResponse' from JSON`);
|
|
660
551
|
}
|
|
661
552
|
/** @internal */
|
|
662
553
|
export const SearchLinkedInConversationsRequest$outboundSchema = z.object({
|
|
@@ -674,6 +565,7 @@ export const SearchLinkedInConversationsParticipant$inboundSchema = z.object({
|
|
|
674
565
|
profileUrl: types.nullable(types.string()),
|
|
675
566
|
headline: types.nullable(types.string()),
|
|
676
567
|
profilePicture: types.nullable(types.string()),
|
|
568
|
+
publicIdentifier: types.nullable(types.string()),
|
|
677
569
|
});
|
|
678
570
|
export function searchLinkedInConversationsParticipantFromJSON(jsonString) {
|
|
679
571
|
return safeParse(jsonString, (x) => SearchLinkedInConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsParticipant' from JSON`);
|
|
@@ -704,7 +596,7 @@ export function searchLinkedInConversationsConversationFromJSON(jsonString) {
|
|
|
704
596
|
}
|
|
705
597
|
/** @internal */
|
|
706
598
|
export const SearchLinkedInConversationsResponse$inboundSchema = z.object({
|
|
707
|
-
success: types.
|
|
599
|
+
success: types.literal(true),
|
|
708
600
|
conversations: z.array(z.lazy(() => SearchLinkedInConversationsConversation$inboundSchema)),
|
|
709
601
|
nextCursor: types.nullable(types.string()),
|
|
710
602
|
creditsUsed: types.number(),
|
|
@@ -735,6 +627,8 @@ export const FindLinkedInConversationSender$inboundSchema = z.object({
|
|
|
735
627
|
profileUrl: types.nullable(types.string()),
|
|
736
628
|
headline: types.nullable(types.string()),
|
|
737
629
|
profilePicture: types.nullable(types.string()),
|
|
630
|
+
publicIdentifier: types.nullable(types.string()),
|
|
631
|
+
profileUrn: types.nullable(types.string()),
|
|
738
632
|
});
|
|
739
633
|
export function findLinkedInConversationSenderFromJSON(jsonString) {
|
|
740
634
|
return safeParse(jsonString, (x) => FindLinkedInConversationSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationSender' from JSON`);
|
|
@@ -770,7 +664,7 @@ export function findLinkedInConversationMessageFromJSON(jsonString) {
|
|
|
770
664
|
}
|
|
771
665
|
/** @internal */
|
|
772
666
|
export const FindLinkedInConversationResponse$inboundSchema = z.object({
|
|
773
|
-
success: types.
|
|
667
|
+
success: types.literal(true),
|
|
774
668
|
found: types.boolean(),
|
|
775
669
|
conversation: types.nullable(z.lazy(() => FindLinkedInConversationConversation$inboundSchema)),
|
|
776
670
|
messages: types.nullable(z.array(z.lazy(() => FindLinkedInConversationMessage$inboundSchema))),
|
|
@@ -781,63 +675,157 @@ export function findLinkedInConversationResponseFromJSON(jsonString) {
|
|
|
781
675
|
return safeParse(jsonString, (x) => FindLinkedInConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationResponse' from JSON`);
|
|
782
676
|
}
|
|
783
677
|
/** @internal */
|
|
784
|
-
export const
|
|
678
|
+
export const ArchiveConversationRequest$outboundSchema = z.object({
|
|
785
679
|
conversationUrn: z.string(),
|
|
786
|
-
deliveredAt: z.optional(z.int()),
|
|
787
680
|
});
|
|
788
|
-
export function
|
|
789
|
-
return JSON.stringify(
|
|
681
|
+
export function archiveConversationRequestToJSON(archiveConversationRequest) {
|
|
682
|
+
return JSON.stringify(ArchiveConversationRequest$outboundSchema.parse(archiveConversationRequest));
|
|
790
683
|
}
|
|
791
684
|
/** @internal */
|
|
792
|
-
export const
|
|
685
|
+
export const ArchiveConversationResponse$inboundSchema = z.object({
|
|
686
|
+
success: types.literal(true),
|
|
687
|
+
creditsUsed: types.number(),
|
|
688
|
+
retryAfter: types.number(),
|
|
689
|
+
});
|
|
690
|
+
export function archiveConversationResponseFromJSON(jsonString) {
|
|
691
|
+
return safeParse(jsonString, (x) => ArchiveConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ArchiveConversationResponse' from JSON`);
|
|
692
|
+
}
|
|
693
|
+
/** @internal */
|
|
694
|
+
export const UnreactToMessageRequest$outboundSchema = z.object({
|
|
695
|
+
messageUrn: z.string(),
|
|
696
|
+
emoji: z.string(),
|
|
697
|
+
conversationUrn: z.string(),
|
|
698
|
+
});
|
|
699
|
+
export function unreactToMessageRequestToJSON(unreactToMessageRequest) {
|
|
700
|
+
return JSON.stringify(UnreactToMessageRequest$outboundSchema.parse(unreactToMessageRequest));
|
|
701
|
+
}
|
|
702
|
+
/** @internal */
|
|
703
|
+
export const UnreactToMessageResponse$inboundSchema = z.object({
|
|
704
|
+
success: types.literal(true),
|
|
705
|
+
creditsUsed: types.number(),
|
|
706
|
+
retryAfter: types.number(),
|
|
707
|
+
});
|
|
708
|
+
export function unreactToMessageResponseFromJSON(jsonString) {
|
|
709
|
+
return safeParse(jsonString, (x) => UnreactToMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnreactToMessageResponse' from JSON`);
|
|
710
|
+
}
|
|
711
|
+
/** @internal */
|
|
712
|
+
export const MarkConversationSeenRequest$outboundSchema = z.object({
|
|
713
|
+
conversationUrn: z.string(),
|
|
714
|
+
});
|
|
715
|
+
export function markConversationSeenRequestToJSON(markConversationSeenRequest) {
|
|
716
|
+
return JSON.stringify(MarkConversationSeenRequest$outboundSchema.parse(markConversationSeenRequest));
|
|
717
|
+
}
|
|
718
|
+
/** @internal */
|
|
719
|
+
export const MarkConversationSeenResponse$inboundSchema = z.object({
|
|
720
|
+
success: types.literal(true),
|
|
721
|
+
creditsUsed: types.number(),
|
|
722
|
+
retryAfter: types.number(),
|
|
723
|
+
});
|
|
724
|
+
export function markConversationSeenResponseFromJSON(jsonString) {
|
|
725
|
+
return safeParse(jsonString, (x) => MarkConversationSeenResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MarkConversationSeenResponse' from JSON`);
|
|
726
|
+
}
|
|
727
|
+
/** @internal */
|
|
728
|
+
export const StarConversationRequest$outboundSchema = z.object({
|
|
729
|
+
conversationUrn: z.string(),
|
|
730
|
+
});
|
|
731
|
+
export function starConversationRequestToJSON(starConversationRequest) {
|
|
732
|
+
return JSON.stringify(StarConversationRequest$outboundSchema.parse(starConversationRequest));
|
|
733
|
+
}
|
|
734
|
+
/** @internal */
|
|
735
|
+
export const StarConversationResponse$inboundSchema = z.object({
|
|
736
|
+
success: types.literal(true),
|
|
737
|
+
creditsUsed: types.number(),
|
|
738
|
+
retryAfter: types.number(),
|
|
739
|
+
});
|
|
740
|
+
export function starConversationResponseFromJSON(jsonString) {
|
|
741
|
+
return safeParse(jsonString, (x) => StarConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StarConversationResponse' from JSON`);
|
|
742
|
+
}
|
|
743
|
+
/** @internal */
|
|
744
|
+
export const UnstarConversationRequest$outboundSchema = z.object({
|
|
745
|
+
conversationUrn: z.string(),
|
|
746
|
+
});
|
|
747
|
+
export function unstarConversationRequestToJSON(unstarConversationRequest) {
|
|
748
|
+
return JSON.stringify(UnstarConversationRequest$outboundSchema.parse(unstarConversationRequest));
|
|
749
|
+
}
|
|
750
|
+
/** @internal */
|
|
751
|
+
export const UnstarConversationResponse$inboundSchema = z.object({
|
|
752
|
+
success: types.literal(true),
|
|
753
|
+
creditsUsed: types.number(),
|
|
754
|
+
retryAfter: types.number(),
|
|
755
|
+
});
|
|
756
|
+
export function unstarConversationResponseFromJSON(jsonString) {
|
|
757
|
+
return safeParse(jsonString, (x) => UnstarConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnstarConversationResponse' from JSON`);
|
|
758
|
+
}
|
|
759
|
+
/** @internal */
|
|
760
|
+
export const ListStarredConversationsRequest$outboundSchema = z.object({
|
|
761
|
+
nextCursor: z.optional(z.string()),
|
|
762
|
+
});
|
|
763
|
+
export function listStarredConversationsRequestToJSON(listStarredConversationsRequest) {
|
|
764
|
+
return JSON.stringify(ListStarredConversationsRequest$outboundSchema.parse(listStarredConversationsRequest));
|
|
765
|
+
}
|
|
766
|
+
/** @internal */
|
|
767
|
+
export const ListStarredConversationsParticipant$inboundSchema = z.object({
|
|
768
|
+
profileUrn: types.string(),
|
|
793
769
|
firstName: types.string(),
|
|
794
770
|
lastName: types.string(),
|
|
795
771
|
profileUrl: types.nullable(types.string()),
|
|
796
772
|
headline: types.nullable(types.string()),
|
|
797
773
|
profilePicture: types.nullable(types.string()),
|
|
774
|
+
publicIdentifier: types.nullable(types.string()),
|
|
798
775
|
});
|
|
799
|
-
export function
|
|
800
|
-
return safeParse(jsonString, (x) =>
|
|
776
|
+
export function listStarredConversationsParticipantFromJSON(jsonString) {
|
|
777
|
+
return safeParse(jsonString, (x) => ListStarredConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsParticipant' from JSON`);
|
|
801
778
|
}
|
|
802
779
|
/** @internal */
|
|
803
|
-
export const
|
|
780
|
+
export const ListStarredConversationsLastMessage$inboundSchema = z.object({
|
|
781
|
+
text: types.nullable(types.string()),
|
|
782
|
+
deliveredAt: types.number(),
|
|
783
|
+
senderProfileUrn: types.string(),
|
|
784
|
+
});
|
|
785
|
+
export function listStarredConversationsLastMessageFromJSON(jsonString) {
|
|
786
|
+
return safeParse(jsonString, (x) => ListStarredConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsLastMessage' from JSON`);
|
|
787
|
+
}
|
|
804
788
|
/** @internal */
|
|
805
|
-
export const
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
789
|
+
export const ListStarredConversationsConversation$inboundSchema = z.object({
|
|
790
|
+
conversationUrn: types.string(),
|
|
791
|
+
conversationUrl: types.string(),
|
|
792
|
+
lastActivityAt: types.number(),
|
|
793
|
+
createdAt: types.number(),
|
|
794
|
+
read: types.boolean(),
|
|
795
|
+
unreadCount: types.number(),
|
|
796
|
+
groupChat: types.boolean(),
|
|
797
|
+
participants: z.array(z.lazy(() => ListStarredConversationsParticipant$inboundSchema)),
|
|
798
|
+
lastMessage: types.nullable(z.lazy(() => ListStarredConversationsLastMessage$inboundSchema)),
|
|
815
799
|
});
|
|
816
|
-
export function
|
|
817
|
-
return safeParse(jsonString, (x) =>
|
|
800
|
+
export function listStarredConversationsConversationFromJSON(jsonString) {
|
|
801
|
+
return safeParse(jsonString, (x) => ListStarredConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsConversation' from JSON`);
|
|
818
802
|
}
|
|
819
803
|
/** @internal */
|
|
820
|
-
export const
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
attachments: z.array(z.lazy(() => GetConversationMessagesAttachment$inboundSchema)),
|
|
804
|
+
export const ListStarredConversationsResponse$inboundSchema = z.object({
|
|
805
|
+
success: types.literal(true),
|
|
806
|
+
conversations: z.array(z.lazy(() => ListStarredConversationsConversation$inboundSchema)),
|
|
807
|
+
nextCursor: types.nullable(types.string()),
|
|
808
|
+
creditsUsed: types.number(),
|
|
809
|
+
retryAfter: types.number(),
|
|
827
810
|
});
|
|
828
|
-
export function
|
|
829
|
-
return safeParse(jsonString, (x) =>
|
|
811
|
+
export function listStarredConversationsResponseFromJSON(jsonString) {
|
|
812
|
+
return safeParse(jsonString, (x) => ListStarredConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsResponse' from JSON`);
|
|
830
813
|
}
|
|
831
814
|
/** @internal */
|
|
832
|
-
export const
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
815
|
+
export const UnarchiveConversationRequest$outboundSchema = z.object({
|
|
816
|
+
conversationUrn: z.string(),
|
|
817
|
+
});
|
|
818
|
+
export function unarchiveConversationRequestToJSON(unarchiveConversationRequest) {
|
|
819
|
+
return JSON.stringify(UnarchiveConversationRequest$outboundSchema.parse(unarchiveConversationRequest));
|
|
820
|
+
}
|
|
821
|
+
/** @internal */
|
|
822
|
+
export const UnarchiveConversationResponse$inboundSchema = z.object({
|
|
823
|
+
success: types.literal(true),
|
|
836
824
|
creditsUsed: types.number(),
|
|
837
825
|
retryAfter: types.number(),
|
|
838
826
|
});
|
|
839
|
-
export function
|
|
840
|
-
return safeParse(jsonString, (x) =>
|
|
827
|
+
export function unarchiveConversationResponseFromJSON(jsonString) {
|
|
828
|
+
return safeParse(jsonString, (x) => UnarchiveConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnarchiveConversationResponse' from JSON`);
|
|
841
829
|
}
|
|
842
830
|
/** @internal */
|
|
843
831
|
export const FilterCampaignRequest$outboundSchema = z.object({
|
|
@@ -895,7 +883,7 @@ export function getCampaignStatusProfileFromJSON(jsonString) {
|
|
|
895
883
|
}
|
|
896
884
|
/** @internal */
|
|
897
885
|
export const GetCampaignStatusResponse$inboundSchema = z.object({
|
|
898
|
-
success: types.
|
|
886
|
+
success: types.literal(true),
|
|
899
887
|
profiles: z.array(z.lazy(() => GetCampaignStatusProfile$inboundSchema)),
|
|
900
888
|
creditsUsed: types.number(),
|
|
901
889
|
retryAfter: types.number(),
|
|
@@ -938,7 +926,7 @@ export function syncedFromJSON(jsonString) {
|
|
|
938
926
|
}
|
|
939
927
|
/** @internal */
|
|
940
928
|
export const SyncCampaignActionsResponse$inboundSchema = z.object({
|
|
941
|
-
success: types.
|
|
929
|
+
success: types.literal(true),
|
|
942
930
|
synced: z.array(z.lazy(() => Synced$inboundSchema)),
|
|
943
931
|
creditsUsed: types.number(),
|
|
944
932
|
retryAfter: types.number(),
|
|
@@ -961,7 +949,7 @@ export function getCampaignStatsRequestToJSON(getCampaignStatsRequest) {
|
|
|
961
949
|
}
|
|
962
950
|
/** @internal */
|
|
963
951
|
export const GetCampaignStatsResponse$inboundSchema = z.object({
|
|
964
|
-
success: types.
|
|
952
|
+
success: types.literal(true),
|
|
965
953
|
stats: z.record(z.string(), types.number()),
|
|
966
954
|
totalProfiles: types.number(),
|
|
967
955
|
creditsUsed: types.number(),
|