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
|
@@ -677,32 +677,18 @@ export type SetAgentStateResponse = {
|
|
|
677
677
|
retryAfter: number;
|
|
678
678
|
};
|
|
679
679
|
|
|
680
|
-
export type
|
|
681
|
-
/**
|
|
682
|
-
* Partial state fields to merge
|
|
683
|
-
*/
|
|
684
|
-
data: { [k: string]: any };
|
|
685
|
-
};
|
|
686
|
-
|
|
687
|
-
export type PatchAgentStateRequest = {
|
|
680
|
+
export type DeleteAgentStateRequest = {
|
|
688
681
|
/**
|
|
689
682
|
* State key
|
|
690
683
|
*/
|
|
691
684
|
key: string;
|
|
692
|
-
body: PatchAgentStateRequestBody;
|
|
693
685
|
};
|
|
694
686
|
|
|
695
687
|
/**
|
|
696
|
-
* State
|
|
688
|
+
* State deleted
|
|
697
689
|
*/
|
|
698
|
-
export type
|
|
690
|
+
export type DeleteAgentStateResponse = {
|
|
699
691
|
success: true;
|
|
700
|
-
key: string;
|
|
701
|
-
/**
|
|
702
|
-
* Full state object
|
|
703
|
-
*/
|
|
704
|
-
data: any;
|
|
705
|
-
updatedAt: string | null;
|
|
706
692
|
/**
|
|
707
693
|
* Credits consumed by this call (always 0 for contacts queries).
|
|
708
694
|
*/
|
|
@@ -713,18 +699,32 @@ export type PatchAgentStateResponse = {
|
|
|
713
699
|
retryAfter: number;
|
|
714
700
|
};
|
|
715
701
|
|
|
716
|
-
export type
|
|
702
|
+
export type PatchAgentStateRequestBody = {
|
|
703
|
+
/**
|
|
704
|
+
* Partial state fields to merge
|
|
705
|
+
*/
|
|
706
|
+
data: { [k: string]: any };
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
export type PatchAgentStateRequest = {
|
|
717
710
|
/**
|
|
718
711
|
* State key
|
|
719
712
|
*/
|
|
720
713
|
key: string;
|
|
714
|
+
body: PatchAgentStateRequestBody;
|
|
721
715
|
};
|
|
722
716
|
|
|
723
717
|
/**
|
|
724
|
-
* State
|
|
718
|
+
* State merged
|
|
725
719
|
*/
|
|
726
|
-
export type
|
|
720
|
+
export type PatchAgentStateResponse = {
|
|
727
721
|
success: true;
|
|
722
|
+
key: string;
|
|
723
|
+
/**
|
|
724
|
+
* Full state object
|
|
725
|
+
*/
|
|
726
|
+
data: any;
|
|
727
|
+
updatedAt: string | null;
|
|
728
728
|
/**
|
|
729
729
|
* Credits consumed by this call (always 0 for contacts queries).
|
|
730
730
|
*/
|
|
@@ -758,8 +758,18 @@ export type ListCampaignsStageCounts = {
|
|
|
758
758
|
};
|
|
759
759
|
|
|
760
760
|
export type ListCampaignsCampaign = {
|
|
761
|
+
/**
|
|
762
|
+
* Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
|
|
763
|
+
*/
|
|
761
764
|
id: string;
|
|
765
|
+
/**
|
|
766
|
+
* Human-readable campaign name.
|
|
767
|
+
*/
|
|
762
768
|
name: string;
|
|
769
|
+
/**
|
|
770
|
+
* URL-safe slug auto-generated from name.
|
|
771
|
+
*/
|
|
772
|
+
slug?: string | null | undefined;
|
|
763
773
|
description: string | null;
|
|
764
774
|
context: string | null;
|
|
765
775
|
type: string;
|
|
@@ -836,7 +846,7 @@ export type CreateCampaignType = ClosedEnum<typeof CreateCampaignType>;
|
|
|
836
846
|
|
|
837
847
|
export type CreateCampaignRequest = {
|
|
838
848
|
/**
|
|
839
|
-
*
|
|
849
|
+
* Human-readable campaign name. Use a clear, descriptive title (e.g., 'Reverse Prospecting — LinkedIn Connections', 'SaaS Sales Leaders EU'). Do NOT use slugs or technical IDs.
|
|
840
850
|
*/
|
|
841
851
|
name: string;
|
|
842
852
|
/**
|
|
@@ -862,8 +872,18 @@ export type CreateCampaignStageCounts = {
|
|
|
862
872
|
};
|
|
863
873
|
|
|
864
874
|
export type CreateCampaignCampaign = {
|
|
875
|
+
/**
|
|
876
|
+
* Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
|
|
877
|
+
*/
|
|
865
878
|
id: string;
|
|
879
|
+
/**
|
|
880
|
+
* Human-readable campaign name.
|
|
881
|
+
*/
|
|
866
882
|
name: string;
|
|
883
|
+
/**
|
|
884
|
+
* URL-safe slug auto-generated from name.
|
|
885
|
+
*/
|
|
886
|
+
slug?: string | null | undefined;
|
|
867
887
|
description: string | null;
|
|
868
888
|
context: string | null;
|
|
869
889
|
type: string;
|
|
@@ -934,8 +954,18 @@ export type GetCampaignStageCounts = {
|
|
|
934
954
|
};
|
|
935
955
|
|
|
936
956
|
export type GetCampaignCampaign = {
|
|
957
|
+
/**
|
|
958
|
+
* Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
|
|
959
|
+
*/
|
|
937
960
|
id: string;
|
|
961
|
+
/**
|
|
962
|
+
* Human-readable campaign name.
|
|
963
|
+
*/
|
|
938
964
|
name: string;
|
|
965
|
+
/**
|
|
966
|
+
* URL-safe slug auto-generated from name.
|
|
967
|
+
*/
|
|
968
|
+
slug?: string | null | undefined;
|
|
939
969
|
description: string | null;
|
|
940
970
|
context: string | null;
|
|
941
971
|
type: string;
|
|
@@ -990,6 +1020,28 @@ export type GetCampaignResponse = {
|
|
|
990
1020
|
retryAfter: number;
|
|
991
1021
|
};
|
|
992
1022
|
|
|
1023
|
+
export type DeleteCampaignRequest = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Campaign ID
|
|
1026
|
+
*/
|
|
1027
|
+
campaignId: string;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Campaign deleted
|
|
1032
|
+
*/
|
|
1033
|
+
export type DeleteCampaignResponse = {
|
|
1034
|
+
success: true;
|
|
1035
|
+
/**
|
|
1036
|
+
* Credits consumed by this call (always 0 for contacts queries).
|
|
1037
|
+
*/
|
|
1038
|
+
creditsUsed: number;
|
|
1039
|
+
/**
|
|
1040
|
+
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
1041
|
+
*/
|
|
1042
|
+
retryAfter: number;
|
|
1043
|
+
};
|
|
1044
|
+
|
|
993
1045
|
export const UpdateCampaignStatus = {
|
|
994
1046
|
Draft: "draft",
|
|
995
1047
|
Scheduled: "scheduled",
|
|
@@ -1029,8 +1081,18 @@ export type UpdateCampaignStageCounts = {
|
|
|
1029
1081
|
};
|
|
1030
1082
|
|
|
1031
1083
|
export type UpdateCampaignCampaign = {
|
|
1084
|
+
/**
|
|
1085
|
+
* Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
|
|
1086
|
+
*/
|
|
1032
1087
|
id: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Human-readable campaign name.
|
|
1090
|
+
*/
|
|
1033
1091
|
name: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* URL-safe slug auto-generated from name.
|
|
1094
|
+
*/
|
|
1095
|
+
slug?: string | null | undefined;
|
|
1034
1096
|
description: string | null;
|
|
1035
1097
|
context: string | null;
|
|
1036
1098
|
type: string;
|
|
@@ -1085,28 +1147,6 @@ export type UpdateCampaignResponse = {
|
|
|
1085
1147
|
retryAfter: number;
|
|
1086
1148
|
};
|
|
1087
1149
|
|
|
1088
|
-
export type DeleteCampaignRequest = {
|
|
1089
|
-
/**
|
|
1090
|
-
* Campaign ID
|
|
1091
|
-
*/
|
|
1092
|
-
campaignId: string;
|
|
1093
|
-
};
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* Campaign deleted
|
|
1097
|
-
*/
|
|
1098
|
-
export type DeleteCampaignResponse = {
|
|
1099
|
-
success: true;
|
|
1100
|
-
/**
|
|
1101
|
-
* Credits consumed by this call (always 0 for contacts queries).
|
|
1102
|
-
*/
|
|
1103
|
-
creditsUsed: number;
|
|
1104
|
-
/**
|
|
1105
|
-
* Seconds to wait before next call of the same type (always 0 for contacts queries).
|
|
1106
|
-
*/
|
|
1107
|
-
retryAfter: number;
|
|
1108
|
-
};
|
|
1109
|
-
|
|
1110
1150
|
export const CampaignStatusTransitionAction = {
|
|
1111
1151
|
Activate: "activate",
|
|
1112
1152
|
Start: "start",
|
|
@@ -1145,8 +1185,18 @@ export type CampaignStatusTransitionStageCounts = {
|
|
|
1145
1185
|
};
|
|
1146
1186
|
|
|
1147
1187
|
export type CampaignStatusTransitionCampaign = {
|
|
1188
|
+
/**
|
|
1189
|
+
* Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
|
|
1190
|
+
*/
|
|
1148
1191
|
id: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* Human-readable campaign name.
|
|
1194
|
+
*/
|
|
1149
1195
|
name: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* URL-safe slug auto-generated from name.
|
|
1198
|
+
*/
|
|
1199
|
+
slug?: string | null | undefined;
|
|
1150
1200
|
description: string | null;
|
|
1151
1201
|
context: string | null;
|
|
1152
1202
|
type: string;
|
|
@@ -2995,6 +3045,47 @@ export function setAgentStateResponseFromJSON(
|
|
|
2995
3045
|
);
|
|
2996
3046
|
}
|
|
2997
3047
|
|
|
3048
|
+
/** @internal */
|
|
3049
|
+
export type DeleteAgentStateRequest$Outbound = {
|
|
3050
|
+
key: string;
|
|
3051
|
+
};
|
|
3052
|
+
|
|
3053
|
+
/** @internal */
|
|
3054
|
+
export const DeleteAgentStateRequest$outboundSchema: z.ZodMiniType<
|
|
3055
|
+
DeleteAgentStateRequest$Outbound,
|
|
3056
|
+
DeleteAgentStateRequest
|
|
3057
|
+
> = z.object({
|
|
3058
|
+
key: z.string(),
|
|
3059
|
+
});
|
|
3060
|
+
|
|
3061
|
+
export function deleteAgentStateRequestToJSON(
|
|
3062
|
+
deleteAgentStateRequest: DeleteAgentStateRequest,
|
|
3063
|
+
): string {
|
|
3064
|
+
return JSON.stringify(
|
|
3065
|
+
DeleteAgentStateRequest$outboundSchema.parse(deleteAgentStateRequest),
|
|
3066
|
+
);
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
/** @internal */
|
|
3070
|
+
export const DeleteAgentStateResponse$inboundSchema: z.ZodMiniType<
|
|
3071
|
+
DeleteAgentStateResponse,
|
|
3072
|
+
unknown
|
|
3073
|
+
> = z.object({
|
|
3074
|
+
success: types.literal(true),
|
|
3075
|
+
creditsUsed: types.number(),
|
|
3076
|
+
retryAfter: types.number(),
|
|
3077
|
+
});
|
|
3078
|
+
|
|
3079
|
+
export function deleteAgentStateResponseFromJSON(
|
|
3080
|
+
jsonString: string,
|
|
3081
|
+
): SafeParseResult<DeleteAgentStateResponse, SDKValidationError> {
|
|
3082
|
+
return safeParse(
|
|
3083
|
+
jsonString,
|
|
3084
|
+
(x) => DeleteAgentStateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3085
|
+
`Failed to parse 'DeleteAgentStateResponse' from JSON`,
|
|
3086
|
+
);
|
|
3087
|
+
}
|
|
3088
|
+
|
|
2998
3089
|
/** @internal */
|
|
2999
3090
|
export type PatchAgentStateRequestBody$Outbound = {
|
|
3000
3091
|
data: { [k: string]: any };
|
|
@@ -3062,47 +3153,6 @@ export function patchAgentStateResponseFromJSON(
|
|
|
3062
3153
|
);
|
|
3063
3154
|
}
|
|
3064
3155
|
|
|
3065
|
-
/** @internal */
|
|
3066
|
-
export type DeleteAgentStateRequest$Outbound = {
|
|
3067
|
-
key: string;
|
|
3068
|
-
};
|
|
3069
|
-
|
|
3070
|
-
/** @internal */
|
|
3071
|
-
export const DeleteAgentStateRequest$outboundSchema: z.ZodMiniType<
|
|
3072
|
-
DeleteAgentStateRequest$Outbound,
|
|
3073
|
-
DeleteAgentStateRequest
|
|
3074
|
-
> = z.object({
|
|
3075
|
-
key: z.string(),
|
|
3076
|
-
});
|
|
3077
|
-
|
|
3078
|
-
export function deleteAgentStateRequestToJSON(
|
|
3079
|
-
deleteAgentStateRequest: DeleteAgentStateRequest,
|
|
3080
|
-
): string {
|
|
3081
|
-
return JSON.stringify(
|
|
3082
|
-
DeleteAgentStateRequest$outboundSchema.parse(deleteAgentStateRequest),
|
|
3083
|
-
);
|
|
3084
|
-
}
|
|
3085
|
-
|
|
3086
|
-
/** @internal */
|
|
3087
|
-
export const DeleteAgentStateResponse$inboundSchema: z.ZodMiniType<
|
|
3088
|
-
DeleteAgentStateResponse,
|
|
3089
|
-
unknown
|
|
3090
|
-
> = z.object({
|
|
3091
|
-
success: types.literal(true),
|
|
3092
|
-
creditsUsed: types.number(),
|
|
3093
|
-
retryAfter: types.number(),
|
|
3094
|
-
});
|
|
3095
|
-
|
|
3096
|
-
export function deleteAgentStateResponseFromJSON(
|
|
3097
|
-
jsonString: string,
|
|
3098
|
-
): SafeParseResult<DeleteAgentStateResponse, SDKValidationError> {
|
|
3099
|
-
return safeParse(
|
|
3100
|
-
jsonString,
|
|
3101
|
-
(x) => DeleteAgentStateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3102
|
-
`Failed to parse 'DeleteAgentStateResponse' from JSON`,
|
|
3103
|
-
);
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
3156
|
/** @internal */
|
|
3107
3157
|
export const ListCampaignsType$outboundSchema: z.ZodMiniEnum<
|
|
3108
3158
|
typeof ListCampaignsType
|
|
@@ -3164,6 +3214,7 @@ export const ListCampaignsCampaign$inboundSchema: z.ZodMiniType<
|
|
|
3164
3214
|
> = z.object({
|
|
3165
3215
|
id: types.string(),
|
|
3166
3216
|
name: types.string(),
|
|
3217
|
+
slug: z.optional(z.nullable(types.string())),
|
|
3167
3218
|
description: types.nullable(types.string()),
|
|
3168
3219
|
context: types.nullable(types.string()),
|
|
3169
3220
|
type: types.string(),
|
|
@@ -3296,6 +3347,7 @@ export const CreateCampaignCampaign$inboundSchema: z.ZodMiniType<
|
|
|
3296
3347
|
> = z.object({
|
|
3297
3348
|
id: types.string(),
|
|
3298
3349
|
name: types.string(),
|
|
3350
|
+
slug: z.optional(z.nullable(types.string())),
|
|
3299
3351
|
description: types.nullable(types.string()),
|
|
3300
3352
|
context: types.nullable(types.string()),
|
|
3301
3353
|
type: types.string(),
|
|
@@ -3396,6 +3448,7 @@ export const GetCampaignCampaign$inboundSchema: z.ZodMiniType<
|
|
|
3396
3448
|
> = z.object({
|
|
3397
3449
|
id: types.string(),
|
|
3398
3450
|
name: types.string(),
|
|
3451
|
+
slug: z.optional(z.nullable(types.string())),
|
|
3399
3452
|
description: types.nullable(types.string()),
|
|
3400
3453
|
context: types.nullable(types.string()),
|
|
3401
3454
|
type: types.string(),
|
|
@@ -3446,6 +3499,47 @@ export function getCampaignResponseFromJSON(
|
|
|
3446
3499
|
);
|
|
3447
3500
|
}
|
|
3448
3501
|
|
|
3502
|
+
/** @internal */
|
|
3503
|
+
export type DeleteCampaignRequest$Outbound = {
|
|
3504
|
+
campaignId: string;
|
|
3505
|
+
};
|
|
3506
|
+
|
|
3507
|
+
/** @internal */
|
|
3508
|
+
export const DeleteCampaignRequest$outboundSchema: z.ZodMiniType<
|
|
3509
|
+
DeleteCampaignRequest$Outbound,
|
|
3510
|
+
DeleteCampaignRequest
|
|
3511
|
+
> = z.object({
|
|
3512
|
+
campaignId: z.string(),
|
|
3513
|
+
});
|
|
3514
|
+
|
|
3515
|
+
export function deleteCampaignRequestToJSON(
|
|
3516
|
+
deleteCampaignRequest: DeleteCampaignRequest,
|
|
3517
|
+
): string {
|
|
3518
|
+
return JSON.stringify(
|
|
3519
|
+
DeleteCampaignRequest$outboundSchema.parse(deleteCampaignRequest),
|
|
3520
|
+
);
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
/** @internal */
|
|
3524
|
+
export const DeleteCampaignResponse$inboundSchema: z.ZodMiniType<
|
|
3525
|
+
DeleteCampaignResponse,
|
|
3526
|
+
unknown
|
|
3527
|
+
> = z.object({
|
|
3528
|
+
success: types.literal(true),
|
|
3529
|
+
creditsUsed: types.number(),
|
|
3530
|
+
retryAfter: types.number(),
|
|
3531
|
+
});
|
|
3532
|
+
|
|
3533
|
+
export function deleteCampaignResponseFromJSON(
|
|
3534
|
+
jsonString: string,
|
|
3535
|
+
): SafeParseResult<DeleteCampaignResponse, SDKValidationError> {
|
|
3536
|
+
return safeParse(
|
|
3537
|
+
jsonString,
|
|
3538
|
+
(x) => DeleteCampaignResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3539
|
+
`Failed to parse 'DeleteCampaignResponse' from JSON`,
|
|
3540
|
+
);
|
|
3541
|
+
}
|
|
3542
|
+
|
|
3449
3543
|
/** @internal */
|
|
3450
3544
|
export const UpdateCampaignStatus$outboundSchema: z.ZodMiniEnum<
|
|
3451
3545
|
typeof UpdateCampaignStatus
|
|
@@ -3540,6 +3634,7 @@ export const UpdateCampaignCampaign$inboundSchema: z.ZodMiniType<
|
|
|
3540
3634
|
> = z.object({
|
|
3541
3635
|
id: types.string(),
|
|
3542
3636
|
name: types.string(),
|
|
3637
|
+
slug: z.optional(z.nullable(types.string())),
|
|
3543
3638
|
description: types.nullable(types.string()),
|
|
3544
3639
|
context: types.nullable(types.string()),
|
|
3545
3640
|
type: types.string(),
|
|
@@ -3590,47 +3685,6 @@ export function updateCampaignResponseFromJSON(
|
|
|
3590
3685
|
);
|
|
3591
3686
|
}
|
|
3592
3687
|
|
|
3593
|
-
/** @internal */
|
|
3594
|
-
export type DeleteCampaignRequest$Outbound = {
|
|
3595
|
-
campaignId: string;
|
|
3596
|
-
};
|
|
3597
|
-
|
|
3598
|
-
/** @internal */
|
|
3599
|
-
export const DeleteCampaignRequest$outboundSchema: z.ZodMiniType<
|
|
3600
|
-
DeleteCampaignRequest$Outbound,
|
|
3601
|
-
DeleteCampaignRequest
|
|
3602
|
-
> = z.object({
|
|
3603
|
-
campaignId: z.string(),
|
|
3604
|
-
});
|
|
3605
|
-
|
|
3606
|
-
export function deleteCampaignRequestToJSON(
|
|
3607
|
-
deleteCampaignRequest: DeleteCampaignRequest,
|
|
3608
|
-
): string {
|
|
3609
|
-
return JSON.stringify(
|
|
3610
|
-
DeleteCampaignRequest$outboundSchema.parse(deleteCampaignRequest),
|
|
3611
|
-
);
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
/** @internal */
|
|
3615
|
-
export const DeleteCampaignResponse$inboundSchema: z.ZodMiniType<
|
|
3616
|
-
DeleteCampaignResponse,
|
|
3617
|
-
unknown
|
|
3618
|
-
> = z.object({
|
|
3619
|
-
success: types.literal(true),
|
|
3620
|
-
creditsUsed: types.number(),
|
|
3621
|
-
retryAfter: types.number(),
|
|
3622
|
-
});
|
|
3623
|
-
|
|
3624
|
-
export function deleteCampaignResponseFromJSON(
|
|
3625
|
-
jsonString: string,
|
|
3626
|
-
): SafeParseResult<DeleteCampaignResponse, SDKValidationError> {
|
|
3627
|
-
return safeParse(
|
|
3628
|
-
jsonString,
|
|
3629
|
-
(x) => DeleteCampaignResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3630
|
-
`Failed to parse 'DeleteCampaignResponse' from JSON`,
|
|
3631
|
-
);
|
|
3632
|
-
}
|
|
3633
|
-
|
|
3634
3688
|
/** @internal */
|
|
3635
3689
|
export const CampaignStatusTransitionAction$outboundSchema: z.ZodMiniEnum<
|
|
3636
3690
|
typeof CampaignStatusTransitionAction
|
|
@@ -3724,6 +3778,7 @@ export const CampaignStatusTransitionCampaign$inboundSchema: z.ZodMiniType<
|
|
|
3724
3778
|
> = z.object({
|
|
3725
3779
|
id: types.string(),
|
|
3726
3780
|
name: types.string(),
|
|
3781
|
+
slug: z.optional(z.nullable(types.string())),
|
|
3727
3782
|
description: types.nullable(types.string()),
|
|
3728
3783
|
context: types.nullable(types.string()),
|
|
3729
3784
|
type: types.string(),
|