@atproto/api 0.8.0 → 0.9.0
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/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/dist/client/index.d.ts +40 -37
- package/dist/client/lexicons.d.ts +78 -48
- package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -2
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +1 -1
- 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/searchActors.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -1
- 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 +1 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getLikes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getPosts.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +1 -1
- 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/searchPosts.d.ts +1 -1
- 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/defs.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getList.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getLists.d.ts +1 -1
- 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/getMutes.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +1 -1
- 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/moderation/defs.d.ts +49 -0
- package/dist/client/types/app/bsky/moderation/getService.d.ts +16 -0
- package/dist/client/types/app/bsky/moderation/getServices.d.ts +19 -0
- package/dist/client/types/app/bsky/moderation/service.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +1 -1
- package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +1 -1
- 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/applyLabels.d.ts +18 -0
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getTimelineSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +1 -1
- 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/defs.d.ts +2 -1
- package/dist/client/types/com/atproto/admin/emitModerationEvent.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts +19 -0
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/getModerationEvent.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +28 -0
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +26 -0
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +16 -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/queryModerationEvents.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/queryModerationStatuses.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +24 -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/resolveModerationReports.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +34 -0
- package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +32 -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/identity/resolveHandle.d.ts +1 -1
- package/dist/client/types/com/atproto/label/queryLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/moderation/defs.d.ts +1 -1
- 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/describeRepo.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/getRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/repo/listRecords.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +24 -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/uploadBlob.d.ts +1 -1
- 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/createAccount.d.ts +2 -0
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts +1 -1
- package/dist/client/types/com/atproto/server/deleteSession.d.ts +1 -1
- package/dist/client/types/com/atproto/server/describeServer.d.ts +2 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +27 -0
- package/dist/client/types/com/atproto/server/getSession.d.ts +1 -1
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts +1 -1
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +1 -1
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +1 -1
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts +1 -1
- package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts +1 -1
- 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/getBlob.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getCurrent.d.ts +22 -0
- package/dist/client/types/com/atproto/sync/getHead.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +21 -0
- package/dist/client/types/com/atproto/sync/importRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/listRepos.d.ts +1 -1
- 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/client/types/com/atproto/temp/fetchLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/importRepo.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/pushBlob.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.d.ts +17 -0
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +18 -0
- package/dist/index.js +473 -427
- package/dist/index.js.map +3 -3
- package/dist/moderation/types.d.ts +14 -14
- package/dist/rich-text/detection.d.ts +1 -1
- package/dist/rich-text/rich-text.d.ts +5 -5
- 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/types.d.ts +5 -5
- package/docs/moderation.md +3 -3
- package/package.json +6 -6
- package/src/client/index.ts +77 -64
- package/src/client/lexicons.ts +80 -49
- package/src/client/types/com/atproto/admin/defs.ts +1 -0
- package/src/client/types/{app/bsky/unspecced/getPopular.ts → com/atproto/admin/getAccountInfos.ts} +3 -6
- package/src/client/types/com/atproto/server/createAccount.ts +2 -0
- package/src/client/types/com/atproto/server/describeServer.ts +1 -0
- package/src/client/types/com/atproto/temp/requestPhoneVerification.ts +32 -0
- package/src/moderation/index.ts +4 -4
- package/tests/moderation.test.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -8870,19 +8870,19 @@ var require_dist = __commonJS({
|
|
|
8870
8870
|
var src_exports2 = {};
|
|
8871
8871
|
__export(src_exports2, {
|
|
8872
8872
|
APP_BSKY_GRAPH: () => APP_BSKY_GRAPH,
|
|
8873
|
-
ActorNS: () => ActorNS,
|
|
8874
|
-
AdminNS: () => AdminNS,
|
|
8875
8873
|
AppBskyActorDefs: () => defs_exports5,
|
|
8876
8874
|
AppBskyActorGetPreferences: () => getPreferences_exports,
|
|
8877
8875
|
AppBskyActorGetProfile: () => getProfile_exports,
|
|
8878
8876
|
AppBskyActorGetProfiles: () => getProfiles_exports,
|
|
8879
8877
|
AppBskyActorGetSuggestions: () => getSuggestions_exports,
|
|
8878
|
+
AppBskyActorNS: () => AppBskyActorNS,
|
|
8880
8879
|
AppBskyActorProfile: () => profile_exports,
|
|
8881
8880
|
AppBskyActorPutPreferences: () => putPreferences_exports,
|
|
8882
8881
|
AppBskyActorSearchActors: () => searchActors_exports,
|
|
8883
8882
|
AppBskyActorSearchActorsTypeahead: () => searchActorsTypeahead_exports,
|
|
8884
8883
|
AppBskyEmbedExternal: () => external_exports,
|
|
8885
8884
|
AppBskyEmbedImages: () => images_exports,
|
|
8885
|
+
AppBskyEmbedNS: () => AppBskyEmbedNS,
|
|
8886
8886
|
AppBskyEmbedRecord: () => record_exports,
|
|
8887
8887
|
AppBskyEmbedRecordWithMedia: () => recordWithMedia_exports,
|
|
8888
8888
|
AppBskyFeedDefs: () => defs_exports6,
|
|
@@ -8903,6 +8903,7 @@ __export(src_exports2, {
|
|
|
8903
8903
|
AppBskyFeedGetSuggestedFeeds: () => getSuggestedFeeds_exports,
|
|
8904
8904
|
AppBskyFeedGetTimeline: () => getTimeline_exports,
|
|
8905
8905
|
AppBskyFeedLike: () => like_exports,
|
|
8906
|
+
AppBskyFeedNS: () => AppBskyFeedNS,
|
|
8906
8907
|
AppBskyFeedPost: () => post_exports,
|
|
8907
8908
|
AppBskyFeedRepost: () => repost_exports,
|
|
8908
8909
|
AppBskyFeedSearchPosts: () => searchPosts_exports,
|
|
@@ -8924,17 +8925,21 @@ __export(src_exports2, {
|
|
|
8924
8925
|
AppBskyGraphListitem: () => listitem_exports,
|
|
8925
8926
|
AppBskyGraphMuteActor: () => muteActor_exports,
|
|
8926
8927
|
AppBskyGraphMuteActorList: () => muteActorList_exports,
|
|
8928
|
+
AppBskyGraphNS: () => AppBskyGraphNS,
|
|
8927
8929
|
AppBskyGraphUnmuteActor: () => unmuteActor_exports,
|
|
8928
8930
|
AppBskyGraphUnmuteActorList: () => unmuteActorList_exports,
|
|
8931
|
+
AppBskyNS: () => AppBskyNS,
|
|
8929
8932
|
AppBskyNotificationGetUnreadCount: () => getUnreadCount_exports,
|
|
8930
8933
|
AppBskyNotificationListNotifications: () => listNotifications_exports,
|
|
8934
|
+
AppBskyNotificationNS: () => AppBskyNotificationNS,
|
|
8931
8935
|
AppBskyNotificationRegisterPush: () => registerPush_exports,
|
|
8932
8936
|
AppBskyNotificationUpdateSeen: () => updateSeen_exports,
|
|
8933
8937
|
AppBskyRichtextFacet: () => facet_exports,
|
|
8938
|
+
AppBskyRichtextNS: () => AppBskyRichtextNS,
|
|
8934
8939
|
AppBskyUnspeccedDefs: () => defs_exports8,
|
|
8935
|
-
AppBskyUnspeccedGetPopular: () => getPopular_exports,
|
|
8936
8940
|
AppBskyUnspeccedGetPopularFeedGenerators: () => getPopularFeedGenerators_exports,
|
|
8937
8941
|
AppBskyUnspeccedGetTimelineSkeleton: () => getTimelineSkeleton_exports,
|
|
8942
|
+
AppBskyUnspeccedNS: () => AppBskyUnspeccedNS,
|
|
8938
8943
|
AppBskyUnspeccedSearchActorsSkeleton: () => searchActorsSkeleton_exports,
|
|
8939
8944
|
AppBskyUnspeccedSearchPostsSkeleton: () => searchPostsSkeleton_exports,
|
|
8940
8945
|
AppNS: () => AppNS,
|
|
@@ -8942,11 +8947,9 @@ __export(src_exports2, {
|
|
|
8942
8947
|
AtpAgent: () => AtpAgent,
|
|
8943
8948
|
AtpBaseClient: () => AtpBaseClient,
|
|
8944
8949
|
AtpServiceClient: () => AtpServiceClient,
|
|
8945
|
-
AtprotoNS: () => AtprotoNS,
|
|
8946
8950
|
BlobRef: () => BlobRef,
|
|
8947
8951
|
BlockRecord: () => BlockRecord,
|
|
8948
8952
|
BskyAgent: () => BskyAgent,
|
|
8949
|
-
BskyNS: () => BskyNS,
|
|
8950
8953
|
COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
|
|
8951
8954
|
COM_ATPROTO_MODERATION: () => COM_ATPROTO_MODERATION,
|
|
8952
8955
|
ComAtprotoAdminDefs: () => defs_exports,
|
|
@@ -8956,11 +8959,13 @@ __export(src_exports2, {
|
|
|
8956
8959
|
ComAtprotoAdminEmitModerationEvent: () => emitModerationEvent_exports,
|
|
8957
8960
|
ComAtprotoAdminEnableAccountInvites: () => enableAccountInvites_exports,
|
|
8958
8961
|
ComAtprotoAdminGetAccountInfo: () => getAccountInfo_exports,
|
|
8962
|
+
ComAtprotoAdminGetAccountInfos: () => getAccountInfos_exports,
|
|
8959
8963
|
ComAtprotoAdminGetInviteCodes: () => getInviteCodes_exports,
|
|
8960
8964
|
ComAtprotoAdminGetModerationEvent: () => getModerationEvent_exports,
|
|
8961
8965
|
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
8962
8966
|
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
8963
8967
|
ComAtprotoAdminGetSubjectStatus: () => getSubjectStatus_exports,
|
|
8968
|
+
ComAtprotoAdminNS: () => ComAtprotoAdminNS,
|
|
8964
8969
|
ComAtprotoAdminQueryModerationEvents: () => queryModerationEvents_exports,
|
|
8965
8970
|
ComAtprotoAdminQueryModerationStatuses: () => queryModerationStatuses_exports,
|
|
8966
8971
|
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
@@ -8968,19 +8973,24 @@ __export(src_exports2, {
|
|
|
8968
8973
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8969
8974
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
8970
8975
|
ComAtprotoAdminUpdateSubjectStatus: () => updateSubjectStatus_exports,
|
|
8976
|
+
ComAtprotoIdentityNS: () => ComAtprotoIdentityNS,
|
|
8971
8977
|
ComAtprotoIdentityResolveHandle: () => resolveHandle_exports,
|
|
8972
8978
|
ComAtprotoIdentityUpdateHandle: () => updateHandle_exports,
|
|
8973
8979
|
ComAtprotoLabelDefs: () => defs_exports2,
|
|
8980
|
+
ComAtprotoLabelNS: () => ComAtprotoLabelNS,
|
|
8974
8981
|
ComAtprotoLabelQueryLabels: () => queryLabels_exports,
|
|
8975
8982
|
ComAtprotoLabelSubscribeLabels: () => subscribeLabels_exports,
|
|
8976
8983
|
ComAtprotoModerationCreateReport: () => createReport_exports,
|
|
8977
8984
|
ComAtprotoModerationDefs: () => defs_exports3,
|
|
8985
|
+
ComAtprotoModerationNS: () => ComAtprotoModerationNS,
|
|
8986
|
+
ComAtprotoNS: () => ComAtprotoNS,
|
|
8978
8987
|
ComAtprotoRepoApplyWrites: () => applyWrites_exports,
|
|
8979
8988
|
ComAtprotoRepoCreateRecord: () => createRecord_exports,
|
|
8980
8989
|
ComAtprotoRepoDeleteRecord: () => deleteRecord_exports,
|
|
8981
8990
|
ComAtprotoRepoDescribeRepo: () => describeRepo_exports,
|
|
8982
8991
|
ComAtprotoRepoGetRecord: () => getRecord_exports2,
|
|
8983
8992
|
ComAtprotoRepoListRecords: () => listRecords_exports,
|
|
8993
|
+
ComAtprotoRepoNS: () => ComAtprotoRepoNS,
|
|
8984
8994
|
ComAtprotoRepoPutRecord: () => putRecord_exports,
|
|
8985
8995
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
8986
8996
|
ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
|
|
@@ -8997,6 +9007,7 @@ __export(src_exports2, {
|
|
|
8997
9007
|
ComAtprotoServerGetAccountInviteCodes: () => getAccountInviteCodes_exports,
|
|
8998
9008
|
ComAtprotoServerGetSession: () => getSession_exports,
|
|
8999
9009
|
ComAtprotoServerListAppPasswords: () => listAppPasswords_exports,
|
|
9010
|
+
ComAtprotoServerNS: () => ComAtprotoServerNS,
|
|
9000
9011
|
ComAtprotoServerRefreshSession: () => refreshSession_exports,
|
|
9001
9012
|
ComAtprotoServerRequestAccountDelete: () => requestAccountDelete_exports,
|
|
9002
9013
|
ComAtprotoServerRequestEmailConfirmation: () => requestEmailConfirmation_exports,
|
|
@@ -9015,43 +9026,33 @@ __export(src_exports2, {
|
|
|
9015
9026
|
ComAtprotoSyncGetRepo: () => getRepo_exports2,
|
|
9016
9027
|
ComAtprotoSyncListBlobs: () => listBlobs_exports,
|
|
9017
9028
|
ComAtprotoSyncListRepos: () => listRepos_exports,
|
|
9029
|
+
ComAtprotoSyncNS: () => ComAtprotoSyncNS,
|
|
9018
9030
|
ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
|
|
9019
9031
|
ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
|
|
9020
9032
|
ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
|
|
9021
9033
|
ComAtprotoTempFetchLabels: () => fetchLabels_exports,
|
|
9022
9034
|
ComAtprotoTempImportRepo: () => importRepo_exports,
|
|
9035
|
+
ComAtprotoTempNS: () => ComAtprotoTempNS,
|
|
9023
9036
|
ComAtprotoTempPushBlob: () => pushBlob_exports,
|
|
9037
|
+
ComAtprotoTempRequestPhoneVerification: () => requestPhoneVerification_exports,
|
|
9024
9038
|
ComAtprotoTempTransferAccount: () => transferAccount_exports,
|
|
9025
9039
|
ComNS: () => ComNS,
|
|
9026
|
-
EmbedNS: () => EmbedNS,
|
|
9027
|
-
FeedNS: () => FeedNS,
|
|
9028
9040
|
FollowRecord: () => FollowRecord,
|
|
9029
9041
|
GeneratorRecord: () => GeneratorRecord,
|
|
9030
|
-
GraphNS: () => GraphNS,
|
|
9031
|
-
IdentityNS: () => IdentityNS,
|
|
9032
9042
|
LABELS: () => LABELS,
|
|
9033
9043
|
LABEL_GROUPS: () => LABEL_GROUPS,
|
|
9034
|
-
LabelNS: () => LabelNS,
|
|
9035
9044
|
LikeRecord: () => LikeRecord,
|
|
9036
9045
|
ListRecord: () => ListRecord,
|
|
9037
9046
|
ListblockRecord: () => ListblockRecord,
|
|
9038
9047
|
ListitemRecord: () => ListitemRecord,
|
|
9039
9048
|
ModerationDecision: () => ModerationDecision,
|
|
9040
|
-
ModerationNS: () => ModerationNS,
|
|
9041
|
-
NotificationNS: () => NotificationNS,
|
|
9042
9049
|
PostRecord: () => PostRecord,
|
|
9043
9050
|
ProfileRecord: () => ProfileRecord,
|
|
9044
|
-
RepoNS: () => RepoNS,
|
|
9045
9051
|
RepostRecord: () => RepostRecord,
|
|
9046
9052
|
RichText: () => RichText,
|
|
9047
9053
|
RichTextSegment: () => RichTextSegment,
|
|
9048
|
-
RichtextNS: () => RichtextNS,
|
|
9049
|
-
ServerNS: () => ServerNS,
|
|
9050
|
-
SyncNS: () => SyncNS,
|
|
9051
|
-
TempNS: () => TempNS,
|
|
9052
9054
|
ThreadgateRecord: () => ThreadgateRecord,
|
|
9053
9055
|
UnicodeString: () => UnicodeString,
|
|
9054
|
-
UnspeccedNS: () => UnspeccedNS,
|
|
9055
9056
|
default: () => AtpAgent,
|
|
9056
9057
|
jsonStringToLex: () => jsonStringToLex,
|
|
9057
9058
|
jsonToLex: () => jsonToLex,
|
|
@@ -16102,6 +16103,12 @@ var schemaDict = {
|
|
|
16102
16103
|
email: {
|
|
16103
16104
|
type: "string"
|
|
16104
16105
|
},
|
|
16106
|
+
relatedRecords: {
|
|
16107
|
+
type: "array",
|
|
16108
|
+
items: {
|
|
16109
|
+
type: "unknown"
|
|
16110
|
+
}
|
|
16111
|
+
},
|
|
16105
16112
|
indexedAt: {
|
|
16106
16113
|
type: "string",
|
|
16107
16114
|
format: "datetime"
|
|
@@ -16706,6 +16713,45 @@ var schemaDict = {
|
|
|
16706
16713
|
}
|
|
16707
16714
|
}
|
|
16708
16715
|
},
|
|
16716
|
+
ComAtprotoAdminGetAccountInfos: {
|
|
16717
|
+
lexicon: 1,
|
|
16718
|
+
id: "com.atproto.admin.getAccountInfos",
|
|
16719
|
+
defs: {
|
|
16720
|
+
main: {
|
|
16721
|
+
type: "query",
|
|
16722
|
+
description: "Get details about some accounts.",
|
|
16723
|
+
parameters: {
|
|
16724
|
+
type: "params",
|
|
16725
|
+
required: ["dids"],
|
|
16726
|
+
properties: {
|
|
16727
|
+
dids: {
|
|
16728
|
+
type: "array",
|
|
16729
|
+
items: {
|
|
16730
|
+
type: "string",
|
|
16731
|
+
format: "did"
|
|
16732
|
+
}
|
|
16733
|
+
}
|
|
16734
|
+
}
|
|
16735
|
+
},
|
|
16736
|
+
output: {
|
|
16737
|
+
encoding: "application/json",
|
|
16738
|
+
schema: {
|
|
16739
|
+
type: "object",
|
|
16740
|
+
required: ["infos"],
|
|
16741
|
+
properties: {
|
|
16742
|
+
infos: {
|
|
16743
|
+
type: "array",
|
|
16744
|
+
items: {
|
|
16745
|
+
type: "ref",
|
|
16746
|
+
ref: "lex:com.atproto.admin.defs#accountView"
|
|
16747
|
+
}
|
|
16748
|
+
}
|
|
16749
|
+
}
|
|
16750
|
+
}
|
|
16751
|
+
}
|
|
16752
|
+
}
|
|
16753
|
+
}
|
|
16754
|
+
},
|
|
16709
16755
|
ComAtprotoAdminGetInviteCodes: {
|
|
16710
16756
|
lexicon: 1,
|
|
16711
16757
|
id: "com.atproto.admin.getInviteCodes",
|
|
@@ -18248,6 +18294,12 @@ var schemaDict = {
|
|
|
18248
18294
|
inviteCode: {
|
|
18249
18295
|
type: "string"
|
|
18250
18296
|
},
|
|
18297
|
+
verificationCode: {
|
|
18298
|
+
type: "string"
|
|
18299
|
+
},
|
|
18300
|
+
verificationPhone: {
|
|
18301
|
+
type: "string"
|
|
18302
|
+
},
|
|
18251
18303
|
password: {
|
|
18252
18304
|
type: "string"
|
|
18253
18305
|
},
|
|
@@ -18650,6 +18702,9 @@ var schemaDict = {
|
|
|
18650
18702
|
inviteCodeRequired: {
|
|
18651
18703
|
type: "boolean"
|
|
18652
18704
|
},
|
|
18705
|
+
phoneVerificationRequired: {
|
|
18706
|
+
type: "boolean"
|
|
18707
|
+
},
|
|
18653
18708
|
availableUserDomains: {
|
|
18654
18709
|
type: "array",
|
|
18655
18710
|
items: {
|
|
@@ -19710,6 +19765,28 @@ var schemaDict = {
|
|
|
19710
19765
|
}
|
|
19711
19766
|
}
|
|
19712
19767
|
},
|
|
19768
|
+
ComAtprotoTempRequestPhoneVerification: {
|
|
19769
|
+
lexicon: 1,
|
|
19770
|
+
id: "com.atproto.temp.requestPhoneVerification",
|
|
19771
|
+
defs: {
|
|
19772
|
+
main: {
|
|
19773
|
+
type: "procedure",
|
|
19774
|
+
description: "Request a verification code to be sent to the supplied phone number",
|
|
19775
|
+
input: {
|
|
19776
|
+
encoding: "application/json",
|
|
19777
|
+
schema: {
|
|
19778
|
+
type: "object",
|
|
19779
|
+
required: ["phoneNumber"],
|
|
19780
|
+
properties: {
|
|
19781
|
+
phoneNumber: {
|
|
19782
|
+
type: "string"
|
|
19783
|
+
}
|
|
19784
|
+
}
|
|
19785
|
+
}
|
|
19786
|
+
}
|
|
19787
|
+
}
|
|
19788
|
+
}
|
|
19789
|
+
},
|
|
19713
19790
|
ComAtprotoTempTransferAccount: {
|
|
19714
19791
|
lexicon: 1,
|
|
19715
19792
|
id: "com.atproto.temp.transferAccount",
|
|
@@ -23190,53 +23267,6 @@ var schemaDict = {
|
|
|
23190
23267
|
}
|
|
23191
23268
|
}
|
|
23192
23269
|
},
|
|
23193
|
-
AppBskyUnspeccedGetPopular: {
|
|
23194
|
-
lexicon: 1,
|
|
23195
|
-
id: "app.bsky.unspecced.getPopular",
|
|
23196
|
-
defs: {
|
|
23197
|
-
main: {
|
|
23198
|
-
type: "query",
|
|
23199
|
-
description: "DEPRECATED: will be removed soon. Use a feed generator alternative.",
|
|
23200
|
-
parameters: {
|
|
23201
|
-
type: "params",
|
|
23202
|
-
properties: {
|
|
23203
|
-
includeNsfw: {
|
|
23204
|
-
type: "boolean",
|
|
23205
|
-
default: false
|
|
23206
|
-
},
|
|
23207
|
-
limit: {
|
|
23208
|
-
type: "integer",
|
|
23209
|
-
minimum: 1,
|
|
23210
|
-
maximum: 100,
|
|
23211
|
-
default: 50
|
|
23212
|
-
},
|
|
23213
|
-
cursor: {
|
|
23214
|
-
type: "string"
|
|
23215
|
-
}
|
|
23216
|
-
}
|
|
23217
|
-
},
|
|
23218
|
-
output: {
|
|
23219
|
-
encoding: "application/json",
|
|
23220
|
-
schema: {
|
|
23221
|
-
type: "object",
|
|
23222
|
-
required: ["feed"],
|
|
23223
|
-
properties: {
|
|
23224
|
-
cursor: {
|
|
23225
|
-
type: "string"
|
|
23226
|
-
},
|
|
23227
|
-
feed: {
|
|
23228
|
-
type: "array",
|
|
23229
|
-
items: {
|
|
23230
|
-
type: "ref",
|
|
23231
|
-
ref: "lex:app.bsky.feed.defs#feedViewPost"
|
|
23232
|
-
}
|
|
23233
|
-
}
|
|
23234
|
-
}
|
|
23235
|
-
}
|
|
23236
|
-
}
|
|
23237
|
-
}
|
|
23238
|
-
}
|
|
23239
|
-
},
|
|
23240
23270
|
AppBskyUnspeccedGetPopularFeedGenerators: {
|
|
23241
23271
|
lexicon: 1,
|
|
23242
23272
|
id: "app.bsky.unspecced.getPopularFeedGenerators",
|
|
@@ -23529,12 +23559,23 @@ function toKnownErr6(e) {
|
|
|
23529
23559
|
return e;
|
|
23530
23560
|
}
|
|
23531
23561
|
|
|
23562
|
+
// src/client/types/com/atproto/admin/getAccountInfos.ts
|
|
23563
|
+
var getAccountInfos_exports = {};
|
|
23564
|
+
__export(getAccountInfos_exports, {
|
|
23565
|
+
toKnownErr: () => toKnownErr7
|
|
23566
|
+
});
|
|
23567
|
+
function toKnownErr7(e) {
|
|
23568
|
+
if (e instanceof XRPCError) {
|
|
23569
|
+
}
|
|
23570
|
+
return e;
|
|
23571
|
+
}
|
|
23572
|
+
|
|
23532
23573
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
23533
23574
|
var getInviteCodes_exports = {};
|
|
23534
23575
|
__export(getInviteCodes_exports, {
|
|
23535
|
-
toKnownErr: () =>
|
|
23576
|
+
toKnownErr: () => toKnownErr8
|
|
23536
23577
|
});
|
|
23537
|
-
function
|
|
23578
|
+
function toKnownErr8(e) {
|
|
23538
23579
|
if (e instanceof XRPCError) {
|
|
23539
23580
|
}
|
|
23540
23581
|
return e;
|
|
@@ -23543,9 +23584,9 @@ function toKnownErr7(e) {
|
|
|
23543
23584
|
// src/client/types/com/atproto/admin/getModerationEvent.ts
|
|
23544
23585
|
var getModerationEvent_exports = {};
|
|
23545
23586
|
__export(getModerationEvent_exports, {
|
|
23546
|
-
toKnownErr: () =>
|
|
23587
|
+
toKnownErr: () => toKnownErr9
|
|
23547
23588
|
});
|
|
23548
|
-
function
|
|
23589
|
+
function toKnownErr9(e) {
|
|
23549
23590
|
if (e instanceof XRPCError) {
|
|
23550
23591
|
}
|
|
23551
23592
|
return e;
|
|
@@ -23555,14 +23596,14 @@ function toKnownErr8(e) {
|
|
|
23555
23596
|
var getRecord_exports = {};
|
|
23556
23597
|
__export(getRecord_exports, {
|
|
23557
23598
|
RecordNotFoundError: () => RecordNotFoundError,
|
|
23558
|
-
toKnownErr: () =>
|
|
23599
|
+
toKnownErr: () => toKnownErr10
|
|
23559
23600
|
});
|
|
23560
23601
|
var RecordNotFoundError = class extends XRPCError {
|
|
23561
23602
|
constructor(src2) {
|
|
23562
23603
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23563
23604
|
}
|
|
23564
23605
|
};
|
|
23565
|
-
function
|
|
23606
|
+
function toKnownErr10(e) {
|
|
23566
23607
|
if (e instanceof XRPCError) {
|
|
23567
23608
|
if (e.error === "RecordNotFound")
|
|
23568
23609
|
return new RecordNotFoundError(e);
|
|
@@ -23574,14 +23615,14 @@ function toKnownErr9(e) {
|
|
|
23574
23615
|
var getRepo_exports = {};
|
|
23575
23616
|
__export(getRepo_exports, {
|
|
23576
23617
|
RepoNotFoundError: () => RepoNotFoundError,
|
|
23577
|
-
toKnownErr: () =>
|
|
23618
|
+
toKnownErr: () => toKnownErr11
|
|
23578
23619
|
});
|
|
23579
23620
|
var RepoNotFoundError = class extends XRPCError {
|
|
23580
23621
|
constructor(src2) {
|
|
23581
23622
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23582
23623
|
}
|
|
23583
23624
|
};
|
|
23584
|
-
function
|
|
23625
|
+
function toKnownErr11(e) {
|
|
23585
23626
|
if (e instanceof XRPCError) {
|
|
23586
23627
|
if (e.error === "RepoNotFound")
|
|
23587
23628
|
return new RepoNotFoundError(e);
|
|
@@ -23592,9 +23633,9 @@ function toKnownErr10(e) {
|
|
|
23592
23633
|
// src/client/types/com/atproto/admin/getSubjectStatus.ts
|
|
23593
23634
|
var getSubjectStatus_exports = {};
|
|
23594
23635
|
__export(getSubjectStatus_exports, {
|
|
23595
|
-
toKnownErr: () =>
|
|
23636
|
+
toKnownErr: () => toKnownErr12
|
|
23596
23637
|
});
|
|
23597
|
-
function
|
|
23638
|
+
function toKnownErr12(e) {
|
|
23598
23639
|
if (e instanceof XRPCError) {
|
|
23599
23640
|
}
|
|
23600
23641
|
return e;
|
|
@@ -23603,9 +23644,9 @@ function toKnownErr11(e) {
|
|
|
23603
23644
|
// src/client/types/com/atproto/admin/queryModerationEvents.ts
|
|
23604
23645
|
var queryModerationEvents_exports = {};
|
|
23605
23646
|
__export(queryModerationEvents_exports, {
|
|
23606
|
-
toKnownErr: () =>
|
|
23647
|
+
toKnownErr: () => toKnownErr13
|
|
23607
23648
|
});
|
|
23608
|
-
function
|
|
23649
|
+
function toKnownErr13(e) {
|
|
23609
23650
|
if (e instanceof XRPCError) {
|
|
23610
23651
|
}
|
|
23611
23652
|
return e;
|
|
@@ -23614,9 +23655,9 @@ function toKnownErr12(e) {
|
|
|
23614
23655
|
// src/client/types/com/atproto/admin/queryModerationStatuses.ts
|
|
23615
23656
|
var queryModerationStatuses_exports = {};
|
|
23616
23657
|
__export(queryModerationStatuses_exports, {
|
|
23617
|
-
toKnownErr: () =>
|
|
23658
|
+
toKnownErr: () => toKnownErr14
|
|
23618
23659
|
});
|
|
23619
|
-
function
|
|
23660
|
+
function toKnownErr14(e) {
|
|
23620
23661
|
if (e instanceof XRPCError) {
|
|
23621
23662
|
}
|
|
23622
23663
|
return e;
|
|
@@ -23625,9 +23666,9 @@ function toKnownErr13(e) {
|
|
|
23625
23666
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23626
23667
|
var searchRepos_exports = {};
|
|
23627
23668
|
__export(searchRepos_exports, {
|
|
23628
|
-
toKnownErr: () =>
|
|
23669
|
+
toKnownErr: () => toKnownErr15
|
|
23629
23670
|
});
|
|
23630
|
-
function
|
|
23671
|
+
function toKnownErr15(e) {
|
|
23631
23672
|
if (e instanceof XRPCError) {
|
|
23632
23673
|
}
|
|
23633
23674
|
return e;
|
|
@@ -23636,9 +23677,9 @@ function toKnownErr14(e) {
|
|
|
23636
23677
|
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
23637
23678
|
var sendEmail_exports = {};
|
|
23638
23679
|
__export(sendEmail_exports, {
|
|
23639
|
-
toKnownErr: () =>
|
|
23680
|
+
toKnownErr: () => toKnownErr16
|
|
23640
23681
|
});
|
|
23641
|
-
function
|
|
23682
|
+
function toKnownErr16(e) {
|
|
23642
23683
|
if (e instanceof XRPCError) {
|
|
23643
23684
|
}
|
|
23644
23685
|
return e;
|
|
@@ -23647,9 +23688,9 @@ function toKnownErr15(e) {
|
|
|
23647
23688
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23648
23689
|
var updateAccountEmail_exports = {};
|
|
23649
23690
|
__export(updateAccountEmail_exports, {
|
|
23650
|
-
toKnownErr: () =>
|
|
23691
|
+
toKnownErr: () => toKnownErr17
|
|
23651
23692
|
});
|
|
23652
|
-
function
|
|
23693
|
+
function toKnownErr17(e) {
|
|
23653
23694
|
if (e instanceof XRPCError) {
|
|
23654
23695
|
}
|
|
23655
23696
|
return e;
|
|
@@ -23658,9 +23699,9 @@ function toKnownErr16(e) {
|
|
|
23658
23699
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23659
23700
|
var updateAccountHandle_exports = {};
|
|
23660
23701
|
__export(updateAccountHandle_exports, {
|
|
23661
|
-
toKnownErr: () =>
|
|
23702
|
+
toKnownErr: () => toKnownErr18
|
|
23662
23703
|
});
|
|
23663
|
-
function
|
|
23704
|
+
function toKnownErr18(e) {
|
|
23664
23705
|
if (e instanceof XRPCError) {
|
|
23665
23706
|
}
|
|
23666
23707
|
return e;
|
|
@@ -23669,9 +23710,9 @@ function toKnownErr17(e) {
|
|
|
23669
23710
|
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
23670
23711
|
var updateSubjectStatus_exports = {};
|
|
23671
23712
|
__export(updateSubjectStatus_exports, {
|
|
23672
|
-
toKnownErr: () =>
|
|
23713
|
+
toKnownErr: () => toKnownErr19
|
|
23673
23714
|
});
|
|
23674
|
-
function
|
|
23715
|
+
function toKnownErr19(e) {
|
|
23675
23716
|
if (e instanceof XRPCError) {
|
|
23676
23717
|
}
|
|
23677
23718
|
return e;
|
|
@@ -23680,9 +23721,9 @@ function toKnownErr18(e) {
|
|
|
23680
23721
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23681
23722
|
var resolveHandle_exports = {};
|
|
23682
23723
|
__export(resolveHandle_exports, {
|
|
23683
|
-
toKnownErr: () =>
|
|
23724
|
+
toKnownErr: () => toKnownErr20
|
|
23684
23725
|
});
|
|
23685
|
-
function
|
|
23726
|
+
function toKnownErr20(e) {
|
|
23686
23727
|
if (e instanceof XRPCError) {
|
|
23687
23728
|
}
|
|
23688
23729
|
return e;
|
|
@@ -23691,9 +23732,9 @@ function toKnownErr19(e) {
|
|
|
23691
23732
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23692
23733
|
var updateHandle_exports = {};
|
|
23693
23734
|
__export(updateHandle_exports, {
|
|
23694
|
-
toKnownErr: () =>
|
|
23735
|
+
toKnownErr: () => toKnownErr21
|
|
23695
23736
|
});
|
|
23696
|
-
function
|
|
23737
|
+
function toKnownErr21(e) {
|
|
23697
23738
|
if (e instanceof XRPCError) {
|
|
23698
23739
|
}
|
|
23699
23740
|
return e;
|
|
@@ -23702,9 +23743,9 @@ function toKnownErr20(e) {
|
|
|
23702
23743
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23703
23744
|
var queryLabels_exports = {};
|
|
23704
23745
|
__export(queryLabels_exports, {
|
|
23705
|
-
toKnownErr: () =>
|
|
23746
|
+
toKnownErr: () => toKnownErr22
|
|
23706
23747
|
});
|
|
23707
|
-
function
|
|
23748
|
+
function toKnownErr22(e) {
|
|
23708
23749
|
if (e instanceof XRPCError) {
|
|
23709
23750
|
}
|
|
23710
23751
|
return e;
|
|
@@ -23713,9 +23754,9 @@ function toKnownErr21(e) {
|
|
|
23713
23754
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23714
23755
|
var createReport_exports = {};
|
|
23715
23756
|
__export(createReport_exports, {
|
|
23716
|
-
toKnownErr: () =>
|
|
23757
|
+
toKnownErr: () => toKnownErr23
|
|
23717
23758
|
});
|
|
23718
|
-
function
|
|
23759
|
+
function toKnownErr23(e) {
|
|
23719
23760
|
if (e instanceof XRPCError) {
|
|
23720
23761
|
}
|
|
23721
23762
|
return e;
|
|
@@ -23728,7 +23769,7 @@ __export(applyWrites_exports, {
|
|
|
23728
23769
|
isCreate: () => isCreate,
|
|
23729
23770
|
isDelete: () => isDelete,
|
|
23730
23771
|
isUpdate: () => isUpdate,
|
|
23731
|
-
toKnownErr: () =>
|
|
23772
|
+
toKnownErr: () => toKnownErr24,
|
|
23732
23773
|
validateCreate: () => validateCreate,
|
|
23733
23774
|
validateDelete: () => validateDelete,
|
|
23734
23775
|
validateUpdate: () => validateUpdate
|
|
@@ -23748,7 +23789,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
23748
23789
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23749
23790
|
}
|
|
23750
23791
|
};
|
|
23751
|
-
function
|
|
23792
|
+
function toKnownErr24(e) {
|
|
23752
23793
|
if (e instanceof XRPCError) {
|
|
23753
23794
|
if (e.error === "InvalidSwap")
|
|
23754
23795
|
return new InvalidSwapError(e);
|
|
@@ -23778,14 +23819,14 @@ function validateDelete(v) {
|
|
|
23778
23819
|
var createRecord_exports = {};
|
|
23779
23820
|
__export(createRecord_exports, {
|
|
23780
23821
|
InvalidSwapError: () => InvalidSwapError2,
|
|
23781
|
-
toKnownErr: () =>
|
|
23822
|
+
toKnownErr: () => toKnownErr25
|
|
23782
23823
|
});
|
|
23783
23824
|
var InvalidSwapError2 = class extends XRPCError {
|
|
23784
23825
|
constructor(src2) {
|
|
23785
23826
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23786
23827
|
}
|
|
23787
23828
|
};
|
|
23788
|
-
function
|
|
23829
|
+
function toKnownErr25(e) {
|
|
23789
23830
|
if (e instanceof XRPCError) {
|
|
23790
23831
|
if (e.error === "InvalidSwap")
|
|
23791
23832
|
return new InvalidSwapError2(e);
|
|
@@ -23797,14 +23838,14 @@ function toKnownErr24(e) {
|
|
|
23797
23838
|
var deleteRecord_exports = {};
|
|
23798
23839
|
__export(deleteRecord_exports, {
|
|
23799
23840
|
InvalidSwapError: () => InvalidSwapError3,
|
|
23800
|
-
toKnownErr: () =>
|
|
23841
|
+
toKnownErr: () => toKnownErr26
|
|
23801
23842
|
});
|
|
23802
23843
|
var InvalidSwapError3 = class extends XRPCError {
|
|
23803
23844
|
constructor(src2) {
|
|
23804
23845
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23805
23846
|
}
|
|
23806
23847
|
};
|
|
23807
|
-
function
|
|
23848
|
+
function toKnownErr26(e) {
|
|
23808
23849
|
if (e instanceof XRPCError) {
|
|
23809
23850
|
if (e.error === "InvalidSwap")
|
|
23810
23851
|
return new InvalidSwapError3(e);
|
|
@@ -23815,9 +23856,9 @@ function toKnownErr25(e) {
|
|
|
23815
23856
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23816
23857
|
var describeRepo_exports = {};
|
|
23817
23858
|
__export(describeRepo_exports, {
|
|
23818
|
-
toKnownErr: () =>
|
|
23859
|
+
toKnownErr: () => toKnownErr27
|
|
23819
23860
|
});
|
|
23820
|
-
function
|
|
23861
|
+
function toKnownErr27(e) {
|
|
23821
23862
|
if (e instanceof XRPCError) {
|
|
23822
23863
|
}
|
|
23823
23864
|
return e;
|
|
@@ -23826,9 +23867,9 @@ function toKnownErr26(e) {
|
|
|
23826
23867
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23827
23868
|
var getRecord_exports2 = {};
|
|
23828
23869
|
__export(getRecord_exports2, {
|
|
23829
|
-
toKnownErr: () =>
|
|
23870
|
+
toKnownErr: () => toKnownErr28
|
|
23830
23871
|
});
|
|
23831
|
-
function
|
|
23872
|
+
function toKnownErr28(e) {
|
|
23832
23873
|
if (e instanceof XRPCError) {
|
|
23833
23874
|
}
|
|
23834
23875
|
return e;
|
|
@@ -23838,10 +23879,10 @@ function toKnownErr27(e) {
|
|
|
23838
23879
|
var listRecords_exports = {};
|
|
23839
23880
|
__export(listRecords_exports, {
|
|
23840
23881
|
isRecord: () => isRecord,
|
|
23841
|
-
toKnownErr: () =>
|
|
23882
|
+
toKnownErr: () => toKnownErr29,
|
|
23842
23883
|
validateRecord: () => validateRecord
|
|
23843
23884
|
});
|
|
23844
|
-
function
|
|
23885
|
+
function toKnownErr29(e) {
|
|
23845
23886
|
if (e instanceof XRPCError) {
|
|
23846
23887
|
}
|
|
23847
23888
|
return e;
|
|
@@ -23857,14 +23898,14 @@ function validateRecord(v) {
|
|
|
23857
23898
|
var putRecord_exports = {};
|
|
23858
23899
|
__export(putRecord_exports, {
|
|
23859
23900
|
InvalidSwapError: () => InvalidSwapError4,
|
|
23860
|
-
toKnownErr: () =>
|
|
23901
|
+
toKnownErr: () => toKnownErr30
|
|
23861
23902
|
});
|
|
23862
23903
|
var InvalidSwapError4 = class extends XRPCError {
|
|
23863
23904
|
constructor(src2) {
|
|
23864
23905
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23865
23906
|
}
|
|
23866
23907
|
};
|
|
23867
|
-
function
|
|
23908
|
+
function toKnownErr30(e) {
|
|
23868
23909
|
if (e instanceof XRPCError) {
|
|
23869
23910
|
if (e.error === "InvalidSwap")
|
|
23870
23911
|
return new InvalidSwapError4(e);
|
|
@@ -23875,9 +23916,9 @@ function toKnownErr29(e) {
|
|
|
23875
23916
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23876
23917
|
var uploadBlob_exports = {};
|
|
23877
23918
|
__export(uploadBlob_exports, {
|
|
23878
|
-
toKnownErr: () =>
|
|
23919
|
+
toKnownErr: () => toKnownErr31
|
|
23879
23920
|
});
|
|
23880
|
-
function
|
|
23921
|
+
function toKnownErr31(e) {
|
|
23881
23922
|
if (e instanceof XRPCError) {
|
|
23882
23923
|
}
|
|
23883
23924
|
return e;
|
|
@@ -23890,7 +23931,7 @@ __export(confirmEmail_exports, {
|
|
|
23890
23931
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23891
23932
|
InvalidEmailError: () => InvalidEmailError,
|
|
23892
23933
|
InvalidTokenError: () => InvalidTokenError,
|
|
23893
|
-
toKnownErr: () =>
|
|
23934
|
+
toKnownErr: () => toKnownErr32
|
|
23894
23935
|
});
|
|
23895
23936
|
var AccountNotFoundError = class extends XRPCError {
|
|
23896
23937
|
constructor(src2) {
|
|
@@ -23912,7 +23953,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
23912
23953
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23913
23954
|
}
|
|
23914
23955
|
};
|
|
23915
|
-
function
|
|
23956
|
+
function toKnownErr32(e) {
|
|
23916
23957
|
if (e instanceof XRPCError) {
|
|
23917
23958
|
if (e.error === "AccountNotFound")
|
|
23918
23959
|
return new AccountNotFoundError(e);
|
|
@@ -23936,7 +23977,7 @@ __export(createAccount_exports, {
|
|
|
23936
23977
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23937
23978
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23938
23979
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23939
|
-
toKnownErr: () =>
|
|
23980
|
+
toKnownErr: () => toKnownErr33
|
|
23940
23981
|
});
|
|
23941
23982
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23942
23983
|
constructor(src2) {
|
|
@@ -23973,7 +24014,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
23973
24014
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23974
24015
|
}
|
|
23975
24016
|
};
|
|
23976
|
-
function
|
|
24017
|
+
function toKnownErr33(e) {
|
|
23977
24018
|
if (e instanceof XRPCError) {
|
|
23978
24019
|
if (e.error === "InvalidHandle")
|
|
23979
24020
|
return new InvalidHandleError2(e);
|
|
@@ -23998,7 +24039,7 @@ var createAppPassword_exports = {};
|
|
|
23998
24039
|
__export(createAppPassword_exports, {
|
|
23999
24040
|
AccountTakedownError: () => AccountTakedownError,
|
|
24000
24041
|
isAppPassword: () => isAppPassword,
|
|
24001
|
-
toKnownErr: () =>
|
|
24042
|
+
toKnownErr: () => toKnownErr34,
|
|
24002
24043
|
validateAppPassword: () => validateAppPassword
|
|
24003
24044
|
});
|
|
24004
24045
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -24006,7 +24047,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
24006
24047
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24007
24048
|
}
|
|
24008
24049
|
};
|
|
24009
|
-
function
|
|
24050
|
+
function toKnownErr34(e) {
|
|
24010
24051
|
if (e instanceof XRPCError) {
|
|
24011
24052
|
if (e.error === "AccountTakedown")
|
|
24012
24053
|
return new AccountTakedownError(e);
|
|
@@ -24023,9 +24064,9 @@ function validateAppPassword(v) {
|
|
|
24023
24064
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
24024
24065
|
var createInviteCode_exports = {};
|
|
24025
24066
|
__export(createInviteCode_exports, {
|
|
24026
|
-
toKnownErr: () =>
|
|
24067
|
+
toKnownErr: () => toKnownErr35
|
|
24027
24068
|
});
|
|
24028
|
-
function
|
|
24069
|
+
function toKnownErr35(e) {
|
|
24029
24070
|
if (e instanceof XRPCError) {
|
|
24030
24071
|
}
|
|
24031
24072
|
return e;
|
|
@@ -24035,10 +24076,10 @@ function toKnownErr34(e) {
|
|
|
24035
24076
|
var createInviteCodes_exports = {};
|
|
24036
24077
|
__export(createInviteCodes_exports, {
|
|
24037
24078
|
isAccountCodes: () => isAccountCodes,
|
|
24038
|
-
toKnownErr: () =>
|
|
24079
|
+
toKnownErr: () => toKnownErr36,
|
|
24039
24080
|
validateAccountCodes: () => validateAccountCodes
|
|
24040
24081
|
});
|
|
24041
|
-
function
|
|
24082
|
+
function toKnownErr36(e) {
|
|
24042
24083
|
if (e instanceof XRPCError) {
|
|
24043
24084
|
}
|
|
24044
24085
|
return e;
|
|
@@ -24054,14 +24095,14 @@ function validateAccountCodes(v) {
|
|
|
24054
24095
|
var createSession_exports = {};
|
|
24055
24096
|
__export(createSession_exports, {
|
|
24056
24097
|
AccountTakedownError: () => AccountTakedownError2,
|
|
24057
|
-
toKnownErr: () =>
|
|
24098
|
+
toKnownErr: () => toKnownErr37
|
|
24058
24099
|
});
|
|
24059
24100
|
var AccountTakedownError2 = class extends XRPCError {
|
|
24060
24101
|
constructor(src2) {
|
|
24061
24102
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24062
24103
|
}
|
|
24063
24104
|
};
|
|
24064
|
-
function
|
|
24105
|
+
function toKnownErr37(e) {
|
|
24065
24106
|
if (e instanceof XRPCError) {
|
|
24066
24107
|
if (e.error === "AccountTakedown")
|
|
24067
24108
|
return new AccountTakedownError2(e);
|
|
@@ -24074,7 +24115,7 @@ var deleteAccount_exports2 = {};
|
|
|
24074
24115
|
__export(deleteAccount_exports2, {
|
|
24075
24116
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
24076
24117
|
InvalidTokenError: () => InvalidTokenError2,
|
|
24077
|
-
toKnownErr: () =>
|
|
24118
|
+
toKnownErr: () => toKnownErr38
|
|
24078
24119
|
});
|
|
24079
24120
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
24080
24121
|
constructor(src2) {
|
|
@@ -24086,7 +24127,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
24086
24127
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24087
24128
|
}
|
|
24088
24129
|
};
|
|
24089
|
-
function
|
|
24130
|
+
function toKnownErr38(e) {
|
|
24090
24131
|
if (e instanceof XRPCError) {
|
|
24091
24132
|
if (e.error === "ExpiredToken")
|
|
24092
24133
|
return new ExpiredTokenError2(e);
|
|
@@ -24099,9 +24140,9 @@ function toKnownErr37(e) {
|
|
|
24099
24140
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
24100
24141
|
var deleteSession_exports = {};
|
|
24101
24142
|
__export(deleteSession_exports, {
|
|
24102
|
-
toKnownErr: () =>
|
|
24143
|
+
toKnownErr: () => toKnownErr39
|
|
24103
24144
|
});
|
|
24104
|
-
function
|
|
24145
|
+
function toKnownErr39(e) {
|
|
24105
24146
|
if (e instanceof XRPCError) {
|
|
24106
24147
|
}
|
|
24107
24148
|
return e;
|
|
@@ -24111,10 +24152,10 @@ function toKnownErr38(e) {
|
|
|
24111
24152
|
var describeServer_exports = {};
|
|
24112
24153
|
__export(describeServer_exports, {
|
|
24113
24154
|
isLinks: () => isLinks,
|
|
24114
|
-
toKnownErr: () =>
|
|
24155
|
+
toKnownErr: () => toKnownErr40,
|
|
24115
24156
|
validateLinks: () => validateLinks
|
|
24116
24157
|
});
|
|
24117
|
-
function
|
|
24158
|
+
function toKnownErr40(e) {
|
|
24118
24159
|
if (e instanceof XRPCError) {
|
|
24119
24160
|
}
|
|
24120
24161
|
return e;
|
|
@@ -24130,14 +24171,14 @@ function validateLinks(v) {
|
|
|
24130
24171
|
var getAccountInviteCodes_exports = {};
|
|
24131
24172
|
__export(getAccountInviteCodes_exports, {
|
|
24132
24173
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
24133
|
-
toKnownErr: () =>
|
|
24174
|
+
toKnownErr: () => toKnownErr41
|
|
24134
24175
|
});
|
|
24135
24176
|
var DuplicateCreateError = class extends XRPCError {
|
|
24136
24177
|
constructor(src2) {
|
|
24137
24178
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24138
24179
|
}
|
|
24139
24180
|
};
|
|
24140
|
-
function
|
|
24181
|
+
function toKnownErr41(e) {
|
|
24141
24182
|
if (e instanceof XRPCError) {
|
|
24142
24183
|
if (e.error === "DuplicateCreate")
|
|
24143
24184
|
return new DuplicateCreateError(e);
|
|
@@ -24148,9 +24189,9 @@ function toKnownErr40(e) {
|
|
|
24148
24189
|
// src/client/types/com/atproto/server/getSession.ts
|
|
24149
24190
|
var getSession_exports = {};
|
|
24150
24191
|
__export(getSession_exports, {
|
|
24151
|
-
toKnownErr: () =>
|
|
24192
|
+
toKnownErr: () => toKnownErr42
|
|
24152
24193
|
});
|
|
24153
|
-
function
|
|
24194
|
+
function toKnownErr42(e) {
|
|
24154
24195
|
if (e instanceof XRPCError) {
|
|
24155
24196
|
}
|
|
24156
24197
|
return e;
|
|
@@ -24161,7 +24202,7 @@ var listAppPasswords_exports = {};
|
|
|
24161
24202
|
__export(listAppPasswords_exports, {
|
|
24162
24203
|
AccountTakedownError: () => AccountTakedownError3,
|
|
24163
24204
|
isAppPassword: () => isAppPassword2,
|
|
24164
|
-
toKnownErr: () =>
|
|
24205
|
+
toKnownErr: () => toKnownErr43,
|
|
24165
24206
|
validateAppPassword: () => validateAppPassword2
|
|
24166
24207
|
});
|
|
24167
24208
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -24169,7 +24210,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
24169
24210
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24170
24211
|
}
|
|
24171
24212
|
};
|
|
24172
|
-
function
|
|
24213
|
+
function toKnownErr43(e) {
|
|
24173
24214
|
if (e instanceof XRPCError) {
|
|
24174
24215
|
if (e.error === "AccountTakedown")
|
|
24175
24216
|
return new AccountTakedownError3(e);
|
|
@@ -24187,14 +24228,14 @@ function validateAppPassword2(v) {
|
|
|
24187
24228
|
var refreshSession_exports = {};
|
|
24188
24229
|
__export(refreshSession_exports, {
|
|
24189
24230
|
AccountTakedownError: () => AccountTakedownError4,
|
|
24190
|
-
toKnownErr: () =>
|
|
24231
|
+
toKnownErr: () => toKnownErr44
|
|
24191
24232
|
});
|
|
24192
24233
|
var AccountTakedownError4 = class extends XRPCError {
|
|
24193
24234
|
constructor(src2) {
|
|
24194
24235
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24195
24236
|
}
|
|
24196
24237
|
};
|
|
24197
|
-
function
|
|
24238
|
+
function toKnownErr44(e) {
|
|
24198
24239
|
if (e instanceof XRPCError) {
|
|
24199
24240
|
if (e.error === "AccountTakedown")
|
|
24200
24241
|
return new AccountTakedownError4(e);
|
|
@@ -24205,9 +24246,9 @@ function toKnownErr43(e) {
|
|
|
24205
24246
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
24206
24247
|
var requestAccountDelete_exports = {};
|
|
24207
24248
|
__export(requestAccountDelete_exports, {
|
|
24208
|
-
toKnownErr: () =>
|
|
24249
|
+
toKnownErr: () => toKnownErr45
|
|
24209
24250
|
});
|
|
24210
|
-
function
|
|
24251
|
+
function toKnownErr45(e) {
|
|
24211
24252
|
if (e instanceof XRPCError) {
|
|
24212
24253
|
}
|
|
24213
24254
|
return e;
|
|
@@ -24216,9 +24257,9 @@ function toKnownErr44(e) {
|
|
|
24216
24257
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
24217
24258
|
var requestEmailConfirmation_exports = {};
|
|
24218
24259
|
__export(requestEmailConfirmation_exports, {
|
|
24219
|
-
toKnownErr: () =>
|
|
24260
|
+
toKnownErr: () => toKnownErr46
|
|
24220
24261
|
});
|
|
24221
|
-
function
|
|
24262
|
+
function toKnownErr46(e) {
|
|
24222
24263
|
if (e instanceof XRPCError) {
|
|
24223
24264
|
}
|
|
24224
24265
|
return e;
|
|
@@ -24227,9 +24268,9 @@ function toKnownErr45(e) {
|
|
|
24227
24268
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
24228
24269
|
var requestEmailUpdate_exports = {};
|
|
24229
24270
|
__export(requestEmailUpdate_exports, {
|
|
24230
|
-
toKnownErr: () =>
|
|
24271
|
+
toKnownErr: () => toKnownErr47
|
|
24231
24272
|
});
|
|
24232
|
-
function
|
|
24273
|
+
function toKnownErr47(e) {
|
|
24233
24274
|
if (e instanceof XRPCError) {
|
|
24234
24275
|
}
|
|
24235
24276
|
return e;
|
|
@@ -24238,9 +24279,9 @@ function toKnownErr46(e) {
|
|
|
24238
24279
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
24239
24280
|
var requestPasswordReset_exports = {};
|
|
24240
24281
|
__export(requestPasswordReset_exports, {
|
|
24241
|
-
toKnownErr: () =>
|
|
24282
|
+
toKnownErr: () => toKnownErr48
|
|
24242
24283
|
});
|
|
24243
|
-
function
|
|
24284
|
+
function toKnownErr48(e) {
|
|
24244
24285
|
if (e instanceof XRPCError) {
|
|
24245
24286
|
}
|
|
24246
24287
|
return e;
|
|
@@ -24249,9 +24290,9 @@ function toKnownErr47(e) {
|
|
|
24249
24290
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
24250
24291
|
var reserveSigningKey_exports = {};
|
|
24251
24292
|
__export(reserveSigningKey_exports, {
|
|
24252
|
-
toKnownErr: () =>
|
|
24293
|
+
toKnownErr: () => toKnownErr49
|
|
24253
24294
|
});
|
|
24254
|
-
function
|
|
24295
|
+
function toKnownErr49(e) {
|
|
24255
24296
|
if (e instanceof XRPCError) {
|
|
24256
24297
|
}
|
|
24257
24298
|
return e;
|
|
@@ -24262,7 +24303,7 @@ var resetPassword_exports = {};
|
|
|
24262
24303
|
__export(resetPassword_exports, {
|
|
24263
24304
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
24264
24305
|
InvalidTokenError: () => InvalidTokenError3,
|
|
24265
|
-
toKnownErr: () =>
|
|
24306
|
+
toKnownErr: () => toKnownErr50
|
|
24266
24307
|
});
|
|
24267
24308
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
24268
24309
|
constructor(src2) {
|
|
@@ -24274,7 +24315,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
24274
24315
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24275
24316
|
}
|
|
24276
24317
|
};
|
|
24277
|
-
function
|
|
24318
|
+
function toKnownErr50(e) {
|
|
24278
24319
|
if (e instanceof XRPCError) {
|
|
24279
24320
|
if (e.error === "ExpiredToken")
|
|
24280
24321
|
return new ExpiredTokenError3(e);
|
|
@@ -24287,9 +24328,9 @@ function toKnownErr49(e) {
|
|
|
24287
24328
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
24288
24329
|
var revokeAppPassword_exports = {};
|
|
24289
24330
|
__export(revokeAppPassword_exports, {
|
|
24290
|
-
toKnownErr: () =>
|
|
24331
|
+
toKnownErr: () => toKnownErr51
|
|
24291
24332
|
});
|
|
24292
|
-
function
|
|
24333
|
+
function toKnownErr51(e) {
|
|
24293
24334
|
if (e instanceof XRPCError) {
|
|
24294
24335
|
}
|
|
24295
24336
|
return e;
|
|
@@ -24301,7 +24342,7 @@ __export(updateEmail_exports, {
|
|
|
24301
24342
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
24302
24343
|
InvalidTokenError: () => InvalidTokenError4,
|
|
24303
24344
|
TokenRequiredError: () => TokenRequiredError,
|
|
24304
|
-
toKnownErr: () =>
|
|
24345
|
+
toKnownErr: () => toKnownErr52
|
|
24305
24346
|
});
|
|
24306
24347
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
24307
24348
|
constructor(src2) {
|
|
@@ -24318,7 +24359,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
24318
24359
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24319
24360
|
}
|
|
24320
24361
|
};
|
|
24321
|
-
function
|
|
24362
|
+
function toKnownErr52(e) {
|
|
24322
24363
|
if (e instanceof XRPCError) {
|
|
24323
24364
|
if (e.error === "ExpiredToken")
|
|
24324
24365
|
return new ExpiredTokenError4(e);
|
|
@@ -24333,9 +24374,9 @@ function toKnownErr51(e) {
|
|
|
24333
24374
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
24334
24375
|
var getBlob_exports = {};
|
|
24335
24376
|
__export(getBlob_exports, {
|
|
24336
|
-
toKnownErr: () =>
|
|
24377
|
+
toKnownErr: () => toKnownErr53
|
|
24337
24378
|
});
|
|
24338
|
-
function
|
|
24379
|
+
function toKnownErr53(e) {
|
|
24339
24380
|
if (e instanceof XRPCError) {
|
|
24340
24381
|
}
|
|
24341
24382
|
return e;
|
|
@@ -24344,9 +24385,9 @@ function toKnownErr52(e) {
|
|
|
24344
24385
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
24345
24386
|
var getBlocks_exports = {};
|
|
24346
24387
|
__export(getBlocks_exports, {
|
|
24347
|
-
toKnownErr: () =>
|
|
24388
|
+
toKnownErr: () => toKnownErr54
|
|
24348
24389
|
});
|
|
24349
|
-
function
|
|
24390
|
+
function toKnownErr54(e) {
|
|
24350
24391
|
if (e instanceof XRPCError) {
|
|
24351
24392
|
}
|
|
24352
24393
|
return e;
|
|
@@ -24355,9 +24396,9 @@ function toKnownErr53(e) {
|
|
|
24355
24396
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
24356
24397
|
var getCheckout_exports = {};
|
|
24357
24398
|
__export(getCheckout_exports, {
|
|
24358
|
-
toKnownErr: () =>
|
|
24399
|
+
toKnownErr: () => toKnownErr55
|
|
24359
24400
|
});
|
|
24360
|
-
function
|
|
24401
|
+
function toKnownErr55(e) {
|
|
24361
24402
|
if (e instanceof XRPCError) {
|
|
24362
24403
|
}
|
|
24363
24404
|
return e;
|
|
@@ -24367,14 +24408,14 @@ function toKnownErr54(e) {
|
|
|
24367
24408
|
var getHead_exports = {};
|
|
24368
24409
|
__export(getHead_exports, {
|
|
24369
24410
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
24370
|
-
toKnownErr: () =>
|
|
24411
|
+
toKnownErr: () => toKnownErr56
|
|
24371
24412
|
});
|
|
24372
24413
|
var HeadNotFoundError = class extends XRPCError {
|
|
24373
24414
|
constructor(src2) {
|
|
24374
24415
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24375
24416
|
}
|
|
24376
24417
|
};
|
|
24377
|
-
function
|
|
24418
|
+
function toKnownErr56(e) {
|
|
24378
24419
|
if (e instanceof XRPCError) {
|
|
24379
24420
|
if (e.error === "HeadNotFound")
|
|
24380
24421
|
return new HeadNotFoundError(e);
|
|
@@ -24386,14 +24427,14 @@ function toKnownErr55(e) {
|
|
|
24386
24427
|
var getLatestCommit_exports = {};
|
|
24387
24428
|
__export(getLatestCommit_exports, {
|
|
24388
24429
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
24389
|
-
toKnownErr: () =>
|
|
24430
|
+
toKnownErr: () => toKnownErr57
|
|
24390
24431
|
});
|
|
24391
24432
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
24392
24433
|
constructor(src2) {
|
|
24393
24434
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24394
24435
|
}
|
|
24395
24436
|
};
|
|
24396
|
-
function
|
|
24437
|
+
function toKnownErr57(e) {
|
|
24397
24438
|
if (e instanceof XRPCError) {
|
|
24398
24439
|
if (e.error === "RepoNotFound")
|
|
24399
24440
|
return new RepoNotFoundError2(e);
|
|
@@ -24404,9 +24445,9 @@ function toKnownErr56(e) {
|
|
|
24404
24445
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
24405
24446
|
var getRecord_exports3 = {};
|
|
24406
24447
|
__export(getRecord_exports3, {
|
|
24407
|
-
toKnownErr: () =>
|
|
24448
|
+
toKnownErr: () => toKnownErr58
|
|
24408
24449
|
});
|
|
24409
|
-
function
|
|
24450
|
+
function toKnownErr58(e) {
|
|
24410
24451
|
if (e instanceof XRPCError) {
|
|
24411
24452
|
}
|
|
24412
24453
|
return e;
|
|
@@ -24415,9 +24456,9 @@ function toKnownErr57(e) {
|
|
|
24415
24456
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
24416
24457
|
var getRepo_exports2 = {};
|
|
24417
24458
|
__export(getRepo_exports2, {
|
|
24418
|
-
toKnownErr: () =>
|
|
24459
|
+
toKnownErr: () => toKnownErr59
|
|
24419
24460
|
});
|
|
24420
|
-
function
|
|
24461
|
+
function toKnownErr59(e) {
|
|
24421
24462
|
if (e instanceof XRPCError) {
|
|
24422
24463
|
}
|
|
24423
24464
|
return e;
|
|
@@ -24426,9 +24467,9 @@ function toKnownErr58(e) {
|
|
|
24426
24467
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
24427
24468
|
var listBlobs_exports = {};
|
|
24428
24469
|
__export(listBlobs_exports, {
|
|
24429
|
-
toKnownErr: () =>
|
|
24470
|
+
toKnownErr: () => toKnownErr60
|
|
24430
24471
|
});
|
|
24431
|
-
function
|
|
24472
|
+
function toKnownErr60(e) {
|
|
24432
24473
|
if (e instanceof XRPCError) {
|
|
24433
24474
|
}
|
|
24434
24475
|
return e;
|
|
@@ -24438,10 +24479,10 @@ function toKnownErr59(e) {
|
|
|
24438
24479
|
var listRepos_exports = {};
|
|
24439
24480
|
__export(listRepos_exports, {
|
|
24440
24481
|
isRepo: () => isRepo,
|
|
24441
|
-
toKnownErr: () =>
|
|
24482
|
+
toKnownErr: () => toKnownErr61,
|
|
24442
24483
|
validateRepo: () => validateRepo
|
|
24443
24484
|
});
|
|
24444
|
-
function
|
|
24485
|
+
function toKnownErr61(e) {
|
|
24445
24486
|
if (e instanceof XRPCError) {
|
|
24446
24487
|
}
|
|
24447
24488
|
return e;
|
|
@@ -24456,9 +24497,9 @@ function validateRepo(v) {
|
|
|
24456
24497
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
24457
24498
|
var notifyOfUpdate_exports = {};
|
|
24458
24499
|
__export(notifyOfUpdate_exports, {
|
|
24459
|
-
toKnownErr: () =>
|
|
24500
|
+
toKnownErr: () => toKnownErr62
|
|
24460
24501
|
});
|
|
24461
|
-
function
|
|
24502
|
+
function toKnownErr62(e) {
|
|
24462
24503
|
if (e instanceof XRPCError) {
|
|
24463
24504
|
}
|
|
24464
24505
|
return e;
|
|
@@ -24467,9 +24508,9 @@ function toKnownErr61(e) {
|
|
|
24467
24508
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
24468
24509
|
var requestCrawl_exports = {};
|
|
24469
24510
|
__export(requestCrawl_exports, {
|
|
24470
|
-
toKnownErr: () =>
|
|
24511
|
+
toKnownErr: () => toKnownErr63
|
|
24471
24512
|
});
|
|
24472
|
-
function
|
|
24513
|
+
function toKnownErr63(e) {
|
|
24473
24514
|
if (e instanceof XRPCError) {
|
|
24474
24515
|
}
|
|
24475
24516
|
return e;
|
|
@@ -24478,9 +24519,9 @@ function toKnownErr62(e) {
|
|
|
24478
24519
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
24479
24520
|
var fetchLabels_exports = {};
|
|
24480
24521
|
__export(fetchLabels_exports, {
|
|
24481
|
-
toKnownErr: () =>
|
|
24522
|
+
toKnownErr: () => toKnownErr64
|
|
24482
24523
|
});
|
|
24483
|
-
function
|
|
24524
|
+
function toKnownErr64(e) {
|
|
24484
24525
|
if (e instanceof XRPCError) {
|
|
24485
24526
|
}
|
|
24486
24527
|
return e;
|
|
@@ -24489,9 +24530,9 @@ function toKnownErr63(e) {
|
|
|
24489
24530
|
// src/client/types/com/atproto/temp/importRepo.ts
|
|
24490
24531
|
var importRepo_exports = {};
|
|
24491
24532
|
__export(importRepo_exports, {
|
|
24492
|
-
toKnownErr: () =>
|
|
24533
|
+
toKnownErr: () => toKnownErr65
|
|
24493
24534
|
});
|
|
24494
|
-
function
|
|
24535
|
+
function toKnownErr65(e) {
|
|
24495
24536
|
if (e instanceof XRPCError) {
|
|
24496
24537
|
}
|
|
24497
24538
|
return e;
|
|
@@ -24500,9 +24541,20 @@ function toKnownErr64(e) {
|
|
|
24500
24541
|
// src/client/types/com/atproto/temp/pushBlob.ts
|
|
24501
24542
|
var pushBlob_exports = {};
|
|
24502
24543
|
__export(pushBlob_exports, {
|
|
24503
|
-
toKnownErr: () =>
|
|
24544
|
+
toKnownErr: () => toKnownErr66
|
|
24504
24545
|
});
|
|
24505
|
-
function
|
|
24546
|
+
function toKnownErr66(e) {
|
|
24547
|
+
if (e instanceof XRPCError) {
|
|
24548
|
+
}
|
|
24549
|
+
return e;
|
|
24550
|
+
}
|
|
24551
|
+
|
|
24552
|
+
// src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
24553
|
+
var requestPhoneVerification_exports = {};
|
|
24554
|
+
__export(requestPhoneVerification_exports, {
|
|
24555
|
+
toKnownErr: () => toKnownErr67
|
|
24556
|
+
});
|
|
24557
|
+
function toKnownErr67(e) {
|
|
24506
24558
|
if (e instanceof XRPCError) {
|
|
24507
24559
|
}
|
|
24508
24560
|
return e;
|
|
@@ -24518,7 +24570,7 @@ __export(transferAccount_exports, {
|
|
|
24518
24570
|
InvalidPasswordError: () => InvalidPasswordError2,
|
|
24519
24571
|
UnresolvableDidError: () => UnresolvableDidError2,
|
|
24520
24572
|
UnsupportedDomainError: () => UnsupportedDomainError2,
|
|
24521
|
-
toKnownErr: () =>
|
|
24573
|
+
toKnownErr: () => toKnownErr68
|
|
24522
24574
|
});
|
|
24523
24575
|
var InvalidHandleError3 = class extends XRPCError {
|
|
24524
24576
|
constructor(src2) {
|
|
@@ -24555,7 +24607,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
24555
24607
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24556
24608
|
}
|
|
24557
24609
|
};
|
|
24558
|
-
function
|
|
24610
|
+
function toKnownErr68(e) {
|
|
24559
24611
|
if (e instanceof XRPCError) {
|
|
24560
24612
|
if (e.error === "InvalidHandle")
|
|
24561
24613
|
return new InvalidHandleError3(e);
|
|
@@ -24578,9 +24630,9 @@ function toKnownErr66(e) {
|
|
|
24578
24630
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
24579
24631
|
var getPreferences_exports = {};
|
|
24580
24632
|
__export(getPreferences_exports, {
|
|
24581
|
-
toKnownErr: () =>
|
|
24633
|
+
toKnownErr: () => toKnownErr69
|
|
24582
24634
|
});
|
|
24583
|
-
function
|
|
24635
|
+
function toKnownErr69(e) {
|
|
24584
24636
|
if (e instanceof XRPCError) {
|
|
24585
24637
|
}
|
|
24586
24638
|
return e;
|
|
@@ -24589,9 +24641,9 @@ function toKnownErr67(e) {
|
|
|
24589
24641
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
24590
24642
|
var getProfile_exports = {};
|
|
24591
24643
|
__export(getProfile_exports, {
|
|
24592
|
-
toKnownErr: () =>
|
|
24644
|
+
toKnownErr: () => toKnownErr70
|
|
24593
24645
|
});
|
|
24594
|
-
function
|
|
24646
|
+
function toKnownErr70(e) {
|
|
24595
24647
|
if (e instanceof XRPCError) {
|
|
24596
24648
|
}
|
|
24597
24649
|
return e;
|
|
@@ -24600,9 +24652,9 @@ function toKnownErr68(e) {
|
|
|
24600
24652
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
24601
24653
|
var getProfiles_exports = {};
|
|
24602
24654
|
__export(getProfiles_exports, {
|
|
24603
|
-
toKnownErr: () =>
|
|
24655
|
+
toKnownErr: () => toKnownErr71
|
|
24604
24656
|
});
|
|
24605
|
-
function
|
|
24657
|
+
function toKnownErr71(e) {
|
|
24606
24658
|
if (e instanceof XRPCError) {
|
|
24607
24659
|
}
|
|
24608
24660
|
return e;
|
|
@@ -24611,9 +24663,9 @@ function toKnownErr69(e) {
|
|
|
24611
24663
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
24612
24664
|
var getSuggestions_exports = {};
|
|
24613
24665
|
__export(getSuggestions_exports, {
|
|
24614
|
-
toKnownErr: () =>
|
|
24666
|
+
toKnownErr: () => toKnownErr72
|
|
24615
24667
|
});
|
|
24616
|
-
function
|
|
24668
|
+
function toKnownErr72(e) {
|
|
24617
24669
|
if (e instanceof XRPCError) {
|
|
24618
24670
|
}
|
|
24619
24671
|
return e;
|
|
@@ -24622,9 +24674,9 @@ function toKnownErr70(e) {
|
|
|
24622
24674
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
24623
24675
|
var putPreferences_exports = {};
|
|
24624
24676
|
__export(putPreferences_exports, {
|
|
24625
|
-
toKnownErr: () =>
|
|
24677
|
+
toKnownErr: () => toKnownErr73
|
|
24626
24678
|
});
|
|
24627
|
-
function
|
|
24679
|
+
function toKnownErr73(e) {
|
|
24628
24680
|
if (e instanceof XRPCError) {
|
|
24629
24681
|
}
|
|
24630
24682
|
return e;
|
|
@@ -24633,9 +24685,9 @@ function toKnownErr71(e) {
|
|
|
24633
24685
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
24634
24686
|
var searchActors_exports = {};
|
|
24635
24687
|
__export(searchActors_exports, {
|
|
24636
|
-
toKnownErr: () =>
|
|
24688
|
+
toKnownErr: () => toKnownErr74
|
|
24637
24689
|
});
|
|
24638
|
-
function
|
|
24690
|
+
function toKnownErr74(e) {
|
|
24639
24691
|
if (e instanceof XRPCError) {
|
|
24640
24692
|
}
|
|
24641
24693
|
return e;
|
|
@@ -24644,9 +24696,9 @@ function toKnownErr72(e) {
|
|
|
24644
24696
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
24645
24697
|
var searchActorsTypeahead_exports = {};
|
|
24646
24698
|
__export(searchActorsTypeahead_exports, {
|
|
24647
|
-
toKnownErr: () =>
|
|
24699
|
+
toKnownErr: () => toKnownErr75
|
|
24648
24700
|
});
|
|
24649
|
-
function
|
|
24701
|
+
function toKnownErr75(e) {
|
|
24650
24702
|
if (e instanceof XRPCError) {
|
|
24651
24703
|
}
|
|
24652
24704
|
return e;
|
|
@@ -24657,11 +24709,11 @@ var describeFeedGenerator_exports = {};
|
|
|
24657
24709
|
__export(describeFeedGenerator_exports, {
|
|
24658
24710
|
isFeed: () => isFeed,
|
|
24659
24711
|
isLinks: () => isLinks2,
|
|
24660
|
-
toKnownErr: () =>
|
|
24712
|
+
toKnownErr: () => toKnownErr76,
|
|
24661
24713
|
validateFeed: () => validateFeed,
|
|
24662
24714
|
validateLinks: () => validateLinks2
|
|
24663
24715
|
});
|
|
24664
|
-
function
|
|
24716
|
+
function toKnownErr76(e) {
|
|
24665
24717
|
if (e instanceof XRPCError) {
|
|
24666
24718
|
}
|
|
24667
24719
|
return e;
|
|
@@ -24682,9 +24734,9 @@ function validateLinks2(v) {
|
|
|
24682
24734
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
24683
24735
|
var getActorFeeds_exports = {};
|
|
24684
24736
|
__export(getActorFeeds_exports, {
|
|
24685
|
-
toKnownErr: () =>
|
|
24737
|
+
toKnownErr: () => toKnownErr77
|
|
24686
24738
|
});
|
|
24687
|
-
function
|
|
24739
|
+
function toKnownErr77(e) {
|
|
24688
24740
|
if (e instanceof XRPCError) {
|
|
24689
24741
|
}
|
|
24690
24742
|
return e;
|
|
@@ -24695,7 +24747,7 @@ var getActorLikes_exports = {};
|
|
|
24695
24747
|
__export(getActorLikes_exports, {
|
|
24696
24748
|
BlockedActorError: () => BlockedActorError,
|
|
24697
24749
|
BlockedByActorError: () => BlockedByActorError,
|
|
24698
|
-
toKnownErr: () =>
|
|
24750
|
+
toKnownErr: () => toKnownErr78
|
|
24699
24751
|
});
|
|
24700
24752
|
var BlockedActorError = class extends XRPCError {
|
|
24701
24753
|
constructor(src2) {
|
|
@@ -24707,7 +24759,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
24707
24759
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24708
24760
|
}
|
|
24709
24761
|
};
|
|
24710
|
-
function
|
|
24762
|
+
function toKnownErr78(e) {
|
|
24711
24763
|
if (e instanceof XRPCError) {
|
|
24712
24764
|
if (e.error === "BlockedActor")
|
|
24713
24765
|
return new BlockedActorError(e);
|
|
@@ -24722,7 +24774,7 @@ var getAuthorFeed_exports = {};
|
|
|
24722
24774
|
__export(getAuthorFeed_exports, {
|
|
24723
24775
|
BlockedActorError: () => BlockedActorError2,
|
|
24724
24776
|
BlockedByActorError: () => BlockedByActorError2,
|
|
24725
|
-
toKnownErr: () =>
|
|
24777
|
+
toKnownErr: () => toKnownErr79
|
|
24726
24778
|
});
|
|
24727
24779
|
var BlockedActorError2 = class extends XRPCError {
|
|
24728
24780
|
constructor(src2) {
|
|
@@ -24734,7 +24786,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
24734
24786
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24735
24787
|
}
|
|
24736
24788
|
};
|
|
24737
|
-
function
|
|
24789
|
+
function toKnownErr79(e) {
|
|
24738
24790
|
if (e instanceof XRPCError) {
|
|
24739
24791
|
if (e.error === "BlockedActor")
|
|
24740
24792
|
return new BlockedActorError2(e);
|
|
@@ -24748,14 +24800,14 @@ function toKnownErr77(e) {
|
|
|
24748
24800
|
var getFeed_exports = {};
|
|
24749
24801
|
__export(getFeed_exports, {
|
|
24750
24802
|
UnknownFeedError: () => UnknownFeedError,
|
|
24751
|
-
toKnownErr: () =>
|
|
24803
|
+
toKnownErr: () => toKnownErr80
|
|
24752
24804
|
});
|
|
24753
24805
|
var UnknownFeedError = class extends XRPCError {
|
|
24754
24806
|
constructor(src2) {
|
|
24755
24807
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24756
24808
|
}
|
|
24757
24809
|
};
|
|
24758
|
-
function
|
|
24810
|
+
function toKnownErr80(e) {
|
|
24759
24811
|
if (e instanceof XRPCError) {
|
|
24760
24812
|
if (e.error === "UnknownFeed")
|
|
24761
24813
|
return new UnknownFeedError(e);
|
|
@@ -24766,9 +24818,9 @@ function toKnownErr78(e) {
|
|
|
24766
24818
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
24767
24819
|
var getFeedGenerator_exports = {};
|
|
24768
24820
|
__export(getFeedGenerator_exports, {
|
|
24769
|
-
toKnownErr: () =>
|
|
24821
|
+
toKnownErr: () => toKnownErr81
|
|
24770
24822
|
});
|
|
24771
|
-
function
|
|
24823
|
+
function toKnownErr81(e) {
|
|
24772
24824
|
if (e instanceof XRPCError) {
|
|
24773
24825
|
}
|
|
24774
24826
|
return e;
|
|
@@ -24777,9 +24829,9 @@ function toKnownErr79(e) {
|
|
|
24777
24829
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
24778
24830
|
var getFeedGenerators_exports = {};
|
|
24779
24831
|
__export(getFeedGenerators_exports, {
|
|
24780
|
-
toKnownErr: () =>
|
|
24832
|
+
toKnownErr: () => toKnownErr82
|
|
24781
24833
|
});
|
|
24782
|
-
function
|
|
24834
|
+
function toKnownErr82(e) {
|
|
24783
24835
|
if (e instanceof XRPCError) {
|
|
24784
24836
|
}
|
|
24785
24837
|
return e;
|
|
@@ -24789,14 +24841,14 @@ function toKnownErr80(e) {
|
|
|
24789
24841
|
var getFeedSkeleton_exports = {};
|
|
24790
24842
|
__export(getFeedSkeleton_exports, {
|
|
24791
24843
|
UnknownFeedError: () => UnknownFeedError2,
|
|
24792
|
-
toKnownErr: () =>
|
|
24844
|
+
toKnownErr: () => toKnownErr83
|
|
24793
24845
|
});
|
|
24794
24846
|
var UnknownFeedError2 = class extends XRPCError {
|
|
24795
24847
|
constructor(src2) {
|
|
24796
24848
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24797
24849
|
}
|
|
24798
24850
|
};
|
|
24799
|
-
function
|
|
24851
|
+
function toKnownErr83(e) {
|
|
24800
24852
|
if (e instanceof XRPCError) {
|
|
24801
24853
|
if (e.error === "UnknownFeed")
|
|
24802
24854
|
return new UnknownFeedError2(e);
|
|
@@ -24808,10 +24860,10 @@ function toKnownErr81(e) {
|
|
|
24808
24860
|
var getLikes_exports = {};
|
|
24809
24861
|
__export(getLikes_exports, {
|
|
24810
24862
|
isLike: () => isLike,
|
|
24811
|
-
toKnownErr: () =>
|
|
24863
|
+
toKnownErr: () => toKnownErr84,
|
|
24812
24864
|
validateLike: () => validateLike
|
|
24813
24865
|
});
|
|
24814
|
-
function
|
|
24866
|
+
function toKnownErr84(e) {
|
|
24815
24867
|
if (e instanceof XRPCError) {
|
|
24816
24868
|
}
|
|
24817
24869
|
return e;
|
|
@@ -24827,14 +24879,14 @@ function validateLike(v) {
|
|
|
24827
24879
|
var getListFeed_exports = {};
|
|
24828
24880
|
__export(getListFeed_exports, {
|
|
24829
24881
|
UnknownListError: () => UnknownListError,
|
|
24830
|
-
toKnownErr: () =>
|
|
24882
|
+
toKnownErr: () => toKnownErr85
|
|
24831
24883
|
});
|
|
24832
24884
|
var UnknownListError = class extends XRPCError {
|
|
24833
24885
|
constructor(src2) {
|
|
24834
24886
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24835
24887
|
}
|
|
24836
24888
|
};
|
|
24837
|
-
function
|
|
24889
|
+
function toKnownErr85(e) {
|
|
24838
24890
|
if (e instanceof XRPCError) {
|
|
24839
24891
|
if (e.error === "UnknownList")
|
|
24840
24892
|
return new UnknownListError(e);
|
|
@@ -24846,14 +24898,14 @@ function toKnownErr83(e) {
|
|
|
24846
24898
|
var getPostThread_exports = {};
|
|
24847
24899
|
__export(getPostThread_exports, {
|
|
24848
24900
|
NotFoundError: () => NotFoundError,
|
|
24849
|
-
toKnownErr: () =>
|
|
24901
|
+
toKnownErr: () => toKnownErr86
|
|
24850
24902
|
});
|
|
24851
24903
|
var NotFoundError = class extends XRPCError {
|
|
24852
24904
|
constructor(src2) {
|
|
24853
24905
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24854
24906
|
}
|
|
24855
24907
|
};
|
|
24856
|
-
function
|
|
24908
|
+
function toKnownErr86(e) {
|
|
24857
24909
|
if (e instanceof XRPCError) {
|
|
24858
24910
|
if (e.error === "NotFound")
|
|
24859
24911
|
return new NotFoundError(e);
|
|
@@ -24864,9 +24916,9 @@ function toKnownErr84(e) {
|
|
|
24864
24916
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24865
24917
|
var getPosts_exports = {};
|
|
24866
24918
|
__export(getPosts_exports, {
|
|
24867
|
-
toKnownErr: () =>
|
|
24919
|
+
toKnownErr: () => toKnownErr87
|
|
24868
24920
|
});
|
|
24869
|
-
function
|
|
24921
|
+
function toKnownErr87(e) {
|
|
24870
24922
|
if (e instanceof XRPCError) {
|
|
24871
24923
|
}
|
|
24872
24924
|
return e;
|
|
@@ -24875,9 +24927,9 @@ function toKnownErr85(e) {
|
|
|
24875
24927
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24876
24928
|
var getRepostedBy_exports = {};
|
|
24877
24929
|
__export(getRepostedBy_exports, {
|
|
24878
|
-
toKnownErr: () =>
|
|
24930
|
+
toKnownErr: () => toKnownErr88
|
|
24879
24931
|
});
|
|
24880
|
-
function
|
|
24932
|
+
function toKnownErr88(e) {
|
|
24881
24933
|
if (e instanceof XRPCError) {
|
|
24882
24934
|
}
|
|
24883
24935
|
return e;
|
|
@@ -24886,9 +24938,9 @@ function toKnownErr86(e) {
|
|
|
24886
24938
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
24887
24939
|
var getSuggestedFeeds_exports = {};
|
|
24888
24940
|
__export(getSuggestedFeeds_exports, {
|
|
24889
|
-
toKnownErr: () =>
|
|
24941
|
+
toKnownErr: () => toKnownErr89
|
|
24890
24942
|
});
|
|
24891
|
-
function
|
|
24943
|
+
function toKnownErr89(e) {
|
|
24892
24944
|
if (e instanceof XRPCError) {
|
|
24893
24945
|
}
|
|
24894
24946
|
return e;
|
|
@@ -24897,9 +24949,9 @@ function toKnownErr87(e) {
|
|
|
24897
24949
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24898
24950
|
var getTimeline_exports = {};
|
|
24899
24951
|
__export(getTimeline_exports, {
|
|
24900
|
-
toKnownErr: () =>
|
|
24952
|
+
toKnownErr: () => toKnownErr90
|
|
24901
24953
|
});
|
|
24902
|
-
function
|
|
24954
|
+
function toKnownErr90(e) {
|
|
24903
24955
|
if (e instanceof XRPCError) {
|
|
24904
24956
|
}
|
|
24905
24957
|
return e;
|
|
@@ -24909,14 +24961,14 @@ function toKnownErr88(e) {
|
|
|
24909
24961
|
var searchPosts_exports = {};
|
|
24910
24962
|
__export(searchPosts_exports, {
|
|
24911
24963
|
BadQueryStringError: () => BadQueryStringError,
|
|
24912
|
-
toKnownErr: () =>
|
|
24964
|
+
toKnownErr: () => toKnownErr91
|
|
24913
24965
|
});
|
|
24914
24966
|
var BadQueryStringError = class extends XRPCError {
|
|
24915
24967
|
constructor(src2) {
|
|
24916
24968
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24917
24969
|
}
|
|
24918
24970
|
};
|
|
24919
|
-
function
|
|
24971
|
+
function toKnownErr91(e) {
|
|
24920
24972
|
if (e instanceof XRPCError) {
|
|
24921
24973
|
if (e.error === "BadQueryString")
|
|
24922
24974
|
return new BadQueryStringError(e);
|
|
@@ -24927,9 +24979,9 @@ function toKnownErr89(e) {
|
|
|
24927
24979
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24928
24980
|
var getBlocks_exports2 = {};
|
|
24929
24981
|
__export(getBlocks_exports2, {
|
|
24930
|
-
toKnownErr: () =>
|
|
24982
|
+
toKnownErr: () => toKnownErr92
|
|
24931
24983
|
});
|
|
24932
|
-
function
|
|
24984
|
+
function toKnownErr92(e) {
|
|
24933
24985
|
if (e instanceof XRPCError) {
|
|
24934
24986
|
}
|
|
24935
24987
|
return e;
|
|
@@ -24938,9 +24990,9 @@ function toKnownErr90(e) {
|
|
|
24938
24990
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24939
24991
|
var getFollowers_exports = {};
|
|
24940
24992
|
__export(getFollowers_exports, {
|
|
24941
|
-
toKnownErr: () =>
|
|
24993
|
+
toKnownErr: () => toKnownErr93
|
|
24942
24994
|
});
|
|
24943
|
-
function
|
|
24995
|
+
function toKnownErr93(e) {
|
|
24944
24996
|
if (e instanceof XRPCError) {
|
|
24945
24997
|
}
|
|
24946
24998
|
return e;
|
|
@@ -24949,9 +25001,9 @@ function toKnownErr91(e) {
|
|
|
24949
25001
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
24950
25002
|
var getFollows_exports = {};
|
|
24951
25003
|
__export(getFollows_exports, {
|
|
24952
|
-
toKnownErr: () =>
|
|
25004
|
+
toKnownErr: () => toKnownErr94
|
|
24953
25005
|
});
|
|
24954
|
-
function
|
|
25006
|
+
function toKnownErr94(e) {
|
|
24955
25007
|
if (e instanceof XRPCError) {
|
|
24956
25008
|
}
|
|
24957
25009
|
return e;
|
|
@@ -24960,9 +25012,9 @@ function toKnownErr92(e) {
|
|
|
24960
25012
|
// src/client/types/app/bsky/graph/getList.ts
|
|
24961
25013
|
var getList_exports = {};
|
|
24962
25014
|
__export(getList_exports, {
|
|
24963
|
-
toKnownErr: () =>
|
|
25015
|
+
toKnownErr: () => toKnownErr95
|
|
24964
25016
|
});
|
|
24965
|
-
function
|
|
25017
|
+
function toKnownErr95(e) {
|
|
24966
25018
|
if (e instanceof XRPCError) {
|
|
24967
25019
|
}
|
|
24968
25020
|
return e;
|
|
@@ -24971,9 +25023,9 @@ function toKnownErr93(e) {
|
|
|
24971
25023
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
24972
25024
|
var getListBlocks_exports = {};
|
|
24973
25025
|
__export(getListBlocks_exports, {
|
|
24974
|
-
toKnownErr: () =>
|
|
25026
|
+
toKnownErr: () => toKnownErr96
|
|
24975
25027
|
});
|
|
24976
|
-
function
|
|
25028
|
+
function toKnownErr96(e) {
|
|
24977
25029
|
if (e instanceof XRPCError) {
|
|
24978
25030
|
}
|
|
24979
25031
|
return e;
|
|
@@ -24982,9 +25034,9 @@ function toKnownErr94(e) {
|
|
|
24982
25034
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
24983
25035
|
var getListMutes_exports = {};
|
|
24984
25036
|
__export(getListMutes_exports, {
|
|
24985
|
-
toKnownErr: () =>
|
|
25037
|
+
toKnownErr: () => toKnownErr97
|
|
24986
25038
|
});
|
|
24987
|
-
function
|
|
25039
|
+
function toKnownErr97(e) {
|
|
24988
25040
|
if (e instanceof XRPCError) {
|
|
24989
25041
|
}
|
|
24990
25042
|
return e;
|
|
@@ -24993,9 +25045,9 @@ function toKnownErr95(e) {
|
|
|
24993
25045
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
24994
25046
|
var getLists_exports = {};
|
|
24995
25047
|
__export(getLists_exports, {
|
|
24996
|
-
toKnownErr: () =>
|
|
25048
|
+
toKnownErr: () => toKnownErr98
|
|
24997
25049
|
});
|
|
24998
|
-
function
|
|
25050
|
+
function toKnownErr98(e) {
|
|
24999
25051
|
if (e instanceof XRPCError) {
|
|
25000
25052
|
}
|
|
25001
25053
|
return e;
|
|
@@ -25004,9 +25056,9 @@ function toKnownErr96(e) {
|
|
|
25004
25056
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
25005
25057
|
var getMutes_exports = {};
|
|
25006
25058
|
__export(getMutes_exports, {
|
|
25007
|
-
toKnownErr: () =>
|
|
25059
|
+
toKnownErr: () => toKnownErr99
|
|
25008
25060
|
});
|
|
25009
|
-
function
|
|
25061
|
+
function toKnownErr99(e) {
|
|
25010
25062
|
if (e instanceof XRPCError) {
|
|
25011
25063
|
}
|
|
25012
25064
|
return e;
|
|
@@ -25015,9 +25067,9 @@ function toKnownErr97(e) {
|
|
|
25015
25067
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
25016
25068
|
var getSuggestedFollowsByActor_exports = {};
|
|
25017
25069
|
__export(getSuggestedFollowsByActor_exports, {
|
|
25018
|
-
toKnownErr: () =>
|
|
25070
|
+
toKnownErr: () => toKnownErr100
|
|
25019
25071
|
});
|
|
25020
|
-
function
|
|
25072
|
+
function toKnownErr100(e) {
|
|
25021
25073
|
if (e instanceof XRPCError) {
|
|
25022
25074
|
}
|
|
25023
25075
|
return e;
|
|
@@ -25026,9 +25078,9 @@ function toKnownErr98(e) {
|
|
|
25026
25078
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
25027
25079
|
var muteActor_exports = {};
|
|
25028
25080
|
__export(muteActor_exports, {
|
|
25029
|
-
toKnownErr: () =>
|
|
25081
|
+
toKnownErr: () => toKnownErr101
|
|
25030
25082
|
});
|
|
25031
|
-
function
|
|
25083
|
+
function toKnownErr101(e) {
|
|
25032
25084
|
if (e instanceof XRPCError) {
|
|
25033
25085
|
}
|
|
25034
25086
|
return e;
|
|
@@ -25037,9 +25089,9 @@ function toKnownErr99(e) {
|
|
|
25037
25089
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25038
25090
|
var muteActorList_exports = {};
|
|
25039
25091
|
__export(muteActorList_exports, {
|
|
25040
|
-
toKnownErr: () =>
|
|
25092
|
+
toKnownErr: () => toKnownErr102
|
|
25041
25093
|
});
|
|
25042
|
-
function
|
|
25094
|
+
function toKnownErr102(e) {
|
|
25043
25095
|
if (e instanceof XRPCError) {
|
|
25044
25096
|
}
|
|
25045
25097
|
return e;
|
|
@@ -25048,9 +25100,9 @@ function toKnownErr100(e) {
|
|
|
25048
25100
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25049
25101
|
var unmuteActor_exports = {};
|
|
25050
25102
|
__export(unmuteActor_exports, {
|
|
25051
|
-
toKnownErr: () =>
|
|
25103
|
+
toKnownErr: () => toKnownErr103
|
|
25052
25104
|
});
|
|
25053
|
-
function
|
|
25105
|
+
function toKnownErr103(e) {
|
|
25054
25106
|
if (e instanceof XRPCError) {
|
|
25055
25107
|
}
|
|
25056
25108
|
return e;
|
|
@@ -25059,9 +25111,9 @@ function toKnownErr101(e) {
|
|
|
25059
25111
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
25060
25112
|
var unmuteActorList_exports = {};
|
|
25061
25113
|
__export(unmuteActorList_exports, {
|
|
25062
|
-
toKnownErr: () =>
|
|
25114
|
+
toKnownErr: () => toKnownErr104
|
|
25063
25115
|
});
|
|
25064
|
-
function
|
|
25116
|
+
function toKnownErr104(e) {
|
|
25065
25117
|
if (e instanceof XRPCError) {
|
|
25066
25118
|
}
|
|
25067
25119
|
return e;
|
|
@@ -25070,9 +25122,9 @@ function toKnownErr102(e) {
|
|
|
25070
25122
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
25071
25123
|
var getUnreadCount_exports = {};
|
|
25072
25124
|
__export(getUnreadCount_exports, {
|
|
25073
|
-
toKnownErr: () =>
|
|
25125
|
+
toKnownErr: () => toKnownErr105
|
|
25074
25126
|
});
|
|
25075
|
-
function
|
|
25127
|
+
function toKnownErr105(e) {
|
|
25076
25128
|
if (e instanceof XRPCError) {
|
|
25077
25129
|
}
|
|
25078
25130
|
return e;
|
|
@@ -25082,10 +25134,10 @@ function toKnownErr103(e) {
|
|
|
25082
25134
|
var listNotifications_exports = {};
|
|
25083
25135
|
__export(listNotifications_exports, {
|
|
25084
25136
|
isNotification: () => isNotification,
|
|
25085
|
-
toKnownErr: () =>
|
|
25137
|
+
toKnownErr: () => toKnownErr106,
|
|
25086
25138
|
validateNotification: () => validateNotification
|
|
25087
25139
|
});
|
|
25088
|
-
function
|
|
25140
|
+
function toKnownErr106(e) {
|
|
25089
25141
|
if (e instanceof XRPCError) {
|
|
25090
25142
|
}
|
|
25091
25143
|
return e;
|
|
@@ -25100,9 +25152,9 @@ function validateNotification(v) {
|
|
|
25100
25152
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
25101
25153
|
var registerPush_exports = {};
|
|
25102
25154
|
__export(registerPush_exports, {
|
|
25103
|
-
toKnownErr: () =>
|
|
25155
|
+
toKnownErr: () => toKnownErr107
|
|
25104
25156
|
});
|
|
25105
|
-
function
|
|
25157
|
+
function toKnownErr107(e) {
|
|
25106
25158
|
if (e instanceof XRPCError) {
|
|
25107
25159
|
}
|
|
25108
25160
|
return e;
|
|
@@ -25111,20 +25163,9 @@ function toKnownErr105(e) {
|
|
|
25111
25163
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
25112
25164
|
var updateSeen_exports = {};
|
|
25113
25165
|
__export(updateSeen_exports, {
|
|
25114
|
-
toKnownErr: () =>
|
|
25115
|
-
});
|
|
25116
|
-
function toKnownErr106(e) {
|
|
25117
|
-
if (e instanceof XRPCError) {
|
|
25118
|
-
}
|
|
25119
|
-
return e;
|
|
25120
|
-
}
|
|
25121
|
-
|
|
25122
|
-
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
25123
|
-
var getPopular_exports = {};
|
|
25124
|
-
__export(getPopular_exports, {
|
|
25125
|
-
toKnownErr: () => toKnownErr107
|
|
25166
|
+
toKnownErr: () => toKnownErr108
|
|
25126
25167
|
});
|
|
25127
|
-
function
|
|
25168
|
+
function toKnownErr108(e) {
|
|
25128
25169
|
if (e instanceof XRPCError) {
|
|
25129
25170
|
}
|
|
25130
25171
|
return e;
|
|
@@ -25133,9 +25174,9 @@ function toKnownErr107(e) {
|
|
|
25133
25174
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
25134
25175
|
var getPopularFeedGenerators_exports = {};
|
|
25135
25176
|
__export(getPopularFeedGenerators_exports, {
|
|
25136
|
-
toKnownErr: () =>
|
|
25177
|
+
toKnownErr: () => toKnownErr109
|
|
25137
25178
|
});
|
|
25138
|
-
function
|
|
25179
|
+
function toKnownErr109(e) {
|
|
25139
25180
|
if (e instanceof XRPCError) {
|
|
25140
25181
|
}
|
|
25141
25182
|
return e;
|
|
@@ -25145,14 +25186,14 @@ function toKnownErr108(e) {
|
|
|
25145
25186
|
var getTimelineSkeleton_exports = {};
|
|
25146
25187
|
__export(getTimelineSkeleton_exports, {
|
|
25147
25188
|
UnknownFeedError: () => UnknownFeedError3,
|
|
25148
|
-
toKnownErr: () =>
|
|
25189
|
+
toKnownErr: () => toKnownErr110
|
|
25149
25190
|
});
|
|
25150
25191
|
var UnknownFeedError3 = class extends XRPCError {
|
|
25151
25192
|
constructor(src2) {
|
|
25152
25193
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25153
25194
|
}
|
|
25154
25195
|
};
|
|
25155
|
-
function
|
|
25196
|
+
function toKnownErr110(e) {
|
|
25156
25197
|
if (e instanceof XRPCError) {
|
|
25157
25198
|
if (e.error === "UnknownFeed")
|
|
25158
25199
|
return new UnknownFeedError3(e);
|
|
@@ -25164,14 +25205,14 @@ function toKnownErr109(e) {
|
|
|
25164
25205
|
var searchActorsSkeleton_exports = {};
|
|
25165
25206
|
__export(searchActorsSkeleton_exports, {
|
|
25166
25207
|
BadQueryStringError: () => BadQueryStringError2,
|
|
25167
|
-
toKnownErr: () =>
|
|
25208
|
+
toKnownErr: () => toKnownErr111
|
|
25168
25209
|
});
|
|
25169
25210
|
var BadQueryStringError2 = class extends XRPCError {
|
|
25170
25211
|
constructor(src2) {
|
|
25171
25212
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25172
25213
|
}
|
|
25173
25214
|
};
|
|
25174
|
-
function
|
|
25215
|
+
function toKnownErr111(e) {
|
|
25175
25216
|
if (e instanceof XRPCError) {
|
|
25176
25217
|
if (e.error === "BadQueryString")
|
|
25177
25218
|
return new BadQueryStringError2(e);
|
|
@@ -25183,14 +25224,14 @@ function toKnownErr110(e) {
|
|
|
25183
25224
|
var searchPostsSkeleton_exports = {};
|
|
25184
25225
|
__export(searchPostsSkeleton_exports, {
|
|
25185
25226
|
BadQueryStringError: () => BadQueryStringError3,
|
|
25186
|
-
toKnownErr: () =>
|
|
25227
|
+
toKnownErr: () => toKnownErr112
|
|
25187
25228
|
});
|
|
25188
25229
|
var BadQueryStringError3 = class extends XRPCError {
|
|
25189
25230
|
constructor(src2) {
|
|
25190
25231
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25191
25232
|
}
|
|
25192
25233
|
};
|
|
25193
|
-
function
|
|
25234
|
+
function toKnownErr112(e) {
|
|
25194
25235
|
if (e instanceof XRPCError) {
|
|
25195
25236
|
if (e.error === "BadQueryString")
|
|
25196
25237
|
return new BadQueryStringError3(e);
|
|
@@ -26303,23 +26344,23 @@ var AtpServiceClient = class {
|
|
|
26303
26344
|
var ComNS = class {
|
|
26304
26345
|
constructor(service2) {
|
|
26305
26346
|
this._service = service2;
|
|
26306
|
-
this.atproto = new
|
|
26347
|
+
this.atproto = new ComAtprotoNS(service2);
|
|
26307
26348
|
}
|
|
26308
26349
|
};
|
|
26309
|
-
var
|
|
26350
|
+
var ComAtprotoNS = class {
|
|
26310
26351
|
constructor(service2) {
|
|
26311
26352
|
this._service = service2;
|
|
26312
|
-
this.admin = new
|
|
26313
|
-
this.identity = new
|
|
26314
|
-
this.label = new
|
|
26315
|
-
this.moderation = new
|
|
26316
|
-
this.repo = new
|
|
26317
|
-
this.server = new
|
|
26318
|
-
this.sync = new
|
|
26319
|
-
this.temp = new
|
|
26353
|
+
this.admin = new ComAtprotoAdminNS(service2);
|
|
26354
|
+
this.identity = new ComAtprotoIdentityNS(service2);
|
|
26355
|
+
this.label = new ComAtprotoLabelNS(service2);
|
|
26356
|
+
this.moderation = new ComAtprotoModerationNS(service2);
|
|
26357
|
+
this.repo = new ComAtprotoRepoNS(service2);
|
|
26358
|
+
this.server = new ComAtprotoServerNS(service2);
|
|
26359
|
+
this.sync = new ComAtprotoSyncNS(service2);
|
|
26360
|
+
this.temp = new ComAtprotoTempNS(service2);
|
|
26320
26361
|
}
|
|
26321
26362
|
};
|
|
26322
|
-
var
|
|
26363
|
+
var ComAtprotoAdminNS = class {
|
|
26323
26364
|
constructor(service2) {
|
|
26324
26365
|
this._service = service2;
|
|
26325
26366
|
}
|
|
@@ -26353,398 +26394,408 @@ var AdminNS = class {
|
|
|
26353
26394
|
throw toKnownErr6(e);
|
|
26354
26395
|
});
|
|
26355
26396
|
}
|
|
26397
|
+
getAccountInfos(params2, opts) {
|
|
26398
|
+
return this._service.xrpc.call("com.atproto.admin.getAccountInfos", params2, void 0, opts).catch((e) => {
|
|
26399
|
+
throw toKnownErr7(e);
|
|
26400
|
+
});
|
|
26401
|
+
}
|
|
26356
26402
|
getInviteCodes(params2, opts) {
|
|
26357
26403
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26358
|
-
throw
|
|
26404
|
+
throw toKnownErr8(e);
|
|
26359
26405
|
});
|
|
26360
26406
|
}
|
|
26361
26407
|
getModerationEvent(params2, opts) {
|
|
26362
26408
|
return this._service.xrpc.call("com.atproto.admin.getModerationEvent", params2, void 0, opts).catch((e) => {
|
|
26363
|
-
throw
|
|
26409
|
+
throw toKnownErr9(e);
|
|
26364
26410
|
});
|
|
26365
26411
|
}
|
|
26366
26412
|
getRecord(params2, opts) {
|
|
26367
26413
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
26368
|
-
throw
|
|
26414
|
+
throw toKnownErr10(e);
|
|
26369
26415
|
});
|
|
26370
26416
|
}
|
|
26371
26417
|
getRepo(params2, opts) {
|
|
26372
26418
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
26373
|
-
throw
|
|
26419
|
+
throw toKnownErr11(e);
|
|
26374
26420
|
});
|
|
26375
26421
|
}
|
|
26376
26422
|
getSubjectStatus(params2, opts) {
|
|
26377
26423
|
return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
|
|
26378
|
-
throw
|
|
26424
|
+
throw toKnownErr12(e);
|
|
26379
26425
|
});
|
|
26380
26426
|
}
|
|
26381
26427
|
queryModerationEvents(params2, opts) {
|
|
26382
26428
|
return this._service.xrpc.call("com.atproto.admin.queryModerationEvents", params2, void 0, opts).catch((e) => {
|
|
26383
|
-
throw
|
|
26429
|
+
throw toKnownErr13(e);
|
|
26384
26430
|
});
|
|
26385
26431
|
}
|
|
26386
26432
|
queryModerationStatuses(params2, opts) {
|
|
26387
26433
|
return this._service.xrpc.call("com.atproto.admin.queryModerationStatuses", params2, void 0, opts).catch((e) => {
|
|
26388
|
-
throw
|
|
26434
|
+
throw toKnownErr14(e);
|
|
26389
26435
|
});
|
|
26390
26436
|
}
|
|
26391
26437
|
searchRepos(params2, opts) {
|
|
26392
26438
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
26393
|
-
throw
|
|
26439
|
+
throw toKnownErr15(e);
|
|
26394
26440
|
});
|
|
26395
26441
|
}
|
|
26396
26442
|
sendEmail(data, opts) {
|
|
26397
26443
|
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
26398
|
-
throw
|
|
26444
|
+
throw toKnownErr16(e);
|
|
26399
26445
|
});
|
|
26400
26446
|
}
|
|
26401
26447
|
updateAccountEmail(data, opts) {
|
|
26402
26448
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
26403
|
-
throw
|
|
26449
|
+
throw toKnownErr17(e);
|
|
26404
26450
|
});
|
|
26405
26451
|
}
|
|
26406
26452
|
updateAccountHandle(data, opts) {
|
|
26407
26453
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
26408
|
-
throw
|
|
26454
|
+
throw toKnownErr18(e);
|
|
26409
26455
|
});
|
|
26410
26456
|
}
|
|
26411
26457
|
updateSubjectStatus(data, opts) {
|
|
26412
26458
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
26413
|
-
throw
|
|
26459
|
+
throw toKnownErr19(e);
|
|
26414
26460
|
});
|
|
26415
26461
|
}
|
|
26416
26462
|
};
|
|
26417
|
-
var
|
|
26463
|
+
var ComAtprotoIdentityNS = class {
|
|
26418
26464
|
constructor(service2) {
|
|
26419
26465
|
this._service = service2;
|
|
26420
26466
|
}
|
|
26421
26467
|
resolveHandle(params2, opts) {
|
|
26422
26468
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
26423
|
-
throw
|
|
26469
|
+
throw toKnownErr20(e);
|
|
26424
26470
|
});
|
|
26425
26471
|
}
|
|
26426
26472
|
updateHandle(data, opts) {
|
|
26427
26473
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
26428
|
-
throw
|
|
26474
|
+
throw toKnownErr21(e);
|
|
26429
26475
|
});
|
|
26430
26476
|
}
|
|
26431
26477
|
};
|
|
26432
|
-
var
|
|
26478
|
+
var ComAtprotoLabelNS = class {
|
|
26433
26479
|
constructor(service2) {
|
|
26434
26480
|
this._service = service2;
|
|
26435
26481
|
}
|
|
26436
26482
|
queryLabels(params2, opts) {
|
|
26437
26483
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
26438
|
-
throw
|
|
26484
|
+
throw toKnownErr22(e);
|
|
26439
26485
|
});
|
|
26440
26486
|
}
|
|
26441
26487
|
};
|
|
26442
|
-
var
|
|
26488
|
+
var ComAtprotoModerationNS = class {
|
|
26443
26489
|
constructor(service2) {
|
|
26444
26490
|
this._service = service2;
|
|
26445
26491
|
}
|
|
26446
26492
|
createReport(data, opts) {
|
|
26447
26493
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
26448
|
-
throw
|
|
26494
|
+
throw toKnownErr23(e);
|
|
26449
26495
|
});
|
|
26450
26496
|
}
|
|
26451
26497
|
};
|
|
26452
|
-
var
|
|
26498
|
+
var ComAtprotoRepoNS = class {
|
|
26453
26499
|
constructor(service2) {
|
|
26454
26500
|
this._service = service2;
|
|
26455
26501
|
}
|
|
26456
26502
|
applyWrites(data, opts) {
|
|
26457
26503
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
26458
|
-
throw
|
|
26504
|
+
throw toKnownErr24(e);
|
|
26459
26505
|
});
|
|
26460
26506
|
}
|
|
26461
26507
|
createRecord(data, opts) {
|
|
26462
26508
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
26463
|
-
throw
|
|
26509
|
+
throw toKnownErr25(e);
|
|
26464
26510
|
});
|
|
26465
26511
|
}
|
|
26466
26512
|
deleteRecord(data, opts) {
|
|
26467
26513
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
26468
|
-
throw
|
|
26514
|
+
throw toKnownErr26(e);
|
|
26469
26515
|
});
|
|
26470
26516
|
}
|
|
26471
26517
|
describeRepo(params2, opts) {
|
|
26472
26518
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
26473
|
-
throw
|
|
26519
|
+
throw toKnownErr27(e);
|
|
26474
26520
|
});
|
|
26475
26521
|
}
|
|
26476
26522
|
getRecord(params2, opts) {
|
|
26477
26523
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
26478
|
-
throw
|
|
26524
|
+
throw toKnownErr28(e);
|
|
26479
26525
|
});
|
|
26480
26526
|
}
|
|
26481
26527
|
listRecords(params2, opts) {
|
|
26482
26528
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
26483
|
-
throw
|
|
26529
|
+
throw toKnownErr29(e);
|
|
26484
26530
|
});
|
|
26485
26531
|
}
|
|
26486
26532
|
putRecord(data, opts) {
|
|
26487
26533
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
26488
|
-
throw
|
|
26534
|
+
throw toKnownErr30(e);
|
|
26489
26535
|
});
|
|
26490
26536
|
}
|
|
26491
26537
|
uploadBlob(data, opts) {
|
|
26492
26538
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
26493
|
-
throw
|
|
26539
|
+
throw toKnownErr31(e);
|
|
26494
26540
|
});
|
|
26495
26541
|
}
|
|
26496
26542
|
};
|
|
26497
|
-
var
|
|
26543
|
+
var ComAtprotoServerNS = class {
|
|
26498
26544
|
constructor(service2) {
|
|
26499
26545
|
this._service = service2;
|
|
26500
26546
|
}
|
|
26501
26547
|
confirmEmail(data, opts) {
|
|
26502
26548
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
26503
|
-
throw
|
|
26549
|
+
throw toKnownErr32(e);
|
|
26504
26550
|
});
|
|
26505
26551
|
}
|
|
26506
26552
|
createAccount(data, opts) {
|
|
26507
26553
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
26508
|
-
throw
|
|
26554
|
+
throw toKnownErr33(e);
|
|
26509
26555
|
});
|
|
26510
26556
|
}
|
|
26511
26557
|
createAppPassword(data, opts) {
|
|
26512
26558
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26513
|
-
throw
|
|
26559
|
+
throw toKnownErr34(e);
|
|
26514
26560
|
});
|
|
26515
26561
|
}
|
|
26516
26562
|
createInviteCode(data, opts) {
|
|
26517
26563
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
26518
|
-
throw
|
|
26564
|
+
throw toKnownErr35(e);
|
|
26519
26565
|
});
|
|
26520
26566
|
}
|
|
26521
26567
|
createInviteCodes(data, opts) {
|
|
26522
26568
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
26523
|
-
throw
|
|
26569
|
+
throw toKnownErr36(e);
|
|
26524
26570
|
});
|
|
26525
26571
|
}
|
|
26526
26572
|
createSession(data, opts) {
|
|
26527
26573
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
26528
|
-
throw
|
|
26574
|
+
throw toKnownErr37(e);
|
|
26529
26575
|
});
|
|
26530
26576
|
}
|
|
26531
26577
|
deleteAccount(data, opts) {
|
|
26532
26578
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
26533
|
-
throw
|
|
26579
|
+
throw toKnownErr38(e);
|
|
26534
26580
|
});
|
|
26535
26581
|
}
|
|
26536
26582
|
deleteSession(data, opts) {
|
|
26537
26583
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
26538
|
-
throw
|
|
26584
|
+
throw toKnownErr39(e);
|
|
26539
26585
|
});
|
|
26540
26586
|
}
|
|
26541
26587
|
describeServer(params2, opts) {
|
|
26542
26588
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
26543
|
-
throw
|
|
26589
|
+
throw toKnownErr40(e);
|
|
26544
26590
|
});
|
|
26545
26591
|
}
|
|
26546
26592
|
getAccountInviteCodes(params2, opts) {
|
|
26547
26593
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26548
|
-
throw
|
|
26594
|
+
throw toKnownErr41(e);
|
|
26549
26595
|
});
|
|
26550
26596
|
}
|
|
26551
26597
|
getSession(params2, opts) {
|
|
26552
26598
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
26553
|
-
throw
|
|
26599
|
+
throw toKnownErr42(e);
|
|
26554
26600
|
});
|
|
26555
26601
|
}
|
|
26556
26602
|
listAppPasswords(params2, opts) {
|
|
26557
26603
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
26558
|
-
throw
|
|
26604
|
+
throw toKnownErr43(e);
|
|
26559
26605
|
});
|
|
26560
26606
|
}
|
|
26561
26607
|
refreshSession(data, opts) {
|
|
26562
26608
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
26563
|
-
throw
|
|
26609
|
+
throw toKnownErr44(e);
|
|
26564
26610
|
});
|
|
26565
26611
|
}
|
|
26566
26612
|
requestAccountDelete(data, opts) {
|
|
26567
26613
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
26568
|
-
throw
|
|
26614
|
+
throw toKnownErr45(e);
|
|
26569
26615
|
});
|
|
26570
26616
|
}
|
|
26571
26617
|
requestEmailConfirmation(data, opts) {
|
|
26572
26618
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
26573
|
-
throw
|
|
26619
|
+
throw toKnownErr46(e);
|
|
26574
26620
|
});
|
|
26575
26621
|
}
|
|
26576
26622
|
requestEmailUpdate(data, opts) {
|
|
26577
26623
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26578
|
-
throw
|
|
26624
|
+
throw toKnownErr47(e);
|
|
26579
26625
|
});
|
|
26580
26626
|
}
|
|
26581
26627
|
requestPasswordReset(data, opts) {
|
|
26582
26628
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
26583
|
-
throw
|
|
26629
|
+
throw toKnownErr48(e);
|
|
26584
26630
|
});
|
|
26585
26631
|
}
|
|
26586
26632
|
reserveSigningKey(data, opts) {
|
|
26587
26633
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
26588
|
-
throw
|
|
26634
|
+
throw toKnownErr49(e);
|
|
26589
26635
|
});
|
|
26590
26636
|
}
|
|
26591
26637
|
resetPassword(data, opts) {
|
|
26592
26638
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
26593
|
-
throw
|
|
26639
|
+
throw toKnownErr50(e);
|
|
26594
26640
|
});
|
|
26595
26641
|
}
|
|
26596
26642
|
revokeAppPassword(data, opts) {
|
|
26597
26643
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26598
|
-
throw
|
|
26644
|
+
throw toKnownErr51(e);
|
|
26599
26645
|
});
|
|
26600
26646
|
}
|
|
26601
26647
|
updateEmail(data, opts) {
|
|
26602
26648
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
26603
|
-
throw
|
|
26649
|
+
throw toKnownErr52(e);
|
|
26604
26650
|
});
|
|
26605
26651
|
}
|
|
26606
26652
|
};
|
|
26607
|
-
var
|
|
26653
|
+
var ComAtprotoSyncNS = class {
|
|
26608
26654
|
constructor(service2) {
|
|
26609
26655
|
this._service = service2;
|
|
26610
26656
|
}
|
|
26611
26657
|
getBlob(params2, opts) {
|
|
26612
26658
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
26613
|
-
throw
|
|
26659
|
+
throw toKnownErr53(e);
|
|
26614
26660
|
});
|
|
26615
26661
|
}
|
|
26616
26662
|
getBlocks(params2, opts) {
|
|
26617
26663
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26618
|
-
throw
|
|
26664
|
+
throw toKnownErr54(e);
|
|
26619
26665
|
});
|
|
26620
26666
|
}
|
|
26621
26667
|
getCheckout(params2, opts) {
|
|
26622
26668
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
26623
|
-
throw
|
|
26669
|
+
throw toKnownErr55(e);
|
|
26624
26670
|
});
|
|
26625
26671
|
}
|
|
26626
26672
|
getHead(params2, opts) {
|
|
26627
26673
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
26628
|
-
throw
|
|
26674
|
+
throw toKnownErr56(e);
|
|
26629
26675
|
});
|
|
26630
26676
|
}
|
|
26631
26677
|
getLatestCommit(params2, opts) {
|
|
26632
26678
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
26633
|
-
throw
|
|
26679
|
+
throw toKnownErr57(e);
|
|
26634
26680
|
});
|
|
26635
26681
|
}
|
|
26636
26682
|
getRecord(params2, opts) {
|
|
26637
26683
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
26638
|
-
throw
|
|
26684
|
+
throw toKnownErr58(e);
|
|
26639
26685
|
});
|
|
26640
26686
|
}
|
|
26641
26687
|
getRepo(params2, opts) {
|
|
26642
26688
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
26643
|
-
throw
|
|
26689
|
+
throw toKnownErr59(e);
|
|
26644
26690
|
});
|
|
26645
26691
|
}
|
|
26646
26692
|
listBlobs(params2, opts) {
|
|
26647
26693
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
26648
|
-
throw
|
|
26694
|
+
throw toKnownErr60(e);
|
|
26649
26695
|
});
|
|
26650
26696
|
}
|
|
26651
26697
|
listRepos(params2, opts) {
|
|
26652
26698
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
26653
|
-
throw
|
|
26699
|
+
throw toKnownErr61(e);
|
|
26654
26700
|
});
|
|
26655
26701
|
}
|
|
26656
26702
|
notifyOfUpdate(data, opts) {
|
|
26657
26703
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26658
|
-
throw
|
|
26704
|
+
throw toKnownErr62(e);
|
|
26659
26705
|
});
|
|
26660
26706
|
}
|
|
26661
26707
|
requestCrawl(data, opts) {
|
|
26662
26708
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
26663
|
-
throw
|
|
26709
|
+
throw toKnownErr63(e);
|
|
26664
26710
|
});
|
|
26665
26711
|
}
|
|
26666
26712
|
};
|
|
26667
|
-
var
|
|
26713
|
+
var ComAtprotoTempNS = class {
|
|
26668
26714
|
constructor(service2) {
|
|
26669
26715
|
this._service = service2;
|
|
26670
26716
|
}
|
|
26671
26717
|
fetchLabels(params2, opts) {
|
|
26672
26718
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
26673
|
-
throw
|
|
26719
|
+
throw toKnownErr64(e);
|
|
26674
26720
|
});
|
|
26675
26721
|
}
|
|
26676
26722
|
importRepo(data, opts) {
|
|
26677
26723
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
26678
|
-
throw
|
|
26724
|
+
throw toKnownErr65(e);
|
|
26679
26725
|
});
|
|
26680
26726
|
}
|
|
26681
26727
|
pushBlob(data, opts) {
|
|
26682
26728
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
26683
|
-
throw
|
|
26729
|
+
throw toKnownErr66(e);
|
|
26730
|
+
});
|
|
26731
|
+
}
|
|
26732
|
+
requestPhoneVerification(data, opts) {
|
|
26733
|
+
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
26734
|
+
throw toKnownErr67(e);
|
|
26684
26735
|
});
|
|
26685
26736
|
}
|
|
26686
26737
|
transferAccount(data, opts) {
|
|
26687
26738
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
26688
|
-
throw
|
|
26739
|
+
throw toKnownErr68(e);
|
|
26689
26740
|
});
|
|
26690
26741
|
}
|
|
26691
26742
|
};
|
|
26692
26743
|
var AppNS = class {
|
|
26693
26744
|
constructor(service2) {
|
|
26694
26745
|
this._service = service2;
|
|
26695
|
-
this.bsky = new
|
|
26746
|
+
this.bsky = new AppBskyNS(service2);
|
|
26696
26747
|
}
|
|
26697
26748
|
};
|
|
26698
|
-
var
|
|
26749
|
+
var AppBskyNS = class {
|
|
26699
26750
|
constructor(service2) {
|
|
26700
26751
|
this._service = service2;
|
|
26701
|
-
this.actor = new
|
|
26702
|
-
this.embed = new
|
|
26703
|
-
this.feed = new
|
|
26704
|
-
this.graph = new
|
|
26705
|
-
this.notification = new
|
|
26706
|
-
this.richtext = new
|
|
26707
|
-
this.unspecced = new
|
|
26752
|
+
this.actor = new AppBskyActorNS(service2);
|
|
26753
|
+
this.embed = new AppBskyEmbedNS(service2);
|
|
26754
|
+
this.feed = new AppBskyFeedNS(service2);
|
|
26755
|
+
this.graph = new AppBskyGraphNS(service2);
|
|
26756
|
+
this.notification = new AppBskyNotificationNS(service2);
|
|
26757
|
+
this.richtext = new AppBskyRichtextNS(service2);
|
|
26758
|
+
this.unspecced = new AppBskyUnspeccedNS(service2);
|
|
26708
26759
|
}
|
|
26709
26760
|
};
|
|
26710
|
-
var
|
|
26761
|
+
var AppBskyActorNS = class {
|
|
26711
26762
|
constructor(service2) {
|
|
26712
26763
|
this._service = service2;
|
|
26713
26764
|
this.profile = new ProfileRecord(service2);
|
|
26714
26765
|
}
|
|
26715
26766
|
getPreferences(params2, opts) {
|
|
26716
26767
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
26717
|
-
throw
|
|
26768
|
+
throw toKnownErr69(e);
|
|
26718
26769
|
});
|
|
26719
26770
|
}
|
|
26720
26771
|
getProfile(params2, opts) {
|
|
26721
26772
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
26722
|
-
throw
|
|
26773
|
+
throw toKnownErr70(e);
|
|
26723
26774
|
});
|
|
26724
26775
|
}
|
|
26725
26776
|
getProfiles(params2, opts) {
|
|
26726
26777
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
26727
|
-
throw
|
|
26778
|
+
throw toKnownErr71(e);
|
|
26728
26779
|
});
|
|
26729
26780
|
}
|
|
26730
26781
|
getSuggestions(params2, opts) {
|
|
26731
26782
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
26732
|
-
throw
|
|
26783
|
+
throw toKnownErr72(e);
|
|
26733
26784
|
});
|
|
26734
26785
|
}
|
|
26735
26786
|
putPreferences(data, opts) {
|
|
26736
26787
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
26737
|
-
throw
|
|
26788
|
+
throw toKnownErr73(e);
|
|
26738
26789
|
});
|
|
26739
26790
|
}
|
|
26740
26791
|
searchActors(params2, opts) {
|
|
26741
26792
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
26742
|
-
throw
|
|
26793
|
+
throw toKnownErr74(e);
|
|
26743
26794
|
});
|
|
26744
26795
|
}
|
|
26745
26796
|
searchActorsTypeahead(params2, opts) {
|
|
26746
26797
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
26747
|
-
throw
|
|
26798
|
+
throw toKnownErr75(e);
|
|
26748
26799
|
});
|
|
26749
26800
|
}
|
|
26750
26801
|
};
|
|
@@ -26775,12 +26826,12 @@ var ProfileRecord = class {
|
|
|
26775
26826
|
await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.actor.profile", ...params2 }, { headers });
|
|
26776
26827
|
}
|
|
26777
26828
|
};
|
|
26778
|
-
var
|
|
26829
|
+
var AppBskyEmbedNS = class {
|
|
26779
26830
|
constructor(service2) {
|
|
26780
26831
|
this._service = service2;
|
|
26781
26832
|
}
|
|
26782
26833
|
};
|
|
26783
|
-
var
|
|
26834
|
+
var AppBskyFeedNS = class {
|
|
26784
26835
|
constructor(service2) {
|
|
26785
26836
|
this._service = service2;
|
|
26786
26837
|
this.generator = new GeneratorRecord(service2);
|
|
@@ -26791,82 +26842,82 @@ var FeedNS = class {
|
|
|
26791
26842
|
}
|
|
26792
26843
|
describeFeedGenerator(params2, opts) {
|
|
26793
26844
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26794
|
-
throw
|
|
26845
|
+
throw toKnownErr76(e);
|
|
26795
26846
|
});
|
|
26796
26847
|
}
|
|
26797
26848
|
getActorFeeds(params2, opts) {
|
|
26798
26849
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
26799
|
-
throw
|
|
26850
|
+
throw toKnownErr77(e);
|
|
26800
26851
|
});
|
|
26801
26852
|
}
|
|
26802
26853
|
getActorLikes(params2, opts) {
|
|
26803
26854
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
26804
|
-
throw
|
|
26855
|
+
throw toKnownErr78(e);
|
|
26805
26856
|
});
|
|
26806
26857
|
}
|
|
26807
26858
|
getAuthorFeed(params2, opts) {
|
|
26808
26859
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
26809
|
-
throw
|
|
26860
|
+
throw toKnownErr79(e);
|
|
26810
26861
|
});
|
|
26811
26862
|
}
|
|
26812
26863
|
getFeed(params2, opts) {
|
|
26813
26864
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
26814
|
-
throw
|
|
26865
|
+
throw toKnownErr80(e);
|
|
26815
26866
|
});
|
|
26816
26867
|
}
|
|
26817
26868
|
getFeedGenerator(params2, opts) {
|
|
26818
26869
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26819
|
-
throw
|
|
26870
|
+
throw toKnownErr81(e);
|
|
26820
26871
|
});
|
|
26821
26872
|
}
|
|
26822
26873
|
getFeedGenerators(params2, opts) {
|
|
26823
26874
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26824
|
-
throw
|
|
26875
|
+
throw toKnownErr82(e);
|
|
26825
26876
|
});
|
|
26826
26877
|
}
|
|
26827
26878
|
getFeedSkeleton(params2, opts) {
|
|
26828
26879
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
26829
|
-
throw
|
|
26880
|
+
throw toKnownErr83(e);
|
|
26830
26881
|
});
|
|
26831
26882
|
}
|
|
26832
26883
|
getLikes(params2, opts) {
|
|
26833
26884
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
26834
|
-
throw
|
|
26885
|
+
throw toKnownErr84(e);
|
|
26835
26886
|
});
|
|
26836
26887
|
}
|
|
26837
26888
|
getListFeed(params2, opts) {
|
|
26838
26889
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
26839
|
-
throw
|
|
26890
|
+
throw toKnownErr85(e);
|
|
26840
26891
|
});
|
|
26841
26892
|
}
|
|
26842
26893
|
getPostThread(params2, opts) {
|
|
26843
26894
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
26844
|
-
throw
|
|
26895
|
+
throw toKnownErr86(e);
|
|
26845
26896
|
});
|
|
26846
26897
|
}
|
|
26847
26898
|
getPosts(params2, opts) {
|
|
26848
26899
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
26849
|
-
throw
|
|
26900
|
+
throw toKnownErr87(e);
|
|
26850
26901
|
});
|
|
26851
26902
|
}
|
|
26852
26903
|
getRepostedBy(params2, opts) {
|
|
26853
26904
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
26854
|
-
throw
|
|
26905
|
+
throw toKnownErr88(e);
|
|
26855
26906
|
});
|
|
26856
26907
|
}
|
|
26857
26908
|
getSuggestedFeeds(params2, opts) {
|
|
26858
26909
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
26859
|
-
throw
|
|
26910
|
+
throw toKnownErr89(e);
|
|
26860
26911
|
});
|
|
26861
26912
|
}
|
|
26862
26913
|
getTimeline(params2, opts) {
|
|
26863
26914
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
26864
|
-
throw
|
|
26915
|
+
throw toKnownErr90(e);
|
|
26865
26916
|
});
|
|
26866
26917
|
}
|
|
26867
26918
|
searchPosts(params2, opts) {
|
|
26868
26919
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26869
|
-
throw
|
|
26920
|
+
throw toKnownErr91(e);
|
|
26870
26921
|
});
|
|
26871
26922
|
}
|
|
26872
26923
|
};
|
|
@@ -27005,7 +27056,7 @@ var ThreadgateRecord = class {
|
|
|
27005
27056
|
await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.feed.threadgate", ...params2 }, { headers });
|
|
27006
27057
|
}
|
|
27007
27058
|
};
|
|
27008
|
-
var
|
|
27059
|
+
var AppBskyGraphNS = class {
|
|
27009
27060
|
constructor(service2) {
|
|
27010
27061
|
this._service = service2;
|
|
27011
27062
|
this.block = new BlockRecord(service2);
|
|
@@ -27016,67 +27067,67 @@ var GraphNS = class {
|
|
|
27016
27067
|
}
|
|
27017
27068
|
getBlocks(params2, opts) {
|
|
27018
27069
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
27019
|
-
throw
|
|
27070
|
+
throw toKnownErr92(e);
|
|
27020
27071
|
});
|
|
27021
27072
|
}
|
|
27022
27073
|
getFollowers(params2, opts) {
|
|
27023
27074
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
27024
|
-
throw
|
|
27075
|
+
throw toKnownErr93(e);
|
|
27025
27076
|
});
|
|
27026
27077
|
}
|
|
27027
27078
|
getFollows(params2, opts) {
|
|
27028
27079
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
27029
|
-
throw
|
|
27080
|
+
throw toKnownErr94(e);
|
|
27030
27081
|
});
|
|
27031
27082
|
}
|
|
27032
27083
|
getList(params2, opts) {
|
|
27033
27084
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
27034
|
-
throw
|
|
27085
|
+
throw toKnownErr95(e);
|
|
27035
27086
|
});
|
|
27036
27087
|
}
|
|
27037
27088
|
getListBlocks(params2, opts) {
|
|
27038
27089
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
27039
|
-
throw
|
|
27090
|
+
throw toKnownErr96(e);
|
|
27040
27091
|
});
|
|
27041
27092
|
}
|
|
27042
27093
|
getListMutes(params2, opts) {
|
|
27043
27094
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
27044
|
-
throw
|
|
27095
|
+
throw toKnownErr97(e);
|
|
27045
27096
|
});
|
|
27046
27097
|
}
|
|
27047
27098
|
getLists(params2, opts) {
|
|
27048
27099
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
27049
|
-
throw
|
|
27100
|
+
throw toKnownErr98(e);
|
|
27050
27101
|
});
|
|
27051
27102
|
}
|
|
27052
27103
|
getMutes(params2, opts) {
|
|
27053
27104
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
27054
|
-
throw
|
|
27105
|
+
throw toKnownErr99(e);
|
|
27055
27106
|
});
|
|
27056
27107
|
}
|
|
27057
27108
|
getSuggestedFollowsByActor(params2, opts) {
|
|
27058
27109
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
27059
|
-
throw
|
|
27110
|
+
throw toKnownErr100(e);
|
|
27060
27111
|
});
|
|
27061
27112
|
}
|
|
27062
27113
|
muteActor(data, opts) {
|
|
27063
27114
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
27064
|
-
throw
|
|
27115
|
+
throw toKnownErr101(e);
|
|
27065
27116
|
});
|
|
27066
27117
|
}
|
|
27067
27118
|
muteActorList(data, opts) {
|
|
27068
27119
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27069
|
-
throw
|
|
27120
|
+
throw toKnownErr102(e);
|
|
27070
27121
|
});
|
|
27071
27122
|
}
|
|
27072
27123
|
unmuteActor(data, opts) {
|
|
27073
27124
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
27074
|
-
throw
|
|
27125
|
+
throw toKnownErr103(e);
|
|
27075
27126
|
});
|
|
27076
27127
|
}
|
|
27077
27128
|
unmuteActorList(data, opts) {
|
|
27078
27129
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27079
|
-
throw
|
|
27130
|
+
throw toKnownErr104(e);
|
|
27080
27131
|
});
|
|
27081
27132
|
}
|
|
27082
27133
|
};
|
|
@@ -27215,63 +27266,58 @@ var ListitemRecord = class {
|
|
|
27215
27266
|
await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.graph.listitem", ...params2 }, { headers });
|
|
27216
27267
|
}
|
|
27217
27268
|
};
|
|
27218
|
-
var
|
|
27269
|
+
var AppBskyNotificationNS = class {
|
|
27219
27270
|
constructor(service2) {
|
|
27220
27271
|
this._service = service2;
|
|
27221
27272
|
}
|
|
27222
27273
|
getUnreadCount(params2, opts) {
|
|
27223
27274
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
27224
|
-
throw
|
|
27275
|
+
throw toKnownErr105(e);
|
|
27225
27276
|
});
|
|
27226
27277
|
}
|
|
27227
27278
|
listNotifications(params2, opts) {
|
|
27228
27279
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
27229
|
-
throw
|
|
27280
|
+
throw toKnownErr106(e);
|
|
27230
27281
|
});
|
|
27231
27282
|
}
|
|
27232
27283
|
registerPush(data, opts) {
|
|
27233
27284
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
27234
|
-
throw
|
|
27285
|
+
throw toKnownErr107(e);
|
|
27235
27286
|
});
|
|
27236
27287
|
}
|
|
27237
27288
|
updateSeen(data, opts) {
|
|
27238
27289
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
27239
|
-
throw
|
|
27290
|
+
throw toKnownErr108(e);
|
|
27240
27291
|
});
|
|
27241
27292
|
}
|
|
27242
27293
|
};
|
|
27243
|
-
var
|
|
27294
|
+
var AppBskyRichtextNS = class {
|
|
27244
27295
|
constructor(service2) {
|
|
27245
27296
|
this._service = service2;
|
|
27246
27297
|
}
|
|
27247
27298
|
};
|
|
27248
|
-
var
|
|
27299
|
+
var AppBskyUnspeccedNS = class {
|
|
27249
27300
|
constructor(service2) {
|
|
27250
27301
|
this._service = service2;
|
|
27251
27302
|
}
|
|
27252
|
-
getPopular(params2, opts) {
|
|
27253
|
-
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
27254
|
-
throw toKnownErr107(e);
|
|
27255
|
-
});
|
|
27256
|
-
}
|
|
27257
27303
|
getPopularFeedGenerators(params2, opts) {
|
|
27258
27304
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27259
|
-
throw
|
|
27305
|
+
throw toKnownErr109(e);
|
|
27260
27306
|
});
|
|
27261
27307
|
}
|
|
27262
27308
|
getTimelineSkeleton(params2, opts) {
|
|
27263
27309
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
27264
|
-
throw
|
|
27310
|
+
throw toKnownErr110(e);
|
|
27265
27311
|
});
|
|
27266
27312
|
}
|
|
27267
27313
|
searchActorsSkeleton(params2, opts) {
|
|
27268
27314
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27269
|
-
throw
|
|
27315
|
+
throw toKnownErr111(e);
|
|
27270
27316
|
});
|
|
27271
27317
|
}
|
|
27272
27318
|
searchPostsSkeleton(params2, opts) {
|
|
27273
27319
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27274
|
-
throw
|
|
27320
|
+
throw toKnownErr112(e);
|
|
27275
27321
|
});
|
|
27276
27322
|
}
|
|
27277
27323
|
};
|