@atproto/api 0.7.4 → 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 +21 -0
- package/README.md +2 -2
- package/dist/client/index.d.ts +41 -37
- package/dist/client/lexicons.d.ts +113 -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 +12 -2
- 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 +2 -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/sendEmail.d.ts +1 -0
- 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 +2 -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 +535 -437
- 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/agent.ts +26 -8
- package/src/client/index.ts +78 -64
- package/src/client/lexicons.ts +120 -49
- package/src/client/types/com/atproto/admin/defs.ts +29 -0
- package/src/client/types/{app/bsky/unspecced/getPopular.ts → com/atproto/admin/getAccountInfos.ts} +3 -6
- package/src/client/types/com/atproto/admin/queryModerationStatuses.ts +2 -0
- package/src/client/types/com/atproto/admin/sendEmail.ts +2 -0
- package/src/client/types/com/atproto/moderation/defs.ts +3 -0
- 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/src/types.ts +6 -1
- package/tests/agent.test.ts +2 -2
- 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,
|
|
@@ -15771,7 +15772,8 @@ var schemaDict = {
|
|
|
15771
15772
|
"lex:com.atproto.admin.defs#modEventLabel",
|
|
15772
15773
|
"lex:com.atproto.admin.defs#modEventAcknowledge",
|
|
15773
15774
|
"lex:com.atproto.admin.defs#modEventEscalate",
|
|
15774
|
-
"lex:com.atproto.admin.defs#modEventMute"
|
|
15775
|
+
"lex:com.atproto.admin.defs#modEventMute",
|
|
15776
|
+
"lex:com.atproto.admin.defs#modEventResolveAppeal"
|
|
15775
15777
|
]
|
|
15776
15778
|
},
|
|
15777
15779
|
subject: {
|
|
@@ -15905,9 +15907,18 @@ var schemaDict = {
|
|
|
15905
15907
|
type: "string",
|
|
15906
15908
|
format: "datetime"
|
|
15907
15909
|
},
|
|
15910
|
+
lastAppealedAt: {
|
|
15911
|
+
type: "string",
|
|
15912
|
+
format: "datetime",
|
|
15913
|
+
description: "Timestamp referencing when the author of the subject appealed a moderation action"
|
|
15914
|
+
},
|
|
15908
15915
|
takendown: {
|
|
15909
15916
|
type: "boolean"
|
|
15910
15917
|
},
|
|
15918
|
+
appealed: {
|
|
15919
|
+
type: "boolean",
|
|
15920
|
+
description: "True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators."
|
|
15921
|
+
},
|
|
15911
15922
|
suspendUntil: {
|
|
15912
15923
|
type: "string",
|
|
15913
15924
|
format: "datetime"
|
|
@@ -16092,6 +16103,12 @@ var schemaDict = {
|
|
|
16092
16103
|
email: {
|
|
16093
16104
|
type: "string"
|
|
16094
16105
|
},
|
|
16106
|
+
relatedRecords: {
|
|
16107
|
+
type: "array",
|
|
16108
|
+
items: {
|
|
16109
|
+
type: "unknown"
|
|
16110
|
+
}
|
|
16111
|
+
},
|
|
16095
16112
|
indexedAt: {
|
|
16096
16113
|
type: "string",
|
|
16097
16114
|
format: "datetime"
|
|
@@ -16381,6 +16398,16 @@ var schemaDict = {
|
|
|
16381
16398
|
}
|
|
16382
16399
|
}
|
|
16383
16400
|
},
|
|
16401
|
+
modEventResolveAppeal: {
|
|
16402
|
+
type: "object",
|
|
16403
|
+
description: "Resolve appeal on a subject",
|
|
16404
|
+
properties: {
|
|
16405
|
+
comment: {
|
|
16406
|
+
type: "string",
|
|
16407
|
+
description: "Describe resolution."
|
|
16408
|
+
}
|
|
16409
|
+
}
|
|
16410
|
+
},
|
|
16384
16411
|
modEventComment: {
|
|
16385
16412
|
type: "object",
|
|
16386
16413
|
description: "Add a comment to a subject",
|
|
@@ -16479,6 +16506,10 @@ var schemaDict = {
|
|
|
16479
16506
|
subjectLine: {
|
|
16480
16507
|
type: "string",
|
|
16481
16508
|
description: "The subject line of the email sent to the user."
|
|
16509
|
+
},
|
|
16510
|
+
comment: {
|
|
16511
|
+
type: "string",
|
|
16512
|
+
description: "Additional comment about the outgoing comm."
|
|
16482
16513
|
}
|
|
16483
16514
|
}
|
|
16484
16515
|
}
|
|
@@ -16682,6 +16713,45 @@ var schemaDict = {
|
|
|
16682
16713
|
}
|
|
16683
16714
|
}
|
|
16684
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
|
+
},
|
|
16685
16755
|
ComAtprotoAdminGetInviteCodes: {
|
|
16686
16756
|
lexicon: 1,
|
|
16687
16757
|
id: "com.atproto.admin.getInviteCodes",
|
|
@@ -17013,6 +17083,10 @@ var schemaDict = {
|
|
|
17013
17083
|
type: "boolean",
|
|
17014
17084
|
description: "Get subjects that were taken down"
|
|
17015
17085
|
},
|
|
17086
|
+
appealed: {
|
|
17087
|
+
type: "boolean",
|
|
17088
|
+
description: "Get subjects in unresolved appealed status"
|
|
17089
|
+
},
|
|
17016
17090
|
limit: {
|
|
17017
17091
|
type: "integer",
|
|
17018
17092
|
minimum: 1,
|
|
@@ -17122,6 +17196,10 @@ var schemaDict = {
|
|
|
17122
17196
|
senderDid: {
|
|
17123
17197
|
type: "string",
|
|
17124
17198
|
format: "did"
|
|
17199
|
+
},
|
|
17200
|
+
comment: {
|
|
17201
|
+
type: "string",
|
|
17202
|
+
description: "Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers"
|
|
17125
17203
|
}
|
|
17126
17204
|
}
|
|
17127
17205
|
}
|
|
@@ -17581,7 +17659,8 @@ var schemaDict = {
|
|
|
17581
17659
|
"com.atproto.moderation.defs#reasonMisleading",
|
|
17582
17660
|
"com.atproto.moderation.defs#reasonSexual",
|
|
17583
17661
|
"com.atproto.moderation.defs#reasonRude",
|
|
17584
|
-
"com.atproto.moderation.defs#reasonOther"
|
|
17662
|
+
"com.atproto.moderation.defs#reasonOther",
|
|
17663
|
+
"com.atproto.moderation.defs#reasonAppeal"
|
|
17585
17664
|
]
|
|
17586
17665
|
},
|
|
17587
17666
|
reasonSpam: {
|
|
@@ -17607,6 +17686,10 @@ var schemaDict = {
|
|
|
17607
17686
|
reasonOther: {
|
|
17608
17687
|
type: "token",
|
|
17609
17688
|
description: "Other: reports not falling under another report category"
|
|
17689
|
+
},
|
|
17690
|
+
reasonAppeal: {
|
|
17691
|
+
type: "token",
|
|
17692
|
+
description: "Appeal: appeal a previously taken moderation action"
|
|
17610
17693
|
}
|
|
17611
17694
|
}
|
|
17612
17695
|
},
|
|
@@ -18211,6 +18294,12 @@ var schemaDict = {
|
|
|
18211
18294
|
inviteCode: {
|
|
18212
18295
|
type: "string"
|
|
18213
18296
|
},
|
|
18297
|
+
verificationCode: {
|
|
18298
|
+
type: "string"
|
|
18299
|
+
},
|
|
18300
|
+
verificationPhone: {
|
|
18301
|
+
type: "string"
|
|
18302
|
+
},
|
|
18214
18303
|
password: {
|
|
18215
18304
|
type: "string"
|
|
18216
18305
|
},
|
|
@@ -18613,6 +18702,9 @@ var schemaDict = {
|
|
|
18613
18702
|
inviteCodeRequired: {
|
|
18614
18703
|
type: "boolean"
|
|
18615
18704
|
},
|
|
18705
|
+
phoneVerificationRequired: {
|
|
18706
|
+
type: "boolean"
|
|
18707
|
+
},
|
|
18616
18708
|
availableUserDomains: {
|
|
18617
18709
|
type: "array",
|
|
18618
18710
|
items: {
|
|
@@ -19673,6 +19765,28 @@ var schemaDict = {
|
|
|
19673
19765
|
}
|
|
19674
19766
|
}
|
|
19675
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
|
+
},
|
|
19676
19790
|
ComAtprotoTempTransferAccount: {
|
|
19677
19791
|
lexicon: 1,
|
|
19678
19792
|
id: "com.atproto.temp.transferAccount",
|
|
@@ -23153,53 +23267,6 @@ var schemaDict = {
|
|
|
23153
23267
|
}
|
|
23154
23268
|
}
|
|
23155
23269
|
},
|
|
23156
|
-
AppBskyUnspeccedGetPopular: {
|
|
23157
|
-
lexicon: 1,
|
|
23158
|
-
id: "app.bsky.unspecced.getPopular",
|
|
23159
|
-
defs: {
|
|
23160
|
-
main: {
|
|
23161
|
-
type: "query",
|
|
23162
|
-
description: "DEPRECATED: will be removed soon. Use a feed generator alternative.",
|
|
23163
|
-
parameters: {
|
|
23164
|
-
type: "params",
|
|
23165
|
-
properties: {
|
|
23166
|
-
includeNsfw: {
|
|
23167
|
-
type: "boolean",
|
|
23168
|
-
default: false
|
|
23169
|
-
},
|
|
23170
|
-
limit: {
|
|
23171
|
-
type: "integer",
|
|
23172
|
-
minimum: 1,
|
|
23173
|
-
maximum: 100,
|
|
23174
|
-
default: 50
|
|
23175
|
-
},
|
|
23176
|
-
cursor: {
|
|
23177
|
-
type: "string"
|
|
23178
|
-
}
|
|
23179
|
-
}
|
|
23180
|
-
},
|
|
23181
|
-
output: {
|
|
23182
|
-
encoding: "application/json",
|
|
23183
|
-
schema: {
|
|
23184
|
-
type: "object",
|
|
23185
|
-
required: ["feed"],
|
|
23186
|
-
properties: {
|
|
23187
|
-
cursor: {
|
|
23188
|
-
type: "string"
|
|
23189
|
-
},
|
|
23190
|
-
feed: {
|
|
23191
|
-
type: "array",
|
|
23192
|
-
items: {
|
|
23193
|
-
type: "ref",
|
|
23194
|
-
ref: "lex:app.bsky.feed.defs#feedViewPost"
|
|
23195
|
-
}
|
|
23196
|
-
}
|
|
23197
|
-
}
|
|
23198
|
-
}
|
|
23199
|
-
}
|
|
23200
|
-
}
|
|
23201
|
-
}
|
|
23202
|
-
},
|
|
23203
23270
|
AppBskyUnspeccedGetPopularFeedGenerators: {
|
|
23204
23271
|
lexicon: 1,
|
|
23205
23272
|
id: "app.bsky.unspecced.getPopularFeedGenerators",
|
|
@@ -23492,12 +23559,23 @@ function toKnownErr6(e) {
|
|
|
23492
23559
|
return e;
|
|
23493
23560
|
}
|
|
23494
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
|
+
|
|
23495
23573
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
23496
23574
|
var getInviteCodes_exports = {};
|
|
23497
23575
|
__export(getInviteCodes_exports, {
|
|
23498
|
-
toKnownErr: () =>
|
|
23576
|
+
toKnownErr: () => toKnownErr8
|
|
23499
23577
|
});
|
|
23500
|
-
function
|
|
23578
|
+
function toKnownErr8(e) {
|
|
23501
23579
|
if (e instanceof XRPCError) {
|
|
23502
23580
|
}
|
|
23503
23581
|
return e;
|
|
@@ -23506,9 +23584,9 @@ function toKnownErr7(e) {
|
|
|
23506
23584
|
// src/client/types/com/atproto/admin/getModerationEvent.ts
|
|
23507
23585
|
var getModerationEvent_exports = {};
|
|
23508
23586
|
__export(getModerationEvent_exports, {
|
|
23509
|
-
toKnownErr: () =>
|
|
23587
|
+
toKnownErr: () => toKnownErr9
|
|
23510
23588
|
});
|
|
23511
|
-
function
|
|
23589
|
+
function toKnownErr9(e) {
|
|
23512
23590
|
if (e instanceof XRPCError) {
|
|
23513
23591
|
}
|
|
23514
23592
|
return e;
|
|
@@ -23518,14 +23596,14 @@ function toKnownErr8(e) {
|
|
|
23518
23596
|
var getRecord_exports = {};
|
|
23519
23597
|
__export(getRecord_exports, {
|
|
23520
23598
|
RecordNotFoundError: () => RecordNotFoundError,
|
|
23521
|
-
toKnownErr: () =>
|
|
23599
|
+
toKnownErr: () => toKnownErr10
|
|
23522
23600
|
});
|
|
23523
23601
|
var RecordNotFoundError = class extends XRPCError {
|
|
23524
23602
|
constructor(src2) {
|
|
23525
23603
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23526
23604
|
}
|
|
23527
23605
|
};
|
|
23528
|
-
function
|
|
23606
|
+
function toKnownErr10(e) {
|
|
23529
23607
|
if (e instanceof XRPCError) {
|
|
23530
23608
|
if (e.error === "RecordNotFound")
|
|
23531
23609
|
return new RecordNotFoundError(e);
|
|
@@ -23537,14 +23615,14 @@ function toKnownErr9(e) {
|
|
|
23537
23615
|
var getRepo_exports = {};
|
|
23538
23616
|
__export(getRepo_exports, {
|
|
23539
23617
|
RepoNotFoundError: () => RepoNotFoundError,
|
|
23540
|
-
toKnownErr: () =>
|
|
23618
|
+
toKnownErr: () => toKnownErr11
|
|
23541
23619
|
});
|
|
23542
23620
|
var RepoNotFoundError = class extends XRPCError {
|
|
23543
23621
|
constructor(src2) {
|
|
23544
23622
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23545
23623
|
}
|
|
23546
23624
|
};
|
|
23547
|
-
function
|
|
23625
|
+
function toKnownErr11(e) {
|
|
23548
23626
|
if (e instanceof XRPCError) {
|
|
23549
23627
|
if (e.error === "RepoNotFound")
|
|
23550
23628
|
return new RepoNotFoundError(e);
|
|
@@ -23555,9 +23633,9 @@ function toKnownErr10(e) {
|
|
|
23555
23633
|
// src/client/types/com/atproto/admin/getSubjectStatus.ts
|
|
23556
23634
|
var getSubjectStatus_exports = {};
|
|
23557
23635
|
__export(getSubjectStatus_exports, {
|
|
23558
|
-
toKnownErr: () =>
|
|
23636
|
+
toKnownErr: () => toKnownErr12
|
|
23559
23637
|
});
|
|
23560
|
-
function
|
|
23638
|
+
function toKnownErr12(e) {
|
|
23561
23639
|
if (e instanceof XRPCError) {
|
|
23562
23640
|
}
|
|
23563
23641
|
return e;
|
|
@@ -23566,9 +23644,9 @@ function toKnownErr11(e) {
|
|
|
23566
23644
|
// src/client/types/com/atproto/admin/queryModerationEvents.ts
|
|
23567
23645
|
var queryModerationEvents_exports = {};
|
|
23568
23646
|
__export(queryModerationEvents_exports, {
|
|
23569
|
-
toKnownErr: () =>
|
|
23647
|
+
toKnownErr: () => toKnownErr13
|
|
23570
23648
|
});
|
|
23571
|
-
function
|
|
23649
|
+
function toKnownErr13(e) {
|
|
23572
23650
|
if (e instanceof XRPCError) {
|
|
23573
23651
|
}
|
|
23574
23652
|
return e;
|
|
@@ -23577,9 +23655,9 @@ function toKnownErr12(e) {
|
|
|
23577
23655
|
// src/client/types/com/atproto/admin/queryModerationStatuses.ts
|
|
23578
23656
|
var queryModerationStatuses_exports = {};
|
|
23579
23657
|
__export(queryModerationStatuses_exports, {
|
|
23580
|
-
toKnownErr: () =>
|
|
23658
|
+
toKnownErr: () => toKnownErr14
|
|
23581
23659
|
});
|
|
23582
|
-
function
|
|
23660
|
+
function toKnownErr14(e) {
|
|
23583
23661
|
if (e instanceof XRPCError) {
|
|
23584
23662
|
}
|
|
23585
23663
|
return e;
|
|
@@ -23588,9 +23666,9 @@ function toKnownErr13(e) {
|
|
|
23588
23666
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23589
23667
|
var searchRepos_exports = {};
|
|
23590
23668
|
__export(searchRepos_exports, {
|
|
23591
|
-
toKnownErr: () =>
|
|
23669
|
+
toKnownErr: () => toKnownErr15
|
|
23592
23670
|
});
|
|
23593
|
-
function
|
|
23671
|
+
function toKnownErr15(e) {
|
|
23594
23672
|
if (e instanceof XRPCError) {
|
|
23595
23673
|
}
|
|
23596
23674
|
return e;
|
|
@@ -23599,9 +23677,9 @@ function toKnownErr14(e) {
|
|
|
23599
23677
|
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
23600
23678
|
var sendEmail_exports = {};
|
|
23601
23679
|
__export(sendEmail_exports, {
|
|
23602
|
-
toKnownErr: () =>
|
|
23680
|
+
toKnownErr: () => toKnownErr16
|
|
23603
23681
|
});
|
|
23604
|
-
function
|
|
23682
|
+
function toKnownErr16(e) {
|
|
23605
23683
|
if (e instanceof XRPCError) {
|
|
23606
23684
|
}
|
|
23607
23685
|
return e;
|
|
@@ -23610,9 +23688,9 @@ function toKnownErr15(e) {
|
|
|
23610
23688
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23611
23689
|
var updateAccountEmail_exports = {};
|
|
23612
23690
|
__export(updateAccountEmail_exports, {
|
|
23613
|
-
toKnownErr: () =>
|
|
23691
|
+
toKnownErr: () => toKnownErr17
|
|
23614
23692
|
});
|
|
23615
|
-
function
|
|
23693
|
+
function toKnownErr17(e) {
|
|
23616
23694
|
if (e instanceof XRPCError) {
|
|
23617
23695
|
}
|
|
23618
23696
|
return e;
|
|
@@ -23621,9 +23699,9 @@ function toKnownErr16(e) {
|
|
|
23621
23699
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23622
23700
|
var updateAccountHandle_exports = {};
|
|
23623
23701
|
__export(updateAccountHandle_exports, {
|
|
23624
|
-
toKnownErr: () =>
|
|
23702
|
+
toKnownErr: () => toKnownErr18
|
|
23625
23703
|
});
|
|
23626
|
-
function
|
|
23704
|
+
function toKnownErr18(e) {
|
|
23627
23705
|
if (e instanceof XRPCError) {
|
|
23628
23706
|
}
|
|
23629
23707
|
return e;
|
|
@@ -23632,9 +23710,9 @@ function toKnownErr17(e) {
|
|
|
23632
23710
|
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
23633
23711
|
var updateSubjectStatus_exports = {};
|
|
23634
23712
|
__export(updateSubjectStatus_exports, {
|
|
23635
|
-
toKnownErr: () =>
|
|
23713
|
+
toKnownErr: () => toKnownErr19
|
|
23636
23714
|
});
|
|
23637
|
-
function
|
|
23715
|
+
function toKnownErr19(e) {
|
|
23638
23716
|
if (e instanceof XRPCError) {
|
|
23639
23717
|
}
|
|
23640
23718
|
return e;
|
|
@@ -23643,9 +23721,9 @@ function toKnownErr18(e) {
|
|
|
23643
23721
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23644
23722
|
var resolveHandle_exports = {};
|
|
23645
23723
|
__export(resolveHandle_exports, {
|
|
23646
|
-
toKnownErr: () =>
|
|
23724
|
+
toKnownErr: () => toKnownErr20
|
|
23647
23725
|
});
|
|
23648
|
-
function
|
|
23726
|
+
function toKnownErr20(e) {
|
|
23649
23727
|
if (e instanceof XRPCError) {
|
|
23650
23728
|
}
|
|
23651
23729
|
return e;
|
|
@@ -23654,9 +23732,9 @@ function toKnownErr19(e) {
|
|
|
23654
23732
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23655
23733
|
var updateHandle_exports = {};
|
|
23656
23734
|
__export(updateHandle_exports, {
|
|
23657
|
-
toKnownErr: () =>
|
|
23735
|
+
toKnownErr: () => toKnownErr21
|
|
23658
23736
|
});
|
|
23659
|
-
function
|
|
23737
|
+
function toKnownErr21(e) {
|
|
23660
23738
|
if (e instanceof XRPCError) {
|
|
23661
23739
|
}
|
|
23662
23740
|
return e;
|
|
@@ -23665,9 +23743,9 @@ function toKnownErr20(e) {
|
|
|
23665
23743
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23666
23744
|
var queryLabels_exports = {};
|
|
23667
23745
|
__export(queryLabels_exports, {
|
|
23668
|
-
toKnownErr: () =>
|
|
23746
|
+
toKnownErr: () => toKnownErr22
|
|
23669
23747
|
});
|
|
23670
|
-
function
|
|
23748
|
+
function toKnownErr22(e) {
|
|
23671
23749
|
if (e instanceof XRPCError) {
|
|
23672
23750
|
}
|
|
23673
23751
|
return e;
|
|
@@ -23676,9 +23754,9 @@ function toKnownErr21(e) {
|
|
|
23676
23754
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23677
23755
|
var createReport_exports = {};
|
|
23678
23756
|
__export(createReport_exports, {
|
|
23679
|
-
toKnownErr: () =>
|
|
23757
|
+
toKnownErr: () => toKnownErr23
|
|
23680
23758
|
});
|
|
23681
|
-
function
|
|
23759
|
+
function toKnownErr23(e) {
|
|
23682
23760
|
if (e instanceof XRPCError) {
|
|
23683
23761
|
}
|
|
23684
23762
|
return e;
|
|
@@ -23691,7 +23769,7 @@ __export(applyWrites_exports, {
|
|
|
23691
23769
|
isCreate: () => isCreate,
|
|
23692
23770
|
isDelete: () => isDelete,
|
|
23693
23771
|
isUpdate: () => isUpdate,
|
|
23694
|
-
toKnownErr: () =>
|
|
23772
|
+
toKnownErr: () => toKnownErr24,
|
|
23695
23773
|
validateCreate: () => validateCreate,
|
|
23696
23774
|
validateDelete: () => validateDelete,
|
|
23697
23775
|
validateUpdate: () => validateUpdate
|
|
@@ -23711,7 +23789,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
23711
23789
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23712
23790
|
}
|
|
23713
23791
|
};
|
|
23714
|
-
function
|
|
23792
|
+
function toKnownErr24(e) {
|
|
23715
23793
|
if (e instanceof XRPCError) {
|
|
23716
23794
|
if (e.error === "InvalidSwap")
|
|
23717
23795
|
return new InvalidSwapError(e);
|
|
@@ -23741,14 +23819,14 @@ function validateDelete(v) {
|
|
|
23741
23819
|
var createRecord_exports = {};
|
|
23742
23820
|
__export(createRecord_exports, {
|
|
23743
23821
|
InvalidSwapError: () => InvalidSwapError2,
|
|
23744
|
-
toKnownErr: () =>
|
|
23822
|
+
toKnownErr: () => toKnownErr25
|
|
23745
23823
|
});
|
|
23746
23824
|
var InvalidSwapError2 = class extends XRPCError {
|
|
23747
23825
|
constructor(src2) {
|
|
23748
23826
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23749
23827
|
}
|
|
23750
23828
|
};
|
|
23751
|
-
function
|
|
23829
|
+
function toKnownErr25(e) {
|
|
23752
23830
|
if (e instanceof XRPCError) {
|
|
23753
23831
|
if (e.error === "InvalidSwap")
|
|
23754
23832
|
return new InvalidSwapError2(e);
|
|
@@ -23760,14 +23838,14 @@ function toKnownErr24(e) {
|
|
|
23760
23838
|
var deleteRecord_exports = {};
|
|
23761
23839
|
__export(deleteRecord_exports, {
|
|
23762
23840
|
InvalidSwapError: () => InvalidSwapError3,
|
|
23763
|
-
toKnownErr: () =>
|
|
23841
|
+
toKnownErr: () => toKnownErr26
|
|
23764
23842
|
});
|
|
23765
23843
|
var InvalidSwapError3 = class extends XRPCError {
|
|
23766
23844
|
constructor(src2) {
|
|
23767
23845
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23768
23846
|
}
|
|
23769
23847
|
};
|
|
23770
|
-
function
|
|
23848
|
+
function toKnownErr26(e) {
|
|
23771
23849
|
if (e instanceof XRPCError) {
|
|
23772
23850
|
if (e.error === "InvalidSwap")
|
|
23773
23851
|
return new InvalidSwapError3(e);
|
|
@@ -23778,9 +23856,9 @@ function toKnownErr25(e) {
|
|
|
23778
23856
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23779
23857
|
var describeRepo_exports = {};
|
|
23780
23858
|
__export(describeRepo_exports, {
|
|
23781
|
-
toKnownErr: () =>
|
|
23859
|
+
toKnownErr: () => toKnownErr27
|
|
23782
23860
|
});
|
|
23783
|
-
function
|
|
23861
|
+
function toKnownErr27(e) {
|
|
23784
23862
|
if (e instanceof XRPCError) {
|
|
23785
23863
|
}
|
|
23786
23864
|
return e;
|
|
@@ -23789,9 +23867,9 @@ function toKnownErr26(e) {
|
|
|
23789
23867
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23790
23868
|
var getRecord_exports2 = {};
|
|
23791
23869
|
__export(getRecord_exports2, {
|
|
23792
|
-
toKnownErr: () =>
|
|
23870
|
+
toKnownErr: () => toKnownErr28
|
|
23793
23871
|
});
|
|
23794
|
-
function
|
|
23872
|
+
function toKnownErr28(e) {
|
|
23795
23873
|
if (e instanceof XRPCError) {
|
|
23796
23874
|
}
|
|
23797
23875
|
return e;
|
|
@@ -23801,10 +23879,10 @@ function toKnownErr27(e) {
|
|
|
23801
23879
|
var listRecords_exports = {};
|
|
23802
23880
|
__export(listRecords_exports, {
|
|
23803
23881
|
isRecord: () => isRecord,
|
|
23804
|
-
toKnownErr: () =>
|
|
23882
|
+
toKnownErr: () => toKnownErr29,
|
|
23805
23883
|
validateRecord: () => validateRecord
|
|
23806
23884
|
});
|
|
23807
|
-
function
|
|
23885
|
+
function toKnownErr29(e) {
|
|
23808
23886
|
if (e instanceof XRPCError) {
|
|
23809
23887
|
}
|
|
23810
23888
|
return e;
|
|
@@ -23820,14 +23898,14 @@ function validateRecord(v) {
|
|
|
23820
23898
|
var putRecord_exports = {};
|
|
23821
23899
|
__export(putRecord_exports, {
|
|
23822
23900
|
InvalidSwapError: () => InvalidSwapError4,
|
|
23823
|
-
toKnownErr: () =>
|
|
23901
|
+
toKnownErr: () => toKnownErr30
|
|
23824
23902
|
});
|
|
23825
23903
|
var InvalidSwapError4 = class extends XRPCError {
|
|
23826
23904
|
constructor(src2) {
|
|
23827
23905
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23828
23906
|
}
|
|
23829
23907
|
};
|
|
23830
|
-
function
|
|
23908
|
+
function toKnownErr30(e) {
|
|
23831
23909
|
if (e instanceof XRPCError) {
|
|
23832
23910
|
if (e.error === "InvalidSwap")
|
|
23833
23911
|
return new InvalidSwapError4(e);
|
|
@@ -23838,9 +23916,9 @@ function toKnownErr29(e) {
|
|
|
23838
23916
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23839
23917
|
var uploadBlob_exports = {};
|
|
23840
23918
|
__export(uploadBlob_exports, {
|
|
23841
|
-
toKnownErr: () =>
|
|
23919
|
+
toKnownErr: () => toKnownErr31
|
|
23842
23920
|
});
|
|
23843
|
-
function
|
|
23921
|
+
function toKnownErr31(e) {
|
|
23844
23922
|
if (e instanceof XRPCError) {
|
|
23845
23923
|
}
|
|
23846
23924
|
return e;
|
|
@@ -23853,7 +23931,7 @@ __export(confirmEmail_exports, {
|
|
|
23853
23931
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23854
23932
|
InvalidEmailError: () => InvalidEmailError,
|
|
23855
23933
|
InvalidTokenError: () => InvalidTokenError,
|
|
23856
|
-
toKnownErr: () =>
|
|
23934
|
+
toKnownErr: () => toKnownErr32
|
|
23857
23935
|
});
|
|
23858
23936
|
var AccountNotFoundError = class extends XRPCError {
|
|
23859
23937
|
constructor(src2) {
|
|
@@ -23875,7 +23953,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
23875
23953
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23876
23954
|
}
|
|
23877
23955
|
};
|
|
23878
|
-
function
|
|
23956
|
+
function toKnownErr32(e) {
|
|
23879
23957
|
if (e instanceof XRPCError) {
|
|
23880
23958
|
if (e.error === "AccountNotFound")
|
|
23881
23959
|
return new AccountNotFoundError(e);
|
|
@@ -23899,7 +23977,7 @@ __export(createAccount_exports, {
|
|
|
23899
23977
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23900
23978
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23901
23979
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23902
|
-
toKnownErr: () =>
|
|
23980
|
+
toKnownErr: () => toKnownErr33
|
|
23903
23981
|
});
|
|
23904
23982
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23905
23983
|
constructor(src2) {
|
|
@@ -23936,7 +24014,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
23936
24014
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23937
24015
|
}
|
|
23938
24016
|
};
|
|
23939
|
-
function
|
|
24017
|
+
function toKnownErr33(e) {
|
|
23940
24018
|
if (e instanceof XRPCError) {
|
|
23941
24019
|
if (e.error === "InvalidHandle")
|
|
23942
24020
|
return new InvalidHandleError2(e);
|
|
@@ -23961,7 +24039,7 @@ var createAppPassword_exports = {};
|
|
|
23961
24039
|
__export(createAppPassword_exports, {
|
|
23962
24040
|
AccountTakedownError: () => AccountTakedownError,
|
|
23963
24041
|
isAppPassword: () => isAppPassword,
|
|
23964
|
-
toKnownErr: () =>
|
|
24042
|
+
toKnownErr: () => toKnownErr34,
|
|
23965
24043
|
validateAppPassword: () => validateAppPassword
|
|
23966
24044
|
});
|
|
23967
24045
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -23969,7 +24047,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
23969
24047
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23970
24048
|
}
|
|
23971
24049
|
};
|
|
23972
|
-
function
|
|
24050
|
+
function toKnownErr34(e) {
|
|
23973
24051
|
if (e instanceof XRPCError) {
|
|
23974
24052
|
if (e.error === "AccountTakedown")
|
|
23975
24053
|
return new AccountTakedownError(e);
|
|
@@ -23986,9 +24064,9 @@ function validateAppPassword(v) {
|
|
|
23986
24064
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
23987
24065
|
var createInviteCode_exports = {};
|
|
23988
24066
|
__export(createInviteCode_exports, {
|
|
23989
|
-
toKnownErr: () =>
|
|
24067
|
+
toKnownErr: () => toKnownErr35
|
|
23990
24068
|
});
|
|
23991
|
-
function
|
|
24069
|
+
function toKnownErr35(e) {
|
|
23992
24070
|
if (e instanceof XRPCError) {
|
|
23993
24071
|
}
|
|
23994
24072
|
return e;
|
|
@@ -23998,10 +24076,10 @@ function toKnownErr34(e) {
|
|
|
23998
24076
|
var createInviteCodes_exports = {};
|
|
23999
24077
|
__export(createInviteCodes_exports, {
|
|
24000
24078
|
isAccountCodes: () => isAccountCodes,
|
|
24001
|
-
toKnownErr: () =>
|
|
24079
|
+
toKnownErr: () => toKnownErr36,
|
|
24002
24080
|
validateAccountCodes: () => validateAccountCodes
|
|
24003
24081
|
});
|
|
24004
|
-
function
|
|
24082
|
+
function toKnownErr36(e) {
|
|
24005
24083
|
if (e instanceof XRPCError) {
|
|
24006
24084
|
}
|
|
24007
24085
|
return e;
|
|
@@ -24017,14 +24095,14 @@ function validateAccountCodes(v) {
|
|
|
24017
24095
|
var createSession_exports = {};
|
|
24018
24096
|
__export(createSession_exports, {
|
|
24019
24097
|
AccountTakedownError: () => AccountTakedownError2,
|
|
24020
|
-
toKnownErr: () =>
|
|
24098
|
+
toKnownErr: () => toKnownErr37
|
|
24021
24099
|
});
|
|
24022
24100
|
var AccountTakedownError2 = class extends XRPCError {
|
|
24023
24101
|
constructor(src2) {
|
|
24024
24102
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24025
24103
|
}
|
|
24026
24104
|
};
|
|
24027
|
-
function
|
|
24105
|
+
function toKnownErr37(e) {
|
|
24028
24106
|
if (e instanceof XRPCError) {
|
|
24029
24107
|
if (e.error === "AccountTakedown")
|
|
24030
24108
|
return new AccountTakedownError2(e);
|
|
@@ -24037,7 +24115,7 @@ var deleteAccount_exports2 = {};
|
|
|
24037
24115
|
__export(deleteAccount_exports2, {
|
|
24038
24116
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
24039
24117
|
InvalidTokenError: () => InvalidTokenError2,
|
|
24040
|
-
toKnownErr: () =>
|
|
24118
|
+
toKnownErr: () => toKnownErr38
|
|
24041
24119
|
});
|
|
24042
24120
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
24043
24121
|
constructor(src2) {
|
|
@@ -24049,7 +24127,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
24049
24127
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24050
24128
|
}
|
|
24051
24129
|
};
|
|
24052
|
-
function
|
|
24130
|
+
function toKnownErr38(e) {
|
|
24053
24131
|
if (e instanceof XRPCError) {
|
|
24054
24132
|
if (e.error === "ExpiredToken")
|
|
24055
24133
|
return new ExpiredTokenError2(e);
|
|
@@ -24062,9 +24140,9 @@ function toKnownErr37(e) {
|
|
|
24062
24140
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
24063
24141
|
var deleteSession_exports = {};
|
|
24064
24142
|
__export(deleteSession_exports, {
|
|
24065
|
-
toKnownErr: () =>
|
|
24143
|
+
toKnownErr: () => toKnownErr39
|
|
24066
24144
|
});
|
|
24067
|
-
function
|
|
24145
|
+
function toKnownErr39(e) {
|
|
24068
24146
|
if (e instanceof XRPCError) {
|
|
24069
24147
|
}
|
|
24070
24148
|
return e;
|
|
@@ -24074,10 +24152,10 @@ function toKnownErr38(e) {
|
|
|
24074
24152
|
var describeServer_exports = {};
|
|
24075
24153
|
__export(describeServer_exports, {
|
|
24076
24154
|
isLinks: () => isLinks,
|
|
24077
|
-
toKnownErr: () =>
|
|
24155
|
+
toKnownErr: () => toKnownErr40,
|
|
24078
24156
|
validateLinks: () => validateLinks
|
|
24079
24157
|
});
|
|
24080
|
-
function
|
|
24158
|
+
function toKnownErr40(e) {
|
|
24081
24159
|
if (e instanceof XRPCError) {
|
|
24082
24160
|
}
|
|
24083
24161
|
return e;
|
|
@@ -24093,14 +24171,14 @@ function validateLinks(v) {
|
|
|
24093
24171
|
var getAccountInviteCodes_exports = {};
|
|
24094
24172
|
__export(getAccountInviteCodes_exports, {
|
|
24095
24173
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
24096
|
-
toKnownErr: () =>
|
|
24174
|
+
toKnownErr: () => toKnownErr41
|
|
24097
24175
|
});
|
|
24098
24176
|
var DuplicateCreateError = class extends XRPCError {
|
|
24099
24177
|
constructor(src2) {
|
|
24100
24178
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24101
24179
|
}
|
|
24102
24180
|
};
|
|
24103
|
-
function
|
|
24181
|
+
function toKnownErr41(e) {
|
|
24104
24182
|
if (e instanceof XRPCError) {
|
|
24105
24183
|
if (e.error === "DuplicateCreate")
|
|
24106
24184
|
return new DuplicateCreateError(e);
|
|
@@ -24111,9 +24189,9 @@ function toKnownErr40(e) {
|
|
|
24111
24189
|
// src/client/types/com/atproto/server/getSession.ts
|
|
24112
24190
|
var getSession_exports = {};
|
|
24113
24191
|
__export(getSession_exports, {
|
|
24114
|
-
toKnownErr: () =>
|
|
24192
|
+
toKnownErr: () => toKnownErr42
|
|
24115
24193
|
});
|
|
24116
|
-
function
|
|
24194
|
+
function toKnownErr42(e) {
|
|
24117
24195
|
if (e instanceof XRPCError) {
|
|
24118
24196
|
}
|
|
24119
24197
|
return e;
|
|
@@ -24124,7 +24202,7 @@ var listAppPasswords_exports = {};
|
|
|
24124
24202
|
__export(listAppPasswords_exports, {
|
|
24125
24203
|
AccountTakedownError: () => AccountTakedownError3,
|
|
24126
24204
|
isAppPassword: () => isAppPassword2,
|
|
24127
|
-
toKnownErr: () =>
|
|
24205
|
+
toKnownErr: () => toKnownErr43,
|
|
24128
24206
|
validateAppPassword: () => validateAppPassword2
|
|
24129
24207
|
});
|
|
24130
24208
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -24132,7 +24210,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
24132
24210
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24133
24211
|
}
|
|
24134
24212
|
};
|
|
24135
|
-
function
|
|
24213
|
+
function toKnownErr43(e) {
|
|
24136
24214
|
if (e instanceof XRPCError) {
|
|
24137
24215
|
if (e.error === "AccountTakedown")
|
|
24138
24216
|
return new AccountTakedownError3(e);
|
|
@@ -24150,14 +24228,14 @@ function validateAppPassword2(v) {
|
|
|
24150
24228
|
var refreshSession_exports = {};
|
|
24151
24229
|
__export(refreshSession_exports, {
|
|
24152
24230
|
AccountTakedownError: () => AccountTakedownError4,
|
|
24153
|
-
toKnownErr: () =>
|
|
24231
|
+
toKnownErr: () => toKnownErr44
|
|
24154
24232
|
});
|
|
24155
24233
|
var AccountTakedownError4 = class extends XRPCError {
|
|
24156
24234
|
constructor(src2) {
|
|
24157
24235
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24158
24236
|
}
|
|
24159
24237
|
};
|
|
24160
|
-
function
|
|
24238
|
+
function toKnownErr44(e) {
|
|
24161
24239
|
if (e instanceof XRPCError) {
|
|
24162
24240
|
if (e.error === "AccountTakedown")
|
|
24163
24241
|
return new AccountTakedownError4(e);
|
|
@@ -24168,9 +24246,9 @@ function toKnownErr43(e) {
|
|
|
24168
24246
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
24169
24247
|
var requestAccountDelete_exports = {};
|
|
24170
24248
|
__export(requestAccountDelete_exports, {
|
|
24171
|
-
toKnownErr: () =>
|
|
24249
|
+
toKnownErr: () => toKnownErr45
|
|
24172
24250
|
});
|
|
24173
|
-
function
|
|
24251
|
+
function toKnownErr45(e) {
|
|
24174
24252
|
if (e instanceof XRPCError) {
|
|
24175
24253
|
}
|
|
24176
24254
|
return e;
|
|
@@ -24179,9 +24257,9 @@ function toKnownErr44(e) {
|
|
|
24179
24257
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
24180
24258
|
var requestEmailConfirmation_exports = {};
|
|
24181
24259
|
__export(requestEmailConfirmation_exports, {
|
|
24182
|
-
toKnownErr: () =>
|
|
24260
|
+
toKnownErr: () => toKnownErr46
|
|
24183
24261
|
});
|
|
24184
|
-
function
|
|
24262
|
+
function toKnownErr46(e) {
|
|
24185
24263
|
if (e instanceof XRPCError) {
|
|
24186
24264
|
}
|
|
24187
24265
|
return e;
|
|
@@ -24190,9 +24268,9 @@ function toKnownErr45(e) {
|
|
|
24190
24268
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
24191
24269
|
var requestEmailUpdate_exports = {};
|
|
24192
24270
|
__export(requestEmailUpdate_exports, {
|
|
24193
|
-
toKnownErr: () =>
|
|
24271
|
+
toKnownErr: () => toKnownErr47
|
|
24194
24272
|
});
|
|
24195
|
-
function
|
|
24273
|
+
function toKnownErr47(e) {
|
|
24196
24274
|
if (e instanceof XRPCError) {
|
|
24197
24275
|
}
|
|
24198
24276
|
return e;
|
|
@@ -24201,9 +24279,9 @@ function toKnownErr46(e) {
|
|
|
24201
24279
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
24202
24280
|
var requestPasswordReset_exports = {};
|
|
24203
24281
|
__export(requestPasswordReset_exports, {
|
|
24204
|
-
toKnownErr: () =>
|
|
24282
|
+
toKnownErr: () => toKnownErr48
|
|
24205
24283
|
});
|
|
24206
|
-
function
|
|
24284
|
+
function toKnownErr48(e) {
|
|
24207
24285
|
if (e instanceof XRPCError) {
|
|
24208
24286
|
}
|
|
24209
24287
|
return e;
|
|
@@ -24212,9 +24290,9 @@ function toKnownErr47(e) {
|
|
|
24212
24290
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
24213
24291
|
var reserveSigningKey_exports = {};
|
|
24214
24292
|
__export(reserveSigningKey_exports, {
|
|
24215
|
-
toKnownErr: () =>
|
|
24293
|
+
toKnownErr: () => toKnownErr49
|
|
24216
24294
|
});
|
|
24217
|
-
function
|
|
24295
|
+
function toKnownErr49(e) {
|
|
24218
24296
|
if (e instanceof XRPCError) {
|
|
24219
24297
|
}
|
|
24220
24298
|
return e;
|
|
@@ -24225,7 +24303,7 @@ var resetPassword_exports = {};
|
|
|
24225
24303
|
__export(resetPassword_exports, {
|
|
24226
24304
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
24227
24305
|
InvalidTokenError: () => InvalidTokenError3,
|
|
24228
|
-
toKnownErr: () =>
|
|
24306
|
+
toKnownErr: () => toKnownErr50
|
|
24229
24307
|
});
|
|
24230
24308
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
24231
24309
|
constructor(src2) {
|
|
@@ -24237,7 +24315,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
24237
24315
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24238
24316
|
}
|
|
24239
24317
|
};
|
|
24240
|
-
function
|
|
24318
|
+
function toKnownErr50(e) {
|
|
24241
24319
|
if (e instanceof XRPCError) {
|
|
24242
24320
|
if (e.error === "ExpiredToken")
|
|
24243
24321
|
return new ExpiredTokenError3(e);
|
|
@@ -24250,9 +24328,9 @@ function toKnownErr49(e) {
|
|
|
24250
24328
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
24251
24329
|
var revokeAppPassword_exports = {};
|
|
24252
24330
|
__export(revokeAppPassword_exports, {
|
|
24253
|
-
toKnownErr: () =>
|
|
24331
|
+
toKnownErr: () => toKnownErr51
|
|
24254
24332
|
});
|
|
24255
|
-
function
|
|
24333
|
+
function toKnownErr51(e) {
|
|
24256
24334
|
if (e instanceof XRPCError) {
|
|
24257
24335
|
}
|
|
24258
24336
|
return e;
|
|
@@ -24264,7 +24342,7 @@ __export(updateEmail_exports, {
|
|
|
24264
24342
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
24265
24343
|
InvalidTokenError: () => InvalidTokenError4,
|
|
24266
24344
|
TokenRequiredError: () => TokenRequiredError,
|
|
24267
|
-
toKnownErr: () =>
|
|
24345
|
+
toKnownErr: () => toKnownErr52
|
|
24268
24346
|
});
|
|
24269
24347
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
24270
24348
|
constructor(src2) {
|
|
@@ -24281,7 +24359,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
24281
24359
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24282
24360
|
}
|
|
24283
24361
|
};
|
|
24284
|
-
function
|
|
24362
|
+
function toKnownErr52(e) {
|
|
24285
24363
|
if (e instanceof XRPCError) {
|
|
24286
24364
|
if (e.error === "ExpiredToken")
|
|
24287
24365
|
return new ExpiredTokenError4(e);
|
|
@@ -24296,9 +24374,9 @@ function toKnownErr51(e) {
|
|
|
24296
24374
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
24297
24375
|
var getBlob_exports = {};
|
|
24298
24376
|
__export(getBlob_exports, {
|
|
24299
|
-
toKnownErr: () =>
|
|
24377
|
+
toKnownErr: () => toKnownErr53
|
|
24300
24378
|
});
|
|
24301
|
-
function
|
|
24379
|
+
function toKnownErr53(e) {
|
|
24302
24380
|
if (e instanceof XRPCError) {
|
|
24303
24381
|
}
|
|
24304
24382
|
return e;
|
|
@@ -24307,9 +24385,9 @@ function toKnownErr52(e) {
|
|
|
24307
24385
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
24308
24386
|
var getBlocks_exports = {};
|
|
24309
24387
|
__export(getBlocks_exports, {
|
|
24310
|
-
toKnownErr: () =>
|
|
24388
|
+
toKnownErr: () => toKnownErr54
|
|
24311
24389
|
});
|
|
24312
|
-
function
|
|
24390
|
+
function toKnownErr54(e) {
|
|
24313
24391
|
if (e instanceof XRPCError) {
|
|
24314
24392
|
}
|
|
24315
24393
|
return e;
|
|
@@ -24318,9 +24396,9 @@ function toKnownErr53(e) {
|
|
|
24318
24396
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
24319
24397
|
var getCheckout_exports = {};
|
|
24320
24398
|
__export(getCheckout_exports, {
|
|
24321
|
-
toKnownErr: () =>
|
|
24399
|
+
toKnownErr: () => toKnownErr55
|
|
24322
24400
|
});
|
|
24323
|
-
function
|
|
24401
|
+
function toKnownErr55(e) {
|
|
24324
24402
|
if (e instanceof XRPCError) {
|
|
24325
24403
|
}
|
|
24326
24404
|
return e;
|
|
@@ -24330,14 +24408,14 @@ function toKnownErr54(e) {
|
|
|
24330
24408
|
var getHead_exports = {};
|
|
24331
24409
|
__export(getHead_exports, {
|
|
24332
24410
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
24333
|
-
toKnownErr: () =>
|
|
24411
|
+
toKnownErr: () => toKnownErr56
|
|
24334
24412
|
});
|
|
24335
24413
|
var HeadNotFoundError = class extends XRPCError {
|
|
24336
24414
|
constructor(src2) {
|
|
24337
24415
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24338
24416
|
}
|
|
24339
24417
|
};
|
|
24340
|
-
function
|
|
24418
|
+
function toKnownErr56(e) {
|
|
24341
24419
|
if (e instanceof XRPCError) {
|
|
24342
24420
|
if (e.error === "HeadNotFound")
|
|
24343
24421
|
return new HeadNotFoundError(e);
|
|
@@ -24349,14 +24427,14 @@ function toKnownErr55(e) {
|
|
|
24349
24427
|
var getLatestCommit_exports = {};
|
|
24350
24428
|
__export(getLatestCommit_exports, {
|
|
24351
24429
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
24352
|
-
toKnownErr: () =>
|
|
24430
|
+
toKnownErr: () => toKnownErr57
|
|
24353
24431
|
});
|
|
24354
24432
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
24355
24433
|
constructor(src2) {
|
|
24356
24434
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24357
24435
|
}
|
|
24358
24436
|
};
|
|
24359
|
-
function
|
|
24437
|
+
function toKnownErr57(e) {
|
|
24360
24438
|
if (e instanceof XRPCError) {
|
|
24361
24439
|
if (e.error === "RepoNotFound")
|
|
24362
24440
|
return new RepoNotFoundError2(e);
|
|
@@ -24367,9 +24445,9 @@ function toKnownErr56(e) {
|
|
|
24367
24445
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
24368
24446
|
var getRecord_exports3 = {};
|
|
24369
24447
|
__export(getRecord_exports3, {
|
|
24370
|
-
toKnownErr: () =>
|
|
24448
|
+
toKnownErr: () => toKnownErr58
|
|
24371
24449
|
});
|
|
24372
|
-
function
|
|
24450
|
+
function toKnownErr58(e) {
|
|
24373
24451
|
if (e instanceof XRPCError) {
|
|
24374
24452
|
}
|
|
24375
24453
|
return e;
|
|
@@ -24378,9 +24456,9 @@ function toKnownErr57(e) {
|
|
|
24378
24456
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
24379
24457
|
var getRepo_exports2 = {};
|
|
24380
24458
|
__export(getRepo_exports2, {
|
|
24381
|
-
toKnownErr: () =>
|
|
24459
|
+
toKnownErr: () => toKnownErr59
|
|
24382
24460
|
});
|
|
24383
|
-
function
|
|
24461
|
+
function toKnownErr59(e) {
|
|
24384
24462
|
if (e instanceof XRPCError) {
|
|
24385
24463
|
}
|
|
24386
24464
|
return e;
|
|
@@ -24389,9 +24467,9 @@ function toKnownErr58(e) {
|
|
|
24389
24467
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
24390
24468
|
var listBlobs_exports = {};
|
|
24391
24469
|
__export(listBlobs_exports, {
|
|
24392
|
-
toKnownErr: () =>
|
|
24470
|
+
toKnownErr: () => toKnownErr60
|
|
24393
24471
|
});
|
|
24394
|
-
function
|
|
24472
|
+
function toKnownErr60(e) {
|
|
24395
24473
|
if (e instanceof XRPCError) {
|
|
24396
24474
|
}
|
|
24397
24475
|
return e;
|
|
@@ -24401,10 +24479,10 @@ function toKnownErr59(e) {
|
|
|
24401
24479
|
var listRepos_exports = {};
|
|
24402
24480
|
__export(listRepos_exports, {
|
|
24403
24481
|
isRepo: () => isRepo,
|
|
24404
|
-
toKnownErr: () =>
|
|
24482
|
+
toKnownErr: () => toKnownErr61,
|
|
24405
24483
|
validateRepo: () => validateRepo
|
|
24406
24484
|
});
|
|
24407
|
-
function
|
|
24485
|
+
function toKnownErr61(e) {
|
|
24408
24486
|
if (e instanceof XRPCError) {
|
|
24409
24487
|
}
|
|
24410
24488
|
return e;
|
|
@@ -24419,9 +24497,9 @@ function validateRepo(v) {
|
|
|
24419
24497
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
24420
24498
|
var notifyOfUpdate_exports = {};
|
|
24421
24499
|
__export(notifyOfUpdate_exports, {
|
|
24422
|
-
toKnownErr: () =>
|
|
24500
|
+
toKnownErr: () => toKnownErr62
|
|
24423
24501
|
});
|
|
24424
|
-
function
|
|
24502
|
+
function toKnownErr62(e) {
|
|
24425
24503
|
if (e instanceof XRPCError) {
|
|
24426
24504
|
}
|
|
24427
24505
|
return e;
|
|
@@ -24430,9 +24508,9 @@ function toKnownErr61(e) {
|
|
|
24430
24508
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
24431
24509
|
var requestCrawl_exports = {};
|
|
24432
24510
|
__export(requestCrawl_exports, {
|
|
24433
|
-
toKnownErr: () =>
|
|
24511
|
+
toKnownErr: () => toKnownErr63
|
|
24434
24512
|
});
|
|
24435
|
-
function
|
|
24513
|
+
function toKnownErr63(e) {
|
|
24436
24514
|
if (e instanceof XRPCError) {
|
|
24437
24515
|
}
|
|
24438
24516
|
return e;
|
|
@@ -24441,9 +24519,9 @@ function toKnownErr62(e) {
|
|
|
24441
24519
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
24442
24520
|
var fetchLabels_exports = {};
|
|
24443
24521
|
__export(fetchLabels_exports, {
|
|
24444
|
-
toKnownErr: () =>
|
|
24522
|
+
toKnownErr: () => toKnownErr64
|
|
24445
24523
|
});
|
|
24446
|
-
function
|
|
24524
|
+
function toKnownErr64(e) {
|
|
24447
24525
|
if (e instanceof XRPCError) {
|
|
24448
24526
|
}
|
|
24449
24527
|
return e;
|
|
@@ -24452,9 +24530,9 @@ function toKnownErr63(e) {
|
|
|
24452
24530
|
// src/client/types/com/atproto/temp/importRepo.ts
|
|
24453
24531
|
var importRepo_exports = {};
|
|
24454
24532
|
__export(importRepo_exports, {
|
|
24455
|
-
toKnownErr: () =>
|
|
24533
|
+
toKnownErr: () => toKnownErr65
|
|
24456
24534
|
});
|
|
24457
|
-
function
|
|
24535
|
+
function toKnownErr65(e) {
|
|
24458
24536
|
if (e instanceof XRPCError) {
|
|
24459
24537
|
}
|
|
24460
24538
|
return e;
|
|
@@ -24463,9 +24541,20 @@ function toKnownErr64(e) {
|
|
|
24463
24541
|
// src/client/types/com/atproto/temp/pushBlob.ts
|
|
24464
24542
|
var pushBlob_exports = {};
|
|
24465
24543
|
__export(pushBlob_exports, {
|
|
24466
|
-
toKnownErr: () =>
|
|
24544
|
+
toKnownErr: () => toKnownErr66
|
|
24467
24545
|
});
|
|
24468
|
-
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) {
|
|
24469
24558
|
if (e instanceof XRPCError) {
|
|
24470
24559
|
}
|
|
24471
24560
|
return e;
|
|
@@ -24481,7 +24570,7 @@ __export(transferAccount_exports, {
|
|
|
24481
24570
|
InvalidPasswordError: () => InvalidPasswordError2,
|
|
24482
24571
|
UnresolvableDidError: () => UnresolvableDidError2,
|
|
24483
24572
|
UnsupportedDomainError: () => UnsupportedDomainError2,
|
|
24484
|
-
toKnownErr: () =>
|
|
24573
|
+
toKnownErr: () => toKnownErr68
|
|
24485
24574
|
});
|
|
24486
24575
|
var InvalidHandleError3 = class extends XRPCError {
|
|
24487
24576
|
constructor(src2) {
|
|
@@ -24518,7 +24607,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
24518
24607
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24519
24608
|
}
|
|
24520
24609
|
};
|
|
24521
|
-
function
|
|
24610
|
+
function toKnownErr68(e) {
|
|
24522
24611
|
if (e instanceof XRPCError) {
|
|
24523
24612
|
if (e.error === "InvalidHandle")
|
|
24524
24613
|
return new InvalidHandleError3(e);
|
|
@@ -24541,9 +24630,9 @@ function toKnownErr66(e) {
|
|
|
24541
24630
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
24542
24631
|
var getPreferences_exports = {};
|
|
24543
24632
|
__export(getPreferences_exports, {
|
|
24544
|
-
toKnownErr: () =>
|
|
24633
|
+
toKnownErr: () => toKnownErr69
|
|
24545
24634
|
});
|
|
24546
|
-
function
|
|
24635
|
+
function toKnownErr69(e) {
|
|
24547
24636
|
if (e instanceof XRPCError) {
|
|
24548
24637
|
}
|
|
24549
24638
|
return e;
|
|
@@ -24552,9 +24641,9 @@ function toKnownErr67(e) {
|
|
|
24552
24641
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
24553
24642
|
var getProfile_exports = {};
|
|
24554
24643
|
__export(getProfile_exports, {
|
|
24555
|
-
toKnownErr: () =>
|
|
24644
|
+
toKnownErr: () => toKnownErr70
|
|
24556
24645
|
});
|
|
24557
|
-
function
|
|
24646
|
+
function toKnownErr70(e) {
|
|
24558
24647
|
if (e instanceof XRPCError) {
|
|
24559
24648
|
}
|
|
24560
24649
|
return e;
|
|
@@ -24563,9 +24652,9 @@ function toKnownErr68(e) {
|
|
|
24563
24652
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
24564
24653
|
var getProfiles_exports = {};
|
|
24565
24654
|
__export(getProfiles_exports, {
|
|
24566
|
-
toKnownErr: () =>
|
|
24655
|
+
toKnownErr: () => toKnownErr71
|
|
24567
24656
|
});
|
|
24568
|
-
function
|
|
24657
|
+
function toKnownErr71(e) {
|
|
24569
24658
|
if (e instanceof XRPCError) {
|
|
24570
24659
|
}
|
|
24571
24660
|
return e;
|
|
@@ -24574,9 +24663,9 @@ function toKnownErr69(e) {
|
|
|
24574
24663
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
24575
24664
|
var getSuggestions_exports = {};
|
|
24576
24665
|
__export(getSuggestions_exports, {
|
|
24577
|
-
toKnownErr: () =>
|
|
24666
|
+
toKnownErr: () => toKnownErr72
|
|
24578
24667
|
});
|
|
24579
|
-
function
|
|
24668
|
+
function toKnownErr72(e) {
|
|
24580
24669
|
if (e instanceof XRPCError) {
|
|
24581
24670
|
}
|
|
24582
24671
|
return e;
|
|
@@ -24585,9 +24674,9 @@ function toKnownErr70(e) {
|
|
|
24585
24674
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
24586
24675
|
var putPreferences_exports = {};
|
|
24587
24676
|
__export(putPreferences_exports, {
|
|
24588
|
-
toKnownErr: () =>
|
|
24677
|
+
toKnownErr: () => toKnownErr73
|
|
24589
24678
|
});
|
|
24590
|
-
function
|
|
24679
|
+
function toKnownErr73(e) {
|
|
24591
24680
|
if (e instanceof XRPCError) {
|
|
24592
24681
|
}
|
|
24593
24682
|
return e;
|
|
@@ -24596,9 +24685,9 @@ function toKnownErr71(e) {
|
|
|
24596
24685
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
24597
24686
|
var searchActors_exports = {};
|
|
24598
24687
|
__export(searchActors_exports, {
|
|
24599
|
-
toKnownErr: () =>
|
|
24688
|
+
toKnownErr: () => toKnownErr74
|
|
24600
24689
|
});
|
|
24601
|
-
function
|
|
24690
|
+
function toKnownErr74(e) {
|
|
24602
24691
|
if (e instanceof XRPCError) {
|
|
24603
24692
|
}
|
|
24604
24693
|
return e;
|
|
@@ -24607,9 +24696,9 @@ function toKnownErr72(e) {
|
|
|
24607
24696
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
24608
24697
|
var searchActorsTypeahead_exports = {};
|
|
24609
24698
|
__export(searchActorsTypeahead_exports, {
|
|
24610
|
-
toKnownErr: () =>
|
|
24699
|
+
toKnownErr: () => toKnownErr75
|
|
24611
24700
|
});
|
|
24612
|
-
function
|
|
24701
|
+
function toKnownErr75(e) {
|
|
24613
24702
|
if (e instanceof XRPCError) {
|
|
24614
24703
|
}
|
|
24615
24704
|
return e;
|
|
@@ -24620,11 +24709,11 @@ var describeFeedGenerator_exports = {};
|
|
|
24620
24709
|
__export(describeFeedGenerator_exports, {
|
|
24621
24710
|
isFeed: () => isFeed,
|
|
24622
24711
|
isLinks: () => isLinks2,
|
|
24623
|
-
toKnownErr: () =>
|
|
24712
|
+
toKnownErr: () => toKnownErr76,
|
|
24624
24713
|
validateFeed: () => validateFeed,
|
|
24625
24714
|
validateLinks: () => validateLinks2
|
|
24626
24715
|
});
|
|
24627
|
-
function
|
|
24716
|
+
function toKnownErr76(e) {
|
|
24628
24717
|
if (e instanceof XRPCError) {
|
|
24629
24718
|
}
|
|
24630
24719
|
return e;
|
|
@@ -24645,9 +24734,9 @@ function validateLinks2(v) {
|
|
|
24645
24734
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
24646
24735
|
var getActorFeeds_exports = {};
|
|
24647
24736
|
__export(getActorFeeds_exports, {
|
|
24648
|
-
toKnownErr: () =>
|
|
24737
|
+
toKnownErr: () => toKnownErr77
|
|
24649
24738
|
});
|
|
24650
|
-
function
|
|
24739
|
+
function toKnownErr77(e) {
|
|
24651
24740
|
if (e instanceof XRPCError) {
|
|
24652
24741
|
}
|
|
24653
24742
|
return e;
|
|
@@ -24658,7 +24747,7 @@ var getActorLikes_exports = {};
|
|
|
24658
24747
|
__export(getActorLikes_exports, {
|
|
24659
24748
|
BlockedActorError: () => BlockedActorError,
|
|
24660
24749
|
BlockedByActorError: () => BlockedByActorError,
|
|
24661
|
-
toKnownErr: () =>
|
|
24750
|
+
toKnownErr: () => toKnownErr78
|
|
24662
24751
|
});
|
|
24663
24752
|
var BlockedActorError = class extends XRPCError {
|
|
24664
24753
|
constructor(src2) {
|
|
@@ -24670,7 +24759,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
24670
24759
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24671
24760
|
}
|
|
24672
24761
|
};
|
|
24673
|
-
function
|
|
24762
|
+
function toKnownErr78(e) {
|
|
24674
24763
|
if (e instanceof XRPCError) {
|
|
24675
24764
|
if (e.error === "BlockedActor")
|
|
24676
24765
|
return new BlockedActorError(e);
|
|
@@ -24685,7 +24774,7 @@ var getAuthorFeed_exports = {};
|
|
|
24685
24774
|
__export(getAuthorFeed_exports, {
|
|
24686
24775
|
BlockedActorError: () => BlockedActorError2,
|
|
24687
24776
|
BlockedByActorError: () => BlockedByActorError2,
|
|
24688
|
-
toKnownErr: () =>
|
|
24777
|
+
toKnownErr: () => toKnownErr79
|
|
24689
24778
|
});
|
|
24690
24779
|
var BlockedActorError2 = class extends XRPCError {
|
|
24691
24780
|
constructor(src2) {
|
|
@@ -24697,7 +24786,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
24697
24786
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24698
24787
|
}
|
|
24699
24788
|
};
|
|
24700
|
-
function
|
|
24789
|
+
function toKnownErr79(e) {
|
|
24701
24790
|
if (e instanceof XRPCError) {
|
|
24702
24791
|
if (e.error === "BlockedActor")
|
|
24703
24792
|
return new BlockedActorError2(e);
|
|
@@ -24711,14 +24800,14 @@ function toKnownErr77(e) {
|
|
|
24711
24800
|
var getFeed_exports = {};
|
|
24712
24801
|
__export(getFeed_exports, {
|
|
24713
24802
|
UnknownFeedError: () => UnknownFeedError,
|
|
24714
|
-
toKnownErr: () =>
|
|
24803
|
+
toKnownErr: () => toKnownErr80
|
|
24715
24804
|
});
|
|
24716
24805
|
var UnknownFeedError = class extends XRPCError {
|
|
24717
24806
|
constructor(src2) {
|
|
24718
24807
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24719
24808
|
}
|
|
24720
24809
|
};
|
|
24721
|
-
function
|
|
24810
|
+
function toKnownErr80(e) {
|
|
24722
24811
|
if (e instanceof XRPCError) {
|
|
24723
24812
|
if (e.error === "UnknownFeed")
|
|
24724
24813
|
return new UnknownFeedError(e);
|
|
@@ -24729,9 +24818,9 @@ function toKnownErr78(e) {
|
|
|
24729
24818
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
24730
24819
|
var getFeedGenerator_exports = {};
|
|
24731
24820
|
__export(getFeedGenerator_exports, {
|
|
24732
|
-
toKnownErr: () =>
|
|
24821
|
+
toKnownErr: () => toKnownErr81
|
|
24733
24822
|
});
|
|
24734
|
-
function
|
|
24823
|
+
function toKnownErr81(e) {
|
|
24735
24824
|
if (e instanceof XRPCError) {
|
|
24736
24825
|
}
|
|
24737
24826
|
return e;
|
|
@@ -24740,9 +24829,9 @@ function toKnownErr79(e) {
|
|
|
24740
24829
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
24741
24830
|
var getFeedGenerators_exports = {};
|
|
24742
24831
|
__export(getFeedGenerators_exports, {
|
|
24743
|
-
toKnownErr: () =>
|
|
24832
|
+
toKnownErr: () => toKnownErr82
|
|
24744
24833
|
});
|
|
24745
|
-
function
|
|
24834
|
+
function toKnownErr82(e) {
|
|
24746
24835
|
if (e instanceof XRPCError) {
|
|
24747
24836
|
}
|
|
24748
24837
|
return e;
|
|
@@ -24752,14 +24841,14 @@ function toKnownErr80(e) {
|
|
|
24752
24841
|
var getFeedSkeleton_exports = {};
|
|
24753
24842
|
__export(getFeedSkeleton_exports, {
|
|
24754
24843
|
UnknownFeedError: () => UnknownFeedError2,
|
|
24755
|
-
toKnownErr: () =>
|
|
24844
|
+
toKnownErr: () => toKnownErr83
|
|
24756
24845
|
});
|
|
24757
24846
|
var UnknownFeedError2 = class extends XRPCError {
|
|
24758
24847
|
constructor(src2) {
|
|
24759
24848
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24760
24849
|
}
|
|
24761
24850
|
};
|
|
24762
|
-
function
|
|
24851
|
+
function toKnownErr83(e) {
|
|
24763
24852
|
if (e instanceof XRPCError) {
|
|
24764
24853
|
if (e.error === "UnknownFeed")
|
|
24765
24854
|
return new UnknownFeedError2(e);
|
|
@@ -24771,10 +24860,10 @@ function toKnownErr81(e) {
|
|
|
24771
24860
|
var getLikes_exports = {};
|
|
24772
24861
|
__export(getLikes_exports, {
|
|
24773
24862
|
isLike: () => isLike,
|
|
24774
|
-
toKnownErr: () =>
|
|
24863
|
+
toKnownErr: () => toKnownErr84,
|
|
24775
24864
|
validateLike: () => validateLike
|
|
24776
24865
|
});
|
|
24777
|
-
function
|
|
24866
|
+
function toKnownErr84(e) {
|
|
24778
24867
|
if (e instanceof XRPCError) {
|
|
24779
24868
|
}
|
|
24780
24869
|
return e;
|
|
@@ -24790,14 +24879,14 @@ function validateLike(v) {
|
|
|
24790
24879
|
var getListFeed_exports = {};
|
|
24791
24880
|
__export(getListFeed_exports, {
|
|
24792
24881
|
UnknownListError: () => UnknownListError,
|
|
24793
|
-
toKnownErr: () =>
|
|
24882
|
+
toKnownErr: () => toKnownErr85
|
|
24794
24883
|
});
|
|
24795
24884
|
var UnknownListError = class extends XRPCError {
|
|
24796
24885
|
constructor(src2) {
|
|
24797
24886
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24798
24887
|
}
|
|
24799
24888
|
};
|
|
24800
|
-
function
|
|
24889
|
+
function toKnownErr85(e) {
|
|
24801
24890
|
if (e instanceof XRPCError) {
|
|
24802
24891
|
if (e.error === "UnknownList")
|
|
24803
24892
|
return new UnknownListError(e);
|
|
@@ -24809,14 +24898,14 @@ function toKnownErr83(e) {
|
|
|
24809
24898
|
var getPostThread_exports = {};
|
|
24810
24899
|
__export(getPostThread_exports, {
|
|
24811
24900
|
NotFoundError: () => NotFoundError,
|
|
24812
|
-
toKnownErr: () =>
|
|
24901
|
+
toKnownErr: () => toKnownErr86
|
|
24813
24902
|
});
|
|
24814
24903
|
var NotFoundError = class extends XRPCError {
|
|
24815
24904
|
constructor(src2) {
|
|
24816
24905
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24817
24906
|
}
|
|
24818
24907
|
};
|
|
24819
|
-
function
|
|
24908
|
+
function toKnownErr86(e) {
|
|
24820
24909
|
if (e instanceof XRPCError) {
|
|
24821
24910
|
if (e.error === "NotFound")
|
|
24822
24911
|
return new NotFoundError(e);
|
|
@@ -24827,9 +24916,9 @@ function toKnownErr84(e) {
|
|
|
24827
24916
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24828
24917
|
var getPosts_exports = {};
|
|
24829
24918
|
__export(getPosts_exports, {
|
|
24830
|
-
toKnownErr: () =>
|
|
24919
|
+
toKnownErr: () => toKnownErr87
|
|
24831
24920
|
});
|
|
24832
|
-
function
|
|
24921
|
+
function toKnownErr87(e) {
|
|
24833
24922
|
if (e instanceof XRPCError) {
|
|
24834
24923
|
}
|
|
24835
24924
|
return e;
|
|
@@ -24838,9 +24927,9 @@ function toKnownErr85(e) {
|
|
|
24838
24927
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24839
24928
|
var getRepostedBy_exports = {};
|
|
24840
24929
|
__export(getRepostedBy_exports, {
|
|
24841
|
-
toKnownErr: () =>
|
|
24930
|
+
toKnownErr: () => toKnownErr88
|
|
24842
24931
|
});
|
|
24843
|
-
function
|
|
24932
|
+
function toKnownErr88(e) {
|
|
24844
24933
|
if (e instanceof XRPCError) {
|
|
24845
24934
|
}
|
|
24846
24935
|
return e;
|
|
@@ -24849,9 +24938,9 @@ function toKnownErr86(e) {
|
|
|
24849
24938
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
24850
24939
|
var getSuggestedFeeds_exports = {};
|
|
24851
24940
|
__export(getSuggestedFeeds_exports, {
|
|
24852
|
-
toKnownErr: () =>
|
|
24941
|
+
toKnownErr: () => toKnownErr89
|
|
24853
24942
|
});
|
|
24854
|
-
function
|
|
24943
|
+
function toKnownErr89(e) {
|
|
24855
24944
|
if (e instanceof XRPCError) {
|
|
24856
24945
|
}
|
|
24857
24946
|
return e;
|
|
@@ -24860,9 +24949,9 @@ function toKnownErr87(e) {
|
|
|
24860
24949
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24861
24950
|
var getTimeline_exports = {};
|
|
24862
24951
|
__export(getTimeline_exports, {
|
|
24863
|
-
toKnownErr: () =>
|
|
24952
|
+
toKnownErr: () => toKnownErr90
|
|
24864
24953
|
});
|
|
24865
|
-
function
|
|
24954
|
+
function toKnownErr90(e) {
|
|
24866
24955
|
if (e instanceof XRPCError) {
|
|
24867
24956
|
}
|
|
24868
24957
|
return e;
|
|
@@ -24872,14 +24961,14 @@ function toKnownErr88(e) {
|
|
|
24872
24961
|
var searchPosts_exports = {};
|
|
24873
24962
|
__export(searchPosts_exports, {
|
|
24874
24963
|
BadQueryStringError: () => BadQueryStringError,
|
|
24875
|
-
toKnownErr: () =>
|
|
24964
|
+
toKnownErr: () => toKnownErr91
|
|
24876
24965
|
});
|
|
24877
24966
|
var BadQueryStringError = class extends XRPCError {
|
|
24878
24967
|
constructor(src2) {
|
|
24879
24968
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24880
24969
|
}
|
|
24881
24970
|
};
|
|
24882
|
-
function
|
|
24971
|
+
function toKnownErr91(e) {
|
|
24883
24972
|
if (e instanceof XRPCError) {
|
|
24884
24973
|
if (e.error === "BadQueryString")
|
|
24885
24974
|
return new BadQueryStringError(e);
|
|
@@ -24890,9 +24979,9 @@ function toKnownErr89(e) {
|
|
|
24890
24979
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24891
24980
|
var getBlocks_exports2 = {};
|
|
24892
24981
|
__export(getBlocks_exports2, {
|
|
24893
|
-
toKnownErr: () =>
|
|
24982
|
+
toKnownErr: () => toKnownErr92
|
|
24894
24983
|
});
|
|
24895
|
-
function
|
|
24984
|
+
function toKnownErr92(e) {
|
|
24896
24985
|
if (e instanceof XRPCError) {
|
|
24897
24986
|
}
|
|
24898
24987
|
return e;
|
|
@@ -24901,9 +24990,9 @@ function toKnownErr90(e) {
|
|
|
24901
24990
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24902
24991
|
var getFollowers_exports = {};
|
|
24903
24992
|
__export(getFollowers_exports, {
|
|
24904
|
-
toKnownErr: () =>
|
|
24993
|
+
toKnownErr: () => toKnownErr93
|
|
24905
24994
|
});
|
|
24906
|
-
function
|
|
24995
|
+
function toKnownErr93(e) {
|
|
24907
24996
|
if (e instanceof XRPCError) {
|
|
24908
24997
|
}
|
|
24909
24998
|
return e;
|
|
@@ -24912,9 +25001,9 @@ function toKnownErr91(e) {
|
|
|
24912
25001
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
24913
25002
|
var getFollows_exports = {};
|
|
24914
25003
|
__export(getFollows_exports, {
|
|
24915
|
-
toKnownErr: () =>
|
|
25004
|
+
toKnownErr: () => toKnownErr94
|
|
24916
25005
|
});
|
|
24917
|
-
function
|
|
25006
|
+
function toKnownErr94(e) {
|
|
24918
25007
|
if (e instanceof XRPCError) {
|
|
24919
25008
|
}
|
|
24920
25009
|
return e;
|
|
@@ -24923,9 +25012,9 @@ function toKnownErr92(e) {
|
|
|
24923
25012
|
// src/client/types/app/bsky/graph/getList.ts
|
|
24924
25013
|
var getList_exports = {};
|
|
24925
25014
|
__export(getList_exports, {
|
|
24926
|
-
toKnownErr: () =>
|
|
25015
|
+
toKnownErr: () => toKnownErr95
|
|
24927
25016
|
});
|
|
24928
|
-
function
|
|
25017
|
+
function toKnownErr95(e) {
|
|
24929
25018
|
if (e instanceof XRPCError) {
|
|
24930
25019
|
}
|
|
24931
25020
|
return e;
|
|
@@ -24934,9 +25023,9 @@ function toKnownErr93(e) {
|
|
|
24934
25023
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
24935
25024
|
var getListBlocks_exports = {};
|
|
24936
25025
|
__export(getListBlocks_exports, {
|
|
24937
|
-
toKnownErr: () =>
|
|
25026
|
+
toKnownErr: () => toKnownErr96
|
|
24938
25027
|
});
|
|
24939
|
-
function
|
|
25028
|
+
function toKnownErr96(e) {
|
|
24940
25029
|
if (e instanceof XRPCError) {
|
|
24941
25030
|
}
|
|
24942
25031
|
return e;
|
|
@@ -24945,9 +25034,9 @@ function toKnownErr94(e) {
|
|
|
24945
25034
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
24946
25035
|
var getListMutes_exports = {};
|
|
24947
25036
|
__export(getListMutes_exports, {
|
|
24948
|
-
toKnownErr: () =>
|
|
25037
|
+
toKnownErr: () => toKnownErr97
|
|
24949
25038
|
});
|
|
24950
|
-
function
|
|
25039
|
+
function toKnownErr97(e) {
|
|
24951
25040
|
if (e instanceof XRPCError) {
|
|
24952
25041
|
}
|
|
24953
25042
|
return e;
|
|
@@ -24956,9 +25045,9 @@ function toKnownErr95(e) {
|
|
|
24956
25045
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
24957
25046
|
var getLists_exports = {};
|
|
24958
25047
|
__export(getLists_exports, {
|
|
24959
|
-
toKnownErr: () =>
|
|
25048
|
+
toKnownErr: () => toKnownErr98
|
|
24960
25049
|
});
|
|
24961
|
-
function
|
|
25050
|
+
function toKnownErr98(e) {
|
|
24962
25051
|
if (e instanceof XRPCError) {
|
|
24963
25052
|
}
|
|
24964
25053
|
return e;
|
|
@@ -24967,9 +25056,9 @@ function toKnownErr96(e) {
|
|
|
24967
25056
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
24968
25057
|
var getMutes_exports = {};
|
|
24969
25058
|
__export(getMutes_exports, {
|
|
24970
|
-
toKnownErr: () =>
|
|
25059
|
+
toKnownErr: () => toKnownErr99
|
|
24971
25060
|
});
|
|
24972
|
-
function
|
|
25061
|
+
function toKnownErr99(e) {
|
|
24973
25062
|
if (e instanceof XRPCError) {
|
|
24974
25063
|
}
|
|
24975
25064
|
return e;
|
|
@@ -24978,9 +25067,9 @@ function toKnownErr97(e) {
|
|
|
24978
25067
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
24979
25068
|
var getSuggestedFollowsByActor_exports = {};
|
|
24980
25069
|
__export(getSuggestedFollowsByActor_exports, {
|
|
24981
|
-
toKnownErr: () =>
|
|
25070
|
+
toKnownErr: () => toKnownErr100
|
|
24982
25071
|
});
|
|
24983
|
-
function
|
|
25072
|
+
function toKnownErr100(e) {
|
|
24984
25073
|
if (e instanceof XRPCError) {
|
|
24985
25074
|
}
|
|
24986
25075
|
return e;
|
|
@@ -24989,9 +25078,9 @@ function toKnownErr98(e) {
|
|
|
24989
25078
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
24990
25079
|
var muteActor_exports = {};
|
|
24991
25080
|
__export(muteActor_exports, {
|
|
24992
|
-
toKnownErr: () =>
|
|
25081
|
+
toKnownErr: () => toKnownErr101
|
|
24993
25082
|
});
|
|
24994
|
-
function
|
|
25083
|
+
function toKnownErr101(e) {
|
|
24995
25084
|
if (e instanceof XRPCError) {
|
|
24996
25085
|
}
|
|
24997
25086
|
return e;
|
|
@@ -25000,9 +25089,9 @@ function toKnownErr99(e) {
|
|
|
25000
25089
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25001
25090
|
var muteActorList_exports = {};
|
|
25002
25091
|
__export(muteActorList_exports, {
|
|
25003
|
-
toKnownErr: () =>
|
|
25092
|
+
toKnownErr: () => toKnownErr102
|
|
25004
25093
|
});
|
|
25005
|
-
function
|
|
25094
|
+
function toKnownErr102(e) {
|
|
25006
25095
|
if (e instanceof XRPCError) {
|
|
25007
25096
|
}
|
|
25008
25097
|
return e;
|
|
@@ -25011,9 +25100,9 @@ function toKnownErr100(e) {
|
|
|
25011
25100
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25012
25101
|
var unmuteActor_exports = {};
|
|
25013
25102
|
__export(unmuteActor_exports, {
|
|
25014
|
-
toKnownErr: () =>
|
|
25103
|
+
toKnownErr: () => toKnownErr103
|
|
25015
25104
|
});
|
|
25016
|
-
function
|
|
25105
|
+
function toKnownErr103(e) {
|
|
25017
25106
|
if (e instanceof XRPCError) {
|
|
25018
25107
|
}
|
|
25019
25108
|
return e;
|
|
@@ -25022,9 +25111,9 @@ function toKnownErr101(e) {
|
|
|
25022
25111
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
25023
25112
|
var unmuteActorList_exports = {};
|
|
25024
25113
|
__export(unmuteActorList_exports, {
|
|
25025
|
-
toKnownErr: () =>
|
|
25114
|
+
toKnownErr: () => toKnownErr104
|
|
25026
25115
|
});
|
|
25027
|
-
function
|
|
25116
|
+
function toKnownErr104(e) {
|
|
25028
25117
|
if (e instanceof XRPCError) {
|
|
25029
25118
|
}
|
|
25030
25119
|
return e;
|
|
@@ -25033,9 +25122,9 @@ function toKnownErr102(e) {
|
|
|
25033
25122
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
25034
25123
|
var getUnreadCount_exports = {};
|
|
25035
25124
|
__export(getUnreadCount_exports, {
|
|
25036
|
-
toKnownErr: () =>
|
|
25125
|
+
toKnownErr: () => toKnownErr105
|
|
25037
25126
|
});
|
|
25038
|
-
function
|
|
25127
|
+
function toKnownErr105(e) {
|
|
25039
25128
|
if (e instanceof XRPCError) {
|
|
25040
25129
|
}
|
|
25041
25130
|
return e;
|
|
@@ -25045,10 +25134,10 @@ function toKnownErr103(e) {
|
|
|
25045
25134
|
var listNotifications_exports = {};
|
|
25046
25135
|
__export(listNotifications_exports, {
|
|
25047
25136
|
isNotification: () => isNotification,
|
|
25048
|
-
toKnownErr: () =>
|
|
25137
|
+
toKnownErr: () => toKnownErr106,
|
|
25049
25138
|
validateNotification: () => validateNotification
|
|
25050
25139
|
});
|
|
25051
|
-
function
|
|
25140
|
+
function toKnownErr106(e) {
|
|
25052
25141
|
if (e instanceof XRPCError) {
|
|
25053
25142
|
}
|
|
25054
25143
|
return e;
|
|
@@ -25063,9 +25152,9 @@ function validateNotification(v) {
|
|
|
25063
25152
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
25064
25153
|
var registerPush_exports = {};
|
|
25065
25154
|
__export(registerPush_exports, {
|
|
25066
|
-
toKnownErr: () =>
|
|
25155
|
+
toKnownErr: () => toKnownErr107
|
|
25067
25156
|
});
|
|
25068
|
-
function
|
|
25157
|
+
function toKnownErr107(e) {
|
|
25069
25158
|
if (e instanceof XRPCError) {
|
|
25070
25159
|
}
|
|
25071
25160
|
return e;
|
|
@@ -25074,20 +25163,9 @@ function toKnownErr105(e) {
|
|
|
25074
25163
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
25075
25164
|
var updateSeen_exports = {};
|
|
25076
25165
|
__export(updateSeen_exports, {
|
|
25077
|
-
toKnownErr: () =>
|
|
25078
|
-
});
|
|
25079
|
-
function toKnownErr106(e) {
|
|
25080
|
-
if (e instanceof XRPCError) {
|
|
25081
|
-
}
|
|
25082
|
-
return e;
|
|
25083
|
-
}
|
|
25084
|
-
|
|
25085
|
-
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
25086
|
-
var getPopular_exports = {};
|
|
25087
|
-
__export(getPopular_exports, {
|
|
25088
|
-
toKnownErr: () => toKnownErr107
|
|
25166
|
+
toKnownErr: () => toKnownErr108
|
|
25089
25167
|
});
|
|
25090
|
-
function
|
|
25168
|
+
function toKnownErr108(e) {
|
|
25091
25169
|
if (e instanceof XRPCError) {
|
|
25092
25170
|
}
|
|
25093
25171
|
return e;
|
|
@@ -25096,9 +25174,9 @@ function toKnownErr107(e) {
|
|
|
25096
25174
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
25097
25175
|
var getPopularFeedGenerators_exports = {};
|
|
25098
25176
|
__export(getPopularFeedGenerators_exports, {
|
|
25099
|
-
toKnownErr: () =>
|
|
25177
|
+
toKnownErr: () => toKnownErr109
|
|
25100
25178
|
});
|
|
25101
|
-
function
|
|
25179
|
+
function toKnownErr109(e) {
|
|
25102
25180
|
if (e instanceof XRPCError) {
|
|
25103
25181
|
}
|
|
25104
25182
|
return e;
|
|
@@ -25108,14 +25186,14 @@ function toKnownErr108(e) {
|
|
|
25108
25186
|
var getTimelineSkeleton_exports = {};
|
|
25109
25187
|
__export(getTimelineSkeleton_exports, {
|
|
25110
25188
|
UnknownFeedError: () => UnknownFeedError3,
|
|
25111
|
-
toKnownErr: () =>
|
|
25189
|
+
toKnownErr: () => toKnownErr110
|
|
25112
25190
|
});
|
|
25113
25191
|
var UnknownFeedError3 = class extends XRPCError {
|
|
25114
25192
|
constructor(src2) {
|
|
25115
25193
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25116
25194
|
}
|
|
25117
25195
|
};
|
|
25118
|
-
function
|
|
25196
|
+
function toKnownErr110(e) {
|
|
25119
25197
|
if (e instanceof XRPCError) {
|
|
25120
25198
|
if (e.error === "UnknownFeed")
|
|
25121
25199
|
return new UnknownFeedError3(e);
|
|
@@ -25127,14 +25205,14 @@ function toKnownErr109(e) {
|
|
|
25127
25205
|
var searchActorsSkeleton_exports = {};
|
|
25128
25206
|
__export(searchActorsSkeleton_exports, {
|
|
25129
25207
|
BadQueryStringError: () => BadQueryStringError2,
|
|
25130
|
-
toKnownErr: () =>
|
|
25208
|
+
toKnownErr: () => toKnownErr111
|
|
25131
25209
|
});
|
|
25132
25210
|
var BadQueryStringError2 = class extends XRPCError {
|
|
25133
25211
|
constructor(src2) {
|
|
25134
25212
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25135
25213
|
}
|
|
25136
25214
|
};
|
|
25137
|
-
function
|
|
25215
|
+
function toKnownErr111(e) {
|
|
25138
25216
|
if (e instanceof XRPCError) {
|
|
25139
25217
|
if (e.error === "BadQueryString")
|
|
25140
25218
|
return new BadQueryStringError2(e);
|
|
@@ -25146,14 +25224,14 @@ function toKnownErr110(e) {
|
|
|
25146
25224
|
var searchPostsSkeleton_exports = {};
|
|
25147
25225
|
__export(searchPostsSkeleton_exports, {
|
|
25148
25226
|
BadQueryStringError: () => BadQueryStringError3,
|
|
25149
|
-
toKnownErr: () =>
|
|
25227
|
+
toKnownErr: () => toKnownErr112
|
|
25150
25228
|
});
|
|
25151
25229
|
var BadQueryStringError3 = class extends XRPCError {
|
|
25152
25230
|
constructor(src2) {
|
|
25153
25231
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25154
25232
|
}
|
|
25155
25233
|
};
|
|
25156
|
-
function
|
|
25234
|
+
function toKnownErr112(e) {
|
|
25157
25235
|
if (e instanceof XRPCError) {
|
|
25158
25236
|
if (e.error === "BadQueryString")
|
|
25159
25237
|
return new BadQueryStringError3(e);
|
|
@@ -25177,6 +25255,7 @@ __export(defs_exports, {
|
|
|
25177
25255
|
isModEventLabel: () => isModEventLabel,
|
|
25178
25256
|
isModEventMute: () => isModEventMute,
|
|
25179
25257
|
isModEventReport: () => isModEventReport,
|
|
25258
|
+
isModEventResolveAppeal: () => isModEventResolveAppeal,
|
|
25180
25259
|
isModEventReverseTakedown: () => isModEventReverseTakedown,
|
|
25181
25260
|
isModEventTakedown: () => isModEventTakedown,
|
|
25182
25261
|
isModEventUnmute: () => isModEventUnmute,
|
|
@@ -25207,6 +25286,7 @@ __export(defs_exports, {
|
|
|
25207
25286
|
validateModEventLabel: () => validateModEventLabel,
|
|
25208
25287
|
validateModEventMute: () => validateModEventMute,
|
|
25209
25288
|
validateModEventReport: () => validateModEventReport,
|
|
25289
|
+
validateModEventResolveAppeal: () => validateModEventResolveAppeal,
|
|
25210
25290
|
validateModEventReverseTakedown: () => validateModEventReverseTakedown,
|
|
25211
25291
|
validateModEventTakedown: () => validateModEventTakedown,
|
|
25212
25292
|
validateModEventUnmute: () => validateModEventUnmute,
|
|
@@ -25363,6 +25443,12 @@ function isModEventReverseTakedown(v) {
|
|
|
25363
25443
|
function validateModEventReverseTakedown(v) {
|
|
25364
25444
|
return lexicons.validate("com.atproto.admin.defs#modEventReverseTakedown", v);
|
|
25365
25445
|
}
|
|
25446
|
+
function isModEventResolveAppeal(v) {
|
|
25447
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#modEventResolveAppeal";
|
|
25448
|
+
}
|
|
25449
|
+
function validateModEventResolveAppeal(v) {
|
|
25450
|
+
return lexicons.validate("com.atproto.admin.defs#modEventResolveAppeal", v);
|
|
25451
|
+
}
|
|
25366
25452
|
function isModEventComment(v) {
|
|
25367
25453
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#modEventComment";
|
|
25368
25454
|
}
|
|
@@ -25465,6 +25551,7 @@ function validateInfo(v) {
|
|
|
25465
25551
|
// src/client/types/com/atproto/moderation/defs.ts
|
|
25466
25552
|
var defs_exports3 = {};
|
|
25467
25553
|
__export(defs_exports3, {
|
|
25554
|
+
REASONAPPEAL: () => REASONAPPEAL,
|
|
25468
25555
|
REASONMISLEADING: () => REASONMISLEADING,
|
|
25469
25556
|
REASONOTHER: () => REASONOTHER,
|
|
25470
25557
|
REASONRUDE: () => REASONRUDE,
|
|
@@ -25478,6 +25565,7 @@ var REASONMISLEADING = "com.atproto.moderation.defs#reasonMisleading";
|
|
|
25478
25565
|
var REASONSEXUAL = "com.atproto.moderation.defs#reasonSexual";
|
|
25479
25566
|
var REASONRUDE = "com.atproto.moderation.defs#reasonRude";
|
|
25480
25567
|
var REASONOTHER = "com.atproto.moderation.defs#reasonOther";
|
|
25568
|
+
var REASONAPPEAL = "com.atproto.moderation.defs#reasonAppeal";
|
|
25481
25569
|
|
|
25482
25570
|
// src/client/types/com/atproto/repo/strongRef.ts
|
|
25483
25571
|
var strongRef_exports = {};
|
|
@@ -26226,7 +26314,8 @@ var COM_ATPROTO_MODERATION = {
|
|
|
26226
26314
|
DefsReasonMisleading: "com.atproto.moderation.defs#reasonMisleading",
|
|
26227
26315
|
DefsReasonSexual: "com.atproto.moderation.defs#reasonSexual",
|
|
26228
26316
|
DefsReasonRude: "com.atproto.moderation.defs#reasonRude",
|
|
26229
|
-
DefsReasonOther: "com.atproto.moderation.defs#reasonOther"
|
|
26317
|
+
DefsReasonOther: "com.atproto.moderation.defs#reasonOther",
|
|
26318
|
+
DefsReasonAppeal: "com.atproto.moderation.defs#reasonAppeal"
|
|
26230
26319
|
};
|
|
26231
26320
|
var APP_BSKY_GRAPH = {
|
|
26232
26321
|
DefsModlist: "app.bsky.graph.defs#modlist",
|
|
@@ -26255,23 +26344,23 @@ var AtpServiceClient = class {
|
|
|
26255
26344
|
var ComNS = class {
|
|
26256
26345
|
constructor(service2) {
|
|
26257
26346
|
this._service = service2;
|
|
26258
|
-
this.atproto = new
|
|
26347
|
+
this.atproto = new ComAtprotoNS(service2);
|
|
26259
26348
|
}
|
|
26260
26349
|
};
|
|
26261
|
-
var
|
|
26350
|
+
var ComAtprotoNS = class {
|
|
26262
26351
|
constructor(service2) {
|
|
26263
26352
|
this._service = service2;
|
|
26264
|
-
this.admin = new
|
|
26265
|
-
this.identity = new
|
|
26266
|
-
this.label = new
|
|
26267
|
-
this.moderation = new
|
|
26268
|
-
this.repo = new
|
|
26269
|
-
this.server = new
|
|
26270
|
-
this.sync = new
|
|
26271
|
-
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);
|
|
26272
26361
|
}
|
|
26273
26362
|
};
|
|
26274
|
-
var
|
|
26363
|
+
var ComAtprotoAdminNS = class {
|
|
26275
26364
|
constructor(service2) {
|
|
26276
26365
|
this._service = service2;
|
|
26277
26366
|
}
|
|
@@ -26305,398 +26394,408 @@ var AdminNS = class {
|
|
|
26305
26394
|
throw toKnownErr6(e);
|
|
26306
26395
|
});
|
|
26307
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
|
+
}
|
|
26308
26402
|
getInviteCodes(params2, opts) {
|
|
26309
26403
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26310
|
-
throw
|
|
26404
|
+
throw toKnownErr8(e);
|
|
26311
26405
|
});
|
|
26312
26406
|
}
|
|
26313
26407
|
getModerationEvent(params2, opts) {
|
|
26314
26408
|
return this._service.xrpc.call("com.atproto.admin.getModerationEvent", params2, void 0, opts).catch((e) => {
|
|
26315
|
-
throw
|
|
26409
|
+
throw toKnownErr9(e);
|
|
26316
26410
|
});
|
|
26317
26411
|
}
|
|
26318
26412
|
getRecord(params2, opts) {
|
|
26319
26413
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
26320
|
-
throw
|
|
26414
|
+
throw toKnownErr10(e);
|
|
26321
26415
|
});
|
|
26322
26416
|
}
|
|
26323
26417
|
getRepo(params2, opts) {
|
|
26324
26418
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
26325
|
-
throw
|
|
26419
|
+
throw toKnownErr11(e);
|
|
26326
26420
|
});
|
|
26327
26421
|
}
|
|
26328
26422
|
getSubjectStatus(params2, opts) {
|
|
26329
26423
|
return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
|
|
26330
|
-
throw
|
|
26424
|
+
throw toKnownErr12(e);
|
|
26331
26425
|
});
|
|
26332
26426
|
}
|
|
26333
26427
|
queryModerationEvents(params2, opts) {
|
|
26334
26428
|
return this._service.xrpc.call("com.atproto.admin.queryModerationEvents", params2, void 0, opts).catch((e) => {
|
|
26335
|
-
throw
|
|
26429
|
+
throw toKnownErr13(e);
|
|
26336
26430
|
});
|
|
26337
26431
|
}
|
|
26338
26432
|
queryModerationStatuses(params2, opts) {
|
|
26339
26433
|
return this._service.xrpc.call("com.atproto.admin.queryModerationStatuses", params2, void 0, opts).catch((e) => {
|
|
26340
|
-
throw
|
|
26434
|
+
throw toKnownErr14(e);
|
|
26341
26435
|
});
|
|
26342
26436
|
}
|
|
26343
26437
|
searchRepos(params2, opts) {
|
|
26344
26438
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
26345
|
-
throw
|
|
26439
|
+
throw toKnownErr15(e);
|
|
26346
26440
|
});
|
|
26347
26441
|
}
|
|
26348
26442
|
sendEmail(data, opts) {
|
|
26349
26443
|
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
26350
|
-
throw
|
|
26444
|
+
throw toKnownErr16(e);
|
|
26351
26445
|
});
|
|
26352
26446
|
}
|
|
26353
26447
|
updateAccountEmail(data, opts) {
|
|
26354
26448
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
26355
|
-
throw
|
|
26449
|
+
throw toKnownErr17(e);
|
|
26356
26450
|
});
|
|
26357
26451
|
}
|
|
26358
26452
|
updateAccountHandle(data, opts) {
|
|
26359
26453
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
26360
|
-
throw
|
|
26454
|
+
throw toKnownErr18(e);
|
|
26361
26455
|
});
|
|
26362
26456
|
}
|
|
26363
26457
|
updateSubjectStatus(data, opts) {
|
|
26364
26458
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
26365
|
-
throw
|
|
26459
|
+
throw toKnownErr19(e);
|
|
26366
26460
|
});
|
|
26367
26461
|
}
|
|
26368
26462
|
};
|
|
26369
|
-
var
|
|
26463
|
+
var ComAtprotoIdentityNS = class {
|
|
26370
26464
|
constructor(service2) {
|
|
26371
26465
|
this._service = service2;
|
|
26372
26466
|
}
|
|
26373
26467
|
resolveHandle(params2, opts) {
|
|
26374
26468
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
26375
|
-
throw
|
|
26469
|
+
throw toKnownErr20(e);
|
|
26376
26470
|
});
|
|
26377
26471
|
}
|
|
26378
26472
|
updateHandle(data, opts) {
|
|
26379
26473
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
26380
|
-
throw
|
|
26474
|
+
throw toKnownErr21(e);
|
|
26381
26475
|
});
|
|
26382
26476
|
}
|
|
26383
26477
|
};
|
|
26384
|
-
var
|
|
26478
|
+
var ComAtprotoLabelNS = class {
|
|
26385
26479
|
constructor(service2) {
|
|
26386
26480
|
this._service = service2;
|
|
26387
26481
|
}
|
|
26388
26482
|
queryLabels(params2, opts) {
|
|
26389
26483
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
26390
|
-
throw
|
|
26484
|
+
throw toKnownErr22(e);
|
|
26391
26485
|
});
|
|
26392
26486
|
}
|
|
26393
26487
|
};
|
|
26394
|
-
var
|
|
26488
|
+
var ComAtprotoModerationNS = class {
|
|
26395
26489
|
constructor(service2) {
|
|
26396
26490
|
this._service = service2;
|
|
26397
26491
|
}
|
|
26398
26492
|
createReport(data, opts) {
|
|
26399
26493
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
26400
|
-
throw
|
|
26494
|
+
throw toKnownErr23(e);
|
|
26401
26495
|
});
|
|
26402
26496
|
}
|
|
26403
26497
|
};
|
|
26404
|
-
var
|
|
26498
|
+
var ComAtprotoRepoNS = class {
|
|
26405
26499
|
constructor(service2) {
|
|
26406
26500
|
this._service = service2;
|
|
26407
26501
|
}
|
|
26408
26502
|
applyWrites(data, opts) {
|
|
26409
26503
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
26410
|
-
throw
|
|
26504
|
+
throw toKnownErr24(e);
|
|
26411
26505
|
});
|
|
26412
26506
|
}
|
|
26413
26507
|
createRecord(data, opts) {
|
|
26414
26508
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
26415
|
-
throw
|
|
26509
|
+
throw toKnownErr25(e);
|
|
26416
26510
|
});
|
|
26417
26511
|
}
|
|
26418
26512
|
deleteRecord(data, opts) {
|
|
26419
26513
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
26420
|
-
throw
|
|
26514
|
+
throw toKnownErr26(e);
|
|
26421
26515
|
});
|
|
26422
26516
|
}
|
|
26423
26517
|
describeRepo(params2, opts) {
|
|
26424
26518
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
26425
|
-
throw
|
|
26519
|
+
throw toKnownErr27(e);
|
|
26426
26520
|
});
|
|
26427
26521
|
}
|
|
26428
26522
|
getRecord(params2, opts) {
|
|
26429
26523
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
26430
|
-
throw
|
|
26524
|
+
throw toKnownErr28(e);
|
|
26431
26525
|
});
|
|
26432
26526
|
}
|
|
26433
26527
|
listRecords(params2, opts) {
|
|
26434
26528
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
26435
|
-
throw
|
|
26529
|
+
throw toKnownErr29(e);
|
|
26436
26530
|
});
|
|
26437
26531
|
}
|
|
26438
26532
|
putRecord(data, opts) {
|
|
26439
26533
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
26440
|
-
throw
|
|
26534
|
+
throw toKnownErr30(e);
|
|
26441
26535
|
});
|
|
26442
26536
|
}
|
|
26443
26537
|
uploadBlob(data, opts) {
|
|
26444
26538
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
26445
|
-
throw
|
|
26539
|
+
throw toKnownErr31(e);
|
|
26446
26540
|
});
|
|
26447
26541
|
}
|
|
26448
26542
|
};
|
|
26449
|
-
var
|
|
26543
|
+
var ComAtprotoServerNS = class {
|
|
26450
26544
|
constructor(service2) {
|
|
26451
26545
|
this._service = service2;
|
|
26452
26546
|
}
|
|
26453
26547
|
confirmEmail(data, opts) {
|
|
26454
26548
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
26455
|
-
throw
|
|
26549
|
+
throw toKnownErr32(e);
|
|
26456
26550
|
});
|
|
26457
26551
|
}
|
|
26458
26552
|
createAccount(data, opts) {
|
|
26459
26553
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
26460
|
-
throw
|
|
26554
|
+
throw toKnownErr33(e);
|
|
26461
26555
|
});
|
|
26462
26556
|
}
|
|
26463
26557
|
createAppPassword(data, opts) {
|
|
26464
26558
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26465
|
-
throw
|
|
26559
|
+
throw toKnownErr34(e);
|
|
26466
26560
|
});
|
|
26467
26561
|
}
|
|
26468
26562
|
createInviteCode(data, opts) {
|
|
26469
26563
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
26470
|
-
throw
|
|
26564
|
+
throw toKnownErr35(e);
|
|
26471
26565
|
});
|
|
26472
26566
|
}
|
|
26473
26567
|
createInviteCodes(data, opts) {
|
|
26474
26568
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
26475
|
-
throw
|
|
26569
|
+
throw toKnownErr36(e);
|
|
26476
26570
|
});
|
|
26477
26571
|
}
|
|
26478
26572
|
createSession(data, opts) {
|
|
26479
26573
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
26480
|
-
throw
|
|
26574
|
+
throw toKnownErr37(e);
|
|
26481
26575
|
});
|
|
26482
26576
|
}
|
|
26483
26577
|
deleteAccount(data, opts) {
|
|
26484
26578
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
26485
|
-
throw
|
|
26579
|
+
throw toKnownErr38(e);
|
|
26486
26580
|
});
|
|
26487
26581
|
}
|
|
26488
26582
|
deleteSession(data, opts) {
|
|
26489
26583
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
26490
|
-
throw
|
|
26584
|
+
throw toKnownErr39(e);
|
|
26491
26585
|
});
|
|
26492
26586
|
}
|
|
26493
26587
|
describeServer(params2, opts) {
|
|
26494
26588
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
26495
|
-
throw
|
|
26589
|
+
throw toKnownErr40(e);
|
|
26496
26590
|
});
|
|
26497
26591
|
}
|
|
26498
26592
|
getAccountInviteCodes(params2, opts) {
|
|
26499
26593
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26500
|
-
throw
|
|
26594
|
+
throw toKnownErr41(e);
|
|
26501
26595
|
});
|
|
26502
26596
|
}
|
|
26503
26597
|
getSession(params2, opts) {
|
|
26504
26598
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
26505
|
-
throw
|
|
26599
|
+
throw toKnownErr42(e);
|
|
26506
26600
|
});
|
|
26507
26601
|
}
|
|
26508
26602
|
listAppPasswords(params2, opts) {
|
|
26509
26603
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
26510
|
-
throw
|
|
26604
|
+
throw toKnownErr43(e);
|
|
26511
26605
|
});
|
|
26512
26606
|
}
|
|
26513
26607
|
refreshSession(data, opts) {
|
|
26514
26608
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
26515
|
-
throw
|
|
26609
|
+
throw toKnownErr44(e);
|
|
26516
26610
|
});
|
|
26517
26611
|
}
|
|
26518
26612
|
requestAccountDelete(data, opts) {
|
|
26519
26613
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
26520
|
-
throw
|
|
26614
|
+
throw toKnownErr45(e);
|
|
26521
26615
|
});
|
|
26522
26616
|
}
|
|
26523
26617
|
requestEmailConfirmation(data, opts) {
|
|
26524
26618
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
26525
|
-
throw
|
|
26619
|
+
throw toKnownErr46(e);
|
|
26526
26620
|
});
|
|
26527
26621
|
}
|
|
26528
26622
|
requestEmailUpdate(data, opts) {
|
|
26529
26623
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26530
|
-
throw
|
|
26624
|
+
throw toKnownErr47(e);
|
|
26531
26625
|
});
|
|
26532
26626
|
}
|
|
26533
26627
|
requestPasswordReset(data, opts) {
|
|
26534
26628
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
26535
|
-
throw
|
|
26629
|
+
throw toKnownErr48(e);
|
|
26536
26630
|
});
|
|
26537
26631
|
}
|
|
26538
26632
|
reserveSigningKey(data, opts) {
|
|
26539
26633
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
26540
|
-
throw
|
|
26634
|
+
throw toKnownErr49(e);
|
|
26541
26635
|
});
|
|
26542
26636
|
}
|
|
26543
26637
|
resetPassword(data, opts) {
|
|
26544
26638
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
26545
|
-
throw
|
|
26639
|
+
throw toKnownErr50(e);
|
|
26546
26640
|
});
|
|
26547
26641
|
}
|
|
26548
26642
|
revokeAppPassword(data, opts) {
|
|
26549
26643
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26550
|
-
throw
|
|
26644
|
+
throw toKnownErr51(e);
|
|
26551
26645
|
});
|
|
26552
26646
|
}
|
|
26553
26647
|
updateEmail(data, opts) {
|
|
26554
26648
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
26555
|
-
throw
|
|
26649
|
+
throw toKnownErr52(e);
|
|
26556
26650
|
});
|
|
26557
26651
|
}
|
|
26558
26652
|
};
|
|
26559
|
-
var
|
|
26653
|
+
var ComAtprotoSyncNS = class {
|
|
26560
26654
|
constructor(service2) {
|
|
26561
26655
|
this._service = service2;
|
|
26562
26656
|
}
|
|
26563
26657
|
getBlob(params2, opts) {
|
|
26564
26658
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
26565
|
-
throw
|
|
26659
|
+
throw toKnownErr53(e);
|
|
26566
26660
|
});
|
|
26567
26661
|
}
|
|
26568
26662
|
getBlocks(params2, opts) {
|
|
26569
26663
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26570
|
-
throw
|
|
26664
|
+
throw toKnownErr54(e);
|
|
26571
26665
|
});
|
|
26572
26666
|
}
|
|
26573
26667
|
getCheckout(params2, opts) {
|
|
26574
26668
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
26575
|
-
throw
|
|
26669
|
+
throw toKnownErr55(e);
|
|
26576
26670
|
});
|
|
26577
26671
|
}
|
|
26578
26672
|
getHead(params2, opts) {
|
|
26579
26673
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
26580
|
-
throw
|
|
26674
|
+
throw toKnownErr56(e);
|
|
26581
26675
|
});
|
|
26582
26676
|
}
|
|
26583
26677
|
getLatestCommit(params2, opts) {
|
|
26584
26678
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
26585
|
-
throw
|
|
26679
|
+
throw toKnownErr57(e);
|
|
26586
26680
|
});
|
|
26587
26681
|
}
|
|
26588
26682
|
getRecord(params2, opts) {
|
|
26589
26683
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
26590
|
-
throw
|
|
26684
|
+
throw toKnownErr58(e);
|
|
26591
26685
|
});
|
|
26592
26686
|
}
|
|
26593
26687
|
getRepo(params2, opts) {
|
|
26594
26688
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
26595
|
-
throw
|
|
26689
|
+
throw toKnownErr59(e);
|
|
26596
26690
|
});
|
|
26597
26691
|
}
|
|
26598
26692
|
listBlobs(params2, opts) {
|
|
26599
26693
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
26600
|
-
throw
|
|
26694
|
+
throw toKnownErr60(e);
|
|
26601
26695
|
});
|
|
26602
26696
|
}
|
|
26603
26697
|
listRepos(params2, opts) {
|
|
26604
26698
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
26605
|
-
throw
|
|
26699
|
+
throw toKnownErr61(e);
|
|
26606
26700
|
});
|
|
26607
26701
|
}
|
|
26608
26702
|
notifyOfUpdate(data, opts) {
|
|
26609
26703
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26610
|
-
throw
|
|
26704
|
+
throw toKnownErr62(e);
|
|
26611
26705
|
});
|
|
26612
26706
|
}
|
|
26613
26707
|
requestCrawl(data, opts) {
|
|
26614
26708
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
26615
|
-
throw
|
|
26709
|
+
throw toKnownErr63(e);
|
|
26616
26710
|
});
|
|
26617
26711
|
}
|
|
26618
26712
|
};
|
|
26619
|
-
var
|
|
26713
|
+
var ComAtprotoTempNS = class {
|
|
26620
26714
|
constructor(service2) {
|
|
26621
26715
|
this._service = service2;
|
|
26622
26716
|
}
|
|
26623
26717
|
fetchLabels(params2, opts) {
|
|
26624
26718
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
26625
|
-
throw
|
|
26719
|
+
throw toKnownErr64(e);
|
|
26626
26720
|
});
|
|
26627
26721
|
}
|
|
26628
26722
|
importRepo(data, opts) {
|
|
26629
26723
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
26630
|
-
throw
|
|
26724
|
+
throw toKnownErr65(e);
|
|
26631
26725
|
});
|
|
26632
26726
|
}
|
|
26633
26727
|
pushBlob(data, opts) {
|
|
26634
26728
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
26635
|
-
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);
|
|
26636
26735
|
});
|
|
26637
26736
|
}
|
|
26638
26737
|
transferAccount(data, opts) {
|
|
26639
26738
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
26640
|
-
throw
|
|
26739
|
+
throw toKnownErr68(e);
|
|
26641
26740
|
});
|
|
26642
26741
|
}
|
|
26643
26742
|
};
|
|
26644
26743
|
var AppNS = class {
|
|
26645
26744
|
constructor(service2) {
|
|
26646
26745
|
this._service = service2;
|
|
26647
|
-
this.bsky = new
|
|
26746
|
+
this.bsky = new AppBskyNS(service2);
|
|
26648
26747
|
}
|
|
26649
26748
|
};
|
|
26650
|
-
var
|
|
26749
|
+
var AppBskyNS = class {
|
|
26651
26750
|
constructor(service2) {
|
|
26652
26751
|
this._service = service2;
|
|
26653
|
-
this.actor = new
|
|
26654
|
-
this.embed = new
|
|
26655
|
-
this.feed = new
|
|
26656
|
-
this.graph = new
|
|
26657
|
-
this.notification = new
|
|
26658
|
-
this.richtext = new
|
|
26659
|
-
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);
|
|
26660
26759
|
}
|
|
26661
26760
|
};
|
|
26662
|
-
var
|
|
26761
|
+
var AppBskyActorNS = class {
|
|
26663
26762
|
constructor(service2) {
|
|
26664
26763
|
this._service = service2;
|
|
26665
26764
|
this.profile = new ProfileRecord(service2);
|
|
26666
26765
|
}
|
|
26667
26766
|
getPreferences(params2, opts) {
|
|
26668
26767
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
26669
|
-
throw
|
|
26768
|
+
throw toKnownErr69(e);
|
|
26670
26769
|
});
|
|
26671
26770
|
}
|
|
26672
26771
|
getProfile(params2, opts) {
|
|
26673
26772
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
26674
|
-
throw
|
|
26773
|
+
throw toKnownErr70(e);
|
|
26675
26774
|
});
|
|
26676
26775
|
}
|
|
26677
26776
|
getProfiles(params2, opts) {
|
|
26678
26777
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
26679
|
-
throw
|
|
26778
|
+
throw toKnownErr71(e);
|
|
26680
26779
|
});
|
|
26681
26780
|
}
|
|
26682
26781
|
getSuggestions(params2, opts) {
|
|
26683
26782
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
26684
|
-
throw
|
|
26783
|
+
throw toKnownErr72(e);
|
|
26685
26784
|
});
|
|
26686
26785
|
}
|
|
26687
26786
|
putPreferences(data, opts) {
|
|
26688
26787
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
26689
|
-
throw
|
|
26788
|
+
throw toKnownErr73(e);
|
|
26690
26789
|
});
|
|
26691
26790
|
}
|
|
26692
26791
|
searchActors(params2, opts) {
|
|
26693
26792
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
26694
|
-
throw
|
|
26793
|
+
throw toKnownErr74(e);
|
|
26695
26794
|
});
|
|
26696
26795
|
}
|
|
26697
26796
|
searchActorsTypeahead(params2, opts) {
|
|
26698
26797
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
26699
|
-
throw
|
|
26798
|
+
throw toKnownErr75(e);
|
|
26700
26799
|
});
|
|
26701
26800
|
}
|
|
26702
26801
|
};
|
|
@@ -26727,12 +26826,12 @@ var ProfileRecord = class {
|
|
|
26727
26826
|
await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.actor.profile", ...params2 }, { headers });
|
|
26728
26827
|
}
|
|
26729
26828
|
};
|
|
26730
|
-
var
|
|
26829
|
+
var AppBskyEmbedNS = class {
|
|
26731
26830
|
constructor(service2) {
|
|
26732
26831
|
this._service = service2;
|
|
26733
26832
|
}
|
|
26734
26833
|
};
|
|
26735
|
-
var
|
|
26834
|
+
var AppBskyFeedNS = class {
|
|
26736
26835
|
constructor(service2) {
|
|
26737
26836
|
this._service = service2;
|
|
26738
26837
|
this.generator = new GeneratorRecord(service2);
|
|
@@ -26743,82 +26842,82 @@ var FeedNS = class {
|
|
|
26743
26842
|
}
|
|
26744
26843
|
describeFeedGenerator(params2, opts) {
|
|
26745
26844
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26746
|
-
throw
|
|
26845
|
+
throw toKnownErr76(e);
|
|
26747
26846
|
});
|
|
26748
26847
|
}
|
|
26749
26848
|
getActorFeeds(params2, opts) {
|
|
26750
26849
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
26751
|
-
throw
|
|
26850
|
+
throw toKnownErr77(e);
|
|
26752
26851
|
});
|
|
26753
26852
|
}
|
|
26754
26853
|
getActorLikes(params2, opts) {
|
|
26755
26854
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
26756
|
-
throw
|
|
26855
|
+
throw toKnownErr78(e);
|
|
26757
26856
|
});
|
|
26758
26857
|
}
|
|
26759
26858
|
getAuthorFeed(params2, opts) {
|
|
26760
26859
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
26761
|
-
throw
|
|
26860
|
+
throw toKnownErr79(e);
|
|
26762
26861
|
});
|
|
26763
26862
|
}
|
|
26764
26863
|
getFeed(params2, opts) {
|
|
26765
26864
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
26766
|
-
throw
|
|
26865
|
+
throw toKnownErr80(e);
|
|
26767
26866
|
});
|
|
26768
26867
|
}
|
|
26769
26868
|
getFeedGenerator(params2, opts) {
|
|
26770
26869
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26771
|
-
throw
|
|
26870
|
+
throw toKnownErr81(e);
|
|
26772
26871
|
});
|
|
26773
26872
|
}
|
|
26774
26873
|
getFeedGenerators(params2, opts) {
|
|
26775
26874
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26776
|
-
throw
|
|
26875
|
+
throw toKnownErr82(e);
|
|
26777
26876
|
});
|
|
26778
26877
|
}
|
|
26779
26878
|
getFeedSkeleton(params2, opts) {
|
|
26780
26879
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
26781
|
-
throw
|
|
26880
|
+
throw toKnownErr83(e);
|
|
26782
26881
|
});
|
|
26783
26882
|
}
|
|
26784
26883
|
getLikes(params2, opts) {
|
|
26785
26884
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
26786
|
-
throw
|
|
26885
|
+
throw toKnownErr84(e);
|
|
26787
26886
|
});
|
|
26788
26887
|
}
|
|
26789
26888
|
getListFeed(params2, opts) {
|
|
26790
26889
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
26791
|
-
throw
|
|
26890
|
+
throw toKnownErr85(e);
|
|
26792
26891
|
});
|
|
26793
26892
|
}
|
|
26794
26893
|
getPostThread(params2, opts) {
|
|
26795
26894
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
26796
|
-
throw
|
|
26895
|
+
throw toKnownErr86(e);
|
|
26797
26896
|
});
|
|
26798
26897
|
}
|
|
26799
26898
|
getPosts(params2, opts) {
|
|
26800
26899
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
26801
|
-
throw
|
|
26900
|
+
throw toKnownErr87(e);
|
|
26802
26901
|
});
|
|
26803
26902
|
}
|
|
26804
26903
|
getRepostedBy(params2, opts) {
|
|
26805
26904
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
26806
|
-
throw
|
|
26905
|
+
throw toKnownErr88(e);
|
|
26807
26906
|
});
|
|
26808
26907
|
}
|
|
26809
26908
|
getSuggestedFeeds(params2, opts) {
|
|
26810
26909
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
26811
|
-
throw
|
|
26910
|
+
throw toKnownErr89(e);
|
|
26812
26911
|
});
|
|
26813
26912
|
}
|
|
26814
26913
|
getTimeline(params2, opts) {
|
|
26815
26914
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
26816
|
-
throw
|
|
26915
|
+
throw toKnownErr90(e);
|
|
26817
26916
|
});
|
|
26818
26917
|
}
|
|
26819
26918
|
searchPosts(params2, opts) {
|
|
26820
26919
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26821
|
-
throw
|
|
26920
|
+
throw toKnownErr91(e);
|
|
26822
26921
|
});
|
|
26823
26922
|
}
|
|
26824
26923
|
};
|
|
@@ -26957,7 +27056,7 @@ var ThreadgateRecord = class {
|
|
|
26957
27056
|
await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.feed.threadgate", ...params2 }, { headers });
|
|
26958
27057
|
}
|
|
26959
27058
|
};
|
|
26960
|
-
var
|
|
27059
|
+
var AppBskyGraphNS = class {
|
|
26961
27060
|
constructor(service2) {
|
|
26962
27061
|
this._service = service2;
|
|
26963
27062
|
this.block = new BlockRecord(service2);
|
|
@@ -26968,67 +27067,67 @@ var GraphNS = class {
|
|
|
26968
27067
|
}
|
|
26969
27068
|
getBlocks(params2, opts) {
|
|
26970
27069
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26971
|
-
throw
|
|
27070
|
+
throw toKnownErr92(e);
|
|
26972
27071
|
});
|
|
26973
27072
|
}
|
|
26974
27073
|
getFollowers(params2, opts) {
|
|
26975
27074
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
26976
|
-
throw
|
|
27075
|
+
throw toKnownErr93(e);
|
|
26977
27076
|
});
|
|
26978
27077
|
}
|
|
26979
27078
|
getFollows(params2, opts) {
|
|
26980
27079
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
26981
|
-
throw
|
|
27080
|
+
throw toKnownErr94(e);
|
|
26982
27081
|
});
|
|
26983
27082
|
}
|
|
26984
27083
|
getList(params2, opts) {
|
|
26985
27084
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
26986
|
-
throw
|
|
27085
|
+
throw toKnownErr95(e);
|
|
26987
27086
|
});
|
|
26988
27087
|
}
|
|
26989
27088
|
getListBlocks(params2, opts) {
|
|
26990
27089
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
26991
|
-
throw
|
|
27090
|
+
throw toKnownErr96(e);
|
|
26992
27091
|
});
|
|
26993
27092
|
}
|
|
26994
27093
|
getListMutes(params2, opts) {
|
|
26995
27094
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
26996
|
-
throw
|
|
27095
|
+
throw toKnownErr97(e);
|
|
26997
27096
|
});
|
|
26998
27097
|
}
|
|
26999
27098
|
getLists(params2, opts) {
|
|
27000
27099
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
27001
|
-
throw
|
|
27100
|
+
throw toKnownErr98(e);
|
|
27002
27101
|
});
|
|
27003
27102
|
}
|
|
27004
27103
|
getMutes(params2, opts) {
|
|
27005
27104
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
27006
|
-
throw
|
|
27105
|
+
throw toKnownErr99(e);
|
|
27007
27106
|
});
|
|
27008
27107
|
}
|
|
27009
27108
|
getSuggestedFollowsByActor(params2, opts) {
|
|
27010
27109
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
27011
|
-
throw
|
|
27110
|
+
throw toKnownErr100(e);
|
|
27012
27111
|
});
|
|
27013
27112
|
}
|
|
27014
27113
|
muteActor(data, opts) {
|
|
27015
27114
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
27016
|
-
throw
|
|
27115
|
+
throw toKnownErr101(e);
|
|
27017
27116
|
});
|
|
27018
27117
|
}
|
|
27019
27118
|
muteActorList(data, opts) {
|
|
27020
27119
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27021
|
-
throw
|
|
27120
|
+
throw toKnownErr102(e);
|
|
27022
27121
|
});
|
|
27023
27122
|
}
|
|
27024
27123
|
unmuteActor(data, opts) {
|
|
27025
27124
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
27026
|
-
throw
|
|
27125
|
+
throw toKnownErr103(e);
|
|
27027
27126
|
});
|
|
27028
27127
|
}
|
|
27029
27128
|
unmuteActorList(data, opts) {
|
|
27030
27129
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27031
|
-
throw
|
|
27130
|
+
throw toKnownErr104(e);
|
|
27032
27131
|
});
|
|
27033
27132
|
}
|
|
27034
27133
|
};
|
|
@@ -27167,63 +27266,58 @@ var ListitemRecord = class {
|
|
|
27167
27266
|
await this._service.xrpc.call("com.atproto.repo.deleteRecord", void 0, { collection: "app.bsky.graph.listitem", ...params2 }, { headers });
|
|
27168
27267
|
}
|
|
27169
27268
|
};
|
|
27170
|
-
var
|
|
27269
|
+
var AppBskyNotificationNS = class {
|
|
27171
27270
|
constructor(service2) {
|
|
27172
27271
|
this._service = service2;
|
|
27173
27272
|
}
|
|
27174
27273
|
getUnreadCount(params2, opts) {
|
|
27175
27274
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
27176
|
-
throw
|
|
27275
|
+
throw toKnownErr105(e);
|
|
27177
27276
|
});
|
|
27178
27277
|
}
|
|
27179
27278
|
listNotifications(params2, opts) {
|
|
27180
27279
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
27181
|
-
throw
|
|
27280
|
+
throw toKnownErr106(e);
|
|
27182
27281
|
});
|
|
27183
27282
|
}
|
|
27184
27283
|
registerPush(data, opts) {
|
|
27185
27284
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
27186
|
-
throw
|
|
27285
|
+
throw toKnownErr107(e);
|
|
27187
27286
|
});
|
|
27188
27287
|
}
|
|
27189
27288
|
updateSeen(data, opts) {
|
|
27190
27289
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
27191
|
-
throw
|
|
27290
|
+
throw toKnownErr108(e);
|
|
27192
27291
|
});
|
|
27193
27292
|
}
|
|
27194
27293
|
};
|
|
27195
|
-
var
|
|
27294
|
+
var AppBskyRichtextNS = class {
|
|
27196
27295
|
constructor(service2) {
|
|
27197
27296
|
this._service = service2;
|
|
27198
27297
|
}
|
|
27199
27298
|
};
|
|
27200
|
-
var
|
|
27299
|
+
var AppBskyUnspeccedNS = class {
|
|
27201
27300
|
constructor(service2) {
|
|
27202
27301
|
this._service = service2;
|
|
27203
27302
|
}
|
|
27204
|
-
getPopular(params2, opts) {
|
|
27205
|
-
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
27206
|
-
throw toKnownErr107(e);
|
|
27207
|
-
});
|
|
27208
|
-
}
|
|
27209
27303
|
getPopularFeedGenerators(params2, opts) {
|
|
27210
27304
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27211
|
-
throw
|
|
27305
|
+
throw toKnownErr109(e);
|
|
27212
27306
|
});
|
|
27213
27307
|
}
|
|
27214
27308
|
getTimelineSkeleton(params2, opts) {
|
|
27215
27309
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
27216
|
-
throw
|
|
27310
|
+
throw toKnownErr110(e);
|
|
27217
27311
|
});
|
|
27218
27312
|
}
|
|
27219
27313
|
searchActorsSkeleton(params2, opts) {
|
|
27220
27314
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27221
|
-
throw
|
|
27315
|
+
throw toKnownErr111(e);
|
|
27222
27316
|
});
|
|
27223
27317
|
}
|
|
27224
27318
|
searchPostsSkeleton(params2, opts) {
|
|
27225
27319
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27226
|
-
throw
|
|
27320
|
+
throw toKnownErr112(e);
|
|
27227
27321
|
});
|
|
27228
27322
|
}
|
|
27229
27323
|
};
|
|
@@ -27314,23 +27408,27 @@ var _AtpAgent = class {
|
|
|
27314
27408
|
try {
|
|
27315
27409
|
this.session = session;
|
|
27316
27410
|
const res = await this.api.com.atproto.server.getSession();
|
|
27317
|
-
if (
|
|
27318
|
-
throw new
|
|
27411
|
+
if (res.data.did !== this.session.did) {
|
|
27412
|
+
throw new XRPCError(400 /* InvalidRequest */, "Invalid session", "InvalidDID");
|
|
27319
27413
|
}
|
|
27320
27414
|
this.session.email = res.data.email;
|
|
27321
27415
|
this.session.handle = res.data.handle;
|
|
27322
27416
|
this.session.emailConfirmed = res.data.emailConfirmed;
|
|
27323
27417
|
this._updateApiEndpoint(res.data.didDoc);
|
|
27418
|
+
this._persistSession?.("update", this.session);
|
|
27324
27419
|
return res;
|
|
27325
27420
|
} catch (e) {
|
|
27326
27421
|
this.session = void 0;
|
|
27327
|
-
|
|
27328
|
-
|
|
27329
|
-
|
|
27330
|
-
|
|
27422
|
+
if (e instanceof XRPCError) {
|
|
27423
|
+
if ([1, 408, 425, 429, 500, 502, 503, 504, 522, 524].includes(e.status)) {
|
|
27424
|
+
this._persistSession?.("network-error", void 0);
|
|
27425
|
+
} else {
|
|
27426
|
+
this._persistSession?.("expired", void 0);
|
|
27427
|
+
}
|
|
27331
27428
|
} else {
|
|
27332
|
-
this._persistSession?.("
|
|
27429
|
+
this._persistSession?.("network-error", void 0);
|
|
27333
27430
|
}
|
|
27431
|
+
throw e;
|
|
27334
27432
|
}
|
|
27335
27433
|
}
|
|
27336
27434
|
_addAuthHeader(reqHeaders) {
|