bereach 1.4.0 → 1.4.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/FUNCTIONS.md +3 -3
- package/README.md +101 -128
- package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
- package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
- package/esm/funcs/actions-create-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
- package/esm/funcs/actions-create-comment.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
- package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
- package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
- package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
- package/esm/funcs/actions-edit-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
- package/esm/funcs/actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
- package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
- package/esm/funcs/actions-follow-profile.js.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
- package/esm/funcs/actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
- package/esm/funcs/actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
- package/esm/funcs/actions-like-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
- package/esm/funcs/actions-like-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
- package/esm/funcs/actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
- package/esm/funcs/actions-publish-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
- package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
- package/esm/funcs/actions-reply-to-comment.js.map +1 -0
- package/esm/funcs/actions-repost-post.d.ts +18 -0
- package/esm/funcs/actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
- package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
- package/esm/funcs/actions-save-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
- package/esm/funcs/actions-save-post.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
- package/esm/funcs/actions-unfollow-company.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
- package/esm/funcs/actions-unfollow-profile.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
- package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
- package/esm/funcs/actions-unlike-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
- package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
- package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
- package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
- package/esm/funcs/actions-unsave-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
- package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
- package/esm/funcs/chat-list-inbox.d.ts +18 -0
- package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
- package/esm/funcs/chat-list-inbox.js.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
- package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
- package/esm/funcs/chat-mark-all-read.js.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
- package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
- package/esm/funcs/chat-mark-seen.js.map +1 -0
- package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
- package/esm/funcs/chat-react.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
- package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
- package/esm/funcs/chat-star.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
- package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
- package/esm/funcs/chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
- package/esm/funcs/chat-unarchive.js.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
- package/esm/funcs/chat-unstar.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
- package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
- package/esm/funcs/company-pages-posts.d.ts +18 -0
- package/esm/funcs/company-pages-posts.d.ts.map +1 -0
- package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
- package/esm/funcs/company-pages-posts.js.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
- package/esm/funcs/profile-posts.d.ts.map +1 -0
- package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
- package/esm/funcs/profile-posts.js.map +1 -0
- package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
- package/esm/funcs/profile-views.d.ts.map +1 -0
- package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
- package/esm/funcs/profile-views.js.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
- package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
- package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
- package/esm/funcs/sales-nav-people.d.ts.map +1 -0
- package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
- package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
- package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
- package/esm/funcs/sales-nav-search.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
- package/esm/funcs/sales-nav-search.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
- package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
- package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
- package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
- package/esm/funcs/scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
- package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
- package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
- package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
- package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
- package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
- package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
- package/esm/funcs/scrapers-visit-company.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
- package/esm/funcs/search-by-url.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
- package/esm/funcs/search-by-url.js.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
- package/esm/funcs/search-companies.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
- package/esm/funcs/search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
- package/esm/funcs/search-jobs.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
- package/esm/funcs/search-jobs.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
- package/esm/funcs/search-people.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
- package/esm/funcs/search-people.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
- package/esm/funcs/search-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
- package/esm/funcs/search-posts.js.map +1 -0
- package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
- package/esm/funcs/search-search.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
- package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/operations/index.d.ts +1 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +1 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +890 -890
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/{search-people-response.js → search-companies-response.js} +611 -604
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-campaign.d.ts +180 -180
- package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
- package/esm/models/operations/search-contacts-campaign.js +102 -102
- package/esm/models/operations/search-contacts-campaign.js.map +1 -1
- package/esm/models/operations/update-account-response.d.ts +634 -634
- package/esm/models/operations/update-account-response.d.ts.map +1 -1
- package/esm/models/operations/update-account-response.js +307 -307
- package/esm/models/operations/update-account-response.js.map +1 -1
- package/esm/models/operations/update-schedule-response.d.ts +111 -61
- package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
- package/esm/models/operations/update-schedule-response.js +37 -32
- package/esm/models/operations/update-schedule-response.js.map +1 -1
- package/esm/sdk/actions.d.ts +133 -0
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +190 -0
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/chat.d.ts +56 -0
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +80 -0
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +1 -1
- package/esm/sdk/company-pages.d.ts.map +1 -1
- package/esm/sdk/company-pages.js +3 -3
- package/esm/sdk/company-pages.js.map +1 -1
- package/esm/sdk/contacts.d.ts +12 -12
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +16 -16
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/profile.d.ts +2 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +6 -6
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +51 -1
- package/esm/sdk/sales-nav.d.ts.map +1 -1
- package/esm/sdk/sales-nav.js +59 -3
- package/esm/sdk/sales-nav.js.map +1 -1
- package/esm/sdk/scrapers.d.ts +49 -0
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +70 -0
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -45
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +383 -0
- package/esm/sdk/search.d.ts.map +1 -1
- package/esm/sdk/search.js +401 -0
- package/esm/sdk/search.js.map +1 -1
- package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
- package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
- package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
- package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
- package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
- package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
- package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
- package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
- package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
- package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
- package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
- package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
- package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
- package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
- package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
- package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
- package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
- package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
- package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
- package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
- package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
- package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
- package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
- package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1897 -1909
- package/src/models/operations/search-contacts-campaign.ts +366 -366
- package/src/models/operations/update-account-response.ts +1147 -1147
- package/src/models/operations/update-schedule-response.ts +180 -125
- package/src/sdk/actions.ts +342 -0
- package/src/sdk/chat.ts +144 -0
- package/src/sdk/company-pages.ts +3 -3
- package/src/sdk/contacts.ts +24 -24
- package/src/sdk/profile.ts +6 -6
- package/src/sdk/sales-nav.ts +75 -3
- package/src/sdk/scrapers.ts +126 -0
- package/src/sdk/sdk.ts +0 -56
- package/src/sdk/search.ts +449 -0
- package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
- package/esm/funcs/company-pages-get-posts.js.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
- package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
- package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
- package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-people.js.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
- package/esm/funcs/profile-get-posts.d.ts +0 -18
- package/esm/funcs/profile-get-posts.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.js.map +0 -1
- package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
- package/esm/funcs/sales-nav-search-people.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.js.map +0 -1
- package/esm/sdk/linked-in-actions-2.d.ts +0 -47
- package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-actions-2.js +0 -68
- package/esm/sdk/linked-in-actions-2.js.map +0 -1
- package/esm/sdk/linked-in-chat-2.d.ts +0 -33
- package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-chat-2.js +0 -48
- package/esm/sdk/linked-in-chat-2.js.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.js +0 -28
- package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
- package/esm/sdk/linked-in-search-1.d.ts +0 -113
- package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
- package/esm/sdk/linked-in-search-1.js +0 -122
- package/esm/sdk/linked-in-search-1.js.map +0 -1
- package/esm/sdk/linkedin-actions-1.d.ts +0 -96
- package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions-1.js +0 -138
- package/esm/sdk/linkedin-actions-1.js.map +0 -1
- package/esm/sdk/linkedin-chat-1.d.ts +0 -33
- package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat-1.js +0 -48
- package/esm/sdk/linkedin-chat-1.js.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.js +0 -58
- package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
- package/esm/sdk/linkedin-search-2.d.ts +0 -280
- package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
- package/esm/sdk/linkedin-search-2.js +0 -295
- package/esm/sdk/linkedin-search-2.js.map +0 -1
- package/esm/sdk/sales-navigator-search.d.ts +0 -55
- package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
- package/esm/sdk/sales-navigator-search.js +0 -64
- package/esm/sdk/sales-navigator-search.js.map +0 -1
- package/src/sdk/linked-in-actions-2.ts +0 -117
- package/src/sdk/linked-in-chat-2.ts +0 -81
- package/src/sdk/linked-in-scrapers-2.ts +0 -45
- package/src/sdk/linked-in-search-1.ts +0 -139
- package/src/sdk/linkedin-actions-1.ts +0 -243
- package/src/sdk/linkedin-chat-1.ts +0 -81
- package/src/sdk/linkedin-scrapers-1.ts +0 -99
- package/src/sdk/linkedin-search-2.ts +0 -328
- package/src/sdk/sales-navigator-search.ts +0 -81
|
@@ -1224,75 +1224,6 @@ export type ListInboxResponse = {
|
|
|
1224
1224
|
retryAfter: number;
|
|
1225
1225
|
};
|
|
1226
1226
|
|
|
1227
|
-
export type MarkAllReadRequest = {};
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* All conversations marked as read
|
|
1231
|
-
*/
|
|
1232
|
-
export type MarkAllReadResponse = {
|
|
1233
|
-
success: true;
|
|
1234
|
-
/**
|
|
1235
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1236
|
-
*/
|
|
1237
|
-
creditsUsed: number;
|
|
1238
|
-
/**
|
|
1239
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1240
|
-
*/
|
|
1241
|
-
retryAfter: number;
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
export type ReactRequest = {
|
|
1245
|
-
/**
|
|
1246
|
-
* Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
|
|
1247
|
-
*/
|
|
1248
|
-
messageUrn: string;
|
|
1249
|
-
/**
|
|
1250
|
-
* Emoji character to react with (e.g. '👍', '❤️', '😂')
|
|
1251
|
-
*/
|
|
1252
|
-
emoji: string;
|
|
1253
|
-
/**
|
|
1254
|
-
* Conversation URN (required for the old messaging API fallback)
|
|
1255
|
-
*/
|
|
1256
|
-
conversationUrn: string;
|
|
1257
|
-
};
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* Reaction added
|
|
1261
|
-
*/
|
|
1262
|
-
export type ReactResponse = {
|
|
1263
|
-
success: true;
|
|
1264
|
-
/**
|
|
1265
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1266
|
-
*/
|
|
1267
|
-
creditsUsed: number;
|
|
1268
|
-
/**
|
|
1269
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1270
|
-
*/
|
|
1271
|
-
retryAfter: number;
|
|
1272
|
-
};
|
|
1273
|
-
|
|
1274
|
-
export type SendTypingIndicatorRequest = {
|
|
1275
|
-
/**
|
|
1276
|
-
* Full conversation URN
|
|
1277
|
-
*/
|
|
1278
|
-
conversationUrn: string;
|
|
1279
|
-
};
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
* Typing indicator sent
|
|
1283
|
-
*/
|
|
1284
|
-
export type SendTypingIndicatorResponse = {
|
|
1285
|
-
success: true;
|
|
1286
|
-
/**
|
|
1287
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1288
|
-
*/
|
|
1289
|
-
creditsUsed: number;
|
|
1290
|
-
/**
|
|
1291
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1292
|
-
*/
|
|
1293
|
-
retryAfter: number;
|
|
1294
|
-
};
|
|
1295
|
-
|
|
1296
1227
|
export type SearchConversationsRequest = {
|
|
1297
1228
|
/**
|
|
1298
1229
|
* Search keywords
|
|
@@ -1504,6 +1435,89 @@ export type GetMessagesResponse = {
|
|
|
1504
1435
|
retryAfter: number;
|
|
1505
1436
|
};
|
|
1506
1437
|
|
|
1438
|
+
export type MarkSeenRequest = {
|
|
1439
|
+
/**
|
|
1440
|
+
* Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
|
|
1441
|
+
*/
|
|
1442
|
+
conversationUrn: string;
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* Conversation marked as read
|
|
1447
|
+
*/
|
|
1448
|
+
export type MarkSeenResponse = {
|
|
1449
|
+
success: true;
|
|
1450
|
+
/**
|
|
1451
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1452
|
+
*/
|
|
1453
|
+
creditsUsed: number;
|
|
1454
|
+
/**
|
|
1455
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1456
|
+
*/
|
|
1457
|
+
retryAfter: number;
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
export type MarkAllReadRequest = {};
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* All conversations marked as read
|
|
1464
|
+
*/
|
|
1465
|
+
export type MarkAllReadResponse = {
|
|
1466
|
+
success: true;
|
|
1467
|
+
/**
|
|
1468
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1469
|
+
*/
|
|
1470
|
+
creditsUsed: number;
|
|
1471
|
+
/**
|
|
1472
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1473
|
+
*/
|
|
1474
|
+
retryAfter: number;
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
export type StarRequest = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Full conversation URN
|
|
1480
|
+
*/
|
|
1481
|
+
conversationUrn: string;
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Conversation starred
|
|
1486
|
+
*/
|
|
1487
|
+
export type StarResponse = {
|
|
1488
|
+
success: true;
|
|
1489
|
+
/**
|
|
1490
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1491
|
+
*/
|
|
1492
|
+
creditsUsed: number;
|
|
1493
|
+
/**
|
|
1494
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1495
|
+
*/
|
|
1496
|
+
retryAfter: number;
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
export type UnstarRequest = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Full conversation URN
|
|
1502
|
+
*/
|
|
1503
|
+
conversationUrn: string;
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Conversation unstarred
|
|
1508
|
+
*/
|
|
1509
|
+
export type UnstarResponse = {
|
|
1510
|
+
success: true;
|
|
1511
|
+
/**
|
|
1512
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1513
|
+
*/
|
|
1514
|
+
creditsUsed: number;
|
|
1515
|
+
/**
|
|
1516
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1517
|
+
*/
|
|
1518
|
+
retryAfter: number;
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1507
1521
|
export type ListStarredRequest = {
|
|
1508
1522
|
/**
|
|
1509
1523
|
* Pagination cursor from a previous response
|
|
@@ -1581,6 +1595,28 @@ export type ArchiveResponse = {
|
|
|
1581
1595
|
retryAfter: number;
|
|
1582
1596
|
};
|
|
1583
1597
|
|
|
1598
|
+
export type UnarchiveRequest = {
|
|
1599
|
+
/**
|
|
1600
|
+
* Full conversation URN
|
|
1601
|
+
*/
|
|
1602
|
+
conversationUrn: string;
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* Conversation unarchived
|
|
1607
|
+
*/
|
|
1608
|
+
export type UnarchiveResponse = {
|
|
1609
|
+
success: true;
|
|
1610
|
+
/**
|
|
1611
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1612
|
+
*/
|
|
1613
|
+
creditsUsed: number;
|
|
1614
|
+
/**
|
|
1615
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1616
|
+
*/
|
|
1617
|
+
retryAfter: number;
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1584
1620
|
export type ListArchivedRequest = {
|
|
1585
1621
|
/**
|
|
1586
1622
|
* Pagination cursor from a previous response
|
|
@@ -1636,7 +1672,7 @@ export type ListArchivedResponse = {
|
|
|
1636
1672
|
retryAfter: number;
|
|
1637
1673
|
};
|
|
1638
1674
|
|
|
1639
|
-
export type
|
|
1675
|
+
export type ReactRequest = {
|
|
1640
1676
|
/**
|
|
1641
1677
|
* Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
|
|
1642
1678
|
*/
|
|
@@ -1652,9 +1688,9 @@ export type UnreactRequest = {
|
|
|
1652
1688
|
};
|
|
1653
1689
|
|
|
1654
1690
|
/**
|
|
1655
|
-
* Reaction
|
|
1691
|
+
* Reaction added
|
|
1656
1692
|
*/
|
|
1657
|
-
export type
|
|
1693
|
+
export type ReactResponse = {
|
|
1658
1694
|
success: true;
|
|
1659
1695
|
/**
|
|
1660
1696
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -1666,36 +1702,25 @@ export type UnreactResponse = {
|
|
|
1666
1702
|
retryAfter: number;
|
|
1667
1703
|
};
|
|
1668
1704
|
|
|
1669
|
-
|
|
1670
|
-
* Unread count
|
|
1671
|
-
*/
|
|
1672
|
-
export type GetUnreadCountResponse = {
|
|
1673
|
-
success: true;
|
|
1674
|
-
/**
|
|
1675
|
-
* Number of unread conversations/messages
|
|
1676
|
-
*/
|
|
1677
|
-
unreadCount: number;
|
|
1705
|
+
export type UnreactRequest = {
|
|
1678
1706
|
/**
|
|
1679
|
-
*
|
|
1707
|
+
* Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
|
|
1680
1708
|
*/
|
|
1681
|
-
|
|
1709
|
+
messageUrn: string;
|
|
1682
1710
|
/**
|
|
1683
|
-
*
|
|
1711
|
+
* Emoji character to react with (e.g. '👍', '❤️', '😂')
|
|
1684
1712
|
*/
|
|
1685
|
-
|
|
1686
|
-
};
|
|
1687
|
-
|
|
1688
|
-
export type MarkSeenRequest = {
|
|
1713
|
+
emoji: string;
|
|
1689
1714
|
/**
|
|
1690
|
-
*
|
|
1715
|
+
* Conversation URN (required for the old messaging API fallback)
|
|
1691
1716
|
*/
|
|
1692
1717
|
conversationUrn: string;
|
|
1693
1718
|
};
|
|
1694
1719
|
|
|
1695
1720
|
/**
|
|
1696
|
-
*
|
|
1721
|
+
* Reaction removed
|
|
1697
1722
|
*/
|
|
1698
|
-
export type
|
|
1723
|
+
export type UnreactResponse = {
|
|
1699
1724
|
success: true;
|
|
1700
1725
|
/**
|
|
1701
1726
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -1707,7 +1732,7 @@ export type MarkSeenResponse = {
|
|
|
1707
1732
|
retryAfter: number;
|
|
1708
1733
|
};
|
|
1709
1734
|
|
|
1710
|
-
export type
|
|
1735
|
+
export type SendTypingIndicatorRequest = {
|
|
1711
1736
|
/**
|
|
1712
1737
|
* Full conversation URN
|
|
1713
1738
|
*/
|
|
@@ -1715,9 +1740,9 @@ export type StarRequest = {
|
|
|
1715
1740
|
};
|
|
1716
1741
|
|
|
1717
1742
|
/**
|
|
1718
|
-
*
|
|
1743
|
+
* Typing indicator sent
|
|
1719
1744
|
*/
|
|
1720
|
-
export type
|
|
1745
|
+
export type SendTypingIndicatorResponse = {
|
|
1721
1746
|
success: true;
|
|
1722
1747
|
/**
|
|
1723
1748
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -1729,40 +1754,15 @@ export type StarResponse = {
|
|
|
1729
1754
|
retryAfter: number;
|
|
1730
1755
|
};
|
|
1731
1756
|
|
|
1732
|
-
export type UnstarRequest = {
|
|
1733
|
-
/**
|
|
1734
|
-
* Full conversation URN
|
|
1735
|
-
*/
|
|
1736
|
-
conversationUrn: string;
|
|
1737
|
-
};
|
|
1738
|
-
|
|
1739
1757
|
/**
|
|
1740
|
-
*
|
|
1758
|
+
* Unread count
|
|
1741
1759
|
*/
|
|
1742
|
-
export type
|
|
1760
|
+
export type GetUnreadCountResponse = {
|
|
1743
1761
|
success: true;
|
|
1744
1762
|
/**
|
|
1745
|
-
*
|
|
1746
|
-
*/
|
|
1747
|
-
creditsUsed: number;
|
|
1748
|
-
/**
|
|
1749
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1750
|
-
*/
|
|
1751
|
-
retryAfter: number;
|
|
1752
|
-
};
|
|
1753
|
-
|
|
1754
|
-
export type UnarchiveRequest = {
|
|
1755
|
-
/**
|
|
1756
|
-
* Full conversation URN
|
|
1763
|
+
* Number of unread conversations/messages
|
|
1757
1764
|
*/
|
|
1758
|
-
|
|
1759
|
-
};
|
|
1760
|
-
|
|
1761
|
-
/**
|
|
1762
|
-
* Conversation unarchived
|
|
1763
|
-
*/
|
|
1764
|
-
export type UnarchiveResponse = {
|
|
1765
|
-
success: true;
|
|
1765
|
+
unreadCount: number;
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1768
1768
|
*/
|
|
@@ -3746,129 +3746,10 @@ export function listInboxResponseFromJSON(
|
|
|
3746
3746
|
}
|
|
3747
3747
|
|
|
3748
3748
|
/** @internal */
|
|
3749
|
-
export type
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
MarkAllReadRequest$Outbound,
|
|
3754
|
-
MarkAllReadRequest
|
|
3755
|
-
> = z.object({});
|
|
3756
|
-
|
|
3757
|
-
export function markAllReadRequestToJSON(
|
|
3758
|
-
markAllReadRequest: MarkAllReadRequest,
|
|
3759
|
-
): string {
|
|
3760
|
-
return JSON.stringify(
|
|
3761
|
-
MarkAllReadRequest$outboundSchema.parse(markAllReadRequest),
|
|
3762
|
-
);
|
|
3763
|
-
}
|
|
3764
|
-
|
|
3765
|
-
/** @internal */
|
|
3766
|
-
export const MarkAllReadResponse$inboundSchema: z.ZodMiniType<
|
|
3767
|
-
MarkAllReadResponse,
|
|
3768
|
-
unknown
|
|
3769
|
-
> = z.object({
|
|
3770
|
-
success: types.literal(true),
|
|
3771
|
-
creditsUsed: types.number(),
|
|
3772
|
-
retryAfter: types.number(),
|
|
3773
|
-
});
|
|
3774
|
-
|
|
3775
|
-
export function markAllReadResponseFromJSON(
|
|
3776
|
-
jsonString: string,
|
|
3777
|
-
): SafeParseResult<MarkAllReadResponse, SDKValidationError> {
|
|
3778
|
-
return safeParse(
|
|
3779
|
-
jsonString,
|
|
3780
|
-
(x) => MarkAllReadResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3781
|
-
`Failed to parse 'MarkAllReadResponse' from JSON`,
|
|
3782
|
-
);
|
|
3783
|
-
}
|
|
3784
|
-
|
|
3785
|
-
/** @internal */
|
|
3786
|
-
export type ReactRequest$Outbound = {
|
|
3787
|
-
messageUrn: string;
|
|
3788
|
-
emoji: string;
|
|
3789
|
-
conversationUrn: string;
|
|
3790
|
-
};
|
|
3791
|
-
|
|
3792
|
-
/** @internal */
|
|
3793
|
-
export const ReactRequest$outboundSchema: z.ZodMiniType<
|
|
3794
|
-
ReactRequest$Outbound,
|
|
3795
|
-
ReactRequest
|
|
3796
|
-
> = z.object({
|
|
3797
|
-
messageUrn: z.string(),
|
|
3798
|
-
emoji: z.string(),
|
|
3799
|
-
conversationUrn: z.string(),
|
|
3800
|
-
});
|
|
3801
|
-
|
|
3802
|
-
export function reactRequestToJSON(reactRequest: ReactRequest): string {
|
|
3803
|
-
return JSON.stringify(ReactRequest$outboundSchema.parse(reactRequest));
|
|
3804
|
-
}
|
|
3805
|
-
|
|
3806
|
-
/** @internal */
|
|
3807
|
-
export const ReactResponse$inboundSchema: z.ZodMiniType<
|
|
3808
|
-
ReactResponse,
|
|
3809
|
-
unknown
|
|
3810
|
-
> = z.object({
|
|
3811
|
-
success: types.literal(true),
|
|
3812
|
-
creditsUsed: types.number(),
|
|
3813
|
-
retryAfter: types.number(),
|
|
3814
|
-
});
|
|
3815
|
-
|
|
3816
|
-
export function reactResponseFromJSON(
|
|
3817
|
-
jsonString: string,
|
|
3818
|
-
): SafeParseResult<ReactResponse, SDKValidationError> {
|
|
3819
|
-
return safeParse(
|
|
3820
|
-
jsonString,
|
|
3821
|
-
(x) => ReactResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3822
|
-
`Failed to parse 'ReactResponse' from JSON`,
|
|
3823
|
-
);
|
|
3824
|
-
}
|
|
3825
|
-
|
|
3826
|
-
/** @internal */
|
|
3827
|
-
export type SendTypingIndicatorRequest$Outbound = {
|
|
3828
|
-
conversationUrn: string;
|
|
3829
|
-
};
|
|
3830
|
-
|
|
3831
|
-
/** @internal */
|
|
3832
|
-
export const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<
|
|
3833
|
-
SendTypingIndicatorRequest$Outbound,
|
|
3834
|
-
SendTypingIndicatorRequest
|
|
3835
|
-
> = z.object({
|
|
3836
|
-
conversationUrn: z.string(),
|
|
3837
|
-
});
|
|
3838
|
-
|
|
3839
|
-
export function sendTypingIndicatorRequestToJSON(
|
|
3840
|
-
sendTypingIndicatorRequest: SendTypingIndicatorRequest,
|
|
3841
|
-
): string {
|
|
3842
|
-
return JSON.stringify(
|
|
3843
|
-
SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest),
|
|
3844
|
-
);
|
|
3845
|
-
}
|
|
3846
|
-
|
|
3847
|
-
/** @internal */
|
|
3848
|
-
export const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<
|
|
3849
|
-
SendTypingIndicatorResponse,
|
|
3850
|
-
unknown
|
|
3851
|
-
> = z.object({
|
|
3852
|
-
success: types.literal(true),
|
|
3853
|
-
creditsUsed: types.number(),
|
|
3854
|
-
retryAfter: types.number(),
|
|
3855
|
-
});
|
|
3856
|
-
|
|
3857
|
-
export function sendTypingIndicatorResponseFromJSON(
|
|
3858
|
-
jsonString: string,
|
|
3859
|
-
): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError> {
|
|
3860
|
-
return safeParse(
|
|
3861
|
-
jsonString,
|
|
3862
|
-
(x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3863
|
-
`Failed to parse 'SendTypingIndicatorResponse' from JSON`,
|
|
3864
|
-
);
|
|
3865
|
-
}
|
|
3866
|
-
|
|
3867
|
-
/** @internal */
|
|
3868
|
-
export type SearchConversationsRequest$Outbound = {
|
|
3869
|
-
keywords: string;
|
|
3870
|
-
nextCursor?: string | undefined;
|
|
3871
|
-
};
|
|
3749
|
+
export type SearchConversationsRequest$Outbound = {
|
|
3750
|
+
keywords: string;
|
|
3751
|
+
nextCursor?: string | undefined;
|
|
3752
|
+
};
|
|
3872
3753
|
|
|
3873
3754
|
/** @internal */
|
|
3874
3755
|
export const SearchConversationsRequest$outboundSchema: z.ZodMiniType<
|
|
@@ -4256,6 +4137,154 @@ export function getMessagesResponseFromJSON(
|
|
|
4256
4137
|
);
|
|
4257
4138
|
}
|
|
4258
4139
|
|
|
4140
|
+
/** @internal */
|
|
4141
|
+
export type MarkSeenRequest$Outbound = {
|
|
4142
|
+
conversationUrn: string;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4145
|
+
/** @internal */
|
|
4146
|
+
export const MarkSeenRequest$outboundSchema: z.ZodMiniType<
|
|
4147
|
+
MarkSeenRequest$Outbound,
|
|
4148
|
+
MarkSeenRequest
|
|
4149
|
+
> = z.object({
|
|
4150
|
+
conversationUrn: z.string(),
|
|
4151
|
+
});
|
|
4152
|
+
|
|
4153
|
+
export function markSeenRequestToJSON(
|
|
4154
|
+
markSeenRequest: MarkSeenRequest,
|
|
4155
|
+
): string {
|
|
4156
|
+
return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
/** @internal */
|
|
4160
|
+
export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
|
|
4161
|
+
MarkSeenResponse,
|
|
4162
|
+
unknown
|
|
4163
|
+
> = z.object({
|
|
4164
|
+
success: types.literal(true),
|
|
4165
|
+
creditsUsed: types.number(),
|
|
4166
|
+
retryAfter: types.number(),
|
|
4167
|
+
});
|
|
4168
|
+
|
|
4169
|
+
export function markSeenResponseFromJSON(
|
|
4170
|
+
jsonString: string,
|
|
4171
|
+
): SafeParseResult<MarkSeenResponse, SDKValidationError> {
|
|
4172
|
+
return safeParse(
|
|
4173
|
+
jsonString,
|
|
4174
|
+
(x) => MarkSeenResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4175
|
+
`Failed to parse 'MarkSeenResponse' from JSON`,
|
|
4176
|
+
);
|
|
4177
|
+
}
|
|
4178
|
+
|
|
4179
|
+
/** @internal */
|
|
4180
|
+
export type MarkAllReadRequest$Outbound = {};
|
|
4181
|
+
|
|
4182
|
+
/** @internal */
|
|
4183
|
+
export const MarkAllReadRequest$outboundSchema: z.ZodMiniType<
|
|
4184
|
+
MarkAllReadRequest$Outbound,
|
|
4185
|
+
MarkAllReadRequest
|
|
4186
|
+
> = z.object({});
|
|
4187
|
+
|
|
4188
|
+
export function markAllReadRequestToJSON(
|
|
4189
|
+
markAllReadRequest: MarkAllReadRequest,
|
|
4190
|
+
): string {
|
|
4191
|
+
return JSON.stringify(
|
|
4192
|
+
MarkAllReadRequest$outboundSchema.parse(markAllReadRequest),
|
|
4193
|
+
);
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
/** @internal */
|
|
4197
|
+
export const MarkAllReadResponse$inboundSchema: z.ZodMiniType<
|
|
4198
|
+
MarkAllReadResponse,
|
|
4199
|
+
unknown
|
|
4200
|
+
> = z.object({
|
|
4201
|
+
success: types.literal(true),
|
|
4202
|
+
creditsUsed: types.number(),
|
|
4203
|
+
retryAfter: types.number(),
|
|
4204
|
+
});
|
|
4205
|
+
|
|
4206
|
+
export function markAllReadResponseFromJSON(
|
|
4207
|
+
jsonString: string,
|
|
4208
|
+
): SafeParseResult<MarkAllReadResponse, SDKValidationError> {
|
|
4209
|
+
return safeParse(
|
|
4210
|
+
jsonString,
|
|
4211
|
+
(x) => MarkAllReadResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4212
|
+
`Failed to parse 'MarkAllReadResponse' from JSON`,
|
|
4213
|
+
);
|
|
4214
|
+
}
|
|
4215
|
+
|
|
4216
|
+
/** @internal */
|
|
4217
|
+
export type StarRequest$Outbound = {
|
|
4218
|
+
conversationUrn: string;
|
|
4219
|
+
};
|
|
4220
|
+
|
|
4221
|
+
/** @internal */
|
|
4222
|
+
export const StarRequest$outboundSchema: z.ZodMiniType<
|
|
4223
|
+
StarRequest$Outbound,
|
|
4224
|
+
StarRequest
|
|
4225
|
+
> = z.object({
|
|
4226
|
+
conversationUrn: z.string(),
|
|
4227
|
+
});
|
|
4228
|
+
|
|
4229
|
+
export function starRequestToJSON(starRequest: StarRequest): string {
|
|
4230
|
+
return JSON.stringify(StarRequest$outboundSchema.parse(starRequest));
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
/** @internal */
|
|
4234
|
+
export const StarResponse$inboundSchema: z.ZodMiniType<StarResponse, unknown> =
|
|
4235
|
+
z.object({
|
|
4236
|
+
success: types.literal(true),
|
|
4237
|
+
creditsUsed: types.number(),
|
|
4238
|
+
retryAfter: types.number(),
|
|
4239
|
+
});
|
|
4240
|
+
|
|
4241
|
+
export function starResponseFromJSON(
|
|
4242
|
+
jsonString: string,
|
|
4243
|
+
): SafeParseResult<StarResponse, SDKValidationError> {
|
|
4244
|
+
return safeParse(
|
|
4245
|
+
jsonString,
|
|
4246
|
+
(x) => StarResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4247
|
+
`Failed to parse 'StarResponse' from JSON`,
|
|
4248
|
+
);
|
|
4249
|
+
}
|
|
4250
|
+
|
|
4251
|
+
/** @internal */
|
|
4252
|
+
export type UnstarRequest$Outbound = {
|
|
4253
|
+
conversationUrn: string;
|
|
4254
|
+
};
|
|
4255
|
+
|
|
4256
|
+
/** @internal */
|
|
4257
|
+
export const UnstarRequest$outboundSchema: z.ZodMiniType<
|
|
4258
|
+
UnstarRequest$Outbound,
|
|
4259
|
+
UnstarRequest
|
|
4260
|
+
> = z.object({
|
|
4261
|
+
conversationUrn: z.string(),
|
|
4262
|
+
});
|
|
4263
|
+
|
|
4264
|
+
export function unstarRequestToJSON(unstarRequest: UnstarRequest): string {
|
|
4265
|
+
return JSON.stringify(UnstarRequest$outboundSchema.parse(unstarRequest));
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
/** @internal */
|
|
4269
|
+
export const UnstarResponse$inboundSchema: z.ZodMiniType<
|
|
4270
|
+
UnstarResponse,
|
|
4271
|
+
unknown
|
|
4272
|
+
> = z.object({
|
|
4273
|
+
success: types.literal(true),
|
|
4274
|
+
creditsUsed: types.number(),
|
|
4275
|
+
retryAfter: types.number(),
|
|
4276
|
+
});
|
|
4277
|
+
|
|
4278
|
+
export function unstarResponseFromJSON(
|
|
4279
|
+
jsonString: string,
|
|
4280
|
+
): SafeParseResult<UnstarResponse, SDKValidationError> {
|
|
4281
|
+
return safeParse(
|
|
4282
|
+
jsonString,
|
|
4283
|
+
(x) => UnstarResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4284
|
+
`Failed to parse 'UnstarResponse' from JSON`,
|
|
4285
|
+
);
|
|
4286
|
+
}
|
|
4287
|
+
|
|
4259
4288
|
/** @internal */
|
|
4260
4289
|
export type ListStarredRequest$Outbound = {
|
|
4261
4290
|
nextCursor?: string | undefined;
|
|
@@ -4408,6 +4437,47 @@ export function archiveResponseFromJSON(
|
|
|
4408
4437
|
);
|
|
4409
4438
|
}
|
|
4410
4439
|
|
|
4440
|
+
/** @internal */
|
|
4441
|
+
export type UnarchiveRequest$Outbound = {
|
|
4442
|
+
conversationUrn: string;
|
|
4443
|
+
};
|
|
4444
|
+
|
|
4445
|
+
/** @internal */
|
|
4446
|
+
export const UnarchiveRequest$outboundSchema: z.ZodMiniType<
|
|
4447
|
+
UnarchiveRequest$Outbound,
|
|
4448
|
+
UnarchiveRequest
|
|
4449
|
+
> = z.object({
|
|
4450
|
+
conversationUrn: z.string(),
|
|
4451
|
+
});
|
|
4452
|
+
|
|
4453
|
+
export function unarchiveRequestToJSON(
|
|
4454
|
+
unarchiveRequest: UnarchiveRequest,
|
|
4455
|
+
): string {
|
|
4456
|
+
return JSON.stringify(
|
|
4457
|
+
UnarchiveRequest$outboundSchema.parse(unarchiveRequest),
|
|
4458
|
+
);
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4461
|
+
/** @internal */
|
|
4462
|
+
export const UnarchiveResponse$inboundSchema: z.ZodMiniType<
|
|
4463
|
+
UnarchiveResponse,
|
|
4464
|
+
unknown
|
|
4465
|
+
> = z.object({
|
|
4466
|
+
success: types.literal(true),
|
|
4467
|
+
creditsUsed: types.number(),
|
|
4468
|
+
retryAfter: types.number(),
|
|
4469
|
+
});
|
|
4470
|
+
|
|
4471
|
+
export function unarchiveResponseFromJSON(
|
|
4472
|
+
jsonString: string,
|
|
4473
|
+
): SafeParseResult<UnarchiveResponse, SDKValidationError> {
|
|
4474
|
+
return safeParse(
|
|
4475
|
+
jsonString,
|
|
4476
|
+
(x) => UnarchiveResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4477
|
+
`Failed to parse 'UnarchiveResponse' from JSON`,
|
|
4478
|
+
);
|
|
4479
|
+
}
|
|
4480
|
+
|
|
4411
4481
|
/** @internal */
|
|
4412
4482
|
export type ListArchivedRequest$Outbound = {
|
|
4413
4483
|
nextCursor?: string | undefined;
|
|
@@ -4524,89 +4594,70 @@ export function listArchivedResponseFromJSON(
|
|
|
4524
4594
|
}
|
|
4525
4595
|
|
|
4526
4596
|
/** @internal */
|
|
4527
|
-
export type
|
|
4597
|
+
export type ReactRequest$Outbound = {
|
|
4528
4598
|
messageUrn: string;
|
|
4529
4599
|
emoji: string;
|
|
4530
4600
|
conversationUrn: string;
|
|
4531
4601
|
};
|
|
4532
4602
|
|
|
4533
4603
|
/** @internal */
|
|
4534
|
-
export const
|
|
4535
|
-
|
|
4536
|
-
|
|
4604
|
+
export const ReactRequest$outboundSchema: z.ZodMiniType<
|
|
4605
|
+
ReactRequest$Outbound,
|
|
4606
|
+
ReactRequest
|
|
4537
4607
|
> = z.object({
|
|
4538
4608
|
messageUrn: z.string(),
|
|
4539
4609
|
emoji: z.string(),
|
|
4540
4610
|
conversationUrn: z.string(),
|
|
4541
4611
|
});
|
|
4542
4612
|
|
|
4543
|
-
export function
|
|
4544
|
-
return JSON.stringify(
|
|
4545
|
-
}
|
|
4546
|
-
|
|
4547
|
-
/** @internal */
|
|
4548
|
-
export const UnreactResponse$inboundSchema: z.ZodMiniType<
|
|
4549
|
-
UnreactResponse,
|
|
4550
|
-
unknown
|
|
4551
|
-
> = z.object({
|
|
4552
|
-
success: types.literal(true),
|
|
4553
|
-
creditsUsed: types.number(),
|
|
4554
|
-
retryAfter: types.number(),
|
|
4555
|
-
});
|
|
4556
|
-
|
|
4557
|
-
export function unreactResponseFromJSON(
|
|
4558
|
-
jsonString: string,
|
|
4559
|
-
): SafeParseResult<UnreactResponse, SDKValidationError> {
|
|
4560
|
-
return safeParse(
|
|
4561
|
-
jsonString,
|
|
4562
|
-
(x) => UnreactResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4563
|
-
`Failed to parse 'UnreactResponse' from JSON`,
|
|
4564
|
-
);
|
|
4613
|
+
export function reactRequestToJSON(reactRequest: ReactRequest): string {
|
|
4614
|
+
return JSON.stringify(ReactRequest$outboundSchema.parse(reactRequest));
|
|
4565
4615
|
}
|
|
4566
4616
|
|
|
4567
4617
|
/** @internal */
|
|
4568
|
-
export const
|
|
4569
|
-
|
|
4618
|
+
export const ReactResponse$inboundSchema: z.ZodMiniType<
|
|
4619
|
+
ReactResponse,
|
|
4570
4620
|
unknown
|
|
4571
4621
|
> = z.object({
|
|
4572
4622
|
success: types.literal(true),
|
|
4573
|
-
unreadCount: types.number(),
|
|
4574
4623
|
creditsUsed: types.number(),
|
|
4575
4624
|
retryAfter: types.number(),
|
|
4576
4625
|
});
|
|
4577
4626
|
|
|
4578
|
-
export function
|
|
4627
|
+
export function reactResponseFromJSON(
|
|
4579
4628
|
jsonString: string,
|
|
4580
|
-
): SafeParseResult<
|
|
4629
|
+
): SafeParseResult<ReactResponse, SDKValidationError> {
|
|
4581
4630
|
return safeParse(
|
|
4582
4631
|
jsonString,
|
|
4583
|
-
(x) =>
|
|
4584
|
-
`Failed to parse '
|
|
4632
|
+
(x) => ReactResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4633
|
+
`Failed to parse 'ReactResponse' from JSON`,
|
|
4585
4634
|
);
|
|
4586
4635
|
}
|
|
4587
4636
|
|
|
4588
4637
|
/** @internal */
|
|
4589
|
-
export type
|
|
4638
|
+
export type UnreactRequest$Outbound = {
|
|
4639
|
+
messageUrn: string;
|
|
4640
|
+
emoji: string;
|
|
4590
4641
|
conversationUrn: string;
|
|
4591
4642
|
};
|
|
4592
4643
|
|
|
4593
4644
|
/** @internal */
|
|
4594
|
-
export const
|
|
4595
|
-
|
|
4596
|
-
|
|
4645
|
+
export const UnreactRequest$outboundSchema: z.ZodMiniType<
|
|
4646
|
+
UnreactRequest$Outbound,
|
|
4647
|
+
UnreactRequest
|
|
4597
4648
|
> = z.object({
|
|
4649
|
+
messageUrn: z.string(),
|
|
4650
|
+
emoji: z.string(),
|
|
4598
4651
|
conversationUrn: z.string(),
|
|
4599
4652
|
});
|
|
4600
4653
|
|
|
4601
|
-
export function
|
|
4602
|
-
|
|
4603
|
-
): string {
|
|
4604
|
-
return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
|
|
4654
|
+
export function unreactRequestToJSON(unreactRequest: UnreactRequest): string {
|
|
4655
|
+
return JSON.stringify(UnreactRequest$outboundSchema.parse(unreactRequest));
|
|
4605
4656
|
}
|
|
4606
4657
|
|
|
4607
4658
|
/** @internal */
|
|
4608
|
-
export const
|
|
4609
|
-
|
|
4659
|
+
export const UnreactResponse$inboundSchema: z.ZodMiniType<
|
|
4660
|
+
UnreactResponse,
|
|
4610
4661
|
unknown
|
|
4611
4662
|
> = z.object({
|
|
4612
4663
|
success: types.literal(true),
|
|
@@ -4614,71 +4665,40 @@ export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
|
|
|
4614
4665
|
retryAfter: types.number(),
|
|
4615
4666
|
});
|
|
4616
4667
|
|
|
4617
|
-
export function
|
|
4668
|
+
export function unreactResponseFromJSON(
|
|
4618
4669
|
jsonString: string,
|
|
4619
|
-
): SafeParseResult<
|
|
4670
|
+
): SafeParseResult<UnreactResponse, SDKValidationError> {
|
|
4620
4671
|
return safeParse(
|
|
4621
4672
|
jsonString,
|
|
4622
|
-
(x) =>
|
|
4623
|
-
`Failed to parse '
|
|
4673
|
+
(x) => UnreactResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4674
|
+
`Failed to parse 'UnreactResponse' from JSON`,
|
|
4624
4675
|
);
|
|
4625
4676
|
}
|
|
4626
4677
|
|
|
4627
4678
|
/** @internal */
|
|
4628
|
-
export type
|
|
4679
|
+
export type SendTypingIndicatorRequest$Outbound = {
|
|
4629
4680
|
conversationUrn: string;
|
|
4630
4681
|
};
|
|
4631
4682
|
|
|
4632
4683
|
/** @internal */
|
|
4633
|
-
export const
|
|
4634
|
-
|
|
4635
|
-
|
|
4684
|
+
export const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<
|
|
4685
|
+
SendTypingIndicatorRequest$Outbound,
|
|
4686
|
+
SendTypingIndicatorRequest
|
|
4636
4687
|
> = z.object({
|
|
4637
4688
|
conversationUrn: z.string(),
|
|
4638
4689
|
});
|
|
4639
4690
|
|
|
4640
|
-
export function
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
export const StarResponse$inboundSchema: z.ZodMiniType<StarResponse, unknown> =
|
|
4646
|
-
z.object({
|
|
4647
|
-
success: types.literal(true),
|
|
4648
|
-
creditsUsed: types.number(),
|
|
4649
|
-
retryAfter: types.number(),
|
|
4650
|
-
});
|
|
4651
|
-
|
|
4652
|
-
export function starResponseFromJSON(
|
|
4653
|
-
jsonString: string,
|
|
4654
|
-
): SafeParseResult<StarResponse, SDKValidationError> {
|
|
4655
|
-
return safeParse(
|
|
4656
|
-
jsonString,
|
|
4657
|
-
(x) => StarResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4658
|
-
`Failed to parse 'StarResponse' from JSON`,
|
|
4691
|
+
export function sendTypingIndicatorRequestToJSON(
|
|
4692
|
+
sendTypingIndicatorRequest: SendTypingIndicatorRequest,
|
|
4693
|
+
): string {
|
|
4694
|
+
return JSON.stringify(
|
|
4695
|
+
SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest),
|
|
4659
4696
|
);
|
|
4660
4697
|
}
|
|
4661
4698
|
|
|
4662
4699
|
/** @internal */
|
|
4663
|
-
export
|
|
4664
|
-
|
|
4665
|
-
};
|
|
4666
|
-
|
|
4667
|
-
/** @internal */
|
|
4668
|
-
export const UnstarRequest$outboundSchema: z.ZodMiniType<
|
|
4669
|
-
UnstarRequest$Outbound,
|
|
4670
|
-
UnstarRequest
|
|
4671
|
-
> = z.object({
|
|
4672
|
-
conversationUrn: z.string(),
|
|
4673
|
-
});
|
|
4674
|
-
|
|
4675
|
-
export function unstarRequestToJSON(unstarRequest: UnstarRequest): string {
|
|
4676
|
-
return JSON.stringify(UnstarRequest$outboundSchema.parse(unstarRequest));
|
|
4677
|
-
}
|
|
4678
|
-
|
|
4679
|
-
/** @internal */
|
|
4680
|
-
export const UnstarResponse$inboundSchema: z.ZodMiniType<
|
|
4681
|
-
UnstarResponse,
|
|
4700
|
+
export const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<
|
|
4701
|
+
SendTypingIndicatorResponse,
|
|
4682
4702
|
unknown
|
|
4683
4703
|
> = z.object({
|
|
4684
4704
|
success: types.literal(true),
|
|
@@ -4686,54 +4706,34 @@ export const UnstarResponse$inboundSchema: z.ZodMiniType<
|
|
|
4686
4706
|
retryAfter: types.number(),
|
|
4687
4707
|
});
|
|
4688
4708
|
|
|
4689
|
-
export function
|
|
4709
|
+
export function sendTypingIndicatorResponseFromJSON(
|
|
4690
4710
|
jsonString: string,
|
|
4691
|
-
): SafeParseResult<
|
|
4711
|
+
): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError> {
|
|
4692
4712
|
return safeParse(
|
|
4693
4713
|
jsonString,
|
|
4694
|
-
(x) =>
|
|
4695
|
-
`Failed to parse '
|
|
4696
|
-
);
|
|
4697
|
-
}
|
|
4698
|
-
|
|
4699
|
-
/** @internal */
|
|
4700
|
-
export type UnarchiveRequest$Outbound = {
|
|
4701
|
-
conversationUrn: string;
|
|
4702
|
-
};
|
|
4703
|
-
|
|
4704
|
-
/** @internal */
|
|
4705
|
-
export const UnarchiveRequest$outboundSchema: z.ZodMiniType<
|
|
4706
|
-
UnarchiveRequest$Outbound,
|
|
4707
|
-
UnarchiveRequest
|
|
4708
|
-
> = z.object({
|
|
4709
|
-
conversationUrn: z.string(),
|
|
4710
|
-
});
|
|
4711
|
-
|
|
4712
|
-
export function unarchiveRequestToJSON(
|
|
4713
|
-
unarchiveRequest: UnarchiveRequest,
|
|
4714
|
-
): string {
|
|
4715
|
-
return JSON.stringify(
|
|
4716
|
-
UnarchiveRequest$outboundSchema.parse(unarchiveRequest),
|
|
4714
|
+
(x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4715
|
+
`Failed to parse 'SendTypingIndicatorResponse' from JSON`,
|
|
4717
4716
|
);
|
|
4718
4717
|
}
|
|
4719
4718
|
|
|
4720
4719
|
/** @internal */
|
|
4721
|
-
export const
|
|
4722
|
-
|
|
4720
|
+
export const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<
|
|
4721
|
+
GetUnreadCountResponse,
|
|
4723
4722
|
unknown
|
|
4724
4723
|
> = z.object({
|
|
4725
4724
|
success: types.literal(true),
|
|
4725
|
+
unreadCount: types.number(),
|
|
4726
4726
|
creditsUsed: types.number(),
|
|
4727
4727
|
retryAfter: types.number(),
|
|
4728
4728
|
});
|
|
4729
4729
|
|
|
4730
|
-
export function
|
|
4730
|
+
export function getUnreadCountResponseFromJSON(
|
|
4731
4731
|
jsonString: string,
|
|
4732
|
-
): SafeParseResult<
|
|
4732
|
+
): SafeParseResult<GetUnreadCountResponse, SDKValidationError> {
|
|
4733
4733
|
return safeParse(
|
|
4734
4734
|
jsonString,
|
|
4735
|
-
(x) =>
|
|
4736
|
-
`Failed to parse '
|
|
4735
|
+
(x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)),
|
|
4736
|
+
`Failed to parse 'GetUnreadCountResponse' from JSON`,
|
|
4737
4737
|
);
|
|
4738
4738
|
}
|
|
4739
4739
|
|