@atproto/api 0.4.1 → 0.4.3
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/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +45 -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/feedViewPost.d.ts +28 -0
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -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/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -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/admin/sendEmail.d.ts +24 -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 +298 -237
- package/dist/index.js.map +4 -4
- 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 +13 -0
- package/src/client/lexicons.ts +45 -0
- package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +1 -0
- package/src/client/types/com/atproto/admin/sendEmail.ts +40 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -8955,6 +8955,7 @@ __export(src_exports4, {
|
|
|
8955
8955
|
ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
|
|
8956
8956
|
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
8957
8957
|
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
8958
|
+
ComAtprotoAdminSendEmail: () => sendEmail_exports,
|
|
8958
8959
|
ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
|
|
8959
8960
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8960
8961
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
@@ -16846,6 +16847,47 @@ var schemaDict = {
|
|
|
16846
16847
|
}
|
|
16847
16848
|
}
|
|
16848
16849
|
},
|
|
16850
|
+
ComAtprotoAdminSendEmail: {
|
|
16851
|
+
lexicon: 1,
|
|
16852
|
+
id: "com.atproto.admin.sendEmail",
|
|
16853
|
+
defs: {
|
|
16854
|
+
main: {
|
|
16855
|
+
type: "procedure",
|
|
16856
|
+
description: "Send email to a user's primary email address",
|
|
16857
|
+
input: {
|
|
16858
|
+
encoding: "application/json",
|
|
16859
|
+
schema: {
|
|
16860
|
+
type: "object",
|
|
16861
|
+
required: ["recipientDid", "content"],
|
|
16862
|
+
properties: {
|
|
16863
|
+
recipientDid: {
|
|
16864
|
+
type: "string",
|
|
16865
|
+
format: "did"
|
|
16866
|
+
},
|
|
16867
|
+
content: {
|
|
16868
|
+
type: "string"
|
|
16869
|
+
},
|
|
16870
|
+
subject: {
|
|
16871
|
+
type: "string"
|
|
16872
|
+
}
|
|
16873
|
+
}
|
|
16874
|
+
}
|
|
16875
|
+
},
|
|
16876
|
+
output: {
|
|
16877
|
+
encoding: "application/json",
|
|
16878
|
+
schema: {
|
|
16879
|
+
type: "object",
|
|
16880
|
+
required: ["sent"],
|
|
16881
|
+
properties: {
|
|
16882
|
+
sent: {
|
|
16883
|
+
type: "boolean"
|
|
16884
|
+
}
|
|
16885
|
+
}
|
|
16886
|
+
}
|
|
16887
|
+
}
|
|
16888
|
+
}
|
|
16889
|
+
}
|
|
16890
|
+
},
|
|
16849
16891
|
ComAtprotoAdminTakeModerationAction: {
|
|
16850
16892
|
lexicon: 1,
|
|
16851
16893
|
id: "com.atproto.admin.takeModerationAction",
|
|
@@ -21953,6 +21995,9 @@ var schemaDict = {
|
|
|
21953
21995
|
},
|
|
21954
21996
|
cursor: {
|
|
21955
21997
|
type: "string"
|
|
21998
|
+
},
|
|
21999
|
+
query: {
|
|
22000
|
+
type: "string"
|
|
21956
22001
|
}
|
|
21957
22002
|
}
|
|
21958
22003
|
},
|
|
@@ -22216,18 +22261,29 @@ function toKnownErr14(e) {
|
|
|
22216
22261
|
return e;
|
|
22217
22262
|
}
|
|
22218
22263
|
|
|
22264
|
+
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
22265
|
+
var sendEmail_exports = {};
|
|
22266
|
+
__export(sendEmail_exports, {
|
|
22267
|
+
toKnownErr: () => toKnownErr15
|
|
22268
|
+
});
|
|
22269
|
+
function toKnownErr15(e) {
|
|
22270
|
+
if (e instanceof XRPCError) {
|
|
22271
|
+
}
|
|
22272
|
+
return e;
|
|
22273
|
+
}
|
|
22274
|
+
|
|
22219
22275
|
// src/client/types/com/atproto/admin/takeModerationAction.ts
|
|
22220
22276
|
var takeModerationAction_exports = {};
|
|
22221
22277
|
__export(takeModerationAction_exports, {
|
|
22222
22278
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
22223
|
-
toKnownErr: () =>
|
|
22279
|
+
toKnownErr: () => toKnownErr16
|
|
22224
22280
|
});
|
|
22225
22281
|
var SubjectHasActionError = class extends XRPCError {
|
|
22226
22282
|
constructor(src2) {
|
|
22227
22283
|
super(src2.status, src2.error, src2.message);
|
|
22228
22284
|
}
|
|
22229
22285
|
};
|
|
22230
|
-
function
|
|
22286
|
+
function toKnownErr16(e) {
|
|
22231
22287
|
if (e instanceof XRPCError) {
|
|
22232
22288
|
if (e.error === "SubjectHasAction")
|
|
22233
22289
|
return new SubjectHasActionError(e);
|
|
@@ -22238,9 +22294,9 @@ function toKnownErr15(e) {
|
|
|
22238
22294
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
22239
22295
|
var updateAccountEmail_exports = {};
|
|
22240
22296
|
__export(updateAccountEmail_exports, {
|
|
22241
|
-
toKnownErr: () =>
|
|
22297
|
+
toKnownErr: () => toKnownErr17
|
|
22242
22298
|
});
|
|
22243
|
-
function
|
|
22299
|
+
function toKnownErr17(e) {
|
|
22244
22300
|
if (e instanceof XRPCError) {
|
|
22245
22301
|
}
|
|
22246
22302
|
return e;
|
|
@@ -22249,9 +22305,9 @@ function toKnownErr16(e) {
|
|
|
22249
22305
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
22250
22306
|
var updateAccountHandle_exports = {};
|
|
22251
22307
|
__export(updateAccountHandle_exports, {
|
|
22252
|
-
toKnownErr: () =>
|
|
22308
|
+
toKnownErr: () => toKnownErr18
|
|
22253
22309
|
});
|
|
22254
|
-
function
|
|
22310
|
+
function toKnownErr18(e) {
|
|
22255
22311
|
if (e instanceof XRPCError) {
|
|
22256
22312
|
}
|
|
22257
22313
|
return e;
|
|
@@ -22260,9 +22316,9 @@ function toKnownErr17(e) {
|
|
|
22260
22316
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
22261
22317
|
var resolveHandle_exports = {};
|
|
22262
22318
|
__export(resolveHandle_exports, {
|
|
22263
|
-
toKnownErr: () =>
|
|
22319
|
+
toKnownErr: () => toKnownErr19
|
|
22264
22320
|
});
|
|
22265
|
-
function
|
|
22321
|
+
function toKnownErr19(e) {
|
|
22266
22322
|
if (e instanceof XRPCError) {
|
|
22267
22323
|
}
|
|
22268
22324
|
return e;
|
|
@@ -22271,9 +22327,9 @@ function toKnownErr18(e) {
|
|
|
22271
22327
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
22272
22328
|
var updateHandle_exports = {};
|
|
22273
22329
|
__export(updateHandle_exports, {
|
|
22274
|
-
toKnownErr: () =>
|
|
22330
|
+
toKnownErr: () => toKnownErr20
|
|
22275
22331
|
});
|
|
22276
|
-
function
|
|
22332
|
+
function toKnownErr20(e) {
|
|
22277
22333
|
if (e instanceof XRPCError) {
|
|
22278
22334
|
}
|
|
22279
22335
|
return e;
|
|
@@ -22282,9 +22338,9 @@ function toKnownErr19(e) {
|
|
|
22282
22338
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
22283
22339
|
var queryLabels_exports = {};
|
|
22284
22340
|
__export(queryLabels_exports, {
|
|
22285
|
-
toKnownErr: () =>
|
|
22341
|
+
toKnownErr: () => toKnownErr21
|
|
22286
22342
|
});
|
|
22287
|
-
function
|
|
22343
|
+
function toKnownErr21(e) {
|
|
22288
22344
|
if (e instanceof XRPCError) {
|
|
22289
22345
|
}
|
|
22290
22346
|
return e;
|
|
@@ -22293,9 +22349,9 @@ function toKnownErr20(e) {
|
|
|
22293
22349
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
22294
22350
|
var createReport_exports = {};
|
|
22295
22351
|
__export(createReport_exports, {
|
|
22296
|
-
toKnownErr: () =>
|
|
22352
|
+
toKnownErr: () => toKnownErr22
|
|
22297
22353
|
});
|
|
22298
|
-
function
|
|
22354
|
+
function toKnownErr22(e) {
|
|
22299
22355
|
if (e instanceof XRPCError) {
|
|
22300
22356
|
}
|
|
22301
22357
|
return e;
|
|
@@ -22308,7 +22364,7 @@ __export(applyWrites_exports, {
|
|
|
22308
22364
|
isCreate: () => isCreate,
|
|
22309
22365
|
isDelete: () => isDelete,
|
|
22310
22366
|
isUpdate: () => isUpdate,
|
|
22311
|
-
toKnownErr: () =>
|
|
22367
|
+
toKnownErr: () => toKnownErr23,
|
|
22312
22368
|
validateCreate: () => validateCreate,
|
|
22313
22369
|
validateDelete: () => validateDelete,
|
|
22314
22370
|
validateUpdate: () => validateUpdate
|
|
@@ -22328,7 +22384,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
22328
22384
|
super(src2.status, src2.error, src2.message);
|
|
22329
22385
|
}
|
|
22330
22386
|
};
|
|
22331
|
-
function
|
|
22387
|
+
function toKnownErr23(e) {
|
|
22332
22388
|
if (e instanceof XRPCError) {
|
|
22333
22389
|
if (e.error === "InvalidSwap")
|
|
22334
22390
|
return new InvalidSwapError2(e);
|
|
@@ -22358,14 +22414,14 @@ function validateDelete(v) {
|
|
|
22358
22414
|
var createRecord_exports = {};
|
|
22359
22415
|
__export(createRecord_exports, {
|
|
22360
22416
|
InvalidSwapError: () => InvalidSwapError3,
|
|
22361
|
-
toKnownErr: () =>
|
|
22417
|
+
toKnownErr: () => toKnownErr24
|
|
22362
22418
|
});
|
|
22363
22419
|
var InvalidSwapError3 = class extends XRPCError {
|
|
22364
22420
|
constructor(src2) {
|
|
22365
22421
|
super(src2.status, src2.error, src2.message);
|
|
22366
22422
|
}
|
|
22367
22423
|
};
|
|
22368
|
-
function
|
|
22424
|
+
function toKnownErr24(e) {
|
|
22369
22425
|
if (e instanceof XRPCError) {
|
|
22370
22426
|
if (e.error === "InvalidSwap")
|
|
22371
22427
|
return new InvalidSwapError3(e);
|
|
@@ -22377,14 +22433,14 @@ function toKnownErr23(e) {
|
|
|
22377
22433
|
var deleteRecord_exports = {};
|
|
22378
22434
|
__export(deleteRecord_exports, {
|
|
22379
22435
|
InvalidSwapError: () => InvalidSwapError4,
|
|
22380
|
-
toKnownErr: () =>
|
|
22436
|
+
toKnownErr: () => toKnownErr25
|
|
22381
22437
|
});
|
|
22382
22438
|
var InvalidSwapError4 = class extends XRPCError {
|
|
22383
22439
|
constructor(src2) {
|
|
22384
22440
|
super(src2.status, src2.error, src2.message);
|
|
22385
22441
|
}
|
|
22386
22442
|
};
|
|
22387
|
-
function
|
|
22443
|
+
function toKnownErr25(e) {
|
|
22388
22444
|
if (e instanceof XRPCError) {
|
|
22389
22445
|
if (e.error === "InvalidSwap")
|
|
22390
22446
|
return new InvalidSwapError4(e);
|
|
@@ -22395,9 +22451,9 @@ function toKnownErr24(e) {
|
|
|
22395
22451
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
22396
22452
|
var describeRepo_exports = {};
|
|
22397
22453
|
__export(describeRepo_exports, {
|
|
22398
|
-
toKnownErr: () =>
|
|
22454
|
+
toKnownErr: () => toKnownErr26
|
|
22399
22455
|
});
|
|
22400
|
-
function
|
|
22456
|
+
function toKnownErr26(e) {
|
|
22401
22457
|
if (e instanceof XRPCError) {
|
|
22402
22458
|
}
|
|
22403
22459
|
return e;
|
|
@@ -22406,9 +22462,9 @@ function toKnownErr25(e) {
|
|
|
22406
22462
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
22407
22463
|
var getRecord_exports2 = {};
|
|
22408
22464
|
__export(getRecord_exports2, {
|
|
22409
|
-
toKnownErr: () =>
|
|
22465
|
+
toKnownErr: () => toKnownErr27
|
|
22410
22466
|
});
|
|
22411
|
-
function
|
|
22467
|
+
function toKnownErr27(e) {
|
|
22412
22468
|
if (e instanceof XRPCError) {
|
|
22413
22469
|
}
|
|
22414
22470
|
return e;
|
|
@@ -22418,10 +22474,10 @@ function toKnownErr26(e) {
|
|
|
22418
22474
|
var listRecords_exports = {};
|
|
22419
22475
|
__export(listRecords_exports, {
|
|
22420
22476
|
isRecord: () => isRecord,
|
|
22421
|
-
toKnownErr: () =>
|
|
22477
|
+
toKnownErr: () => toKnownErr28,
|
|
22422
22478
|
validateRecord: () => validateRecord
|
|
22423
22479
|
});
|
|
22424
|
-
function
|
|
22480
|
+
function toKnownErr28(e) {
|
|
22425
22481
|
if (e instanceof XRPCError) {
|
|
22426
22482
|
}
|
|
22427
22483
|
return e;
|
|
@@ -22437,14 +22493,14 @@ function validateRecord(v) {
|
|
|
22437
22493
|
var putRecord_exports = {};
|
|
22438
22494
|
__export(putRecord_exports, {
|
|
22439
22495
|
InvalidSwapError: () => InvalidSwapError5,
|
|
22440
|
-
toKnownErr: () =>
|
|
22496
|
+
toKnownErr: () => toKnownErr29
|
|
22441
22497
|
});
|
|
22442
22498
|
var InvalidSwapError5 = class extends XRPCError {
|
|
22443
22499
|
constructor(src2) {
|
|
22444
22500
|
super(src2.status, src2.error, src2.message);
|
|
22445
22501
|
}
|
|
22446
22502
|
};
|
|
22447
|
-
function
|
|
22503
|
+
function toKnownErr29(e) {
|
|
22448
22504
|
if (e instanceof XRPCError) {
|
|
22449
22505
|
if (e.error === "InvalidSwap")
|
|
22450
22506
|
return new InvalidSwapError5(e);
|
|
@@ -22457,7 +22513,7 @@ var rebaseRepo_exports2 = {};
|
|
|
22457
22513
|
__export(rebaseRepo_exports2, {
|
|
22458
22514
|
ConcurrentWritesError: () => ConcurrentWritesError2,
|
|
22459
22515
|
InvalidSwapError: () => InvalidSwapError6,
|
|
22460
|
-
toKnownErr: () =>
|
|
22516
|
+
toKnownErr: () => toKnownErr30
|
|
22461
22517
|
});
|
|
22462
22518
|
var InvalidSwapError6 = class extends XRPCError {
|
|
22463
22519
|
constructor(src2) {
|
|
@@ -22469,7 +22525,7 @@ var ConcurrentWritesError2 = class extends XRPCError {
|
|
|
22469
22525
|
super(src2.status, src2.error, src2.message);
|
|
22470
22526
|
}
|
|
22471
22527
|
};
|
|
22472
|
-
function
|
|
22528
|
+
function toKnownErr30(e) {
|
|
22473
22529
|
if (e instanceof XRPCError) {
|
|
22474
22530
|
if (e.error === "InvalidSwap")
|
|
22475
22531
|
return new InvalidSwapError6(e);
|
|
@@ -22482,9 +22538,9 @@ function toKnownErr29(e) {
|
|
|
22482
22538
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
22483
22539
|
var uploadBlob_exports = {};
|
|
22484
22540
|
__export(uploadBlob_exports, {
|
|
22485
|
-
toKnownErr: () =>
|
|
22541
|
+
toKnownErr: () => toKnownErr31
|
|
22486
22542
|
});
|
|
22487
|
-
function
|
|
22543
|
+
function toKnownErr31(e) {
|
|
22488
22544
|
if (e instanceof XRPCError) {
|
|
22489
22545
|
}
|
|
22490
22546
|
return e;
|
|
@@ -22500,7 +22556,7 @@ __export(createAccount_exports, {
|
|
|
22500
22556
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
22501
22557
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
22502
22558
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
22503
|
-
toKnownErr: () =>
|
|
22559
|
+
toKnownErr: () => toKnownErr32
|
|
22504
22560
|
});
|
|
22505
22561
|
var InvalidHandleError2 = class extends XRPCError {
|
|
22506
22562
|
constructor(src2) {
|
|
@@ -22537,7 +22593,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
22537
22593
|
super(src2.status, src2.error, src2.message);
|
|
22538
22594
|
}
|
|
22539
22595
|
};
|
|
22540
|
-
function
|
|
22596
|
+
function toKnownErr32(e) {
|
|
22541
22597
|
if (e instanceof XRPCError) {
|
|
22542
22598
|
if (e.error === "InvalidHandle")
|
|
22543
22599
|
return new InvalidHandleError2(e);
|
|
@@ -22562,7 +22618,7 @@ var createAppPassword_exports = {};
|
|
|
22562
22618
|
__export(createAppPassword_exports, {
|
|
22563
22619
|
AccountTakedownError: () => AccountTakedownError,
|
|
22564
22620
|
isAppPassword: () => isAppPassword,
|
|
22565
|
-
toKnownErr: () =>
|
|
22621
|
+
toKnownErr: () => toKnownErr33,
|
|
22566
22622
|
validateAppPassword: () => validateAppPassword
|
|
22567
22623
|
});
|
|
22568
22624
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -22570,7 +22626,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
22570
22626
|
super(src2.status, src2.error, src2.message);
|
|
22571
22627
|
}
|
|
22572
22628
|
};
|
|
22573
|
-
function
|
|
22629
|
+
function toKnownErr33(e) {
|
|
22574
22630
|
if (e instanceof XRPCError) {
|
|
22575
22631
|
if (e.error === "AccountTakedown")
|
|
22576
22632
|
return new AccountTakedownError(e);
|
|
@@ -22590,9 +22646,9 @@ function validateAppPassword(v) {
|
|
|
22590
22646
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
22591
22647
|
var createInviteCode_exports = {};
|
|
22592
22648
|
__export(createInviteCode_exports, {
|
|
22593
|
-
toKnownErr: () =>
|
|
22649
|
+
toKnownErr: () => toKnownErr34
|
|
22594
22650
|
});
|
|
22595
|
-
function
|
|
22651
|
+
function toKnownErr34(e) {
|
|
22596
22652
|
if (e instanceof XRPCError) {
|
|
22597
22653
|
}
|
|
22598
22654
|
return e;
|
|
@@ -22602,10 +22658,10 @@ function toKnownErr33(e) {
|
|
|
22602
22658
|
var createInviteCodes_exports = {};
|
|
22603
22659
|
__export(createInviteCodes_exports, {
|
|
22604
22660
|
isAccountCodes: () => isAccountCodes,
|
|
22605
|
-
toKnownErr: () =>
|
|
22661
|
+
toKnownErr: () => toKnownErr35,
|
|
22606
22662
|
validateAccountCodes: () => validateAccountCodes
|
|
22607
22663
|
});
|
|
22608
|
-
function
|
|
22664
|
+
function toKnownErr35(e) {
|
|
22609
22665
|
if (e instanceof XRPCError) {
|
|
22610
22666
|
}
|
|
22611
22667
|
return e;
|
|
@@ -22624,14 +22680,14 @@ function validateAccountCodes(v) {
|
|
|
22624
22680
|
var createSession_exports = {};
|
|
22625
22681
|
__export(createSession_exports, {
|
|
22626
22682
|
AccountTakedownError: () => AccountTakedownError2,
|
|
22627
|
-
toKnownErr: () =>
|
|
22683
|
+
toKnownErr: () => toKnownErr36
|
|
22628
22684
|
});
|
|
22629
22685
|
var AccountTakedownError2 = class extends XRPCError {
|
|
22630
22686
|
constructor(src2) {
|
|
22631
22687
|
super(src2.status, src2.error, src2.message);
|
|
22632
22688
|
}
|
|
22633
22689
|
};
|
|
22634
|
-
function
|
|
22690
|
+
function toKnownErr36(e) {
|
|
22635
22691
|
if (e instanceof XRPCError) {
|
|
22636
22692
|
if (e.error === "AccountTakedown")
|
|
22637
22693
|
return new AccountTakedownError2(e);
|
|
@@ -22644,7 +22700,7 @@ var deleteAccount_exports = {};
|
|
|
22644
22700
|
__export(deleteAccount_exports, {
|
|
22645
22701
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
22646
22702
|
InvalidTokenError: () => InvalidTokenError,
|
|
22647
|
-
toKnownErr: () =>
|
|
22703
|
+
toKnownErr: () => toKnownErr37
|
|
22648
22704
|
});
|
|
22649
22705
|
var ExpiredTokenError = class extends XRPCError {
|
|
22650
22706
|
constructor(src2) {
|
|
@@ -22656,7 +22712,7 @@ var InvalidTokenError = class extends XRPCError {
|
|
|
22656
22712
|
super(src2.status, src2.error, src2.message);
|
|
22657
22713
|
}
|
|
22658
22714
|
};
|
|
22659
|
-
function
|
|
22715
|
+
function toKnownErr37(e) {
|
|
22660
22716
|
if (e instanceof XRPCError) {
|
|
22661
22717
|
if (e.error === "ExpiredToken")
|
|
22662
22718
|
return new ExpiredTokenError(e);
|
|
@@ -22669,9 +22725,9 @@ function toKnownErr36(e) {
|
|
|
22669
22725
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
22670
22726
|
var deleteSession_exports = {};
|
|
22671
22727
|
__export(deleteSession_exports, {
|
|
22672
|
-
toKnownErr: () =>
|
|
22728
|
+
toKnownErr: () => toKnownErr38
|
|
22673
22729
|
});
|
|
22674
|
-
function
|
|
22730
|
+
function toKnownErr38(e) {
|
|
22675
22731
|
if (e instanceof XRPCError) {
|
|
22676
22732
|
}
|
|
22677
22733
|
return e;
|
|
@@ -22681,10 +22737,10 @@ function toKnownErr37(e) {
|
|
|
22681
22737
|
var describeServer_exports = {};
|
|
22682
22738
|
__export(describeServer_exports, {
|
|
22683
22739
|
isLinks: () => isLinks,
|
|
22684
|
-
toKnownErr: () =>
|
|
22740
|
+
toKnownErr: () => toKnownErr39,
|
|
22685
22741
|
validateLinks: () => validateLinks
|
|
22686
22742
|
});
|
|
22687
|
-
function
|
|
22743
|
+
function toKnownErr39(e) {
|
|
22688
22744
|
if (e instanceof XRPCError) {
|
|
22689
22745
|
}
|
|
22690
22746
|
return e;
|
|
@@ -22700,14 +22756,14 @@ function validateLinks(v) {
|
|
|
22700
22756
|
var getAccountInviteCodes_exports = {};
|
|
22701
22757
|
__export(getAccountInviteCodes_exports, {
|
|
22702
22758
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
22703
|
-
toKnownErr: () =>
|
|
22759
|
+
toKnownErr: () => toKnownErr40
|
|
22704
22760
|
});
|
|
22705
22761
|
var DuplicateCreateError = class extends XRPCError {
|
|
22706
22762
|
constructor(src2) {
|
|
22707
22763
|
super(src2.status, src2.error, src2.message);
|
|
22708
22764
|
}
|
|
22709
22765
|
};
|
|
22710
|
-
function
|
|
22766
|
+
function toKnownErr40(e) {
|
|
22711
22767
|
if (e instanceof XRPCError) {
|
|
22712
22768
|
if (e.error === "DuplicateCreate")
|
|
22713
22769
|
return new DuplicateCreateError(e);
|
|
@@ -22718,9 +22774,9 @@ function toKnownErr39(e) {
|
|
|
22718
22774
|
// src/client/types/com/atproto/server/getSession.ts
|
|
22719
22775
|
var getSession_exports = {};
|
|
22720
22776
|
__export(getSession_exports, {
|
|
22721
|
-
toKnownErr: () =>
|
|
22777
|
+
toKnownErr: () => toKnownErr41
|
|
22722
22778
|
});
|
|
22723
|
-
function
|
|
22779
|
+
function toKnownErr41(e) {
|
|
22724
22780
|
if (e instanceof XRPCError) {
|
|
22725
22781
|
}
|
|
22726
22782
|
return e;
|
|
@@ -22731,7 +22787,7 @@ var listAppPasswords_exports = {};
|
|
|
22731
22787
|
__export(listAppPasswords_exports, {
|
|
22732
22788
|
AccountTakedownError: () => AccountTakedownError3,
|
|
22733
22789
|
isAppPassword: () => isAppPassword2,
|
|
22734
|
-
toKnownErr: () =>
|
|
22790
|
+
toKnownErr: () => toKnownErr42,
|
|
22735
22791
|
validateAppPassword: () => validateAppPassword2
|
|
22736
22792
|
});
|
|
22737
22793
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -22739,7 +22795,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
22739
22795
|
super(src2.status, src2.error, src2.message);
|
|
22740
22796
|
}
|
|
22741
22797
|
};
|
|
22742
|
-
function
|
|
22798
|
+
function toKnownErr42(e) {
|
|
22743
22799
|
if (e instanceof XRPCError) {
|
|
22744
22800
|
if (e.error === "AccountTakedown")
|
|
22745
22801
|
return new AccountTakedownError3(e);
|
|
@@ -22757,14 +22813,14 @@ function validateAppPassword2(v) {
|
|
|
22757
22813
|
var refreshSession_exports = {};
|
|
22758
22814
|
__export(refreshSession_exports, {
|
|
22759
22815
|
AccountTakedownError: () => AccountTakedownError4,
|
|
22760
|
-
toKnownErr: () =>
|
|
22816
|
+
toKnownErr: () => toKnownErr43
|
|
22761
22817
|
});
|
|
22762
22818
|
var AccountTakedownError4 = class extends XRPCError {
|
|
22763
22819
|
constructor(src2) {
|
|
22764
22820
|
super(src2.status, src2.error, src2.message);
|
|
22765
22821
|
}
|
|
22766
22822
|
};
|
|
22767
|
-
function
|
|
22823
|
+
function toKnownErr43(e) {
|
|
22768
22824
|
if (e instanceof XRPCError) {
|
|
22769
22825
|
if (e.error === "AccountTakedown")
|
|
22770
22826
|
return new AccountTakedownError4(e);
|
|
@@ -22775,9 +22831,9 @@ function toKnownErr42(e) {
|
|
|
22775
22831
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
22776
22832
|
var requestAccountDelete_exports = {};
|
|
22777
22833
|
__export(requestAccountDelete_exports, {
|
|
22778
|
-
toKnownErr: () =>
|
|
22834
|
+
toKnownErr: () => toKnownErr44
|
|
22779
22835
|
});
|
|
22780
|
-
function
|
|
22836
|
+
function toKnownErr44(e) {
|
|
22781
22837
|
if (e instanceof XRPCError) {
|
|
22782
22838
|
}
|
|
22783
22839
|
return e;
|
|
@@ -22786,9 +22842,9 @@ function toKnownErr43(e) {
|
|
|
22786
22842
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
22787
22843
|
var requestPasswordReset_exports = {};
|
|
22788
22844
|
__export(requestPasswordReset_exports, {
|
|
22789
|
-
toKnownErr: () =>
|
|
22845
|
+
toKnownErr: () => toKnownErr45
|
|
22790
22846
|
});
|
|
22791
|
-
function
|
|
22847
|
+
function toKnownErr45(e) {
|
|
22792
22848
|
if (e instanceof XRPCError) {
|
|
22793
22849
|
}
|
|
22794
22850
|
return e;
|
|
@@ -22799,7 +22855,7 @@ var resetPassword_exports = {};
|
|
|
22799
22855
|
__export(resetPassword_exports, {
|
|
22800
22856
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
22801
22857
|
InvalidTokenError: () => InvalidTokenError2,
|
|
22802
|
-
toKnownErr: () =>
|
|
22858
|
+
toKnownErr: () => toKnownErr46
|
|
22803
22859
|
});
|
|
22804
22860
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
22805
22861
|
constructor(src2) {
|
|
@@ -22811,7 +22867,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
22811
22867
|
super(src2.status, src2.error, src2.message);
|
|
22812
22868
|
}
|
|
22813
22869
|
};
|
|
22814
|
-
function
|
|
22870
|
+
function toKnownErr46(e) {
|
|
22815
22871
|
if (e instanceof XRPCError) {
|
|
22816
22872
|
if (e.error === "ExpiredToken")
|
|
22817
22873
|
return new ExpiredTokenError2(e);
|
|
@@ -22824,9 +22880,9 @@ function toKnownErr45(e) {
|
|
|
22824
22880
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
22825
22881
|
var revokeAppPassword_exports = {};
|
|
22826
22882
|
__export(revokeAppPassword_exports, {
|
|
22827
|
-
toKnownErr: () =>
|
|
22883
|
+
toKnownErr: () => toKnownErr47
|
|
22828
22884
|
});
|
|
22829
|
-
function
|
|
22885
|
+
function toKnownErr47(e) {
|
|
22830
22886
|
if (e instanceof XRPCError) {
|
|
22831
22887
|
}
|
|
22832
22888
|
return e;
|
|
@@ -22835,9 +22891,9 @@ function toKnownErr46(e) {
|
|
|
22835
22891
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
22836
22892
|
var getBlob_exports = {};
|
|
22837
22893
|
__export(getBlob_exports, {
|
|
22838
|
-
toKnownErr: () =>
|
|
22894
|
+
toKnownErr: () => toKnownErr48
|
|
22839
22895
|
});
|
|
22840
|
-
function
|
|
22896
|
+
function toKnownErr48(e) {
|
|
22841
22897
|
if (e instanceof XRPCError) {
|
|
22842
22898
|
}
|
|
22843
22899
|
return e;
|
|
@@ -22846,9 +22902,9 @@ function toKnownErr47(e) {
|
|
|
22846
22902
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
22847
22903
|
var getBlocks_exports = {};
|
|
22848
22904
|
__export(getBlocks_exports, {
|
|
22849
|
-
toKnownErr: () =>
|
|
22905
|
+
toKnownErr: () => toKnownErr49
|
|
22850
22906
|
});
|
|
22851
|
-
function
|
|
22907
|
+
function toKnownErr49(e) {
|
|
22852
22908
|
if (e instanceof XRPCError) {
|
|
22853
22909
|
}
|
|
22854
22910
|
return e;
|
|
@@ -22857,9 +22913,9 @@ function toKnownErr48(e) {
|
|
|
22857
22913
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
22858
22914
|
var getCheckout_exports = {};
|
|
22859
22915
|
__export(getCheckout_exports, {
|
|
22860
|
-
toKnownErr: () =>
|
|
22916
|
+
toKnownErr: () => toKnownErr50
|
|
22861
22917
|
});
|
|
22862
|
-
function
|
|
22918
|
+
function toKnownErr50(e) {
|
|
22863
22919
|
if (e instanceof XRPCError) {
|
|
22864
22920
|
}
|
|
22865
22921
|
return e;
|
|
@@ -22868,9 +22924,9 @@ function toKnownErr49(e) {
|
|
|
22868
22924
|
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
22869
22925
|
var getCommitPath_exports = {};
|
|
22870
22926
|
__export(getCommitPath_exports, {
|
|
22871
|
-
toKnownErr: () =>
|
|
22927
|
+
toKnownErr: () => toKnownErr51
|
|
22872
22928
|
});
|
|
22873
|
-
function
|
|
22929
|
+
function toKnownErr51(e) {
|
|
22874
22930
|
if (e instanceof XRPCError) {
|
|
22875
22931
|
}
|
|
22876
22932
|
return e;
|
|
@@ -22880,14 +22936,14 @@ function toKnownErr50(e) {
|
|
|
22880
22936
|
var getHead_exports = {};
|
|
22881
22937
|
__export(getHead_exports, {
|
|
22882
22938
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
22883
|
-
toKnownErr: () =>
|
|
22939
|
+
toKnownErr: () => toKnownErr52
|
|
22884
22940
|
});
|
|
22885
22941
|
var HeadNotFoundError = class extends XRPCError {
|
|
22886
22942
|
constructor(src2) {
|
|
22887
22943
|
super(src2.status, src2.error, src2.message);
|
|
22888
22944
|
}
|
|
22889
22945
|
};
|
|
22890
|
-
function
|
|
22946
|
+
function toKnownErr52(e) {
|
|
22891
22947
|
if (e instanceof XRPCError) {
|
|
22892
22948
|
if (e.error === "HeadNotFound")
|
|
22893
22949
|
return new HeadNotFoundError(e);
|
|
@@ -22898,9 +22954,9 @@ function toKnownErr51(e) {
|
|
|
22898
22954
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
22899
22955
|
var getRecord_exports3 = {};
|
|
22900
22956
|
__export(getRecord_exports3, {
|
|
22901
|
-
toKnownErr: () =>
|
|
22957
|
+
toKnownErr: () => toKnownErr53
|
|
22902
22958
|
});
|
|
22903
|
-
function
|
|
22959
|
+
function toKnownErr53(e) {
|
|
22904
22960
|
if (e instanceof XRPCError) {
|
|
22905
22961
|
}
|
|
22906
22962
|
return e;
|
|
@@ -22909,9 +22965,9 @@ function toKnownErr52(e) {
|
|
|
22909
22965
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
22910
22966
|
var getRepo_exports2 = {};
|
|
22911
22967
|
__export(getRepo_exports2, {
|
|
22912
|
-
toKnownErr: () =>
|
|
22968
|
+
toKnownErr: () => toKnownErr54
|
|
22913
22969
|
});
|
|
22914
|
-
function
|
|
22970
|
+
function toKnownErr54(e) {
|
|
22915
22971
|
if (e instanceof XRPCError) {
|
|
22916
22972
|
}
|
|
22917
22973
|
return e;
|
|
@@ -22920,9 +22976,9 @@ function toKnownErr53(e) {
|
|
|
22920
22976
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
22921
22977
|
var listBlobs_exports = {};
|
|
22922
22978
|
__export(listBlobs_exports, {
|
|
22923
|
-
toKnownErr: () =>
|
|
22979
|
+
toKnownErr: () => toKnownErr55
|
|
22924
22980
|
});
|
|
22925
|
-
function
|
|
22981
|
+
function toKnownErr55(e) {
|
|
22926
22982
|
if (e instanceof XRPCError) {
|
|
22927
22983
|
}
|
|
22928
22984
|
return e;
|
|
@@ -22932,10 +22988,10 @@ function toKnownErr54(e) {
|
|
|
22932
22988
|
var listRepos_exports = {};
|
|
22933
22989
|
__export(listRepos_exports, {
|
|
22934
22990
|
isRepo: () => isRepo,
|
|
22935
|
-
toKnownErr: () =>
|
|
22991
|
+
toKnownErr: () => toKnownErr56,
|
|
22936
22992
|
validateRepo: () => validateRepo
|
|
22937
22993
|
});
|
|
22938
|
-
function
|
|
22994
|
+
function toKnownErr56(e) {
|
|
22939
22995
|
if (e instanceof XRPCError) {
|
|
22940
22996
|
}
|
|
22941
22997
|
return e;
|
|
@@ -22950,9 +23006,9 @@ function validateRepo(v) {
|
|
|
22950
23006
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
22951
23007
|
var notifyOfUpdate_exports = {};
|
|
22952
23008
|
__export(notifyOfUpdate_exports, {
|
|
22953
|
-
toKnownErr: () =>
|
|
23009
|
+
toKnownErr: () => toKnownErr57
|
|
22954
23010
|
});
|
|
22955
|
-
function
|
|
23011
|
+
function toKnownErr57(e) {
|
|
22956
23012
|
if (e instanceof XRPCError) {
|
|
22957
23013
|
}
|
|
22958
23014
|
return e;
|
|
@@ -22961,9 +23017,9 @@ function toKnownErr56(e) {
|
|
|
22961
23017
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
22962
23018
|
var requestCrawl_exports = {};
|
|
22963
23019
|
__export(requestCrawl_exports, {
|
|
22964
|
-
toKnownErr: () =>
|
|
23020
|
+
toKnownErr: () => toKnownErr58
|
|
22965
23021
|
});
|
|
22966
|
-
function
|
|
23022
|
+
function toKnownErr58(e) {
|
|
22967
23023
|
if (e instanceof XRPCError) {
|
|
22968
23024
|
}
|
|
22969
23025
|
return e;
|
|
@@ -22972,9 +23028,9 @@ function toKnownErr57(e) {
|
|
|
22972
23028
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
22973
23029
|
var getPreferences_exports = {};
|
|
22974
23030
|
__export(getPreferences_exports, {
|
|
22975
|
-
toKnownErr: () =>
|
|
23031
|
+
toKnownErr: () => toKnownErr59
|
|
22976
23032
|
});
|
|
22977
|
-
function
|
|
23033
|
+
function toKnownErr59(e) {
|
|
22978
23034
|
if (e instanceof XRPCError) {
|
|
22979
23035
|
}
|
|
22980
23036
|
return e;
|
|
@@ -22983,9 +23039,9 @@ function toKnownErr58(e) {
|
|
|
22983
23039
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
22984
23040
|
var getProfile_exports = {};
|
|
22985
23041
|
__export(getProfile_exports, {
|
|
22986
|
-
toKnownErr: () =>
|
|
23042
|
+
toKnownErr: () => toKnownErr60
|
|
22987
23043
|
});
|
|
22988
|
-
function
|
|
23044
|
+
function toKnownErr60(e) {
|
|
22989
23045
|
if (e instanceof XRPCError) {
|
|
22990
23046
|
}
|
|
22991
23047
|
return e;
|
|
@@ -22994,9 +23050,9 @@ function toKnownErr59(e) {
|
|
|
22994
23050
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
22995
23051
|
var getProfiles_exports = {};
|
|
22996
23052
|
__export(getProfiles_exports, {
|
|
22997
|
-
toKnownErr: () =>
|
|
23053
|
+
toKnownErr: () => toKnownErr61
|
|
22998
23054
|
});
|
|
22999
|
-
function
|
|
23055
|
+
function toKnownErr61(e) {
|
|
23000
23056
|
if (e instanceof XRPCError) {
|
|
23001
23057
|
}
|
|
23002
23058
|
return e;
|
|
@@ -23005,9 +23061,9 @@ function toKnownErr60(e) {
|
|
|
23005
23061
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
23006
23062
|
var getSuggestions_exports = {};
|
|
23007
23063
|
__export(getSuggestions_exports, {
|
|
23008
|
-
toKnownErr: () =>
|
|
23064
|
+
toKnownErr: () => toKnownErr62
|
|
23009
23065
|
});
|
|
23010
|
-
function
|
|
23066
|
+
function toKnownErr62(e) {
|
|
23011
23067
|
if (e instanceof XRPCError) {
|
|
23012
23068
|
}
|
|
23013
23069
|
return e;
|
|
@@ -23016,9 +23072,9 @@ function toKnownErr61(e) {
|
|
|
23016
23072
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
23017
23073
|
var putPreferences_exports = {};
|
|
23018
23074
|
__export(putPreferences_exports, {
|
|
23019
|
-
toKnownErr: () =>
|
|
23075
|
+
toKnownErr: () => toKnownErr63
|
|
23020
23076
|
});
|
|
23021
|
-
function
|
|
23077
|
+
function toKnownErr63(e) {
|
|
23022
23078
|
if (e instanceof XRPCError) {
|
|
23023
23079
|
}
|
|
23024
23080
|
return e;
|
|
@@ -23027,9 +23083,9 @@ function toKnownErr62(e) {
|
|
|
23027
23083
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
23028
23084
|
var searchActors_exports = {};
|
|
23029
23085
|
__export(searchActors_exports, {
|
|
23030
|
-
toKnownErr: () =>
|
|
23086
|
+
toKnownErr: () => toKnownErr64
|
|
23031
23087
|
});
|
|
23032
|
-
function
|
|
23088
|
+
function toKnownErr64(e) {
|
|
23033
23089
|
if (e instanceof XRPCError) {
|
|
23034
23090
|
}
|
|
23035
23091
|
return e;
|
|
@@ -23038,9 +23094,9 @@ function toKnownErr63(e) {
|
|
|
23038
23094
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
23039
23095
|
var searchActorsTypeahead_exports = {};
|
|
23040
23096
|
__export(searchActorsTypeahead_exports, {
|
|
23041
|
-
toKnownErr: () =>
|
|
23097
|
+
toKnownErr: () => toKnownErr65
|
|
23042
23098
|
});
|
|
23043
|
-
function
|
|
23099
|
+
function toKnownErr65(e) {
|
|
23044
23100
|
if (e instanceof XRPCError) {
|
|
23045
23101
|
}
|
|
23046
23102
|
return e;
|
|
@@ -23051,11 +23107,11 @@ var describeFeedGenerator_exports = {};
|
|
|
23051
23107
|
__export(describeFeedGenerator_exports, {
|
|
23052
23108
|
isFeed: () => isFeed,
|
|
23053
23109
|
isLinks: () => isLinks2,
|
|
23054
|
-
toKnownErr: () =>
|
|
23110
|
+
toKnownErr: () => toKnownErr66,
|
|
23055
23111
|
validateFeed: () => validateFeed,
|
|
23056
23112
|
validateLinks: () => validateLinks2
|
|
23057
23113
|
});
|
|
23058
|
-
function
|
|
23114
|
+
function toKnownErr66(e) {
|
|
23059
23115
|
if (e instanceof XRPCError) {
|
|
23060
23116
|
}
|
|
23061
23117
|
return e;
|
|
@@ -23076,9 +23132,9 @@ function validateLinks2(v) {
|
|
|
23076
23132
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
23077
23133
|
var getActorFeeds_exports = {};
|
|
23078
23134
|
__export(getActorFeeds_exports, {
|
|
23079
|
-
toKnownErr: () =>
|
|
23135
|
+
toKnownErr: () => toKnownErr67
|
|
23080
23136
|
});
|
|
23081
|
-
function
|
|
23137
|
+
function toKnownErr67(e) {
|
|
23082
23138
|
if (e instanceof XRPCError) {
|
|
23083
23139
|
}
|
|
23084
23140
|
return e;
|
|
@@ -23089,7 +23145,7 @@ var getAuthorFeed_exports = {};
|
|
|
23089
23145
|
__export(getAuthorFeed_exports, {
|
|
23090
23146
|
BlockedActorError: () => BlockedActorError,
|
|
23091
23147
|
BlockedByActorError: () => BlockedByActorError,
|
|
23092
|
-
toKnownErr: () =>
|
|
23148
|
+
toKnownErr: () => toKnownErr68
|
|
23093
23149
|
});
|
|
23094
23150
|
var BlockedActorError = class extends XRPCError {
|
|
23095
23151
|
constructor(src2) {
|
|
@@ -23101,7 +23157,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
23101
23157
|
super(src2.status, src2.error, src2.message);
|
|
23102
23158
|
}
|
|
23103
23159
|
};
|
|
23104
|
-
function
|
|
23160
|
+
function toKnownErr68(e) {
|
|
23105
23161
|
if (e instanceof XRPCError) {
|
|
23106
23162
|
if (e.error === "BlockedActor")
|
|
23107
23163
|
return new BlockedActorError(e);
|
|
@@ -23115,14 +23171,14 @@ function toKnownErr67(e) {
|
|
|
23115
23171
|
var getFeed_exports = {};
|
|
23116
23172
|
__export(getFeed_exports, {
|
|
23117
23173
|
UnknownFeedError: () => UnknownFeedError,
|
|
23118
|
-
toKnownErr: () =>
|
|
23174
|
+
toKnownErr: () => toKnownErr69
|
|
23119
23175
|
});
|
|
23120
23176
|
var UnknownFeedError = class extends XRPCError {
|
|
23121
23177
|
constructor(src2) {
|
|
23122
23178
|
super(src2.status, src2.error, src2.message);
|
|
23123
23179
|
}
|
|
23124
23180
|
};
|
|
23125
|
-
function
|
|
23181
|
+
function toKnownErr69(e) {
|
|
23126
23182
|
if (e instanceof XRPCError) {
|
|
23127
23183
|
if (e.error === "UnknownFeed")
|
|
23128
23184
|
return new UnknownFeedError(e);
|
|
@@ -23133,9 +23189,9 @@ function toKnownErr68(e) {
|
|
|
23133
23189
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
23134
23190
|
var getFeedGenerator_exports = {};
|
|
23135
23191
|
__export(getFeedGenerator_exports, {
|
|
23136
|
-
toKnownErr: () =>
|
|
23192
|
+
toKnownErr: () => toKnownErr70
|
|
23137
23193
|
});
|
|
23138
|
-
function
|
|
23194
|
+
function toKnownErr70(e) {
|
|
23139
23195
|
if (e instanceof XRPCError) {
|
|
23140
23196
|
}
|
|
23141
23197
|
return e;
|
|
@@ -23144,9 +23200,9 @@ function toKnownErr69(e) {
|
|
|
23144
23200
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
23145
23201
|
var getFeedGenerators_exports = {};
|
|
23146
23202
|
__export(getFeedGenerators_exports, {
|
|
23147
|
-
toKnownErr: () =>
|
|
23203
|
+
toKnownErr: () => toKnownErr71
|
|
23148
23204
|
});
|
|
23149
|
-
function
|
|
23205
|
+
function toKnownErr71(e) {
|
|
23150
23206
|
if (e instanceof XRPCError) {
|
|
23151
23207
|
}
|
|
23152
23208
|
return e;
|
|
@@ -23156,14 +23212,14 @@ function toKnownErr70(e) {
|
|
|
23156
23212
|
var getFeedSkeleton_exports = {};
|
|
23157
23213
|
__export(getFeedSkeleton_exports, {
|
|
23158
23214
|
UnknownFeedError: () => UnknownFeedError2,
|
|
23159
|
-
toKnownErr: () =>
|
|
23215
|
+
toKnownErr: () => toKnownErr72
|
|
23160
23216
|
});
|
|
23161
23217
|
var UnknownFeedError2 = class extends XRPCError {
|
|
23162
23218
|
constructor(src2) {
|
|
23163
23219
|
super(src2.status, src2.error, src2.message);
|
|
23164
23220
|
}
|
|
23165
23221
|
};
|
|
23166
|
-
function
|
|
23222
|
+
function toKnownErr72(e) {
|
|
23167
23223
|
if (e instanceof XRPCError) {
|
|
23168
23224
|
if (e.error === "UnknownFeed")
|
|
23169
23225
|
return new UnknownFeedError2(e);
|
|
@@ -23175,10 +23231,10 @@ function toKnownErr71(e) {
|
|
|
23175
23231
|
var getLikes_exports = {};
|
|
23176
23232
|
__export(getLikes_exports, {
|
|
23177
23233
|
isLike: () => isLike,
|
|
23178
|
-
toKnownErr: () =>
|
|
23234
|
+
toKnownErr: () => toKnownErr73,
|
|
23179
23235
|
validateLike: () => validateLike
|
|
23180
23236
|
});
|
|
23181
|
-
function
|
|
23237
|
+
function toKnownErr73(e) {
|
|
23182
23238
|
if (e instanceof XRPCError) {
|
|
23183
23239
|
}
|
|
23184
23240
|
return e;
|
|
@@ -23194,14 +23250,14 @@ function validateLike(v) {
|
|
|
23194
23250
|
var getPostThread_exports = {};
|
|
23195
23251
|
__export(getPostThread_exports, {
|
|
23196
23252
|
NotFoundError: () => NotFoundError,
|
|
23197
|
-
toKnownErr: () =>
|
|
23253
|
+
toKnownErr: () => toKnownErr74
|
|
23198
23254
|
});
|
|
23199
23255
|
var NotFoundError = class extends XRPCError {
|
|
23200
23256
|
constructor(src2) {
|
|
23201
23257
|
super(src2.status, src2.error, src2.message);
|
|
23202
23258
|
}
|
|
23203
23259
|
};
|
|
23204
|
-
function
|
|
23260
|
+
function toKnownErr74(e) {
|
|
23205
23261
|
if (e instanceof XRPCError) {
|
|
23206
23262
|
if (e.error === "NotFound")
|
|
23207
23263
|
return new NotFoundError(e);
|
|
@@ -23212,9 +23268,9 @@ function toKnownErr73(e) {
|
|
|
23212
23268
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
23213
23269
|
var getPosts_exports = {};
|
|
23214
23270
|
__export(getPosts_exports, {
|
|
23215
|
-
toKnownErr: () =>
|
|
23271
|
+
toKnownErr: () => toKnownErr75
|
|
23216
23272
|
});
|
|
23217
|
-
function
|
|
23273
|
+
function toKnownErr75(e) {
|
|
23218
23274
|
if (e instanceof XRPCError) {
|
|
23219
23275
|
}
|
|
23220
23276
|
return e;
|
|
@@ -23223,9 +23279,9 @@ function toKnownErr74(e) {
|
|
|
23223
23279
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
23224
23280
|
var getRepostedBy_exports = {};
|
|
23225
23281
|
__export(getRepostedBy_exports, {
|
|
23226
|
-
toKnownErr: () =>
|
|
23282
|
+
toKnownErr: () => toKnownErr76
|
|
23227
23283
|
});
|
|
23228
|
-
function
|
|
23284
|
+
function toKnownErr76(e) {
|
|
23229
23285
|
if (e instanceof XRPCError) {
|
|
23230
23286
|
}
|
|
23231
23287
|
return e;
|
|
@@ -23234,9 +23290,9 @@ function toKnownErr75(e) {
|
|
|
23234
23290
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
23235
23291
|
var getTimeline_exports = {};
|
|
23236
23292
|
__export(getTimeline_exports, {
|
|
23237
|
-
toKnownErr: () =>
|
|
23293
|
+
toKnownErr: () => toKnownErr77
|
|
23238
23294
|
});
|
|
23239
|
-
function
|
|
23295
|
+
function toKnownErr77(e) {
|
|
23240
23296
|
if (e instanceof XRPCError) {
|
|
23241
23297
|
}
|
|
23242
23298
|
return e;
|
|
@@ -23245,9 +23301,9 @@ function toKnownErr76(e) {
|
|
|
23245
23301
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
23246
23302
|
var getBlocks_exports2 = {};
|
|
23247
23303
|
__export(getBlocks_exports2, {
|
|
23248
|
-
toKnownErr: () =>
|
|
23304
|
+
toKnownErr: () => toKnownErr78
|
|
23249
23305
|
});
|
|
23250
|
-
function
|
|
23306
|
+
function toKnownErr78(e) {
|
|
23251
23307
|
if (e instanceof XRPCError) {
|
|
23252
23308
|
}
|
|
23253
23309
|
return e;
|
|
@@ -23256,9 +23312,9 @@ function toKnownErr77(e) {
|
|
|
23256
23312
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
23257
23313
|
var getFollowers_exports = {};
|
|
23258
23314
|
__export(getFollowers_exports, {
|
|
23259
|
-
toKnownErr: () =>
|
|
23315
|
+
toKnownErr: () => toKnownErr79
|
|
23260
23316
|
});
|
|
23261
|
-
function
|
|
23317
|
+
function toKnownErr79(e) {
|
|
23262
23318
|
if (e instanceof XRPCError) {
|
|
23263
23319
|
}
|
|
23264
23320
|
return e;
|
|
@@ -23267,9 +23323,9 @@ function toKnownErr78(e) {
|
|
|
23267
23323
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
23268
23324
|
var getFollows_exports = {};
|
|
23269
23325
|
__export(getFollows_exports, {
|
|
23270
|
-
toKnownErr: () =>
|
|
23326
|
+
toKnownErr: () => toKnownErr80
|
|
23271
23327
|
});
|
|
23272
|
-
function
|
|
23328
|
+
function toKnownErr80(e) {
|
|
23273
23329
|
if (e instanceof XRPCError) {
|
|
23274
23330
|
}
|
|
23275
23331
|
return e;
|
|
@@ -23278,9 +23334,9 @@ function toKnownErr79(e) {
|
|
|
23278
23334
|
// src/client/types/app/bsky/graph/getList.ts
|
|
23279
23335
|
var getList_exports = {};
|
|
23280
23336
|
__export(getList_exports, {
|
|
23281
|
-
toKnownErr: () =>
|
|
23337
|
+
toKnownErr: () => toKnownErr81
|
|
23282
23338
|
});
|
|
23283
|
-
function
|
|
23339
|
+
function toKnownErr81(e) {
|
|
23284
23340
|
if (e instanceof XRPCError) {
|
|
23285
23341
|
}
|
|
23286
23342
|
return e;
|
|
@@ -23289,9 +23345,9 @@ function toKnownErr80(e) {
|
|
|
23289
23345
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
23290
23346
|
var getListMutes_exports = {};
|
|
23291
23347
|
__export(getListMutes_exports, {
|
|
23292
|
-
toKnownErr: () =>
|
|
23348
|
+
toKnownErr: () => toKnownErr82
|
|
23293
23349
|
});
|
|
23294
|
-
function
|
|
23350
|
+
function toKnownErr82(e) {
|
|
23295
23351
|
if (e instanceof XRPCError) {
|
|
23296
23352
|
}
|
|
23297
23353
|
return e;
|
|
@@ -23300,9 +23356,9 @@ function toKnownErr81(e) {
|
|
|
23300
23356
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
23301
23357
|
var getLists_exports = {};
|
|
23302
23358
|
__export(getLists_exports, {
|
|
23303
|
-
toKnownErr: () =>
|
|
23359
|
+
toKnownErr: () => toKnownErr83
|
|
23304
23360
|
});
|
|
23305
|
-
function
|
|
23361
|
+
function toKnownErr83(e) {
|
|
23306
23362
|
if (e instanceof XRPCError) {
|
|
23307
23363
|
}
|
|
23308
23364
|
return e;
|
|
@@ -23311,9 +23367,9 @@ function toKnownErr82(e) {
|
|
|
23311
23367
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
23312
23368
|
var getMutes_exports = {};
|
|
23313
23369
|
__export(getMutes_exports, {
|
|
23314
|
-
toKnownErr: () =>
|
|
23370
|
+
toKnownErr: () => toKnownErr84
|
|
23315
23371
|
});
|
|
23316
|
-
function
|
|
23372
|
+
function toKnownErr84(e) {
|
|
23317
23373
|
if (e instanceof XRPCError) {
|
|
23318
23374
|
}
|
|
23319
23375
|
return e;
|
|
@@ -23322,9 +23378,9 @@ function toKnownErr83(e) {
|
|
|
23322
23378
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
23323
23379
|
var muteActor_exports = {};
|
|
23324
23380
|
__export(muteActor_exports, {
|
|
23325
|
-
toKnownErr: () =>
|
|
23381
|
+
toKnownErr: () => toKnownErr85
|
|
23326
23382
|
});
|
|
23327
|
-
function
|
|
23383
|
+
function toKnownErr85(e) {
|
|
23328
23384
|
if (e instanceof XRPCError) {
|
|
23329
23385
|
}
|
|
23330
23386
|
return e;
|
|
@@ -23333,9 +23389,9 @@ function toKnownErr84(e) {
|
|
|
23333
23389
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
23334
23390
|
var muteActorList_exports = {};
|
|
23335
23391
|
__export(muteActorList_exports, {
|
|
23336
|
-
toKnownErr: () =>
|
|
23392
|
+
toKnownErr: () => toKnownErr86
|
|
23337
23393
|
});
|
|
23338
|
-
function
|
|
23394
|
+
function toKnownErr86(e) {
|
|
23339
23395
|
if (e instanceof XRPCError) {
|
|
23340
23396
|
}
|
|
23341
23397
|
return e;
|
|
@@ -23344,9 +23400,9 @@ function toKnownErr85(e) {
|
|
|
23344
23400
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
23345
23401
|
var unmuteActor_exports = {};
|
|
23346
23402
|
__export(unmuteActor_exports, {
|
|
23347
|
-
toKnownErr: () =>
|
|
23403
|
+
toKnownErr: () => toKnownErr87
|
|
23348
23404
|
});
|
|
23349
|
-
function
|
|
23405
|
+
function toKnownErr87(e) {
|
|
23350
23406
|
if (e instanceof XRPCError) {
|
|
23351
23407
|
}
|
|
23352
23408
|
return e;
|
|
@@ -23355,9 +23411,9 @@ function toKnownErr86(e) {
|
|
|
23355
23411
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
23356
23412
|
var unmuteActorList_exports = {};
|
|
23357
23413
|
__export(unmuteActorList_exports, {
|
|
23358
|
-
toKnownErr: () =>
|
|
23414
|
+
toKnownErr: () => toKnownErr88
|
|
23359
23415
|
});
|
|
23360
|
-
function
|
|
23416
|
+
function toKnownErr88(e) {
|
|
23361
23417
|
if (e instanceof XRPCError) {
|
|
23362
23418
|
}
|
|
23363
23419
|
return e;
|
|
@@ -23366,9 +23422,9 @@ function toKnownErr87(e) {
|
|
|
23366
23422
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
23367
23423
|
var getUnreadCount_exports = {};
|
|
23368
23424
|
__export(getUnreadCount_exports, {
|
|
23369
|
-
toKnownErr: () =>
|
|
23425
|
+
toKnownErr: () => toKnownErr89
|
|
23370
23426
|
});
|
|
23371
|
-
function
|
|
23427
|
+
function toKnownErr89(e) {
|
|
23372
23428
|
if (e instanceof XRPCError) {
|
|
23373
23429
|
}
|
|
23374
23430
|
return e;
|
|
@@ -23378,10 +23434,10 @@ function toKnownErr88(e) {
|
|
|
23378
23434
|
var listNotifications_exports = {};
|
|
23379
23435
|
__export(listNotifications_exports, {
|
|
23380
23436
|
isNotification: () => isNotification,
|
|
23381
|
-
toKnownErr: () =>
|
|
23437
|
+
toKnownErr: () => toKnownErr90,
|
|
23382
23438
|
validateNotification: () => validateNotification
|
|
23383
23439
|
});
|
|
23384
|
-
function
|
|
23440
|
+
function toKnownErr90(e) {
|
|
23385
23441
|
if (e instanceof XRPCError) {
|
|
23386
23442
|
}
|
|
23387
23443
|
return e;
|
|
@@ -23399,9 +23455,9 @@ function validateNotification(v) {
|
|
|
23399
23455
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
23400
23456
|
var updateSeen_exports = {};
|
|
23401
23457
|
__export(updateSeen_exports, {
|
|
23402
|
-
toKnownErr: () =>
|
|
23458
|
+
toKnownErr: () => toKnownErr91
|
|
23403
23459
|
});
|
|
23404
|
-
function
|
|
23460
|
+
function toKnownErr91(e) {
|
|
23405
23461
|
if (e instanceof XRPCError) {
|
|
23406
23462
|
}
|
|
23407
23463
|
return e;
|
|
@@ -23410,9 +23466,9 @@ function toKnownErr90(e) {
|
|
|
23410
23466
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
23411
23467
|
var getPopular_exports = {};
|
|
23412
23468
|
__export(getPopular_exports, {
|
|
23413
|
-
toKnownErr: () =>
|
|
23469
|
+
toKnownErr: () => toKnownErr92
|
|
23414
23470
|
});
|
|
23415
|
-
function
|
|
23471
|
+
function toKnownErr92(e) {
|
|
23416
23472
|
if (e instanceof XRPCError) {
|
|
23417
23473
|
}
|
|
23418
23474
|
return e;
|
|
@@ -23421,9 +23477,9 @@ function toKnownErr91(e) {
|
|
|
23421
23477
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
23422
23478
|
var getPopularFeedGenerators_exports = {};
|
|
23423
23479
|
__export(getPopularFeedGenerators_exports, {
|
|
23424
|
-
toKnownErr: () =>
|
|
23480
|
+
toKnownErr: () => toKnownErr93
|
|
23425
23481
|
});
|
|
23426
|
-
function
|
|
23482
|
+
function toKnownErr93(e) {
|
|
23427
23483
|
if (e instanceof XRPCError) {
|
|
23428
23484
|
}
|
|
23429
23485
|
return e;
|
|
@@ -23433,14 +23489,14 @@ function toKnownErr92(e) {
|
|
|
23433
23489
|
var getTimelineSkeleton_exports = {};
|
|
23434
23490
|
__export(getTimelineSkeleton_exports, {
|
|
23435
23491
|
UnknownFeedError: () => UnknownFeedError3,
|
|
23436
|
-
toKnownErr: () =>
|
|
23492
|
+
toKnownErr: () => toKnownErr94
|
|
23437
23493
|
});
|
|
23438
23494
|
var UnknownFeedError3 = class extends XRPCError {
|
|
23439
23495
|
constructor(src2) {
|
|
23440
23496
|
super(src2.status, src2.error, src2.message);
|
|
23441
23497
|
}
|
|
23442
23498
|
};
|
|
23443
|
-
function
|
|
23499
|
+
function toKnownErr94(e) {
|
|
23444
23500
|
if (e instanceof XRPCError) {
|
|
23445
23501
|
if (e.error === "UnknownFeed")
|
|
23446
23502
|
return new UnknownFeedError3(e);
|
|
@@ -24392,19 +24448,24 @@ var AdminNS = class {
|
|
|
24392
24448
|
throw toKnownErr14(e);
|
|
24393
24449
|
});
|
|
24394
24450
|
}
|
|
24451
|
+
sendEmail(data, opts) {
|
|
24452
|
+
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
24453
|
+
throw toKnownErr15(e);
|
|
24454
|
+
});
|
|
24455
|
+
}
|
|
24395
24456
|
takeModerationAction(data, opts) {
|
|
24396
24457
|
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
24397
|
-
throw
|
|
24458
|
+
throw toKnownErr16(e);
|
|
24398
24459
|
});
|
|
24399
24460
|
}
|
|
24400
24461
|
updateAccountEmail(data, opts) {
|
|
24401
24462
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
24402
|
-
throw
|
|
24463
|
+
throw toKnownErr17(e);
|
|
24403
24464
|
});
|
|
24404
24465
|
}
|
|
24405
24466
|
updateAccountHandle(data, opts) {
|
|
24406
24467
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
24407
|
-
throw
|
|
24468
|
+
throw toKnownErr18(e);
|
|
24408
24469
|
});
|
|
24409
24470
|
}
|
|
24410
24471
|
};
|
|
@@ -24414,12 +24475,12 @@ var IdentityNS = class {
|
|
|
24414
24475
|
}
|
|
24415
24476
|
resolveHandle(params2, opts) {
|
|
24416
24477
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
24417
|
-
throw
|
|
24478
|
+
throw toKnownErr19(e);
|
|
24418
24479
|
});
|
|
24419
24480
|
}
|
|
24420
24481
|
updateHandle(data, opts) {
|
|
24421
24482
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
24422
|
-
throw
|
|
24483
|
+
throw toKnownErr20(e);
|
|
24423
24484
|
});
|
|
24424
24485
|
}
|
|
24425
24486
|
};
|
|
@@ -24429,7 +24490,7 @@ var LabelNS = class {
|
|
|
24429
24490
|
}
|
|
24430
24491
|
queryLabels(params2, opts) {
|
|
24431
24492
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
24432
|
-
throw
|
|
24493
|
+
throw toKnownErr21(e);
|
|
24433
24494
|
});
|
|
24434
24495
|
}
|
|
24435
24496
|
};
|
|
@@ -24439,7 +24500,7 @@ var ModerationNS = class {
|
|
|
24439
24500
|
}
|
|
24440
24501
|
createReport(data, opts) {
|
|
24441
24502
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
24442
|
-
throw
|
|
24503
|
+
throw toKnownErr22(e);
|
|
24443
24504
|
});
|
|
24444
24505
|
}
|
|
24445
24506
|
};
|
|
@@ -24449,47 +24510,47 @@ var RepoNS = class {
|
|
|
24449
24510
|
}
|
|
24450
24511
|
applyWrites(data, opts) {
|
|
24451
24512
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
24452
|
-
throw
|
|
24513
|
+
throw toKnownErr23(e);
|
|
24453
24514
|
});
|
|
24454
24515
|
}
|
|
24455
24516
|
createRecord(data, opts) {
|
|
24456
24517
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
24457
|
-
throw
|
|
24518
|
+
throw toKnownErr24(e);
|
|
24458
24519
|
});
|
|
24459
24520
|
}
|
|
24460
24521
|
deleteRecord(data, opts) {
|
|
24461
24522
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
24462
|
-
throw
|
|
24523
|
+
throw toKnownErr25(e);
|
|
24463
24524
|
});
|
|
24464
24525
|
}
|
|
24465
24526
|
describeRepo(params2, opts) {
|
|
24466
24527
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
24467
|
-
throw
|
|
24528
|
+
throw toKnownErr26(e);
|
|
24468
24529
|
});
|
|
24469
24530
|
}
|
|
24470
24531
|
getRecord(params2, opts) {
|
|
24471
24532
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
24472
|
-
throw
|
|
24533
|
+
throw toKnownErr27(e);
|
|
24473
24534
|
});
|
|
24474
24535
|
}
|
|
24475
24536
|
listRecords(params2, opts) {
|
|
24476
24537
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
24477
|
-
throw
|
|
24538
|
+
throw toKnownErr28(e);
|
|
24478
24539
|
});
|
|
24479
24540
|
}
|
|
24480
24541
|
putRecord(data, opts) {
|
|
24481
24542
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
24482
|
-
throw
|
|
24543
|
+
throw toKnownErr29(e);
|
|
24483
24544
|
});
|
|
24484
24545
|
}
|
|
24485
24546
|
rebaseRepo(data, opts) {
|
|
24486
24547
|
return this._service.xrpc.call("com.atproto.repo.rebaseRepo", opts?.qp, data, opts).catch((e) => {
|
|
24487
|
-
throw
|
|
24548
|
+
throw toKnownErr30(e);
|
|
24488
24549
|
});
|
|
24489
24550
|
}
|
|
24490
24551
|
uploadBlob(data, opts) {
|
|
24491
24552
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
24492
|
-
throw
|
|
24553
|
+
throw toKnownErr31(e);
|
|
24493
24554
|
});
|
|
24494
24555
|
}
|
|
24495
24556
|
};
|
|
@@ -24499,82 +24560,82 @@ var ServerNS = class {
|
|
|
24499
24560
|
}
|
|
24500
24561
|
createAccount(data, opts) {
|
|
24501
24562
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
24502
|
-
throw
|
|
24563
|
+
throw toKnownErr32(e);
|
|
24503
24564
|
});
|
|
24504
24565
|
}
|
|
24505
24566
|
createAppPassword(data, opts) {
|
|
24506
24567
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
24507
|
-
throw
|
|
24568
|
+
throw toKnownErr33(e);
|
|
24508
24569
|
});
|
|
24509
24570
|
}
|
|
24510
24571
|
createInviteCode(data, opts) {
|
|
24511
24572
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
24512
|
-
throw
|
|
24573
|
+
throw toKnownErr34(e);
|
|
24513
24574
|
});
|
|
24514
24575
|
}
|
|
24515
24576
|
createInviteCodes(data, opts) {
|
|
24516
24577
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
24517
|
-
throw
|
|
24578
|
+
throw toKnownErr35(e);
|
|
24518
24579
|
});
|
|
24519
24580
|
}
|
|
24520
24581
|
createSession(data, opts) {
|
|
24521
24582
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
24522
|
-
throw
|
|
24583
|
+
throw toKnownErr36(e);
|
|
24523
24584
|
});
|
|
24524
24585
|
}
|
|
24525
24586
|
deleteAccount(data, opts) {
|
|
24526
24587
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
24527
|
-
throw
|
|
24588
|
+
throw toKnownErr37(e);
|
|
24528
24589
|
});
|
|
24529
24590
|
}
|
|
24530
24591
|
deleteSession(data, opts) {
|
|
24531
24592
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
24532
|
-
throw
|
|
24593
|
+
throw toKnownErr38(e);
|
|
24533
24594
|
});
|
|
24534
24595
|
}
|
|
24535
24596
|
describeServer(params2, opts) {
|
|
24536
24597
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
24537
|
-
throw
|
|
24598
|
+
throw toKnownErr39(e);
|
|
24538
24599
|
});
|
|
24539
24600
|
}
|
|
24540
24601
|
getAccountInviteCodes(params2, opts) {
|
|
24541
24602
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
24542
|
-
throw
|
|
24603
|
+
throw toKnownErr40(e);
|
|
24543
24604
|
});
|
|
24544
24605
|
}
|
|
24545
24606
|
getSession(params2, opts) {
|
|
24546
24607
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
24547
|
-
throw
|
|
24608
|
+
throw toKnownErr41(e);
|
|
24548
24609
|
});
|
|
24549
24610
|
}
|
|
24550
24611
|
listAppPasswords(params2, opts) {
|
|
24551
24612
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
24552
|
-
throw
|
|
24613
|
+
throw toKnownErr42(e);
|
|
24553
24614
|
});
|
|
24554
24615
|
}
|
|
24555
24616
|
refreshSession(data, opts) {
|
|
24556
24617
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
24557
|
-
throw
|
|
24618
|
+
throw toKnownErr43(e);
|
|
24558
24619
|
});
|
|
24559
24620
|
}
|
|
24560
24621
|
requestAccountDelete(data, opts) {
|
|
24561
24622
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
24562
|
-
throw
|
|
24623
|
+
throw toKnownErr44(e);
|
|
24563
24624
|
});
|
|
24564
24625
|
}
|
|
24565
24626
|
requestPasswordReset(data, opts) {
|
|
24566
24627
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
24567
|
-
throw
|
|
24628
|
+
throw toKnownErr45(e);
|
|
24568
24629
|
});
|
|
24569
24630
|
}
|
|
24570
24631
|
resetPassword(data, opts) {
|
|
24571
24632
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
24572
|
-
throw
|
|
24633
|
+
throw toKnownErr46(e);
|
|
24573
24634
|
});
|
|
24574
24635
|
}
|
|
24575
24636
|
revokeAppPassword(data, opts) {
|
|
24576
24637
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
24577
|
-
throw
|
|
24638
|
+
throw toKnownErr47(e);
|
|
24578
24639
|
});
|
|
24579
24640
|
}
|
|
24580
24641
|
};
|
|
@@ -24584,57 +24645,57 @@ var SyncNS = class {
|
|
|
24584
24645
|
}
|
|
24585
24646
|
getBlob(params2, opts) {
|
|
24586
24647
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
24587
|
-
throw
|
|
24648
|
+
throw toKnownErr48(e);
|
|
24588
24649
|
});
|
|
24589
24650
|
}
|
|
24590
24651
|
getBlocks(params2, opts) {
|
|
24591
24652
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
24592
|
-
throw
|
|
24653
|
+
throw toKnownErr49(e);
|
|
24593
24654
|
});
|
|
24594
24655
|
}
|
|
24595
24656
|
getCheckout(params2, opts) {
|
|
24596
24657
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
24597
|
-
throw
|
|
24658
|
+
throw toKnownErr50(e);
|
|
24598
24659
|
});
|
|
24599
24660
|
}
|
|
24600
24661
|
getCommitPath(params2, opts) {
|
|
24601
24662
|
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
24602
|
-
throw
|
|
24663
|
+
throw toKnownErr51(e);
|
|
24603
24664
|
});
|
|
24604
24665
|
}
|
|
24605
24666
|
getHead(params2, opts) {
|
|
24606
24667
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
24607
|
-
throw
|
|
24668
|
+
throw toKnownErr52(e);
|
|
24608
24669
|
});
|
|
24609
24670
|
}
|
|
24610
24671
|
getRecord(params2, opts) {
|
|
24611
24672
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
24612
|
-
throw
|
|
24673
|
+
throw toKnownErr53(e);
|
|
24613
24674
|
});
|
|
24614
24675
|
}
|
|
24615
24676
|
getRepo(params2, opts) {
|
|
24616
24677
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
24617
|
-
throw
|
|
24678
|
+
throw toKnownErr54(e);
|
|
24618
24679
|
});
|
|
24619
24680
|
}
|
|
24620
24681
|
listBlobs(params2, opts) {
|
|
24621
24682
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
24622
|
-
throw
|
|
24683
|
+
throw toKnownErr55(e);
|
|
24623
24684
|
});
|
|
24624
24685
|
}
|
|
24625
24686
|
listRepos(params2, opts) {
|
|
24626
24687
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
24627
|
-
throw
|
|
24688
|
+
throw toKnownErr56(e);
|
|
24628
24689
|
});
|
|
24629
24690
|
}
|
|
24630
24691
|
notifyOfUpdate(data, opts) {
|
|
24631
24692
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
24632
|
-
throw
|
|
24693
|
+
throw toKnownErr57(e);
|
|
24633
24694
|
});
|
|
24634
24695
|
}
|
|
24635
24696
|
requestCrawl(data, opts) {
|
|
24636
24697
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
24637
|
-
throw
|
|
24698
|
+
throw toKnownErr58(e);
|
|
24638
24699
|
});
|
|
24639
24700
|
}
|
|
24640
24701
|
};
|
|
@@ -24663,37 +24724,37 @@ var ActorNS = class {
|
|
|
24663
24724
|
}
|
|
24664
24725
|
getPreferences(params2, opts) {
|
|
24665
24726
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
24666
|
-
throw
|
|
24727
|
+
throw toKnownErr59(e);
|
|
24667
24728
|
});
|
|
24668
24729
|
}
|
|
24669
24730
|
getProfile(params2, opts) {
|
|
24670
24731
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
24671
|
-
throw
|
|
24732
|
+
throw toKnownErr60(e);
|
|
24672
24733
|
});
|
|
24673
24734
|
}
|
|
24674
24735
|
getProfiles(params2, opts) {
|
|
24675
24736
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
24676
|
-
throw
|
|
24737
|
+
throw toKnownErr61(e);
|
|
24677
24738
|
});
|
|
24678
24739
|
}
|
|
24679
24740
|
getSuggestions(params2, opts) {
|
|
24680
24741
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
24681
|
-
throw
|
|
24742
|
+
throw toKnownErr62(e);
|
|
24682
24743
|
});
|
|
24683
24744
|
}
|
|
24684
24745
|
putPreferences(data, opts) {
|
|
24685
24746
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
24686
|
-
throw
|
|
24747
|
+
throw toKnownErr63(e);
|
|
24687
24748
|
});
|
|
24688
24749
|
}
|
|
24689
24750
|
searchActors(params2, opts) {
|
|
24690
24751
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
24691
|
-
throw
|
|
24752
|
+
throw toKnownErr64(e);
|
|
24692
24753
|
});
|
|
24693
24754
|
}
|
|
24694
24755
|
searchActorsTypeahead(params2, opts) {
|
|
24695
24756
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
24696
|
-
throw
|
|
24757
|
+
throw toKnownErr65(e);
|
|
24697
24758
|
});
|
|
24698
24759
|
}
|
|
24699
24760
|
};
|
|
@@ -24749,62 +24810,62 @@ var FeedNS = class {
|
|
|
24749
24810
|
}
|
|
24750
24811
|
describeFeedGenerator(params2, opts) {
|
|
24751
24812
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
24752
|
-
throw
|
|
24813
|
+
throw toKnownErr66(e);
|
|
24753
24814
|
});
|
|
24754
24815
|
}
|
|
24755
24816
|
getActorFeeds(params2, opts) {
|
|
24756
24817
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
24757
|
-
throw
|
|
24818
|
+
throw toKnownErr67(e);
|
|
24758
24819
|
});
|
|
24759
24820
|
}
|
|
24760
24821
|
getAuthorFeed(params2, opts) {
|
|
24761
24822
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
24762
|
-
throw
|
|
24823
|
+
throw toKnownErr68(e);
|
|
24763
24824
|
});
|
|
24764
24825
|
}
|
|
24765
24826
|
getFeed(params2, opts) {
|
|
24766
24827
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
24767
|
-
throw
|
|
24828
|
+
throw toKnownErr69(e);
|
|
24768
24829
|
});
|
|
24769
24830
|
}
|
|
24770
24831
|
getFeedGenerator(params2, opts) {
|
|
24771
24832
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
24772
|
-
throw
|
|
24833
|
+
throw toKnownErr70(e);
|
|
24773
24834
|
});
|
|
24774
24835
|
}
|
|
24775
24836
|
getFeedGenerators(params2, opts) {
|
|
24776
24837
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
24777
|
-
throw
|
|
24838
|
+
throw toKnownErr71(e);
|
|
24778
24839
|
});
|
|
24779
24840
|
}
|
|
24780
24841
|
getFeedSkeleton(params2, opts) {
|
|
24781
24842
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
24782
|
-
throw
|
|
24843
|
+
throw toKnownErr72(e);
|
|
24783
24844
|
});
|
|
24784
24845
|
}
|
|
24785
24846
|
getLikes(params2, opts) {
|
|
24786
24847
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
24787
|
-
throw
|
|
24848
|
+
throw toKnownErr73(e);
|
|
24788
24849
|
});
|
|
24789
24850
|
}
|
|
24790
24851
|
getPostThread(params2, opts) {
|
|
24791
24852
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
24792
|
-
throw
|
|
24853
|
+
throw toKnownErr74(e);
|
|
24793
24854
|
});
|
|
24794
24855
|
}
|
|
24795
24856
|
getPosts(params2, opts) {
|
|
24796
24857
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
24797
|
-
throw
|
|
24858
|
+
throw toKnownErr75(e);
|
|
24798
24859
|
});
|
|
24799
24860
|
}
|
|
24800
24861
|
getRepostedBy(params2, opts) {
|
|
24801
24862
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
24802
|
-
throw
|
|
24863
|
+
throw toKnownErr76(e);
|
|
24803
24864
|
});
|
|
24804
24865
|
}
|
|
24805
24866
|
getTimeline(params2, opts) {
|
|
24806
24867
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
24807
|
-
throw
|
|
24868
|
+
throw toKnownErr77(e);
|
|
24808
24869
|
});
|
|
24809
24870
|
}
|
|
24810
24871
|
};
|
|
@@ -24966,57 +25027,57 @@ var GraphNS = class {
|
|
|
24966
25027
|
}
|
|
24967
25028
|
getBlocks(params2, opts) {
|
|
24968
25029
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
24969
|
-
throw
|
|
25030
|
+
throw toKnownErr78(e);
|
|
24970
25031
|
});
|
|
24971
25032
|
}
|
|
24972
25033
|
getFollowers(params2, opts) {
|
|
24973
25034
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
24974
|
-
throw
|
|
25035
|
+
throw toKnownErr79(e);
|
|
24975
25036
|
});
|
|
24976
25037
|
}
|
|
24977
25038
|
getFollows(params2, opts) {
|
|
24978
25039
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
24979
|
-
throw
|
|
25040
|
+
throw toKnownErr80(e);
|
|
24980
25041
|
});
|
|
24981
25042
|
}
|
|
24982
25043
|
getList(params2, opts) {
|
|
24983
25044
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
24984
|
-
throw
|
|
25045
|
+
throw toKnownErr81(e);
|
|
24985
25046
|
});
|
|
24986
25047
|
}
|
|
24987
25048
|
getListMutes(params2, opts) {
|
|
24988
25049
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
24989
|
-
throw
|
|
25050
|
+
throw toKnownErr82(e);
|
|
24990
25051
|
});
|
|
24991
25052
|
}
|
|
24992
25053
|
getLists(params2, opts) {
|
|
24993
25054
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
24994
|
-
throw
|
|
25055
|
+
throw toKnownErr83(e);
|
|
24995
25056
|
});
|
|
24996
25057
|
}
|
|
24997
25058
|
getMutes(params2, opts) {
|
|
24998
25059
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
24999
|
-
throw
|
|
25060
|
+
throw toKnownErr84(e);
|
|
25000
25061
|
});
|
|
25001
25062
|
}
|
|
25002
25063
|
muteActor(data, opts) {
|
|
25003
25064
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
25004
|
-
throw
|
|
25065
|
+
throw toKnownErr85(e);
|
|
25005
25066
|
});
|
|
25006
25067
|
}
|
|
25007
25068
|
muteActorList(data, opts) {
|
|
25008
25069
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25009
|
-
throw
|
|
25070
|
+
throw toKnownErr86(e);
|
|
25010
25071
|
});
|
|
25011
25072
|
}
|
|
25012
25073
|
unmuteActor(data, opts) {
|
|
25013
25074
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
25014
|
-
throw
|
|
25075
|
+
throw toKnownErr87(e);
|
|
25015
25076
|
});
|
|
25016
25077
|
}
|
|
25017
25078
|
unmuteActorList(data, opts) {
|
|
25018
25079
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25019
|
-
throw
|
|
25080
|
+
throw toKnownErr88(e);
|
|
25020
25081
|
});
|
|
25021
25082
|
}
|
|
25022
25083
|
};
|
|
@@ -25174,17 +25235,17 @@ var NotificationNS = class {
|
|
|
25174
25235
|
}
|
|
25175
25236
|
getUnreadCount(params2, opts) {
|
|
25176
25237
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
25177
|
-
throw
|
|
25238
|
+
throw toKnownErr89(e);
|
|
25178
25239
|
});
|
|
25179
25240
|
}
|
|
25180
25241
|
listNotifications(params2, opts) {
|
|
25181
25242
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
25182
|
-
throw
|
|
25243
|
+
throw toKnownErr90(e);
|
|
25183
25244
|
});
|
|
25184
25245
|
}
|
|
25185
25246
|
updateSeen(data, opts) {
|
|
25186
25247
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
25187
|
-
throw
|
|
25248
|
+
throw toKnownErr91(e);
|
|
25188
25249
|
});
|
|
25189
25250
|
}
|
|
25190
25251
|
};
|
|
@@ -25199,7 +25260,7 @@ var UnspeccedNS = class {
|
|
|
25199
25260
|
}
|
|
25200
25261
|
getPopular(params2, opts) {
|
|
25201
25262
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
25202
|
-
throw
|
|
25263
|
+
throw toKnownErr92(e);
|
|
25203
25264
|
});
|
|
25204
25265
|
}
|
|
25205
25266
|
getPopularFeedGenerators(params2, opts) {
|
|
@@ -25209,12 +25270,12 @@ var UnspeccedNS = class {
|
|
|
25209
25270
|
void 0,
|
|
25210
25271
|
opts
|
|
25211
25272
|
).catch((e) => {
|
|
25212
|
-
throw
|
|
25273
|
+
throw toKnownErr93(e);
|
|
25213
25274
|
});
|
|
25214
25275
|
}
|
|
25215
25276
|
getTimelineSkeleton(params2, opts) {
|
|
25216
25277
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
25217
|
-
throw
|
|
25278
|
+
throw toKnownErr94(e);
|
|
25218
25279
|
});
|
|
25219
25280
|
}
|
|
25220
25281
|
};
|