@atproto/api 0.3.4 → 0.3.6
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/dist/client/lexicons.d.ts +4 -0
- package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/client/types/app/bsky/actor/ref.d.ts +28 -0
- package/dist/client/types/app/bsky/actor/search.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +47 -0
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts +33 -0
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
- package/dist/client/types/app/bsky/feed/generator.d.ts +13 -0
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +25 -0
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +25 -0
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +36 -0
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/client/types/app/bsky/feed/trend.d.ts +9 -0
- package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/vote.d.ts +10 -0
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/client/types/app/bsky/graph/assertion.d.ts +10 -0
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +11 -0
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +36 -0
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +36 -0
- package/dist/client/types/app/bsky/graph/mute.d.ts +17 -0
- package/dist/client/types/app/bsky/graph/unmute.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
- package/dist/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/client/types/app/bsky/system/declRef.d.ts +8 -0
- package/dist/client/types/app/bsky/system/declaration.d.ts +7 -0
- package/dist/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/client/types/com/atproto/account/delete.d.ts +25 -0
- package/dist/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/client/types/com/atproto/admin/blob.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +60 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +43 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
- package/dist/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +46 -0
- package/dist/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/report/create.d.ts +39 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
- package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +27 -0
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- package/dist/client/types/com/atproto/session/create.d.ts +29 -0
- package/dist/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/client/types/com/atproto/session/refresh.d.ts +24 -0
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +9 -0
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/index.js +8 -4
- package/dist/index.js.map +2 -2
- package/dist/session.d.ts +42 -0
- package/dist/src/client/index.d.ts +462 -0
- package/dist/src/client/lexicons.d.ts +2910 -0
- package/dist/src/client/schemas.d.ts +17 -0
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
- package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
- package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
- package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
- package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
- package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
- package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/client/types/app/bsky/like.d.ts +10 -0
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/src/client/types/app/bsky/post.d.ts +23 -0
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
- package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
- package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
- package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
- package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
- package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
- package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
- package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/schemas.d.ts +19 -0
- package/dist/src/session.d.ts +42 -0
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
- package/dist/src/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/types/app/bsky/like.d.ts +10 -0
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/types/app/bsky/post.d.ts +23 -0
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/app/bsky/profile.d.ts +11 -0
- package/dist/src/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
- package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
- package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
- package/dist/src/types/com/atproto/createSession.d.ts +23 -0
- package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
- package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
- package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
- package/dist/src/types/todo/adx/createSession.d.ts +22 -0
- package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/todo/adx/getSession.d.ts +17 -0
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
- package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/social/badge.d.ts +23 -0
- package/dist/src/types/todo/social/follow.d.ts +5 -0
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
- package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
- package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
- package/dist/src/types/todo/social/getProfile.d.ts +40 -0
- package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
- package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
- package/dist/src/types/todo/social/like.d.ts +5 -0
- package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
- package/dist/src/types/todo/social/post.d.ts +18 -0
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/todo/social/profile.d.ts +10 -0
- package/dist/src/types/todo/social/repost.d.ts +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/src/client/index.ts +143 -0
- package/src/client/lexicons.ts +463 -4
- package/src/client/types/app/bsky/actor/defs.ts +19 -0
- package/src/client/types/app/bsky/embed/record.ts +2 -0
- package/src/client/types/app/bsky/feed/defs.ts +90 -2
- package/src/client/types/app/bsky/feed/describeFeedGenerator.ts +70 -0
- package/src/client/types/app/bsky/feed/generator.ts +31 -0
- package/src/client/types/app/bsky/feed/getActorFeeds.ts +39 -0
- package/src/client/types/app/bsky/feed/getFeed.ts +46 -0
- package/src/client/types/app/bsky/feed/getFeedGenerator.ts +38 -0
- package/src/client/types/app/bsky/feed/getFeedGenerators.ts +36 -0
- package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +46 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CallOptions, Client as XrpcClient, ServiceClient as XrpcServiceClient, QueryParams, XRPCResponse } from '@atproto/xrpc';
|
|
2
|
+
import TypedEmitter from 'typed-emitter';
|
|
3
|
+
import { Client, ServiceClient } from './client';
|
|
4
|
+
export declare class SessionClient extends Client {
|
|
5
|
+
service(serviceUri: string | URL): SessionServiceClient;
|
|
6
|
+
}
|
|
7
|
+
declare const defaultInst: SessionClient;
|
|
8
|
+
export default defaultInst;
|
|
9
|
+
export declare class SessionServiceClient extends ServiceClient {
|
|
10
|
+
xrpc: SessionXrpcServiceClient;
|
|
11
|
+
sessionManager: SessionManager;
|
|
12
|
+
constructor(baseClient: Client, xrpcService: SessionXrpcServiceClient);
|
|
13
|
+
}
|
|
14
|
+
export declare class SessionXrpcServiceClient extends XrpcServiceClient {
|
|
15
|
+
sessionManager: SessionManager;
|
|
16
|
+
refreshing?: Promise<XRPCResponse>;
|
|
17
|
+
constructor(baseClient: XrpcClient, serviceUri: string | URL);
|
|
18
|
+
call(methodNsid: string, params?: QueryParams, data?: unknown, opts?: CallOptions): Promise<XRPCResponse>;
|
|
19
|
+
refresh(opts?: CallOptions): Promise<XRPCResponse>;
|
|
20
|
+
private _refresh;
|
|
21
|
+
}
|
|
22
|
+
declare const SessionManager_base: new () => TypedEmitter<SessionEvents>;
|
|
23
|
+
export declare class SessionManager extends SessionManager_base {
|
|
24
|
+
session?: Session;
|
|
25
|
+
get(): Session | undefined;
|
|
26
|
+
set(session: Session): void;
|
|
27
|
+
unset(): void;
|
|
28
|
+
active(): boolean;
|
|
29
|
+
accessHeaders(): {
|
|
30
|
+
authorization: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
refreshHeaders(): {
|
|
33
|
+
authorization: string;
|
|
34
|
+
} | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare type Session = {
|
|
37
|
+
refreshJwt: string;
|
|
38
|
+
accessJwt: string;
|
|
39
|
+
};
|
|
40
|
+
declare type SessionEvents = {
|
|
41
|
+
session: (session?: Session) => void;
|
|
42
|
+
};
|
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';
|
|
2
|
+
import * as ComAtprotoAccountCreate from './types/com/atproto/account/create';
|
|
3
|
+
import * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
4
|
+
import * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
5
|
+
import * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
6
|
+
import * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
7
|
+
import * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
8
|
+
import * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
9
|
+
import * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
10
|
+
import * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
11
|
+
import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
12
|
+
import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
13
|
+
import * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
|
|
14
|
+
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
15
|
+
import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
16
|
+
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
17
|
+
import * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
|
|
18
|
+
import * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
|
|
19
|
+
import * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
|
|
20
|
+
import * as ComAtprotoSessionGet from './types/com/atproto/session/get';
|
|
21
|
+
import * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
|
|
22
|
+
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
23
|
+
import * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
|
|
24
|
+
import * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
|
|
25
|
+
import * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
|
|
26
|
+
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
27
|
+
import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
28
|
+
import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
29
|
+
import * as AppBskyActorSearch from './types/app/bsky/actor/search';
|
|
30
|
+
import * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead';
|
|
31
|
+
import * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile';
|
|
32
|
+
import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
|
|
33
|
+
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
34
|
+
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
35
|
+
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
36
|
+
import * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
|
|
37
|
+
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
38
|
+
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
39
|
+
import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
40
|
+
import * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
|
|
41
|
+
import * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
42
|
+
import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
43
|
+
import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
44
|
+
import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
45
|
+
import * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
|
|
46
|
+
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
47
|
+
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
48
|
+
import * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
|
|
49
|
+
import * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
|
|
50
|
+
import * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
|
|
51
|
+
import * as AppBskyNotificationList from './types/app/bsky/notification/list';
|
|
52
|
+
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
53
|
+
import * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
|
|
54
|
+
export * as ComAtprotoAccountCreate from './types/com/atproto/account/create';
|
|
55
|
+
export * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
56
|
+
export * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
57
|
+
export * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
58
|
+
export * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
59
|
+
export * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
60
|
+
export * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
61
|
+
export * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
62
|
+
export * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
63
|
+
export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
64
|
+
export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
65
|
+
export * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
|
|
66
|
+
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
67
|
+
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
68
|
+
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
69
|
+
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
|
|
70
|
+
export * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
|
|
71
|
+
export * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
|
|
72
|
+
export * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
|
|
73
|
+
export * as ComAtprotoSessionGet from './types/com/atproto/session/get';
|
|
74
|
+
export * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
|
|
75
|
+
export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
76
|
+
export * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
|
|
77
|
+
export * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
|
|
78
|
+
export * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
|
|
79
|
+
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
80
|
+
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
81
|
+
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
82
|
+
export * as AppBskyActorRef from './types/app/bsky/actor/ref';
|
|
83
|
+
export * as AppBskyActorSearch from './types/app/bsky/actor/search';
|
|
84
|
+
export * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead';
|
|
85
|
+
export * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile';
|
|
86
|
+
export * as AppBskyEmbedExternal from './types/app/bsky/embed/external';
|
|
87
|
+
export * as AppBskyEmbedImages from './types/app/bsky/embed/images';
|
|
88
|
+
export * as AppBskyFeedFeedViewPost from './types/app/bsky/feed/feedViewPost';
|
|
89
|
+
export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
|
|
90
|
+
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
91
|
+
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
92
|
+
export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
93
|
+
export * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
|
|
94
|
+
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
95
|
+
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
96
|
+
export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
97
|
+
export * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
|
|
98
|
+
export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
99
|
+
export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
|
|
100
|
+
export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
|
|
101
|
+
export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
102
|
+
export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
103
|
+
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
104
|
+
export * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
|
|
105
|
+
export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
106
|
+
export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
107
|
+
export * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
|
|
108
|
+
export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
|
|
109
|
+
export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
|
|
110
|
+
export * as AppBskyNotificationList from './types/app/bsky/notification/list';
|
|
111
|
+
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
112
|
+
export * as AppBskySystemActorScene from './types/app/bsky/system/actorScene';
|
|
113
|
+
export * as AppBskySystemActorUser from './types/app/bsky/system/actorUser';
|
|
114
|
+
export * as AppBskySystemDeclRef from './types/app/bsky/system/declRef';
|
|
115
|
+
export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
|
|
116
|
+
export declare const APP_BSKY_GRAPH: {
|
|
117
|
+
AssertCreator: string;
|
|
118
|
+
AssertMember: string;
|
|
119
|
+
};
|
|
120
|
+
export declare const APP_BSKY_SYSTEM: {
|
|
121
|
+
ActorScene: string;
|
|
122
|
+
ActorUser: string;
|
|
123
|
+
};
|
|
124
|
+
export declare class Client {
|
|
125
|
+
xrpc: XrpcClient;
|
|
126
|
+
constructor();
|
|
127
|
+
service(serviceUri: string | URL): ServiceClient;
|
|
128
|
+
}
|
|
129
|
+
declare const defaultInst: Client;
|
|
130
|
+
export default defaultInst;
|
|
131
|
+
export declare class ServiceClient {
|
|
132
|
+
_baseClient: Client;
|
|
133
|
+
xrpc: XrpcServiceClient;
|
|
134
|
+
com: ComNS;
|
|
135
|
+
app: AppNS;
|
|
136
|
+
constructor(baseClient: Client, xrpcService: XrpcServiceClient);
|
|
137
|
+
setHeader(key: string, value: string): void;
|
|
138
|
+
}
|
|
139
|
+
export declare class ComNS {
|
|
140
|
+
_service: ServiceClient;
|
|
141
|
+
atproto: AtprotoNS;
|
|
142
|
+
constructor(service: ServiceClient);
|
|
143
|
+
}
|
|
144
|
+
export declare class AtprotoNS {
|
|
145
|
+
_service: ServiceClient;
|
|
146
|
+
account: AccountNS;
|
|
147
|
+
blob: BlobNS;
|
|
148
|
+
handle: HandleNS;
|
|
149
|
+
repo: RepoNS;
|
|
150
|
+
server: ServerNS;
|
|
151
|
+
session: SessionNS;
|
|
152
|
+
sync: SyncNS;
|
|
153
|
+
constructor(service: ServiceClient);
|
|
154
|
+
}
|
|
155
|
+
export declare class AccountNS {
|
|
156
|
+
_service: ServiceClient;
|
|
157
|
+
constructor(service: ServiceClient);
|
|
158
|
+
create(data?: ComAtprotoAccountCreate.InputSchema, opts?: ComAtprotoAccountCreate.CallOptions): Promise<ComAtprotoAccountCreate.Response>;
|
|
159
|
+
createInviteCode(data?: ComAtprotoAccountCreateInviteCode.InputSchema, opts?: ComAtprotoAccountCreateInviteCode.CallOptions): Promise<ComAtprotoAccountCreateInviteCode.Response>;
|
|
160
|
+
delete(data?: ComAtprotoAccountDelete.InputSchema, opts?: ComAtprotoAccountDelete.CallOptions): Promise<ComAtprotoAccountDelete.Response>;
|
|
161
|
+
get(params?: ComAtprotoAccountGet.QueryParams, opts?: ComAtprotoAccountGet.CallOptions): Promise<ComAtprotoAccountGet.Response>;
|
|
162
|
+
requestPasswordReset(data?: ComAtprotoAccountRequestPasswordReset.InputSchema, opts?: ComAtprotoAccountRequestPasswordReset.CallOptions): Promise<ComAtprotoAccountRequestPasswordReset.Response>;
|
|
163
|
+
resetPassword(data?: ComAtprotoAccountResetPassword.InputSchema, opts?: ComAtprotoAccountResetPassword.CallOptions): Promise<ComAtprotoAccountResetPassword.Response>;
|
|
164
|
+
}
|
|
165
|
+
export declare class BlobNS {
|
|
166
|
+
_service: ServiceClient;
|
|
167
|
+
constructor(service: ServiceClient);
|
|
168
|
+
upload(data?: ComAtprotoBlobUpload.InputSchema, opts?: ComAtprotoBlobUpload.CallOptions): Promise<ComAtprotoBlobUpload.Response>;
|
|
169
|
+
}
|
|
170
|
+
export declare class HandleNS {
|
|
171
|
+
_service: ServiceClient;
|
|
172
|
+
constructor(service: ServiceClient);
|
|
173
|
+
resolve(params?: ComAtprotoHandleResolve.QueryParams, opts?: ComAtprotoHandleResolve.CallOptions): Promise<ComAtprotoHandleResolve.Response>;
|
|
174
|
+
}
|
|
175
|
+
export declare class RepoNS {
|
|
176
|
+
_service: ServiceClient;
|
|
177
|
+
constructor(service: ServiceClient);
|
|
178
|
+
batchWrite(data?: ComAtprotoRepoBatchWrite.InputSchema, opts?: ComAtprotoRepoBatchWrite.CallOptions): Promise<ComAtprotoRepoBatchWrite.Response>;
|
|
179
|
+
createRecord(data?: ComAtprotoRepoCreateRecord.InputSchema, opts?: ComAtprotoRepoCreateRecord.CallOptions): Promise<ComAtprotoRepoCreateRecord.Response>;
|
|
180
|
+
deleteRecord(data?: ComAtprotoRepoDeleteRecord.InputSchema, opts?: ComAtprotoRepoDeleteRecord.CallOptions): Promise<ComAtprotoRepoDeleteRecord.Response>;
|
|
181
|
+
describe(params?: ComAtprotoRepoDescribe.QueryParams, opts?: ComAtprotoRepoDescribe.CallOptions): Promise<ComAtprotoRepoDescribe.Response>;
|
|
182
|
+
getRecord(params?: ComAtprotoRepoGetRecord.QueryParams, opts?: ComAtprotoRepoGetRecord.CallOptions): Promise<ComAtprotoRepoGetRecord.Response>;
|
|
183
|
+
listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
|
|
184
|
+
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
|
|
185
|
+
}
|
|
186
|
+
export declare class ServerNS {
|
|
187
|
+
_service: ServiceClient;
|
|
188
|
+
constructor(service: ServiceClient);
|
|
189
|
+
getAccountsConfig(params?: ComAtprotoServerGetAccountsConfig.QueryParams, opts?: ComAtprotoServerGetAccountsConfig.CallOptions): Promise<ComAtprotoServerGetAccountsConfig.Response>;
|
|
190
|
+
}
|
|
191
|
+
export declare class SessionNS {
|
|
192
|
+
_service: ServiceClient;
|
|
193
|
+
constructor(service: ServiceClient);
|
|
194
|
+
create(data?: ComAtprotoSessionCreate.InputSchema, opts?: ComAtprotoSessionCreate.CallOptions): Promise<ComAtprotoSessionCreate.Response>;
|
|
195
|
+
delete(data?: ComAtprotoSessionDelete.InputSchema, opts?: ComAtprotoSessionDelete.CallOptions): Promise<ComAtprotoSessionDelete.Response>;
|
|
196
|
+
get(params?: ComAtprotoSessionGet.QueryParams, opts?: ComAtprotoSessionGet.CallOptions): Promise<ComAtprotoSessionGet.Response>;
|
|
197
|
+
refresh(data?: ComAtprotoSessionRefresh.InputSchema, opts?: ComAtprotoSessionRefresh.CallOptions): Promise<ComAtprotoSessionRefresh.Response>;
|
|
198
|
+
}
|
|
199
|
+
export declare class SyncNS {
|
|
200
|
+
_service: ServiceClient;
|
|
201
|
+
constructor(service: ServiceClient);
|
|
202
|
+
getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
|
|
203
|
+
getRoot(params?: ComAtprotoSyncGetRoot.QueryParams, opts?: ComAtprotoSyncGetRoot.CallOptions): Promise<ComAtprotoSyncGetRoot.Response>;
|
|
204
|
+
updateRepo(data?: ComAtprotoSyncUpdateRepo.InputSchema, opts?: ComAtprotoSyncUpdateRepo.CallOptions): Promise<ComAtprotoSyncUpdateRepo.Response>;
|
|
205
|
+
}
|
|
206
|
+
export declare class AppNS {
|
|
207
|
+
_service: ServiceClient;
|
|
208
|
+
bsky: BskyNS;
|
|
209
|
+
constructor(service: ServiceClient);
|
|
210
|
+
}
|
|
211
|
+
export declare class BskyNS {
|
|
212
|
+
_service: ServiceClient;
|
|
213
|
+
actor: ActorNS;
|
|
214
|
+
embed: EmbedNS;
|
|
215
|
+
feed: FeedNS;
|
|
216
|
+
graph: GraphNS;
|
|
217
|
+
notification: NotificationNS;
|
|
218
|
+
system: SystemNS;
|
|
219
|
+
constructor(service: ServiceClient);
|
|
220
|
+
}
|
|
221
|
+
export declare class ActorNS {
|
|
222
|
+
_service: ServiceClient;
|
|
223
|
+
profile: ProfileRecord;
|
|
224
|
+
constructor(service: ServiceClient);
|
|
225
|
+
createScene(data?: AppBskyActorCreateScene.InputSchema, opts?: AppBskyActorCreateScene.CallOptions): Promise<AppBskyActorCreateScene.Response>;
|
|
226
|
+
getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
|
|
227
|
+
getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
|
|
228
|
+
search(params?: AppBskyActorSearch.QueryParams, opts?: AppBskyActorSearch.CallOptions): Promise<AppBskyActorSearch.Response>;
|
|
229
|
+
searchTypeahead(params?: AppBskyActorSearchTypeahead.QueryParams, opts?: AppBskyActorSearchTypeahead.CallOptions): Promise<AppBskyActorSearchTypeahead.Response>;
|
|
230
|
+
updateProfile(data?: AppBskyActorUpdateProfile.InputSchema, opts?: AppBskyActorUpdateProfile.CallOptions): Promise<AppBskyActorUpdateProfile.Response>;
|
|
231
|
+
}
|
|
232
|
+
export declare class ProfileRecord {
|
|
233
|
+
_service: ServiceClient;
|
|
234
|
+
constructor(service: ServiceClient);
|
|
235
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
236
|
+
cursor?: string;
|
|
237
|
+
records: {
|
|
238
|
+
uri: string;
|
|
239
|
+
value: AppBskyActorProfile.Record;
|
|
240
|
+
}[];
|
|
241
|
+
}>;
|
|
242
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
243
|
+
uri: string;
|
|
244
|
+
cid: string;
|
|
245
|
+
value: AppBskyActorProfile.Record;
|
|
246
|
+
}>;
|
|
247
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyActorProfile.Record, headers?: Record<string, string>): Promise<{
|
|
248
|
+
uri: string;
|
|
249
|
+
cid: string;
|
|
250
|
+
}>;
|
|
251
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
252
|
+
}
|
|
253
|
+
export declare class EmbedNS {
|
|
254
|
+
_service: ServiceClient;
|
|
255
|
+
constructor(service: ServiceClient);
|
|
256
|
+
}
|
|
257
|
+
export declare class FeedNS {
|
|
258
|
+
_service: ServiceClient;
|
|
259
|
+
post: PostRecord;
|
|
260
|
+
repost: RepostRecord;
|
|
261
|
+
trend: TrendRecord;
|
|
262
|
+
vote: VoteRecord;
|
|
263
|
+
constructor(service: ServiceClient);
|
|
264
|
+
getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
|
|
265
|
+
getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
|
|
266
|
+
getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
|
|
267
|
+
getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>;
|
|
268
|
+
getVotes(params?: AppBskyFeedGetVotes.QueryParams, opts?: AppBskyFeedGetVotes.CallOptions): Promise<AppBskyFeedGetVotes.Response>;
|
|
269
|
+
setVote(data?: AppBskyFeedSetVote.InputSchema, opts?: AppBskyFeedSetVote.CallOptions): Promise<AppBskyFeedSetVote.Response>;
|
|
270
|
+
}
|
|
271
|
+
export declare class PostRecord {
|
|
272
|
+
_service: ServiceClient;
|
|
273
|
+
constructor(service: ServiceClient);
|
|
274
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
275
|
+
cursor?: string;
|
|
276
|
+
records: {
|
|
277
|
+
uri: string;
|
|
278
|
+
value: AppBskyFeedPost.Record;
|
|
279
|
+
}[];
|
|
280
|
+
}>;
|
|
281
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
282
|
+
uri: string;
|
|
283
|
+
cid: string;
|
|
284
|
+
value: AppBskyFeedPost.Record;
|
|
285
|
+
}>;
|
|
286
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedPost.Record, headers?: Record<string, string>): Promise<{
|
|
287
|
+
uri: string;
|
|
288
|
+
cid: string;
|
|
289
|
+
}>;
|
|
290
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
291
|
+
}
|
|
292
|
+
export declare class RepostRecord {
|
|
293
|
+
_service: ServiceClient;
|
|
294
|
+
constructor(service: ServiceClient);
|
|
295
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
296
|
+
cursor?: string;
|
|
297
|
+
records: {
|
|
298
|
+
uri: string;
|
|
299
|
+
value: AppBskyFeedRepost.Record;
|
|
300
|
+
}[];
|
|
301
|
+
}>;
|
|
302
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
303
|
+
uri: string;
|
|
304
|
+
cid: string;
|
|
305
|
+
value: AppBskyFeedRepost.Record;
|
|
306
|
+
}>;
|
|
307
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedRepost.Record, headers?: Record<string, string>): Promise<{
|
|
308
|
+
uri: string;
|
|
309
|
+
cid: string;
|
|
310
|
+
}>;
|
|
311
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
312
|
+
}
|
|
313
|
+
export declare class TrendRecord {
|
|
314
|
+
_service: ServiceClient;
|
|
315
|
+
constructor(service: ServiceClient);
|
|
316
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
317
|
+
cursor?: string;
|
|
318
|
+
records: {
|
|
319
|
+
uri: string;
|
|
320
|
+
value: AppBskyFeedTrend.Record;
|
|
321
|
+
}[];
|
|
322
|
+
}>;
|
|
323
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
324
|
+
uri: string;
|
|
325
|
+
cid: string;
|
|
326
|
+
value: AppBskyFeedTrend.Record;
|
|
327
|
+
}>;
|
|
328
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedTrend.Record, headers?: Record<string, string>): Promise<{
|
|
329
|
+
uri: string;
|
|
330
|
+
cid: string;
|
|
331
|
+
}>;
|
|
332
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
333
|
+
}
|
|
334
|
+
export declare class VoteRecord {
|
|
335
|
+
_service: ServiceClient;
|
|
336
|
+
constructor(service: ServiceClient);
|
|
337
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
338
|
+
cursor?: string;
|
|
339
|
+
records: {
|
|
340
|
+
uri: string;
|
|
341
|
+
value: AppBskyFeedVote.Record;
|
|
342
|
+
}[];
|
|
343
|
+
}>;
|
|
344
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
345
|
+
uri: string;
|
|
346
|
+
cid: string;
|
|
347
|
+
value: AppBskyFeedVote.Record;
|
|
348
|
+
}>;
|
|
349
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedVote.Record, headers?: Record<string, string>): Promise<{
|
|
350
|
+
uri: string;
|
|
351
|
+
cid: string;
|
|
352
|
+
}>;
|
|
353
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
354
|
+
}
|
|
355
|
+
export declare class GraphNS {
|
|
356
|
+
_service: ServiceClient;
|
|
357
|
+
assertion: AssertionRecord;
|
|
358
|
+
confirmation: ConfirmationRecord;
|
|
359
|
+
follow: FollowRecord;
|
|
360
|
+
constructor(service: ServiceClient);
|
|
361
|
+
getAssertions(params?: AppBskyGraphGetAssertions.QueryParams, opts?: AppBskyGraphGetAssertions.CallOptions): Promise<AppBskyGraphGetAssertions.Response>;
|
|
362
|
+
getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
|
|
363
|
+
getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
|
|
364
|
+
getMembers(params?: AppBskyGraphGetMembers.QueryParams, opts?: AppBskyGraphGetMembers.CallOptions): Promise<AppBskyGraphGetMembers.Response>;
|
|
365
|
+
getMemberships(params?: AppBskyGraphGetMemberships.QueryParams, opts?: AppBskyGraphGetMemberships.CallOptions): Promise<AppBskyGraphGetMemberships.Response>;
|
|
366
|
+
}
|
|
367
|
+
export declare class AssertionRecord {
|
|
368
|
+
_service: ServiceClient;
|
|
369
|
+
constructor(service: ServiceClient);
|
|
370
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
371
|
+
cursor?: string;
|
|
372
|
+
records: {
|
|
373
|
+
uri: string;
|
|
374
|
+
value: AppBskyGraphAssertion.Record;
|
|
375
|
+
}[];
|
|
376
|
+
}>;
|
|
377
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
378
|
+
uri: string;
|
|
379
|
+
cid: string;
|
|
380
|
+
value: AppBskyGraphAssertion.Record;
|
|
381
|
+
}>;
|
|
382
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphAssertion.Record, headers?: Record<string, string>): Promise<{
|
|
383
|
+
uri: string;
|
|
384
|
+
cid: string;
|
|
385
|
+
}>;
|
|
386
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
387
|
+
}
|
|
388
|
+
export declare class ConfirmationRecord {
|
|
389
|
+
_service: ServiceClient;
|
|
390
|
+
constructor(service: ServiceClient);
|
|
391
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
392
|
+
cursor?: string;
|
|
393
|
+
records: {
|
|
394
|
+
uri: string;
|
|
395
|
+
value: AppBskyGraphConfirmation.Record;
|
|
396
|
+
}[];
|
|
397
|
+
}>;
|
|
398
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
399
|
+
uri: string;
|
|
400
|
+
cid: string;
|
|
401
|
+
value: AppBskyGraphConfirmation.Record;
|
|
402
|
+
}>;
|
|
403
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphConfirmation.Record, headers?: Record<string, string>): Promise<{
|
|
404
|
+
uri: string;
|
|
405
|
+
cid: string;
|
|
406
|
+
}>;
|
|
407
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
408
|
+
}
|
|
409
|
+
export declare class FollowRecord {
|
|
410
|
+
_service: ServiceClient;
|
|
411
|
+
constructor(service: ServiceClient);
|
|
412
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
413
|
+
cursor?: string;
|
|
414
|
+
records: {
|
|
415
|
+
uri: string;
|
|
416
|
+
value: AppBskyGraphFollow.Record;
|
|
417
|
+
}[];
|
|
418
|
+
}>;
|
|
419
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
420
|
+
uri: string;
|
|
421
|
+
cid: string;
|
|
422
|
+
value: AppBskyGraphFollow.Record;
|
|
423
|
+
}>;
|
|
424
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphFollow.Record, headers?: Record<string, string>): Promise<{
|
|
425
|
+
uri: string;
|
|
426
|
+
cid: string;
|
|
427
|
+
}>;
|
|
428
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
429
|
+
}
|
|
430
|
+
export declare class NotificationNS {
|
|
431
|
+
_service: ServiceClient;
|
|
432
|
+
constructor(service: ServiceClient);
|
|
433
|
+
getCount(params?: AppBskyNotificationGetCount.QueryParams, opts?: AppBskyNotificationGetCount.CallOptions): Promise<AppBskyNotificationGetCount.Response>;
|
|
434
|
+
list(params?: AppBskyNotificationList.QueryParams, opts?: AppBskyNotificationList.CallOptions): Promise<AppBskyNotificationList.Response>;
|
|
435
|
+
updateSeen(data?: AppBskyNotificationUpdateSeen.InputSchema, opts?: AppBskyNotificationUpdateSeen.CallOptions): Promise<AppBskyNotificationUpdateSeen.Response>;
|
|
436
|
+
}
|
|
437
|
+
export declare class SystemNS {
|
|
438
|
+
_service: ServiceClient;
|
|
439
|
+
declaration: DeclarationRecord;
|
|
440
|
+
constructor(service: ServiceClient);
|
|
441
|
+
}
|
|
442
|
+
export declare class DeclarationRecord {
|
|
443
|
+
_service: ServiceClient;
|
|
444
|
+
constructor(service: ServiceClient);
|
|
445
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
446
|
+
cursor?: string;
|
|
447
|
+
records: {
|
|
448
|
+
uri: string;
|
|
449
|
+
value: AppBskySystemDeclaration.Record;
|
|
450
|
+
}[];
|
|
451
|
+
}>;
|
|
452
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
453
|
+
uri: string;
|
|
454
|
+
cid: string;
|
|
455
|
+
value: AppBskySystemDeclaration.Record;
|
|
456
|
+
}>;
|
|
457
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskySystemDeclaration.Record, headers?: Record<string, string>): Promise<{
|
|
458
|
+
uri: string;
|
|
459
|
+
cid: string;
|
|
460
|
+
}>;
|
|
461
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
462
|
+
}
|