@atproto/api 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/client/index.d.ts +15 -0
- package/dist/client/lexicons.d.ts +230 -0
- package/dist/client/types/{com/atproto/server/getAccountsConfig.d.ts → app/bsky/unspecced/getTaggedSuggestions.d.ts} +8 -9
- package/dist/client/types/com/atproto/admin/{resolveModerationReports.d.ts → createCommunicationTemplate.d.ts} +5 -4
- package/dist/client/types/com/atproto/admin/defs.d.ts +13 -0
- package/dist/client/types/{app/bsky/feed/unbookmarkFeed.d.ts → com/atproto/admin/deleteCommunicationTemplate.d.ts} +1 -1
- package/dist/client/types/{app/bsky/moderation/getServices.d.ts → com/atproto/admin/listCommunicationTemplates.d.ts} +2 -3
- package/dist/client/types/com/atproto/admin/{reverseModerationAction.d.ts → updateCommunicationTemplate.d.ts} +7 -4
- package/dist/index.js +670 -336
- package/dist/index.js.map +3 -3
- package/package.json +4 -4
- package/src/client/index.ts +85 -0
- package/src/client/lexicons.ts +249 -0
- package/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts +55 -0
- package/src/client/types/com/atproto/admin/createCommunicationTemplate.ts +43 -0
- package/src/client/types/com/atproto/admin/defs.ts +35 -0
- package/src/client/types/com/atproto/admin/deleteCommunicationTemplate.ts +32 -0
- package/src/client/types/com/atproto/admin/listCommunicationTemplates.ts +34 -0
- package/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts +46 -0
- package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
- package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -47
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +0 -21
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +0 -21
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
- package/dist/client/types/app/bsky/moderation/defs.d.ts +0 -49
- package/dist/client/types/app/bsky/moderation/getService.d.ts +0 -16
- package/dist/client/types/app/bsky/moderation/service.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
- package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
- package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
- package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +0 -18
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -22
- package/dist/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
- package/dist/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +0 -29
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -28
- package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +0 -26
- package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
- package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +0 -34
- package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +0 -32
- package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
- package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/report/create.d.ts +0 -39
- package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
- package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +0 -31
- package/dist/client/types/com/atproto/session/create.d.ts +0 -29
- package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
- package/dist/client/types/com/atproto/sync/getCurrent.d.ts +0 -22
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -21
- package/dist/client/types/com/atproto/sync/importRepo.d.ts +0 -16
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
- package/dist/session.d.ts +0 -42
- package/dist/src/client/index.d.ts +0 -462
- package/dist/src/client/lexicons.d.ts +0 -2910
- package/dist/src/client/schemas.d.ts +0 -17
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
- package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
- package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
- package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
- package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
- package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
- package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/client/types/app/bsky/like.d.ts +0 -10
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
- package/dist/src/client/types/app/bsky/post.d.ts +0 -23
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
- package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
- package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
- package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
- package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
- package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
- package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
- package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
- package/dist/src/index.d.ts +0 -4
- package/dist/src/schemas.d.ts +0 -19
- package/dist/src/session.d.ts +0 -42
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +0 -10
- package/dist/src/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/types/app/bsky/like.d.ts +0 -10
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/types/app/bsky/post.d.ts +0 -23
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/app/bsky/profile.d.ts +0 -11
- package/dist/src/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
- package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
- package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
- package/dist/src/types/com/atproto/createSession.d.ts +0 -23
- package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
- package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/adx/createAccount.d.ts +0 -36
- package/dist/src/types/todo/adx/createInviteCode.d.ts +0 -19
- package/dist/src/types/todo/adx/createSession.d.ts +0 -22
- package/dist/src/types/todo/adx/deleteAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/deleteSession.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/todo/adx/getSession.d.ts +0 -17
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +0 -34
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +0 -22
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/todo/adx/repoDescribe.d.ts +0 -21
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +0 -20
- package/dist/src/types/todo/adx/repoListRecords.d.ts +0 -25
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +0 -23
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/todo/adx/resolveName.d.ts +0 -17
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +0 -15
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +0 -17
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/social/badge.d.ts +0 -23
- package/dist/src/types/todo/social/follow.d.ts +0 -5
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getHomeFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getLikedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getNotificationCount.d.ts +0 -16
- package/dist/src/types/todo/social/getNotifications.d.ts +0 -31
- package/dist/src/types/todo/social/getPostThread.d.ts +0 -54
- package/dist/src/types/todo/social/getProfile.d.ts +0 -40
- package/dist/src/types/todo/social/getRepostedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getUserFollowers.d.ts +0 -30
- package/dist/src/types/todo/social/getUserFollows.d.ts +0 -30
- package/dist/src/types/todo/social/like.d.ts +0 -5
- package/dist/src/types/todo/social/mediaEmbed.d.ts +0 -15
- package/dist/src/types/todo/social/post.d.ts +0 -18
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/todo/social/profile.d.ts +0 -10
- package/dist/src/types/todo/social/repost.d.ts +0 -5
package/dist/index.js
CHANGED
|
@@ -8938,6 +8938,7 @@ __export(src_exports2, {
|
|
|
8938
8938
|
AppBskyRichtextNS: () => AppBskyRichtextNS,
|
|
8939
8939
|
AppBskyUnspeccedDefs: () => defs_exports8,
|
|
8940
8940
|
AppBskyUnspeccedGetPopularFeedGenerators: () => getPopularFeedGenerators_exports,
|
|
8941
|
+
AppBskyUnspeccedGetTaggedSuggestions: () => getTaggedSuggestions_exports,
|
|
8941
8942
|
AppBskyUnspeccedGetTimelineSkeleton: () => getTimelineSkeleton_exports,
|
|
8942
8943
|
AppBskyUnspeccedNS: () => AppBskyUnspeccedNS,
|
|
8943
8944
|
AppBskyUnspeccedSearchActorsSkeleton: () => searchActorsSkeleton_exports,
|
|
@@ -8952,8 +8953,10 @@ __export(src_exports2, {
|
|
|
8952
8953
|
BskyAgent: () => BskyAgent,
|
|
8953
8954
|
COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
|
|
8954
8955
|
COM_ATPROTO_MODERATION: () => COM_ATPROTO_MODERATION,
|
|
8956
|
+
ComAtprotoAdminCreateCommunicationTemplate: () => createCommunicationTemplate_exports,
|
|
8955
8957
|
ComAtprotoAdminDefs: () => defs_exports,
|
|
8956
8958
|
ComAtprotoAdminDeleteAccount: () => deleteAccount_exports,
|
|
8959
|
+
ComAtprotoAdminDeleteCommunicationTemplate: () => deleteCommunicationTemplate_exports,
|
|
8957
8960
|
ComAtprotoAdminDisableAccountInvites: () => disableAccountInvites_exports,
|
|
8958
8961
|
ComAtprotoAdminDisableInviteCodes: () => disableInviteCodes_exports,
|
|
8959
8962
|
ComAtprotoAdminEmitModerationEvent: () => emitModerationEvent_exports,
|
|
@@ -8965,6 +8968,7 @@ __export(src_exports2, {
|
|
|
8965
8968
|
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
8966
8969
|
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
8967
8970
|
ComAtprotoAdminGetSubjectStatus: () => getSubjectStatus_exports,
|
|
8971
|
+
ComAtprotoAdminListCommunicationTemplates: () => listCommunicationTemplates_exports,
|
|
8968
8972
|
ComAtprotoAdminNS: () => ComAtprotoAdminNS,
|
|
8969
8973
|
ComAtprotoAdminQueryModerationEvents: () => queryModerationEvents_exports,
|
|
8970
8974
|
ComAtprotoAdminQueryModerationStatuses: () => queryModerationStatuses_exports,
|
|
@@ -8972,6 +8976,7 @@ __export(src_exports2, {
|
|
|
8972
8976
|
ComAtprotoAdminSendEmail: () => sendEmail_exports,
|
|
8973
8977
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8974
8978
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
8979
|
+
ComAtprotoAdminUpdateCommunicationTemplate: () => updateCommunicationTemplate_exports,
|
|
8975
8980
|
ComAtprotoAdminUpdateSubjectStatus: () => updateSubjectStatus_exports,
|
|
8976
8981
|
ComAtprotoIdentityNS: () => ComAtprotoIdentityNS,
|
|
8977
8982
|
ComAtprotoIdentityResolveHandle: () => resolveHandle_exports,
|
|
@@ -15675,6 +15680,49 @@ var defaultInst = new Client();
|
|
|
15675
15680
|
|
|
15676
15681
|
// src/client/lexicons.ts
|
|
15677
15682
|
var schemaDict = {
|
|
15683
|
+
ComAtprotoAdminCreateCommunicationTemplate: {
|
|
15684
|
+
lexicon: 1,
|
|
15685
|
+
id: "com.atproto.admin.createCommunicationTemplate",
|
|
15686
|
+
defs: {
|
|
15687
|
+
main: {
|
|
15688
|
+
type: "procedure",
|
|
15689
|
+
description: "Administrative action to create a new, re-usable communication (email for now) template.",
|
|
15690
|
+
input: {
|
|
15691
|
+
encoding: "application/json",
|
|
15692
|
+
schema: {
|
|
15693
|
+
type: "object",
|
|
15694
|
+
required: ["subject", "contentMarkdown", "name"],
|
|
15695
|
+
properties: {
|
|
15696
|
+
name: {
|
|
15697
|
+
type: "string",
|
|
15698
|
+
description: "Name of the template."
|
|
15699
|
+
},
|
|
15700
|
+
contentMarkdown: {
|
|
15701
|
+
type: "string",
|
|
15702
|
+
description: "Content of the template, markdown supported, can contain variable placeholders."
|
|
15703
|
+
},
|
|
15704
|
+
subject: {
|
|
15705
|
+
type: "string",
|
|
15706
|
+
description: "Subject of the message, used in emails."
|
|
15707
|
+
},
|
|
15708
|
+
createdBy: {
|
|
15709
|
+
type: "string",
|
|
15710
|
+
format: "did",
|
|
15711
|
+
description: "DID of the user who is creating the template."
|
|
15712
|
+
}
|
|
15713
|
+
}
|
|
15714
|
+
}
|
|
15715
|
+
},
|
|
15716
|
+
output: {
|
|
15717
|
+
encoding: "application/json",
|
|
15718
|
+
schema: {
|
|
15719
|
+
type: "ref",
|
|
15720
|
+
ref: "lex:com.atproto.admin.defs#communicationTemplateView"
|
|
15721
|
+
}
|
|
15722
|
+
}
|
|
15723
|
+
}
|
|
15724
|
+
}
|
|
15725
|
+
},
|
|
15678
15726
|
ComAtprotoAdminDefs: {
|
|
15679
15727
|
lexicon: 1,
|
|
15680
15728
|
id: "com.atproto.admin.defs",
|
|
@@ -16512,6 +16560,51 @@ var schemaDict = {
|
|
|
16512
16560
|
description: "Additional comment about the outgoing comm."
|
|
16513
16561
|
}
|
|
16514
16562
|
}
|
|
16563
|
+
},
|
|
16564
|
+
communicationTemplateView: {
|
|
16565
|
+
type: "object",
|
|
16566
|
+
required: [
|
|
16567
|
+
"id",
|
|
16568
|
+
"name",
|
|
16569
|
+
"contentMarkdown",
|
|
16570
|
+
"disabled",
|
|
16571
|
+
"lastUpdatedBy",
|
|
16572
|
+
"createdAt",
|
|
16573
|
+
"updatedAt"
|
|
16574
|
+
],
|
|
16575
|
+
properties: {
|
|
16576
|
+
id: {
|
|
16577
|
+
type: "string"
|
|
16578
|
+
},
|
|
16579
|
+
name: {
|
|
16580
|
+
type: "string",
|
|
16581
|
+
description: "Name of the template."
|
|
16582
|
+
},
|
|
16583
|
+
subject: {
|
|
16584
|
+
type: "string",
|
|
16585
|
+
description: "Content of the template, can contain markdown and variable placeholders."
|
|
16586
|
+
},
|
|
16587
|
+
contentMarkdown: {
|
|
16588
|
+
type: "string",
|
|
16589
|
+
description: "Subject of the message, used in emails."
|
|
16590
|
+
},
|
|
16591
|
+
disabled: {
|
|
16592
|
+
type: "boolean"
|
|
16593
|
+
},
|
|
16594
|
+
lastUpdatedBy: {
|
|
16595
|
+
type: "string",
|
|
16596
|
+
format: "did",
|
|
16597
|
+
description: "DID of the user who last updated the template."
|
|
16598
|
+
},
|
|
16599
|
+
createdAt: {
|
|
16600
|
+
type: "string",
|
|
16601
|
+
format: "datetime"
|
|
16602
|
+
},
|
|
16603
|
+
updatedAt: {
|
|
16604
|
+
type: "string",
|
|
16605
|
+
format: "datetime"
|
|
16606
|
+
}
|
|
16607
|
+
}
|
|
16515
16608
|
}
|
|
16516
16609
|
}
|
|
16517
16610
|
},
|
|
@@ -16538,6 +16631,28 @@ var schemaDict = {
|
|
|
16538
16631
|
}
|
|
16539
16632
|
}
|
|
16540
16633
|
},
|
|
16634
|
+
ComAtprotoAdminDeleteCommunicationTemplate: {
|
|
16635
|
+
lexicon: 1,
|
|
16636
|
+
id: "com.atproto.admin.deleteCommunicationTemplate",
|
|
16637
|
+
defs: {
|
|
16638
|
+
main: {
|
|
16639
|
+
type: "procedure",
|
|
16640
|
+
description: "Delete a communication template.",
|
|
16641
|
+
input: {
|
|
16642
|
+
encoding: "application/json",
|
|
16643
|
+
schema: {
|
|
16644
|
+
type: "object",
|
|
16645
|
+
required: ["id"],
|
|
16646
|
+
properties: {
|
|
16647
|
+
id: {
|
|
16648
|
+
type: "string"
|
|
16649
|
+
}
|
|
16650
|
+
}
|
|
16651
|
+
}
|
|
16652
|
+
}
|
|
16653
|
+
}
|
|
16654
|
+
}
|
|
16655
|
+
},
|
|
16541
16656
|
ComAtprotoAdminDisableAccountInvites: {
|
|
16542
16657
|
lexicon: 1,
|
|
16543
16658
|
id: "com.atproto.admin.disableAccountInvites",
|
|
@@ -16942,6 +17057,32 @@ var schemaDict = {
|
|
|
16942
17057
|
}
|
|
16943
17058
|
}
|
|
16944
17059
|
},
|
|
17060
|
+
ComAtprotoAdminListCommunicationTemplates: {
|
|
17061
|
+
lexicon: 1,
|
|
17062
|
+
id: "com.atproto.admin.listCommunicationTemplates",
|
|
17063
|
+
defs: {
|
|
17064
|
+
main: {
|
|
17065
|
+
type: "query",
|
|
17066
|
+
description: "Get list of all communication templates.",
|
|
17067
|
+
output: {
|
|
17068
|
+
encoding: "application/json",
|
|
17069
|
+
schema: {
|
|
17070
|
+
type: "object",
|
|
17071
|
+
required: ["communicationTemplates"],
|
|
17072
|
+
properties: {
|
|
17073
|
+
communicationTemplates: {
|
|
17074
|
+
type: "array",
|
|
17075
|
+
items: {
|
|
17076
|
+
type: "ref",
|
|
17077
|
+
ref: "lex:com.atproto.admin.defs#communicationTemplateView"
|
|
17078
|
+
}
|
|
17079
|
+
}
|
|
17080
|
+
}
|
|
17081
|
+
}
|
|
17082
|
+
}
|
|
17083
|
+
}
|
|
17084
|
+
}
|
|
17085
|
+
},
|
|
16945
17086
|
ComAtprotoAdminQueryModerationEvents: {
|
|
16946
17087
|
lexicon: 1,
|
|
16947
17088
|
id: "com.atproto.admin.queryModerationEvents",
|
|
@@ -17273,6 +17414,56 @@ var schemaDict = {
|
|
|
17273
17414
|
}
|
|
17274
17415
|
}
|
|
17275
17416
|
},
|
|
17417
|
+
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
17418
|
+
lexicon: 1,
|
|
17419
|
+
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
17420
|
+
defs: {
|
|
17421
|
+
main: {
|
|
17422
|
+
type: "procedure",
|
|
17423
|
+
description: "Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.",
|
|
17424
|
+
input: {
|
|
17425
|
+
encoding: "application/json",
|
|
17426
|
+
schema: {
|
|
17427
|
+
type: "object",
|
|
17428
|
+
required: ["id"],
|
|
17429
|
+
properties: {
|
|
17430
|
+
id: {
|
|
17431
|
+
type: "string",
|
|
17432
|
+
description: "ID of the template to be updated."
|
|
17433
|
+
},
|
|
17434
|
+
name: {
|
|
17435
|
+
type: "string",
|
|
17436
|
+
description: "Name of the template."
|
|
17437
|
+
},
|
|
17438
|
+
contentMarkdown: {
|
|
17439
|
+
type: "string",
|
|
17440
|
+
description: "Content of the template, markdown supported, can contain variable placeholders."
|
|
17441
|
+
},
|
|
17442
|
+
subject: {
|
|
17443
|
+
type: "string",
|
|
17444
|
+
description: "Subject of the message, used in emails."
|
|
17445
|
+
},
|
|
17446
|
+
updatedBy: {
|
|
17447
|
+
type: "string",
|
|
17448
|
+
format: "did",
|
|
17449
|
+
description: "DID of the user who is updating the template."
|
|
17450
|
+
},
|
|
17451
|
+
disabled: {
|
|
17452
|
+
type: "boolean"
|
|
17453
|
+
}
|
|
17454
|
+
}
|
|
17455
|
+
}
|
|
17456
|
+
},
|
|
17457
|
+
output: {
|
|
17458
|
+
encoding: "application/json",
|
|
17459
|
+
schema: {
|
|
17460
|
+
type: "ref",
|
|
17461
|
+
ref: "lex:com.atproto.admin.defs#communicationTemplateView"
|
|
17462
|
+
}
|
|
17463
|
+
}
|
|
17464
|
+
}
|
|
17465
|
+
}
|
|
17466
|
+
},
|
|
17276
17467
|
ComAtprotoAdminUpdateSubjectStatus: {
|
|
17277
17468
|
lexicon: 1,
|
|
17278
17469
|
id: "com.atproto.admin.updateSubjectStatus",
|
|
@@ -23313,6 +23504,53 @@ var schemaDict = {
|
|
|
23313
23504
|
}
|
|
23314
23505
|
}
|
|
23315
23506
|
},
|
|
23507
|
+
AppBskyUnspeccedGetTaggedSuggestions: {
|
|
23508
|
+
lexicon: 1,
|
|
23509
|
+
id: "app.bsky.unspecced.getTaggedSuggestions",
|
|
23510
|
+
defs: {
|
|
23511
|
+
main: {
|
|
23512
|
+
type: "query",
|
|
23513
|
+
description: "Get a list of suggestions (feeds and users) tagged with categories",
|
|
23514
|
+
parameters: {
|
|
23515
|
+
type: "params",
|
|
23516
|
+
properties: {}
|
|
23517
|
+
},
|
|
23518
|
+
output: {
|
|
23519
|
+
encoding: "application/json",
|
|
23520
|
+
schema: {
|
|
23521
|
+
type: "object",
|
|
23522
|
+
required: ["suggestions"],
|
|
23523
|
+
properties: {
|
|
23524
|
+
suggestions: {
|
|
23525
|
+
type: "array",
|
|
23526
|
+
items: {
|
|
23527
|
+
type: "ref",
|
|
23528
|
+
ref: "lex:app.bsky.unspecced.getTaggedSuggestions#suggestion"
|
|
23529
|
+
}
|
|
23530
|
+
}
|
|
23531
|
+
}
|
|
23532
|
+
}
|
|
23533
|
+
}
|
|
23534
|
+
},
|
|
23535
|
+
suggestion: {
|
|
23536
|
+
type: "object",
|
|
23537
|
+
required: ["tag", "subjectType", "subject"],
|
|
23538
|
+
properties: {
|
|
23539
|
+
tag: {
|
|
23540
|
+
type: "string"
|
|
23541
|
+
},
|
|
23542
|
+
subjectType: {
|
|
23543
|
+
type: "string",
|
|
23544
|
+
knownValues: ["actor", "feed"]
|
|
23545
|
+
},
|
|
23546
|
+
subject: {
|
|
23547
|
+
type: "string",
|
|
23548
|
+
format: "uri"
|
|
23549
|
+
}
|
|
23550
|
+
}
|
|
23551
|
+
}
|
|
23552
|
+
}
|
|
23553
|
+
},
|
|
23316
23554
|
AppBskyUnspeccedGetTimelineSkeleton: {
|
|
23317
23555
|
lexicon: 1,
|
|
23318
23556
|
id: "app.bsky.unspecced.getTimelineSkeleton",
|
|
@@ -23485,12 +23723,34 @@ var schemaDict = {
|
|
|
23485
23723
|
var schemas = Object.values(schemaDict);
|
|
23486
23724
|
var lexicons = new Lexicons(schemas);
|
|
23487
23725
|
|
|
23726
|
+
// src/client/types/com/atproto/admin/createCommunicationTemplate.ts
|
|
23727
|
+
var createCommunicationTemplate_exports = {};
|
|
23728
|
+
__export(createCommunicationTemplate_exports, {
|
|
23729
|
+
toKnownErr: () => toKnownErr
|
|
23730
|
+
});
|
|
23731
|
+
function toKnownErr(e) {
|
|
23732
|
+
if (e instanceof XRPCError) {
|
|
23733
|
+
}
|
|
23734
|
+
return e;
|
|
23735
|
+
}
|
|
23736
|
+
|
|
23488
23737
|
// src/client/types/com/atproto/admin/deleteAccount.ts
|
|
23489
23738
|
var deleteAccount_exports = {};
|
|
23490
23739
|
__export(deleteAccount_exports, {
|
|
23491
|
-
toKnownErr: () =>
|
|
23740
|
+
toKnownErr: () => toKnownErr2
|
|
23492
23741
|
});
|
|
23493
|
-
function
|
|
23742
|
+
function toKnownErr2(e) {
|
|
23743
|
+
if (e instanceof XRPCError) {
|
|
23744
|
+
}
|
|
23745
|
+
return e;
|
|
23746
|
+
}
|
|
23747
|
+
|
|
23748
|
+
// src/client/types/com/atproto/admin/deleteCommunicationTemplate.ts
|
|
23749
|
+
var deleteCommunicationTemplate_exports = {};
|
|
23750
|
+
__export(deleteCommunicationTemplate_exports, {
|
|
23751
|
+
toKnownErr: () => toKnownErr3
|
|
23752
|
+
});
|
|
23753
|
+
function toKnownErr3(e) {
|
|
23494
23754
|
if (e instanceof XRPCError) {
|
|
23495
23755
|
}
|
|
23496
23756
|
return e;
|
|
@@ -23499,9 +23759,9 @@ function toKnownErr(e) {
|
|
|
23499
23759
|
// src/client/types/com/atproto/admin/disableAccountInvites.ts
|
|
23500
23760
|
var disableAccountInvites_exports = {};
|
|
23501
23761
|
__export(disableAccountInvites_exports, {
|
|
23502
|
-
toKnownErr: () =>
|
|
23762
|
+
toKnownErr: () => toKnownErr4
|
|
23503
23763
|
});
|
|
23504
|
-
function
|
|
23764
|
+
function toKnownErr4(e) {
|
|
23505
23765
|
if (e instanceof XRPCError) {
|
|
23506
23766
|
}
|
|
23507
23767
|
return e;
|
|
@@ -23510,9 +23770,9 @@ function toKnownErr2(e) {
|
|
|
23510
23770
|
// src/client/types/com/atproto/admin/disableInviteCodes.ts
|
|
23511
23771
|
var disableInviteCodes_exports = {};
|
|
23512
23772
|
__export(disableInviteCodes_exports, {
|
|
23513
|
-
toKnownErr: () =>
|
|
23773
|
+
toKnownErr: () => toKnownErr5
|
|
23514
23774
|
});
|
|
23515
|
-
function
|
|
23775
|
+
function toKnownErr5(e) {
|
|
23516
23776
|
if (e instanceof XRPCError) {
|
|
23517
23777
|
}
|
|
23518
23778
|
return e;
|
|
@@ -23522,14 +23782,14 @@ function toKnownErr3(e) {
|
|
|
23522
23782
|
var emitModerationEvent_exports = {};
|
|
23523
23783
|
__export(emitModerationEvent_exports, {
|
|
23524
23784
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
23525
|
-
toKnownErr: () =>
|
|
23785
|
+
toKnownErr: () => toKnownErr6
|
|
23526
23786
|
});
|
|
23527
23787
|
var SubjectHasActionError = class extends XRPCError {
|
|
23528
23788
|
constructor(src2) {
|
|
23529
23789
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23530
23790
|
}
|
|
23531
23791
|
};
|
|
23532
|
-
function
|
|
23792
|
+
function toKnownErr6(e) {
|
|
23533
23793
|
if (e instanceof XRPCError) {
|
|
23534
23794
|
if (e.error === "SubjectHasAction")
|
|
23535
23795
|
return new SubjectHasActionError(e);
|
|
@@ -23540,9 +23800,9 @@ function toKnownErr4(e) {
|
|
|
23540
23800
|
// src/client/types/com/atproto/admin/enableAccountInvites.ts
|
|
23541
23801
|
var enableAccountInvites_exports = {};
|
|
23542
23802
|
__export(enableAccountInvites_exports, {
|
|
23543
|
-
toKnownErr: () =>
|
|
23803
|
+
toKnownErr: () => toKnownErr7
|
|
23544
23804
|
});
|
|
23545
|
-
function
|
|
23805
|
+
function toKnownErr7(e) {
|
|
23546
23806
|
if (e instanceof XRPCError) {
|
|
23547
23807
|
}
|
|
23548
23808
|
return e;
|
|
@@ -23551,9 +23811,9 @@ function toKnownErr5(e) {
|
|
|
23551
23811
|
// src/client/types/com/atproto/admin/getAccountInfo.ts
|
|
23552
23812
|
var getAccountInfo_exports = {};
|
|
23553
23813
|
__export(getAccountInfo_exports, {
|
|
23554
|
-
toKnownErr: () =>
|
|
23814
|
+
toKnownErr: () => toKnownErr8
|
|
23555
23815
|
});
|
|
23556
|
-
function
|
|
23816
|
+
function toKnownErr8(e) {
|
|
23557
23817
|
if (e instanceof XRPCError) {
|
|
23558
23818
|
}
|
|
23559
23819
|
return e;
|
|
@@ -23562,9 +23822,9 @@ function toKnownErr6(e) {
|
|
|
23562
23822
|
// src/client/types/com/atproto/admin/getAccountInfos.ts
|
|
23563
23823
|
var getAccountInfos_exports = {};
|
|
23564
23824
|
__export(getAccountInfos_exports, {
|
|
23565
|
-
toKnownErr: () =>
|
|
23825
|
+
toKnownErr: () => toKnownErr9
|
|
23566
23826
|
});
|
|
23567
|
-
function
|
|
23827
|
+
function toKnownErr9(e) {
|
|
23568
23828
|
if (e instanceof XRPCError) {
|
|
23569
23829
|
}
|
|
23570
23830
|
return e;
|
|
@@ -23573,9 +23833,9 @@ function toKnownErr7(e) {
|
|
|
23573
23833
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
23574
23834
|
var getInviteCodes_exports = {};
|
|
23575
23835
|
__export(getInviteCodes_exports, {
|
|
23576
|
-
toKnownErr: () =>
|
|
23836
|
+
toKnownErr: () => toKnownErr10
|
|
23577
23837
|
});
|
|
23578
|
-
function
|
|
23838
|
+
function toKnownErr10(e) {
|
|
23579
23839
|
if (e instanceof XRPCError) {
|
|
23580
23840
|
}
|
|
23581
23841
|
return e;
|
|
@@ -23584,9 +23844,9 @@ function toKnownErr8(e) {
|
|
|
23584
23844
|
// src/client/types/com/atproto/admin/getModerationEvent.ts
|
|
23585
23845
|
var getModerationEvent_exports = {};
|
|
23586
23846
|
__export(getModerationEvent_exports, {
|
|
23587
|
-
toKnownErr: () =>
|
|
23847
|
+
toKnownErr: () => toKnownErr11
|
|
23588
23848
|
});
|
|
23589
|
-
function
|
|
23849
|
+
function toKnownErr11(e) {
|
|
23590
23850
|
if (e instanceof XRPCError) {
|
|
23591
23851
|
}
|
|
23592
23852
|
return e;
|
|
@@ -23596,14 +23856,14 @@ function toKnownErr9(e) {
|
|
|
23596
23856
|
var getRecord_exports = {};
|
|
23597
23857
|
__export(getRecord_exports, {
|
|
23598
23858
|
RecordNotFoundError: () => RecordNotFoundError,
|
|
23599
|
-
toKnownErr: () =>
|
|
23859
|
+
toKnownErr: () => toKnownErr12
|
|
23600
23860
|
});
|
|
23601
23861
|
var RecordNotFoundError = class extends XRPCError {
|
|
23602
23862
|
constructor(src2) {
|
|
23603
23863
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23604
23864
|
}
|
|
23605
23865
|
};
|
|
23606
|
-
function
|
|
23866
|
+
function toKnownErr12(e) {
|
|
23607
23867
|
if (e instanceof XRPCError) {
|
|
23608
23868
|
if (e.error === "RecordNotFound")
|
|
23609
23869
|
return new RecordNotFoundError(e);
|
|
@@ -23615,14 +23875,14 @@ function toKnownErr10(e) {
|
|
|
23615
23875
|
var getRepo_exports = {};
|
|
23616
23876
|
__export(getRepo_exports, {
|
|
23617
23877
|
RepoNotFoundError: () => RepoNotFoundError,
|
|
23618
|
-
toKnownErr: () =>
|
|
23878
|
+
toKnownErr: () => toKnownErr13
|
|
23619
23879
|
});
|
|
23620
23880
|
var RepoNotFoundError = class extends XRPCError {
|
|
23621
23881
|
constructor(src2) {
|
|
23622
23882
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23623
23883
|
}
|
|
23624
23884
|
};
|
|
23625
|
-
function
|
|
23885
|
+
function toKnownErr13(e) {
|
|
23626
23886
|
if (e instanceof XRPCError) {
|
|
23627
23887
|
if (e.error === "RepoNotFound")
|
|
23628
23888
|
return new RepoNotFoundError(e);
|
|
@@ -23633,9 +23893,20 @@ function toKnownErr11(e) {
|
|
|
23633
23893
|
// src/client/types/com/atproto/admin/getSubjectStatus.ts
|
|
23634
23894
|
var getSubjectStatus_exports = {};
|
|
23635
23895
|
__export(getSubjectStatus_exports, {
|
|
23636
|
-
toKnownErr: () =>
|
|
23896
|
+
toKnownErr: () => toKnownErr14
|
|
23637
23897
|
});
|
|
23638
|
-
function
|
|
23898
|
+
function toKnownErr14(e) {
|
|
23899
|
+
if (e instanceof XRPCError) {
|
|
23900
|
+
}
|
|
23901
|
+
return e;
|
|
23902
|
+
}
|
|
23903
|
+
|
|
23904
|
+
// src/client/types/com/atproto/admin/listCommunicationTemplates.ts
|
|
23905
|
+
var listCommunicationTemplates_exports = {};
|
|
23906
|
+
__export(listCommunicationTemplates_exports, {
|
|
23907
|
+
toKnownErr: () => toKnownErr15
|
|
23908
|
+
});
|
|
23909
|
+
function toKnownErr15(e) {
|
|
23639
23910
|
if (e instanceof XRPCError) {
|
|
23640
23911
|
}
|
|
23641
23912
|
return e;
|
|
@@ -23644,9 +23915,9 @@ function toKnownErr12(e) {
|
|
|
23644
23915
|
// src/client/types/com/atproto/admin/queryModerationEvents.ts
|
|
23645
23916
|
var queryModerationEvents_exports = {};
|
|
23646
23917
|
__export(queryModerationEvents_exports, {
|
|
23647
|
-
toKnownErr: () =>
|
|
23918
|
+
toKnownErr: () => toKnownErr16
|
|
23648
23919
|
});
|
|
23649
|
-
function
|
|
23920
|
+
function toKnownErr16(e) {
|
|
23650
23921
|
if (e instanceof XRPCError) {
|
|
23651
23922
|
}
|
|
23652
23923
|
return e;
|
|
@@ -23655,9 +23926,9 @@ function toKnownErr13(e) {
|
|
|
23655
23926
|
// src/client/types/com/atproto/admin/queryModerationStatuses.ts
|
|
23656
23927
|
var queryModerationStatuses_exports = {};
|
|
23657
23928
|
__export(queryModerationStatuses_exports, {
|
|
23658
|
-
toKnownErr: () =>
|
|
23929
|
+
toKnownErr: () => toKnownErr17
|
|
23659
23930
|
});
|
|
23660
|
-
function
|
|
23931
|
+
function toKnownErr17(e) {
|
|
23661
23932
|
if (e instanceof XRPCError) {
|
|
23662
23933
|
}
|
|
23663
23934
|
return e;
|
|
@@ -23666,9 +23937,9 @@ function toKnownErr14(e) {
|
|
|
23666
23937
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23667
23938
|
var searchRepos_exports = {};
|
|
23668
23939
|
__export(searchRepos_exports, {
|
|
23669
|
-
toKnownErr: () =>
|
|
23940
|
+
toKnownErr: () => toKnownErr18
|
|
23670
23941
|
});
|
|
23671
|
-
function
|
|
23942
|
+
function toKnownErr18(e) {
|
|
23672
23943
|
if (e instanceof XRPCError) {
|
|
23673
23944
|
}
|
|
23674
23945
|
return e;
|
|
@@ -23677,9 +23948,9 @@ function toKnownErr15(e) {
|
|
|
23677
23948
|
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
23678
23949
|
var sendEmail_exports = {};
|
|
23679
23950
|
__export(sendEmail_exports, {
|
|
23680
|
-
toKnownErr: () =>
|
|
23951
|
+
toKnownErr: () => toKnownErr19
|
|
23681
23952
|
});
|
|
23682
|
-
function
|
|
23953
|
+
function toKnownErr19(e) {
|
|
23683
23954
|
if (e instanceof XRPCError) {
|
|
23684
23955
|
}
|
|
23685
23956
|
return e;
|
|
@@ -23688,9 +23959,9 @@ function toKnownErr16(e) {
|
|
|
23688
23959
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23689
23960
|
var updateAccountEmail_exports = {};
|
|
23690
23961
|
__export(updateAccountEmail_exports, {
|
|
23691
|
-
toKnownErr: () =>
|
|
23962
|
+
toKnownErr: () => toKnownErr20
|
|
23692
23963
|
});
|
|
23693
|
-
function
|
|
23964
|
+
function toKnownErr20(e) {
|
|
23694
23965
|
if (e instanceof XRPCError) {
|
|
23695
23966
|
}
|
|
23696
23967
|
return e;
|
|
@@ -23699,9 +23970,20 @@ function toKnownErr17(e) {
|
|
|
23699
23970
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23700
23971
|
var updateAccountHandle_exports = {};
|
|
23701
23972
|
__export(updateAccountHandle_exports, {
|
|
23702
|
-
toKnownErr: () =>
|
|
23973
|
+
toKnownErr: () => toKnownErr21
|
|
23703
23974
|
});
|
|
23704
|
-
function
|
|
23975
|
+
function toKnownErr21(e) {
|
|
23976
|
+
if (e instanceof XRPCError) {
|
|
23977
|
+
}
|
|
23978
|
+
return e;
|
|
23979
|
+
}
|
|
23980
|
+
|
|
23981
|
+
// src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
|
|
23982
|
+
var updateCommunicationTemplate_exports = {};
|
|
23983
|
+
__export(updateCommunicationTemplate_exports, {
|
|
23984
|
+
toKnownErr: () => toKnownErr22
|
|
23985
|
+
});
|
|
23986
|
+
function toKnownErr22(e) {
|
|
23705
23987
|
if (e instanceof XRPCError) {
|
|
23706
23988
|
}
|
|
23707
23989
|
return e;
|
|
@@ -23710,9 +23992,9 @@ function toKnownErr18(e) {
|
|
|
23710
23992
|
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
23711
23993
|
var updateSubjectStatus_exports = {};
|
|
23712
23994
|
__export(updateSubjectStatus_exports, {
|
|
23713
|
-
toKnownErr: () =>
|
|
23995
|
+
toKnownErr: () => toKnownErr23
|
|
23714
23996
|
});
|
|
23715
|
-
function
|
|
23997
|
+
function toKnownErr23(e) {
|
|
23716
23998
|
if (e instanceof XRPCError) {
|
|
23717
23999
|
}
|
|
23718
24000
|
return e;
|
|
@@ -23721,9 +24003,9 @@ function toKnownErr19(e) {
|
|
|
23721
24003
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23722
24004
|
var resolveHandle_exports = {};
|
|
23723
24005
|
__export(resolveHandle_exports, {
|
|
23724
|
-
toKnownErr: () =>
|
|
24006
|
+
toKnownErr: () => toKnownErr24
|
|
23725
24007
|
});
|
|
23726
|
-
function
|
|
24008
|
+
function toKnownErr24(e) {
|
|
23727
24009
|
if (e instanceof XRPCError) {
|
|
23728
24010
|
}
|
|
23729
24011
|
return e;
|
|
@@ -23732,9 +24014,9 @@ function toKnownErr20(e) {
|
|
|
23732
24014
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23733
24015
|
var updateHandle_exports = {};
|
|
23734
24016
|
__export(updateHandle_exports, {
|
|
23735
|
-
toKnownErr: () =>
|
|
24017
|
+
toKnownErr: () => toKnownErr25
|
|
23736
24018
|
});
|
|
23737
|
-
function
|
|
24019
|
+
function toKnownErr25(e) {
|
|
23738
24020
|
if (e instanceof XRPCError) {
|
|
23739
24021
|
}
|
|
23740
24022
|
return e;
|
|
@@ -23743,9 +24025,9 @@ function toKnownErr21(e) {
|
|
|
23743
24025
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23744
24026
|
var queryLabels_exports = {};
|
|
23745
24027
|
__export(queryLabels_exports, {
|
|
23746
|
-
toKnownErr: () =>
|
|
24028
|
+
toKnownErr: () => toKnownErr26
|
|
23747
24029
|
});
|
|
23748
|
-
function
|
|
24030
|
+
function toKnownErr26(e) {
|
|
23749
24031
|
if (e instanceof XRPCError) {
|
|
23750
24032
|
}
|
|
23751
24033
|
return e;
|
|
@@ -23754,9 +24036,9 @@ function toKnownErr22(e) {
|
|
|
23754
24036
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23755
24037
|
var createReport_exports = {};
|
|
23756
24038
|
__export(createReport_exports, {
|
|
23757
|
-
toKnownErr: () =>
|
|
24039
|
+
toKnownErr: () => toKnownErr27
|
|
23758
24040
|
});
|
|
23759
|
-
function
|
|
24041
|
+
function toKnownErr27(e) {
|
|
23760
24042
|
if (e instanceof XRPCError) {
|
|
23761
24043
|
}
|
|
23762
24044
|
return e;
|
|
@@ -23769,7 +24051,7 @@ __export(applyWrites_exports, {
|
|
|
23769
24051
|
isCreate: () => isCreate,
|
|
23770
24052
|
isDelete: () => isDelete,
|
|
23771
24053
|
isUpdate: () => isUpdate,
|
|
23772
|
-
toKnownErr: () =>
|
|
24054
|
+
toKnownErr: () => toKnownErr28,
|
|
23773
24055
|
validateCreate: () => validateCreate,
|
|
23774
24056
|
validateDelete: () => validateDelete,
|
|
23775
24057
|
validateUpdate: () => validateUpdate
|
|
@@ -23789,7 +24071,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
23789
24071
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23790
24072
|
}
|
|
23791
24073
|
};
|
|
23792
|
-
function
|
|
24074
|
+
function toKnownErr28(e) {
|
|
23793
24075
|
if (e instanceof XRPCError) {
|
|
23794
24076
|
if (e.error === "InvalidSwap")
|
|
23795
24077
|
return new InvalidSwapError(e);
|
|
@@ -23819,14 +24101,14 @@ function validateDelete(v) {
|
|
|
23819
24101
|
var createRecord_exports = {};
|
|
23820
24102
|
__export(createRecord_exports, {
|
|
23821
24103
|
InvalidSwapError: () => InvalidSwapError2,
|
|
23822
|
-
toKnownErr: () =>
|
|
24104
|
+
toKnownErr: () => toKnownErr29
|
|
23823
24105
|
});
|
|
23824
24106
|
var InvalidSwapError2 = class extends XRPCError {
|
|
23825
24107
|
constructor(src2) {
|
|
23826
24108
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23827
24109
|
}
|
|
23828
24110
|
};
|
|
23829
|
-
function
|
|
24111
|
+
function toKnownErr29(e) {
|
|
23830
24112
|
if (e instanceof XRPCError) {
|
|
23831
24113
|
if (e.error === "InvalidSwap")
|
|
23832
24114
|
return new InvalidSwapError2(e);
|
|
@@ -23838,14 +24120,14 @@ function toKnownErr25(e) {
|
|
|
23838
24120
|
var deleteRecord_exports = {};
|
|
23839
24121
|
__export(deleteRecord_exports, {
|
|
23840
24122
|
InvalidSwapError: () => InvalidSwapError3,
|
|
23841
|
-
toKnownErr: () =>
|
|
24123
|
+
toKnownErr: () => toKnownErr30
|
|
23842
24124
|
});
|
|
23843
24125
|
var InvalidSwapError3 = class extends XRPCError {
|
|
23844
24126
|
constructor(src2) {
|
|
23845
24127
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23846
24128
|
}
|
|
23847
24129
|
};
|
|
23848
|
-
function
|
|
24130
|
+
function toKnownErr30(e) {
|
|
23849
24131
|
if (e instanceof XRPCError) {
|
|
23850
24132
|
if (e.error === "InvalidSwap")
|
|
23851
24133
|
return new InvalidSwapError3(e);
|
|
@@ -23856,9 +24138,9 @@ function toKnownErr26(e) {
|
|
|
23856
24138
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23857
24139
|
var describeRepo_exports = {};
|
|
23858
24140
|
__export(describeRepo_exports, {
|
|
23859
|
-
toKnownErr: () =>
|
|
24141
|
+
toKnownErr: () => toKnownErr31
|
|
23860
24142
|
});
|
|
23861
|
-
function
|
|
24143
|
+
function toKnownErr31(e) {
|
|
23862
24144
|
if (e instanceof XRPCError) {
|
|
23863
24145
|
}
|
|
23864
24146
|
return e;
|
|
@@ -23867,9 +24149,9 @@ function toKnownErr27(e) {
|
|
|
23867
24149
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23868
24150
|
var getRecord_exports2 = {};
|
|
23869
24151
|
__export(getRecord_exports2, {
|
|
23870
|
-
toKnownErr: () =>
|
|
24152
|
+
toKnownErr: () => toKnownErr32
|
|
23871
24153
|
});
|
|
23872
|
-
function
|
|
24154
|
+
function toKnownErr32(e) {
|
|
23873
24155
|
if (e instanceof XRPCError) {
|
|
23874
24156
|
}
|
|
23875
24157
|
return e;
|
|
@@ -23879,10 +24161,10 @@ function toKnownErr28(e) {
|
|
|
23879
24161
|
var listRecords_exports = {};
|
|
23880
24162
|
__export(listRecords_exports, {
|
|
23881
24163
|
isRecord: () => isRecord,
|
|
23882
|
-
toKnownErr: () =>
|
|
24164
|
+
toKnownErr: () => toKnownErr33,
|
|
23883
24165
|
validateRecord: () => validateRecord
|
|
23884
24166
|
});
|
|
23885
|
-
function
|
|
24167
|
+
function toKnownErr33(e) {
|
|
23886
24168
|
if (e instanceof XRPCError) {
|
|
23887
24169
|
}
|
|
23888
24170
|
return e;
|
|
@@ -23898,14 +24180,14 @@ function validateRecord(v) {
|
|
|
23898
24180
|
var putRecord_exports = {};
|
|
23899
24181
|
__export(putRecord_exports, {
|
|
23900
24182
|
InvalidSwapError: () => InvalidSwapError4,
|
|
23901
|
-
toKnownErr: () =>
|
|
24183
|
+
toKnownErr: () => toKnownErr34
|
|
23902
24184
|
});
|
|
23903
24185
|
var InvalidSwapError4 = class extends XRPCError {
|
|
23904
24186
|
constructor(src2) {
|
|
23905
24187
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23906
24188
|
}
|
|
23907
24189
|
};
|
|
23908
|
-
function
|
|
24190
|
+
function toKnownErr34(e) {
|
|
23909
24191
|
if (e instanceof XRPCError) {
|
|
23910
24192
|
if (e.error === "InvalidSwap")
|
|
23911
24193
|
return new InvalidSwapError4(e);
|
|
@@ -23916,9 +24198,9 @@ function toKnownErr30(e) {
|
|
|
23916
24198
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23917
24199
|
var uploadBlob_exports = {};
|
|
23918
24200
|
__export(uploadBlob_exports, {
|
|
23919
|
-
toKnownErr: () =>
|
|
24201
|
+
toKnownErr: () => toKnownErr35
|
|
23920
24202
|
});
|
|
23921
|
-
function
|
|
24203
|
+
function toKnownErr35(e) {
|
|
23922
24204
|
if (e instanceof XRPCError) {
|
|
23923
24205
|
}
|
|
23924
24206
|
return e;
|
|
@@ -23931,7 +24213,7 @@ __export(confirmEmail_exports, {
|
|
|
23931
24213
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23932
24214
|
InvalidEmailError: () => InvalidEmailError,
|
|
23933
24215
|
InvalidTokenError: () => InvalidTokenError,
|
|
23934
|
-
toKnownErr: () =>
|
|
24216
|
+
toKnownErr: () => toKnownErr36
|
|
23935
24217
|
});
|
|
23936
24218
|
var AccountNotFoundError = class extends XRPCError {
|
|
23937
24219
|
constructor(src2) {
|
|
@@ -23953,7 +24235,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
23953
24235
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23954
24236
|
}
|
|
23955
24237
|
};
|
|
23956
|
-
function
|
|
24238
|
+
function toKnownErr36(e) {
|
|
23957
24239
|
if (e instanceof XRPCError) {
|
|
23958
24240
|
if (e.error === "AccountNotFound")
|
|
23959
24241
|
return new AccountNotFoundError(e);
|
|
@@ -23977,7 +24259,7 @@ __export(createAccount_exports, {
|
|
|
23977
24259
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23978
24260
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23979
24261
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23980
|
-
toKnownErr: () =>
|
|
24262
|
+
toKnownErr: () => toKnownErr37
|
|
23981
24263
|
});
|
|
23982
24264
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23983
24265
|
constructor(src2) {
|
|
@@ -24014,7 +24296,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
24014
24296
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24015
24297
|
}
|
|
24016
24298
|
};
|
|
24017
|
-
function
|
|
24299
|
+
function toKnownErr37(e) {
|
|
24018
24300
|
if (e instanceof XRPCError) {
|
|
24019
24301
|
if (e.error === "InvalidHandle")
|
|
24020
24302
|
return new InvalidHandleError2(e);
|
|
@@ -24039,7 +24321,7 @@ var createAppPassword_exports = {};
|
|
|
24039
24321
|
__export(createAppPassword_exports, {
|
|
24040
24322
|
AccountTakedownError: () => AccountTakedownError,
|
|
24041
24323
|
isAppPassword: () => isAppPassword,
|
|
24042
|
-
toKnownErr: () =>
|
|
24324
|
+
toKnownErr: () => toKnownErr38,
|
|
24043
24325
|
validateAppPassword: () => validateAppPassword
|
|
24044
24326
|
});
|
|
24045
24327
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -24047,7 +24329,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
24047
24329
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24048
24330
|
}
|
|
24049
24331
|
};
|
|
24050
|
-
function
|
|
24332
|
+
function toKnownErr38(e) {
|
|
24051
24333
|
if (e instanceof XRPCError) {
|
|
24052
24334
|
if (e.error === "AccountTakedown")
|
|
24053
24335
|
return new AccountTakedownError(e);
|
|
@@ -24064,9 +24346,9 @@ function validateAppPassword(v) {
|
|
|
24064
24346
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
24065
24347
|
var createInviteCode_exports = {};
|
|
24066
24348
|
__export(createInviteCode_exports, {
|
|
24067
|
-
toKnownErr: () =>
|
|
24349
|
+
toKnownErr: () => toKnownErr39
|
|
24068
24350
|
});
|
|
24069
|
-
function
|
|
24351
|
+
function toKnownErr39(e) {
|
|
24070
24352
|
if (e instanceof XRPCError) {
|
|
24071
24353
|
}
|
|
24072
24354
|
return e;
|
|
@@ -24076,10 +24358,10 @@ function toKnownErr35(e) {
|
|
|
24076
24358
|
var createInviteCodes_exports = {};
|
|
24077
24359
|
__export(createInviteCodes_exports, {
|
|
24078
24360
|
isAccountCodes: () => isAccountCodes,
|
|
24079
|
-
toKnownErr: () =>
|
|
24361
|
+
toKnownErr: () => toKnownErr40,
|
|
24080
24362
|
validateAccountCodes: () => validateAccountCodes
|
|
24081
24363
|
});
|
|
24082
|
-
function
|
|
24364
|
+
function toKnownErr40(e) {
|
|
24083
24365
|
if (e instanceof XRPCError) {
|
|
24084
24366
|
}
|
|
24085
24367
|
return e;
|
|
@@ -24095,14 +24377,14 @@ function validateAccountCodes(v) {
|
|
|
24095
24377
|
var createSession_exports = {};
|
|
24096
24378
|
__export(createSession_exports, {
|
|
24097
24379
|
AccountTakedownError: () => AccountTakedownError2,
|
|
24098
|
-
toKnownErr: () =>
|
|
24380
|
+
toKnownErr: () => toKnownErr41
|
|
24099
24381
|
});
|
|
24100
24382
|
var AccountTakedownError2 = class extends XRPCError {
|
|
24101
24383
|
constructor(src2) {
|
|
24102
24384
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24103
24385
|
}
|
|
24104
24386
|
};
|
|
24105
|
-
function
|
|
24387
|
+
function toKnownErr41(e) {
|
|
24106
24388
|
if (e instanceof XRPCError) {
|
|
24107
24389
|
if (e.error === "AccountTakedown")
|
|
24108
24390
|
return new AccountTakedownError2(e);
|
|
@@ -24115,7 +24397,7 @@ var deleteAccount_exports2 = {};
|
|
|
24115
24397
|
__export(deleteAccount_exports2, {
|
|
24116
24398
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
24117
24399
|
InvalidTokenError: () => InvalidTokenError2,
|
|
24118
|
-
toKnownErr: () =>
|
|
24400
|
+
toKnownErr: () => toKnownErr42
|
|
24119
24401
|
});
|
|
24120
24402
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
24121
24403
|
constructor(src2) {
|
|
@@ -24127,7 +24409,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
24127
24409
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24128
24410
|
}
|
|
24129
24411
|
};
|
|
24130
|
-
function
|
|
24412
|
+
function toKnownErr42(e) {
|
|
24131
24413
|
if (e instanceof XRPCError) {
|
|
24132
24414
|
if (e.error === "ExpiredToken")
|
|
24133
24415
|
return new ExpiredTokenError2(e);
|
|
@@ -24140,9 +24422,9 @@ function toKnownErr38(e) {
|
|
|
24140
24422
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
24141
24423
|
var deleteSession_exports = {};
|
|
24142
24424
|
__export(deleteSession_exports, {
|
|
24143
|
-
toKnownErr: () =>
|
|
24425
|
+
toKnownErr: () => toKnownErr43
|
|
24144
24426
|
});
|
|
24145
|
-
function
|
|
24427
|
+
function toKnownErr43(e) {
|
|
24146
24428
|
if (e instanceof XRPCError) {
|
|
24147
24429
|
}
|
|
24148
24430
|
return e;
|
|
@@ -24152,10 +24434,10 @@ function toKnownErr39(e) {
|
|
|
24152
24434
|
var describeServer_exports = {};
|
|
24153
24435
|
__export(describeServer_exports, {
|
|
24154
24436
|
isLinks: () => isLinks,
|
|
24155
|
-
toKnownErr: () =>
|
|
24437
|
+
toKnownErr: () => toKnownErr44,
|
|
24156
24438
|
validateLinks: () => validateLinks
|
|
24157
24439
|
});
|
|
24158
|
-
function
|
|
24440
|
+
function toKnownErr44(e) {
|
|
24159
24441
|
if (e instanceof XRPCError) {
|
|
24160
24442
|
}
|
|
24161
24443
|
return e;
|
|
@@ -24171,14 +24453,14 @@ function validateLinks(v) {
|
|
|
24171
24453
|
var getAccountInviteCodes_exports = {};
|
|
24172
24454
|
__export(getAccountInviteCodes_exports, {
|
|
24173
24455
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
24174
|
-
toKnownErr: () =>
|
|
24456
|
+
toKnownErr: () => toKnownErr45
|
|
24175
24457
|
});
|
|
24176
24458
|
var DuplicateCreateError = class extends XRPCError {
|
|
24177
24459
|
constructor(src2) {
|
|
24178
24460
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24179
24461
|
}
|
|
24180
24462
|
};
|
|
24181
|
-
function
|
|
24463
|
+
function toKnownErr45(e) {
|
|
24182
24464
|
if (e instanceof XRPCError) {
|
|
24183
24465
|
if (e.error === "DuplicateCreate")
|
|
24184
24466
|
return new DuplicateCreateError(e);
|
|
@@ -24189,9 +24471,9 @@ function toKnownErr41(e) {
|
|
|
24189
24471
|
// src/client/types/com/atproto/server/getSession.ts
|
|
24190
24472
|
var getSession_exports = {};
|
|
24191
24473
|
__export(getSession_exports, {
|
|
24192
|
-
toKnownErr: () =>
|
|
24474
|
+
toKnownErr: () => toKnownErr46
|
|
24193
24475
|
});
|
|
24194
|
-
function
|
|
24476
|
+
function toKnownErr46(e) {
|
|
24195
24477
|
if (e instanceof XRPCError) {
|
|
24196
24478
|
}
|
|
24197
24479
|
return e;
|
|
@@ -24202,7 +24484,7 @@ var listAppPasswords_exports = {};
|
|
|
24202
24484
|
__export(listAppPasswords_exports, {
|
|
24203
24485
|
AccountTakedownError: () => AccountTakedownError3,
|
|
24204
24486
|
isAppPassword: () => isAppPassword2,
|
|
24205
|
-
toKnownErr: () =>
|
|
24487
|
+
toKnownErr: () => toKnownErr47,
|
|
24206
24488
|
validateAppPassword: () => validateAppPassword2
|
|
24207
24489
|
});
|
|
24208
24490
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -24210,7 +24492,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
24210
24492
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24211
24493
|
}
|
|
24212
24494
|
};
|
|
24213
|
-
function
|
|
24495
|
+
function toKnownErr47(e) {
|
|
24214
24496
|
if (e instanceof XRPCError) {
|
|
24215
24497
|
if (e.error === "AccountTakedown")
|
|
24216
24498
|
return new AccountTakedownError3(e);
|
|
@@ -24228,14 +24510,14 @@ function validateAppPassword2(v) {
|
|
|
24228
24510
|
var refreshSession_exports = {};
|
|
24229
24511
|
__export(refreshSession_exports, {
|
|
24230
24512
|
AccountTakedownError: () => AccountTakedownError4,
|
|
24231
|
-
toKnownErr: () =>
|
|
24513
|
+
toKnownErr: () => toKnownErr48
|
|
24232
24514
|
});
|
|
24233
24515
|
var AccountTakedownError4 = class extends XRPCError {
|
|
24234
24516
|
constructor(src2) {
|
|
24235
24517
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24236
24518
|
}
|
|
24237
24519
|
};
|
|
24238
|
-
function
|
|
24520
|
+
function toKnownErr48(e) {
|
|
24239
24521
|
if (e instanceof XRPCError) {
|
|
24240
24522
|
if (e.error === "AccountTakedown")
|
|
24241
24523
|
return new AccountTakedownError4(e);
|
|
@@ -24246,9 +24528,9 @@ function toKnownErr44(e) {
|
|
|
24246
24528
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
24247
24529
|
var requestAccountDelete_exports = {};
|
|
24248
24530
|
__export(requestAccountDelete_exports, {
|
|
24249
|
-
toKnownErr: () =>
|
|
24531
|
+
toKnownErr: () => toKnownErr49
|
|
24250
24532
|
});
|
|
24251
|
-
function
|
|
24533
|
+
function toKnownErr49(e) {
|
|
24252
24534
|
if (e instanceof XRPCError) {
|
|
24253
24535
|
}
|
|
24254
24536
|
return e;
|
|
@@ -24257,9 +24539,9 @@ function toKnownErr45(e) {
|
|
|
24257
24539
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
24258
24540
|
var requestEmailConfirmation_exports = {};
|
|
24259
24541
|
__export(requestEmailConfirmation_exports, {
|
|
24260
|
-
toKnownErr: () =>
|
|
24542
|
+
toKnownErr: () => toKnownErr50
|
|
24261
24543
|
});
|
|
24262
|
-
function
|
|
24544
|
+
function toKnownErr50(e) {
|
|
24263
24545
|
if (e instanceof XRPCError) {
|
|
24264
24546
|
}
|
|
24265
24547
|
return e;
|
|
@@ -24268,9 +24550,9 @@ function toKnownErr46(e) {
|
|
|
24268
24550
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
24269
24551
|
var requestEmailUpdate_exports = {};
|
|
24270
24552
|
__export(requestEmailUpdate_exports, {
|
|
24271
|
-
toKnownErr: () =>
|
|
24553
|
+
toKnownErr: () => toKnownErr51
|
|
24272
24554
|
});
|
|
24273
|
-
function
|
|
24555
|
+
function toKnownErr51(e) {
|
|
24274
24556
|
if (e instanceof XRPCError) {
|
|
24275
24557
|
}
|
|
24276
24558
|
return e;
|
|
@@ -24279,9 +24561,9 @@ function toKnownErr47(e) {
|
|
|
24279
24561
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
24280
24562
|
var requestPasswordReset_exports = {};
|
|
24281
24563
|
__export(requestPasswordReset_exports, {
|
|
24282
|
-
toKnownErr: () =>
|
|
24564
|
+
toKnownErr: () => toKnownErr52
|
|
24283
24565
|
});
|
|
24284
|
-
function
|
|
24566
|
+
function toKnownErr52(e) {
|
|
24285
24567
|
if (e instanceof XRPCError) {
|
|
24286
24568
|
}
|
|
24287
24569
|
return e;
|
|
@@ -24290,9 +24572,9 @@ function toKnownErr48(e) {
|
|
|
24290
24572
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
24291
24573
|
var reserveSigningKey_exports = {};
|
|
24292
24574
|
__export(reserveSigningKey_exports, {
|
|
24293
|
-
toKnownErr: () =>
|
|
24575
|
+
toKnownErr: () => toKnownErr53
|
|
24294
24576
|
});
|
|
24295
|
-
function
|
|
24577
|
+
function toKnownErr53(e) {
|
|
24296
24578
|
if (e instanceof XRPCError) {
|
|
24297
24579
|
}
|
|
24298
24580
|
return e;
|
|
@@ -24303,7 +24585,7 @@ var resetPassword_exports = {};
|
|
|
24303
24585
|
__export(resetPassword_exports, {
|
|
24304
24586
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
24305
24587
|
InvalidTokenError: () => InvalidTokenError3,
|
|
24306
|
-
toKnownErr: () =>
|
|
24588
|
+
toKnownErr: () => toKnownErr54
|
|
24307
24589
|
});
|
|
24308
24590
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
24309
24591
|
constructor(src2) {
|
|
@@ -24315,7 +24597,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
24315
24597
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24316
24598
|
}
|
|
24317
24599
|
};
|
|
24318
|
-
function
|
|
24600
|
+
function toKnownErr54(e) {
|
|
24319
24601
|
if (e instanceof XRPCError) {
|
|
24320
24602
|
if (e.error === "ExpiredToken")
|
|
24321
24603
|
return new ExpiredTokenError3(e);
|
|
@@ -24328,9 +24610,9 @@ function toKnownErr50(e) {
|
|
|
24328
24610
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
24329
24611
|
var revokeAppPassword_exports = {};
|
|
24330
24612
|
__export(revokeAppPassword_exports, {
|
|
24331
|
-
toKnownErr: () =>
|
|
24613
|
+
toKnownErr: () => toKnownErr55
|
|
24332
24614
|
});
|
|
24333
|
-
function
|
|
24615
|
+
function toKnownErr55(e) {
|
|
24334
24616
|
if (e instanceof XRPCError) {
|
|
24335
24617
|
}
|
|
24336
24618
|
return e;
|
|
@@ -24342,7 +24624,7 @@ __export(updateEmail_exports, {
|
|
|
24342
24624
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
24343
24625
|
InvalidTokenError: () => InvalidTokenError4,
|
|
24344
24626
|
TokenRequiredError: () => TokenRequiredError,
|
|
24345
|
-
toKnownErr: () =>
|
|
24627
|
+
toKnownErr: () => toKnownErr56
|
|
24346
24628
|
});
|
|
24347
24629
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
24348
24630
|
constructor(src2) {
|
|
@@ -24359,7 +24641,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
24359
24641
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24360
24642
|
}
|
|
24361
24643
|
};
|
|
24362
|
-
function
|
|
24644
|
+
function toKnownErr56(e) {
|
|
24363
24645
|
if (e instanceof XRPCError) {
|
|
24364
24646
|
if (e.error === "ExpiredToken")
|
|
24365
24647
|
return new ExpiredTokenError4(e);
|
|
@@ -24374,9 +24656,9 @@ function toKnownErr52(e) {
|
|
|
24374
24656
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
24375
24657
|
var getBlob_exports = {};
|
|
24376
24658
|
__export(getBlob_exports, {
|
|
24377
|
-
toKnownErr: () =>
|
|
24659
|
+
toKnownErr: () => toKnownErr57
|
|
24378
24660
|
});
|
|
24379
|
-
function
|
|
24661
|
+
function toKnownErr57(e) {
|
|
24380
24662
|
if (e instanceof XRPCError) {
|
|
24381
24663
|
}
|
|
24382
24664
|
return e;
|
|
@@ -24385,9 +24667,9 @@ function toKnownErr53(e) {
|
|
|
24385
24667
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
24386
24668
|
var getBlocks_exports = {};
|
|
24387
24669
|
__export(getBlocks_exports, {
|
|
24388
|
-
toKnownErr: () =>
|
|
24670
|
+
toKnownErr: () => toKnownErr58
|
|
24389
24671
|
});
|
|
24390
|
-
function
|
|
24672
|
+
function toKnownErr58(e) {
|
|
24391
24673
|
if (e instanceof XRPCError) {
|
|
24392
24674
|
}
|
|
24393
24675
|
return e;
|
|
@@ -24396,9 +24678,9 @@ function toKnownErr54(e) {
|
|
|
24396
24678
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
24397
24679
|
var getCheckout_exports = {};
|
|
24398
24680
|
__export(getCheckout_exports, {
|
|
24399
|
-
toKnownErr: () =>
|
|
24681
|
+
toKnownErr: () => toKnownErr59
|
|
24400
24682
|
});
|
|
24401
|
-
function
|
|
24683
|
+
function toKnownErr59(e) {
|
|
24402
24684
|
if (e instanceof XRPCError) {
|
|
24403
24685
|
}
|
|
24404
24686
|
return e;
|
|
@@ -24408,14 +24690,14 @@ function toKnownErr55(e) {
|
|
|
24408
24690
|
var getHead_exports = {};
|
|
24409
24691
|
__export(getHead_exports, {
|
|
24410
24692
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
24411
|
-
toKnownErr: () =>
|
|
24693
|
+
toKnownErr: () => toKnownErr60
|
|
24412
24694
|
});
|
|
24413
24695
|
var HeadNotFoundError = class extends XRPCError {
|
|
24414
24696
|
constructor(src2) {
|
|
24415
24697
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24416
24698
|
}
|
|
24417
24699
|
};
|
|
24418
|
-
function
|
|
24700
|
+
function toKnownErr60(e) {
|
|
24419
24701
|
if (e instanceof XRPCError) {
|
|
24420
24702
|
if (e.error === "HeadNotFound")
|
|
24421
24703
|
return new HeadNotFoundError(e);
|
|
@@ -24427,14 +24709,14 @@ function toKnownErr56(e) {
|
|
|
24427
24709
|
var getLatestCommit_exports = {};
|
|
24428
24710
|
__export(getLatestCommit_exports, {
|
|
24429
24711
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
24430
|
-
toKnownErr: () =>
|
|
24712
|
+
toKnownErr: () => toKnownErr61
|
|
24431
24713
|
});
|
|
24432
24714
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
24433
24715
|
constructor(src2) {
|
|
24434
24716
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24435
24717
|
}
|
|
24436
24718
|
};
|
|
24437
|
-
function
|
|
24719
|
+
function toKnownErr61(e) {
|
|
24438
24720
|
if (e instanceof XRPCError) {
|
|
24439
24721
|
if (e.error === "RepoNotFound")
|
|
24440
24722
|
return new RepoNotFoundError2(e);
|
|
@@ -24445,9 +24727,9 @@ function toKnownErr57(e) {
|
|
|
24445
24727
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
24446
24728
|
var getRecord_exports3 = {};
|
|
24447
24729
|
__export(getRecord_exports3, {
|
|
24448
|
-
toKnownErr: () =>
|
|
24730
|
+
toKnownErr: () => toKnownErr62
|
|
24449
24731
|
});
|
|
24450
|
-
function
|
|
24732
|
+
function toKnownErr62(e) {
|
|
24451
24733
|
if (e instanceof XRPCError) {
|
|
24452
24734
|
}
|
|
24453
24735
|
return e;
|
|
@@ -24456,9 +24738,9 @@ function toKnownErr58(e) {
|
|
|
24456
24738
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
24457
24739
|
var getRepo_exports2 = {};
|
|
24458
24740
|
__export(getRepo_exports2, {
|
|
24459
|
-
toKnownErr: () =>
|
|
24741
|
+
toKnownErr: () => toKnownErr63
|
|
24460
24742
|
});
|
|
24461
|
-
function
|
|
24743
|
+
function toKnownErr63(e) {
|
|
24462
24744
|
if (e instanceof XRPCError) {
|
|
24463
24745
|
}
|
|
24464
24746
|
return e;
|
|
@@ -24467,9 +24749,9 @@ function toKnownErr59(e) {
|
|
|
24467
24749
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
24468
24750
|
var listBlobs_exports = {};
|
|
24469
24751
|
__export(listBlobs_exports, {
|
|
24470
|
-
toKnownErr: () =>
|
|
24752
|
+
toKnownErr: () => toKnownErr64
|
|
24471
24753
|
});
|
|
24472
|
-
function
|
|
24754
|
+
function toKnownErr64(e) {
|
|
24473
24755
|
if (e instanceof XRPCError) {
|
|
24474
24756
|
}
|
|
24475
24757
|
return e;
|
|
@@ -24479,10 +24761,10 @@ function toKnownErr60(e) {
|
|
|
24479
24761
|
var listRepos_exports = {};
|
|
24480
24762
|
__export(listRepos_exports, {
|
|
24481
24763
|
isRepo: () => isRepo,
|
|
24482
|
-
toKnownErr: () =>
|
|
24764
|
+
toKnownErr: () => toKnownErr65,
|
|
24483
24765
|
validateRepo: () => validateRepo
|
|
24484
24766
|
});
|
|
24485
|
-
function
|
|
24767
|
+
function toKnownErr65(e) {
|
|
24486
24768
|
if (e instanceof XRPCError) {
|
|
24487
24769
|
}
|
|
24488
24770
|
return e;
|
|
@@ -24497,9 +24779,9 @@ function validateRepo(v) {
|
|
|
24497
24779
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
24498
24780
|
var notifyOfUpdate_exports = {};
|
|
24499
24781
|
__export(notifyOfUpdate_exports, {
|
|
24500
|
-
toKnownErr: () =>
|
|
24782
|
+
toKnownErr: () => toKnownErr66
|
|
24501
24783
|
});
|
|
24502
|
-
function
|
|
24784
|
+
function toKnownErr66(e) {
|
|
24503
24785
|
if (e instanceof XRPCError) {
|
|
24504
24786
|
}
|
|
24505
24787
|
return e;
|
|
@@ -24508,9 +24790,9 @@ function toKnownErr62(e) {
|
|
|
24508
24790
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
24509
24791
|
var requestCrawl_exports = {};
|
|
24510
24792
|
__export(requestCrawl_exports, {
|
|
24511
|
-
toKnownErr: () =>
|
|
24793
|
+
toKnownErr: () => toKnownErr67
|
|
24512
24794
|
});
|
|
24513
|
-
function
|
|
24795
|
+
function toKnownErr67(e) {
|
|
24514
24796
|
if (e instanceof XRPCError) {
|
|
24515
24797
|
}
|
|
24516
24798
|
return e;
|
|
@@ -24519,9 +24801,9 @@ function toKnownErr63(e) {
|
|
|
24519
24801
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
24520
24802
|
var fetchLabels_exports = {};
|
|
24521
24803
|
__export(fetchLabels_exports, {
|
|
24522
|
-
toKnownErr: () =>
|
|
24804
|
+
toKnownErr: () => toKnownErr68
|
|
24523
24805
|
});
|
|
24524
|
-
function
|
|
24806
|
+
function toKnownErr68(e) {
|
|
24525
24807
|
if (e instanceof XRPCError) {
|
|
24526
24808
|
}
|
|
24527
24809
|
return e;
|
|
@@ -24530,9 +24812,9 @@ function toKnownErr64(e) {
|
|
|
24530
24812
|
// src/client/types/com/atproto/temp/importRepo.ts
|
|
24531
24813
|
var importRepo_exports = {};
|
|
24532
24814
|
__export(importRepo_exports, {
|
|
24533
|
-
toKnownErr: () =>
|
|
24815
|
+
toKnownErr: () => toKnownErr69
|
|
24534
24816
|
});
|
|
24535
|
-
function
|
|
24817
|
+
function toKnownErr69(e) {
|
|
24536
24818
|
if (e instanceof XRPCError) {
|
|
24537
24819
|
}
|
|
24538
24820
|
return e;
|
|
@@ -24541,9 +24823,9 @@ function toKnownErr65(e) {
|
|
|
24541
24823
|
// src/client/types/com/atproto/temp/pushBlob.ts
|
|
24542
24824
|
var pushBlob_exports = {};
|
|
24543
24825
|
__export(pushBlob_exports, {
|
|
24544
|
-
toKnownErr: () =>
|
|
24826
|
+
toKnownErr: () => toKnownErr70
|
|
24545
24827
|
});
|
|
24546
|
-
function
|
|
24828
|
+
function toKnownErr70(e) {
|
|
24547
24829
|
if (e instanceof XRPCError) {
|
|
24548
24830
|
}
|
|
24549
24831
|
return e;
|
|
@@ -24552,9 +24834,9 @@ function toKnownErr66(e) {
|
|
|
24552
24834
|
// src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
24553
24835
|
var requestPhoneVerification_exports = {};
|
|
24554
24836
|
__export(requestPhoneVerification_exports, {
|
|
24555
|
-
toKnownErr: () =>
|
|
24837
|
+
toKnownErr: () => toKnownErr71
|
|
24556
24838
|
});
|
|
24557
|
-
function
|
|
24839
|
+
function toKnownErr71(e) {
|
|
24558
24840
|
if (e instanceof XRPCError) {
|
|
24559
24841
|
}
|
|
24560
24842
|
return e;
|
|
@@ -24570,7 +24852,7 @@ __export(transferAccount_exports, {
|
|
|
24570
24852
|
InvalidPasswordError: () => InvalidPasswordError2,
|
|
24571
24853
|
UnresolvableDidError: () => UnresolvableDidError2,
|
|
24572
24854
|
UnsupportedDomainError: () => UnsupportedDomainError2,
|
|
24573
|
-
toKnownErr: () =>
|
|
24855
|
+
toKnownErr: () => toKnownErr72
|
|
24574
24856
|
});
|
|
24575
24857
|
var InvalidHandleError3 = class extends XRPCError {
|
|
24576
24858
|
constructor(src2) {
|
|
@@ -24607,7 +24889,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
24607
24889
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24608
24890
|
}
|
|
24609
24891
|
};
|
|
24610
|
-
function
|
|
24892
|
+
function toKnownErr72(e) {
|
|
24611
24893
|
if (e instanceof XRPCError) {
|
|
24612
24894
|
if (e.error === "InvalidHandle")
|
|
24613
24895
|
return new InvalidHandleError3(e);
|
|
@@ -24630,9 +24912,9 @@ function toKnownErr68(e) {
|
|
|
24630
24912
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
24631
24913
|
var getPreferences_exports = {};
|
|
24632
24914
|
__export(getPreferences_exports, {
|
|
24633
|
-
toKnownErr: () =>
|
|
24915
|
+
toKnownErr: () => toKnownErr73
|
|
24634
24916
|
});
|
|
24635
|
-
function
|
|
24917
|
+
function toKnownErr73(e) {
|
|
24636
24918
|
if (e instanceof XRPCError) {
|
|
24637
24919
|
}
|
|
24638
24920
|
return e;
|
|
@@ -24641,9 +24923,9 @@ function toKnownErr69(e) {
|
|
|
24641
24923
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
24642
24924
|
var getProfile_exports = {};
|
|
24643
24925
|
__export(getProfile_exports, {
|
|
24644
|
-
toKnownErr: () =>
|
|
24926
|
+
toKnownErr: () => toKnownErr74
|
|
24645
24927
|
});
|
|
24646
|
-
function
|
|
24928
|
+
function toKnownErr74(e) {
|
|
24647
24929
|
if (e instanceof XRPCError) {
|
|
24648
24930
|
}
|
|
24649
24931
|
return e;
|
|
@@ -24652,9 +24934,9 @@ function toKnownErr70(e) {
|
|
|
24652
24934
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
24653
24935
|
var getProfiles_exports = {};
|
|
24654
24936
|
__export(getProfiles_exports, {
|
|
24655
|
-
toKnownErr: () =>
|
|
24937
|
+
toKnownErr: () => toKnownErr75
|
|
24656
24938
|
});
|
|
24657
|
-
function
|
|
24939
|
+
function toKnownErr75(e) {
|
|
24658
24940
|
if (e instanceof XRPCError) {
|
|
24659
24941
|
}
|
|
24660
24942
|
return e;
|
|
@@ -24663,9 +24945,9 @@ function toKnownErr71(e) {
|
|
|
24663
24945
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
24664
24946
|
var getSuggestions_exports = {};
|
|
24665
24947
|
__export(getSuggestions_exports, {
|
|
24666
|
-
toKnownErr: () =>
|
|
24948
|
+
toKnownErr: () => toKnownErr76
|
|
24667
24949
|
});
|
|
24668
|
-
function
|
|
24950
|
+
function toKnownErr76(e) {
|
|
24669
24951
|
if (e instanceof XRPCError) {
|
|
24670
24952
|
}
|
|
24671
24953
|
return e;
|
|
@@ -24674,9 +24956,9 @@ function toKnownErr72(e) {
|
|
|
24674
24956
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
24675
24957
|
var putPreferences_exports = {};
|
|
24676
24958
|
__export(putPreferences_exports, {
|
|
24677
|
-
toKnownErr: () =>
|
|
24959
|
+
toKnownErr: () => toKnownErr77
|
|
24678
24960
|
});
|
|
24679
|
-
function
|
|
24961
|
+
function toKnownErr77(e) {
|
|
24680
24962
|
if (e instanceof XRPCError) {
|
|
24681
24963
|
}
|
|
24682
24964
|
return e;
|
|
@@ -24685,9 +24967,9 @@ function toKnownErr73(e) {
|
|
|
24685
24967
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
24686
24968
|
var searchActors_exports = {};
|
|
24687
24969
|
__export(searchActors_exports, {
|
|
24688
|
-
toKnownErr: () =>
|
|
24970
|
+
toKnownErr: () => toKnownErr78
|
|
24689
24971
|
});
|
|
24690
|
-
function
|
|
24972
|
+
function toKnownErr78(e) {
|
|
24691
24973
|
if (e instanceof XRPCError) {
|
|
24692
24974
|
}
|
|
24693
24975
|
return e;
|
|
@@ -24696,9 +24978,9 @@ function toKnownErr74(e) {
|
|
|
24696
24978
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
24697
24979
|
var searchActorsTypeahead_exports = {};
|
|
24698
24980
|
__export(searchActorsTypeahead_exports, {
|
|
24699
|
-
toKnownErr: () =>
|
|
24981
|
+
toKnownErr: () => toKnownErr79
|
|
24700
24982
|
});
|
|
24701
|
-
function
|
|
24983
|
+
function toKnownErr79(e) {
|
|
24702
24984
|
if (e instanceof XRPCError) {
|
|
24703
24985
|
}
|
|
24704
24986
|
return e;
|
|
@@ -24709,11 +24991,11 @@ var describeFeedGenerator_exports = {};
|
|
|
24709
24991
|
__export(describeFeedGenerator_exports, {
|
|
24710
24992
|
isFeed: () => isFeed,
|
|
24711
24993
|
isLinks: () => isLinks2,
|
|
24712
|
-
toKnownErr: () =>
|
|
24994
|
+
toKnownErr: () => toKnownErr80,
|
|
24713
24995
|
validateFeed: () => validateFeed,
|
|
24714
24996
|
validateLinks: () => validateLinks2
|
|
24715
24997
|
});
|
|
24716
|
-
function
|
|
24998
|
+
function toKnownErr80(e) {
|
|
24717
24999
|
if (e instanceof XRPCError) {
|
|
24718
25000
|
}
|
|
24719
25001
|
return e;
|
|
@@ -24734,9 +25016,9 @@ function validateLinks2(v) {
|
|
|
24734
25016
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
24735
25017
|
var getActorFeeds_exports = {};
|
|
24736
25018
|
__export(getActorFeeds_exports, {
|
|
24737
|
-
toKnownErr: () =>
|
|
25019
|
+
toKnownErr: () => toKnownErr81
|
|
24738
25020
|
});
|
|
24739
|
-
function
|
|
25021
|
+
function toKnownErr81(e) {
|
|
24740
25022
|
if (e instanceof XRPCError) {
|
|
24741
25023
|
}
|
|
24742
25024
|
return e;
|
|
@@ -24747,7 +25029,7 @@ var getActorLikes_exports = {};
|
|
|
24747
25029
|
__export(getActorLikes_exports, {
|
|
24748
25030
|
BlockedActorError: () => BlockedActorError,
|
|
24749
25031
|
BlockedByActorError: () => BlockedByActorError,
|
|
24750
|
-
toKnownErr: () =>
|
|
25032
|
+
toKnownErr: () => toKnownErr82
|
|
24751
25033
|
});
|
|
24752
25034
|
var BlockedActorError = class extends XRPCError {
|
|
24753
25035
|
constructor(src2) {
|
|
@@ -24759,7 +25041,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
24759
25041
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24760
25042
|
}
|
|
24761
25043
|
};
|
|
24762
|
-
function
|
|
25044
|
+
function toKnownErr82(e) {
|
|
24763
25045
|
if (e instanceof XRPCError) {
|
|
24764
25046
|
if (e.error === "BlockedActor")
|
|
24765
25047
|
return new BlockedActorError(e);
|
|
@@ -24774,7 +25056,7 @@ var getAuthorFeed_exports = {};
|
|
|
24774
25056
|
__export(getAuthorFeed_exports, {
|
|
24775
25057
|
BlockedActorError: () => BlockedActorError2,
|
|
24776
25058
|
BlockedByActorError: () => BlockedByActorError2,
|
|
24777
|
-
toKnownErr: () =>
|
|
25059
|
+
toKnownErr: () => toKnownErr83
|
|
24778
25060
|
});
|
|
24779
25061
|
var BlockedActorError2 = class extends XRPCError {
|
|
24780
25062
|
constructor(src2) {
|
|
@@ -24786,7 +25068,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
24786
25068
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24787
25069
|
}
|
|
24788
25070
|
};
|
|
24789
|
-
function
|
|
25071
|
+
function toKnownErr83(e) {
|
|
24790
25072
|
if (e instanceof XRPCError) {
|
|
24791
25073
|
if (e.error === "BlockedActor")
|
|
24792
25074
|
return new BlockedActorError2(e);
|
|
@@ -24800,14 +25082,14 @@ function toKnownErr79(e) {
|
|
|
24800
25082
|
var getFeed_exports = {};
|
|
24801
25083
|
__export(getFeed_exports, {
|
|
24802
25084
|
UnknownFeedError: () => UnknownFeedError,
|
|
24803
|
-
toKnownErr: () =>
|
|
25085
|
+
toKnownErr: () => toKnownErr84
|
|
24804
25086
|
});
|
|
24805
25087
|
var UnknownFeedError = class extends XRPCError {
|
|
24806
25088
|
constructor(src2) {
|
|
24807
25089
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24808
25090
|
}
|
|
24809
25091
|
};
|
|
24810
|
-
function
|
|
25092
|
+
function toKnownErr84(e) {
|
|
24811
25093
|
if (e instanceof XRPCError) {
|
|
24812
25094
|
if (e.error === "UnknownFeed")
|
|
24813
25095
|
return new UnknownFeedError(e);
|
|
@@ -24818,9 +25100,9 @@ function toKnownErr80(e) {
|
|
|
24818
25100
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
24819
25101
|
var getFeedGenerator_exports = {};
|
|
24820
25102
|
__export(getFeedGenerator_exports, {
|
|
24821
|
-
toKnownErr: () =>
|
|
25103
|
+
toKnownErr: () => toKnownErr85
|
|
24822
25104
|
});
|
|
24823
|
-
function
|
|
25105
|
+
function toKnownErr85(e) {
|
|
24824
25106
|
if (e instanceof XRPCError) {
|
|
24825
25107
|
}
|
|
24826
25108
|
return e;
|
|
@@ -24829,9 +25111,9 @@ function toKnownErr81(e) {
|
|
|
24829
25111
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
24830
25112
|
var getFeedGenerators_exports = {};
|
|
24831
25113
|
__export(getFeedGenerators_exports, {
|
|
24832
|
-
toKnownErr: () =>
|
|
25114
|
+
toKnownErr: () => toKnownErr86
|
|
24833
25115
|
});
|
|
24834
|
-
function
|
|
25116
|
+
function toKnownErr86(e) {
|
|
24835
25117
|
if (e instanceof XRPCError) {
|
|
24836
25118
|
}
|
|
24837
25119
|
return e;
|
|
@@ -24841,14 +25123,14 @@ function toKnownErr82(e) {
|
|
|
24841
25123
|
var getFeedSkeleton_exports = {};
|
|
24842
25124
|
__export(getFeedSkeleton_exports, {
|
|
24843
25125
|
UnknownFeedError: () => UnknownFeedError2,
|
|
24844
|
-
toKnownErr: () =>
|
|
25126
|
+
toKnownErr: () => toKnownErr87
|
|
24845
25127
|
});
|
|
24846
25128
|
var UnknownFeedError2 = class extends XRPCError {
|
|
24847
25129
|
constructor(src2) {
|
|
24848
25130
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24849
25131
|
}
|
|
24850
25132
|
};
|
|
24851
|
-
function
|
|
25133
|
+
function toKnownErr87(e) {
|
|
24852
25134
|
if (e instanceof XRPCError) {
|
|
24853
25135
|
if (e.error === "UnknownFeed")
|
|
24854
25136
|
return new UnknownFeedError2(e);
|
|
@@ -24860,10 +25142,10 @@ function toKnownErr83(e) {
|
|
|
24860
25142
|
var getLikes_exports = {};
|
|
24861
25143
|
__export(getLikes_exports, {
|
|
24862
25144
|
isLike: () => isLike,
|
|
24863
|
-
toKnownErr: () =>
|
|
25145
|
+
toKnownErr: () => toKnownErr88,
|
|
24864
25146
|
validateLike: () => validateLike
|
|
24865
25147
|
});
|
|
24866
|
-
function
|
|
25148
|
+
function toKnownErr88(e) {
|
|
24867
25149
|
if (e instanceof XRPCError) {
|
|
24868
25150
|
}
|
|
24869
25151
|
return e;
|
|
@@ -24879,14 +25161,14 @@ function validateLike(v) {
|
|
|
24879
25161
|
var getListFeed_exports = {};
|
|
24880
25162
|
__export(getListFeed_exports, {
|
|
24881
25163
|
UnknownListError: () => UnknownListError,
|
|
24882
|
-
toKnownErr: () =>
|
|
25164
|
+
toKnownErr: () => toKnownErr89
|
|
24883
25165
|
});
|
|
24884
25166
|
var UnknownListError = class extends XRPCError {
|
|
24885
25167
|
constructor(src2) {
|
|
24886
25168
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24887
25169
|
}
|
|
24888
25170
|
};
|
|
24889
|
-
function
|
|
25171
|
+
function toKnownErr89(e) {
|
|
24890
25172
|
if (e instanceof XRPCError) {
|
|
24891
25173
|
if (e.error === "UnknownList")
|
|
24892
25174
|
return new UnknownListError(e);
|
|
@@ -24898,14 +25180,14 @@ function toKnownErr85(e) {
|
|
|
24898
25180
|
var getPostThread_exports = {};
|
|
24899
25181
|
__export(getPostThread_exports, {
|
|
24900
25182
|
NotFoundError: () => NotFoundError,
|
|
24901
|
-
toKnownErr: () =>
|
|
25183
|
+
toKnownErr: () => toKnownErr90
|
|
24902
25184
|
});
|
|
24903
25185
|
var NotFoundError = class extends XRPCError {
|
|
24904
25186
|
constructor(src2) {
|
|
24905
25187
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24906
25188
|
}
|
|
24907
25189
|
};
|
|
24908
|
-
function
|
|
25190
|
+
function toKnownErr90(e) {
|
|
24909
25191
|
if (e instanceof XRPCError) {
|
|
24910
25192
|
if (e.error === "NotFound")
|
|
24911
25193
|
return new NotFoundError(e);
|
|
@@ -24916,9 +25198,9 @@ function toKnownErr86(e) {
|
|
|
24916
25198
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24917
25199
|
var getPosts_exports = {};
|
|
24918
25200
|
__export(getPosts_exports, {
|
|
24919
|
-
toKnownErr: () =>
|
|
25201
|
+
toKnownErr: () => toKnownErr91
|
|
24920
25202
|
});
|
|
24921
|
-
function
|
|
25203
|
+
function toKnownErr91(e) {
|
|
24922
25204
|
if (e instanceof XRPCError) {
|
|
24923
25205
|
}
|
|
24924
25206
|
return e;
|
|
@@ -24927,9 +25209,9 @@ function toKnownErr87(e) {
|
|
|
24927
25209
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24928
25210
|
var getRepostedBy_exports = {};
|
|
24929
25211
|
__export(getRepostedBy_exports, {
|
|
24930
|
-
toKnownErr: () =>
|
|
25212
|
+
toKnownErr: () => toKnownErr92
|
|
24931
25213
|
});
|
|
24932
|
-
function
|
|
25214
|
+
function toKnownErr92(e) {
|
|
24933
25215
|
if (e instanceof XRPCError) {
|
|
24934
25216
|
}
|
|
24935
25217
|
return e;
|
|
@@ -24938,9 +25220,9 @@ function toKnownErr88(e) {
|
|
|
24938
25220
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
24939
25221
|
var getSuggestedFeeds_exports = {};
|
|
24940
25222
|
__export(getSuggestedFeeds_exports, {
|
|
24941
|
-
toKnownErr: () =>
|
|
25223
|
+
toKnownErr: () => toKnownErr93
|
|
24942
25224
|
});
|
|
24943
|
-
function
|
|
25225
|
+
function toKnownErr93(e) {
|
|
24944
25226
|
if (e instanceof XRPCError) {
|
|
24945
25227
|
}
|
|
24946
25228
|
return e;
|
|
@@ -24949,9 +25231,9 @@ function toKnownErr89(e) {
|
|
|
24949
25231
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24950
25232
|
var getTimeline_exports = {};
|
|
24951
25233
|
__export(getTimeline_exports, {
|
|
24952
|
-
toKnownErr: () =>
|
|
25234
|
+
toKnownErr: () => toKnownErr94
|
|
24953
25235
|
});
|
|
24954
|
-
function
|
|
25236
|
+
function toKnownErr94(e) {
|
|
24955
25237
|
if (e instanceof XRPCError) {
|
|
24956
25238
|
}
|
|
24957
25239
|
return e;
|
|
@@ -24961,14 +25243,14 @@ function toKnownErr90(e) {
|
|
|
24961
25243
|
var searchPosts_exports = {};
|
|
24962
25244
|
__export(searchPosts_exports, {
|
|
24963
25245
|
BadQueryStringError: () => BadQueryStringError,
|
|
24964
|
-
toKnownErr: () =>
|
|
25246
|
+
toKnownErr: () => toKnownErr95
|
|
24965
25247
|
});
|
|
24966
25248
|
var BadQueryStringError = class extends XRPCError {
|
|
24967
25249
|
constructor(src2) {
|
|
24968
25250
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24969
25251
|
}
|
|
24970
25252
|
};
|
|
24971
|
-
function
|
|
25253
|
+
function toKnownErr95(e) {
|
|
24972
25254
|
if (e instanceof XRPCError) {
|
|
24973
25255
|
if (e.error === "BadQueryString")
|
|
24974
25256
|
return new BadQueryStringError(e);
|
|
@@ -24979,9 +25261,9 @@ function toKnownErr91(e) {
|
|
|
24979
25261
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24980
25262
|
var getBlocks_exports2 = {};
|
|
24981
25263
|
__export(getBlocks_exports2, {
|
|
24982
|
-
toKnownErr: () =>
|
|
25264
|
+
toKnownErr: () => toKnownErr96
|
|
24983
25265
|
});
|
|
24984
|
-
function
|
|
25266
|
+
function toKnownErr96(e) {
|
|
24985
25267
|
if (e instanceof XRPCError) {
|
|
24986
25268
|
}
|
|
24987
25269
|
return e;
|
|
@@ -24990,9 +25272,9 @@ function toKnownErr92(e) {
|
|
|
24990
25272
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24991
25273
|
var getFollowers_exports = {};
|
|
24992
25274
|
__export(getFollowers_exports, {
|
|
24993
|
-
toKnownErr: () =>
|
|
25275
|
+
toKnownErr: () => toKnownErr97
|
|
24994
25276
|
});
|
|
24995
|
-
function
|
|
25277
|
+
function toKnownErr97(e) {
|
|
24996
25278
|
if (e instanceof XRPCError) {
|
|
24997
25279
|
}
|
|
24998
25280
|
return e;
|
|
@@ -25001,9 +25283,9 @@ function toKnownErr93(e) {
|
|
|
25001
25283
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
25002
25284
|
var getFollows_exports = {};
|
|
25003
25285
|
__export(getFollows_exports, {
|
|
25004
|
-
toKnownErr: () =>
|
|
25286
|
+
toKnownErr: () => toKnownErr98
|
|
25005
25287
|
});
|
|
25006
|
-
function
|
|
25288
|
+
function toKnownErr98(e) {
|
|
25007
25289
|
if (e instanceof XRPCError) {
|
|
25008
25290
|
}
|
|
25009
25291
|
return e;
|
|
@@ -25012,9 +25294,9 @@ function toKnownErr94(e) {
|
|
|
25012
25294
|
// src/client/types/app/bsky/graph/getList.ts
|
|
25013
25295
|
var getList_exports = {};
|
|
25014
25296
|
__export(getList_exports, {
|
|
25015
|
-
toKnownErr: () =>
|
|
25297
|
+
toKnownErr: () => toKnownErr99
|
|
25016
25298
|
});
|
|
25017
|
-
function
|
|
25299
|
+
function toKnownErr99(e) {
|
|
25018
25300
|
if (e instanceof XRPCError) {
|
|
25019
25301
|
}
|
|
25020
25302
|
return e;
|
|
@@ -25023,9 +25305,9 @@ function toKnownErr95(e) {
|
|
|
25023
25305
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
25024
25306
|
var getListBlocks_exports = {};
|
|
25025
25307
|
__export(getListBlocks_exports, {
|
|
25026
|
-
toKnownErr: () =>
|
|
25308
|
+
toKnownErr: () => toKnownErr100
|
|
25027
25309
|
});
|
|
25028
|
-
function
|
|
25310
|
+
function toKnownErr100(e) {
|
|
25029
25311
|
if (e instanceof XRPCError) {
|
|
25030
25312
|
}
|
|
25031
25313
|
return e;
|
|
@@ -25034,9 +25316,9 @@ function toKnownErr96(e) {
|
|
|
25034
25316
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
25035
25317
|
var getListMutes_exports = {};
|
|
25036
25318
|
__export(getListMutes_exports, {
|
|
25037
|
-
toKnownErr: () =>
|
|
25319
|
+
toKnownErr: () => toKnownErr101
|
|
25038
25320
|
});
|
|
25039
|
-
function
|
|
25321
|
+
function toKnownErr101(e) {
|
|
25040
25322
|
if (e instanceof XRPCError) {
|
|
25041
25323
|
}
|
|
25042
25324
|
return e;
|
|
@@ -25045,9 +25327,9 @@ function toKnownErr97(e) {
|
|
|
25045
25327
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
25046
25328
|
var getLists_exports = {};
|
|
25047
25329
|
__export(getLists_exports, {
|
|
25048
|
-
toKnownErr: () =>
|
|
25330
|
+
toKnownErr: () => toKnownErr102
|
|
25049
25331
|
});
|
|
25050
|
-
function
|
|
25332
|
+
function toKnownErr102(e) {
|
|
25051
25333
|
if (e instanceof XRPCError) {
|
|
25052
25334
|
}
|
|
25053
25335
|
return e;
|
|
@@ -25056,9 +25338,9 @@ function toKnownErr98(e) {
|
|
|
25056
25338
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
25057
25339
|
var getMutes_exports = {};
|
|
25058
25340
|
__export(getMutes_exports, {
|
|
25059
|
-
toKnownErr: () =>
|
|
25341
|
+
toKnownErr: () => toKnownErr103
|
|
25060
25342
|
});
|
|
25061
|
-
function
|
|
25343
|
+
function toKnownErr103(e) {
|
|
25062
25344
|
if (e instanceof XRPCError) {
|
|
25063
25345
|
}
|
|
25064
25346
|
return e;
|
|
@@ -25067,9 +25349,9 @@ function toKnownErr99(e) {
|
|
|
25067
25349
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
25068
25350
|
var getSuggestedFollowsByActor_exports = {};
|
|
25069
25351
|
__export(getSuggestedFollowsByActor_exports, {
|
|
25070
|
-
toKnownErr: () =>
|
|
25352
|
+
toKnownErr: () => toKnownErr104
|
|
25071
25353
|
});
|
|
25072
|
-
function
|
|
25354
|
+
function toKnownErr104(e) {
|
|
25073
25355
|
if (e instanceof XRPCError) {
|
|
25074
25356
|
}
|
|
25075
25357
|
return e;
|
|
@@ -25078,9 +25360,9 @@ function toKnownErr100(e) {
|
|
|
25078
25360
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
25079
25361
|
var muteActor_exports = {};
|
|
25080
25362
|
__export(muteActor_exports, {
|
|
25081
|
-
toKnownErr: () =>
|
|
25363
|
+
toKnownErr: () => toKnownErr105
|
|
25082
25364
|
});
|
|
25083
|
-
function
|
|
25365
|
+
function toKnownErr105(e) {
|
|
25084
25366
|
if (e instanceof XRPCError) {
|
|
25085
25367
|
}
|
|
25086
25368
|
return e;
|
|
@@ -25089,9 +25371,9 @@ function toKnownErr101(e) {
|
|
|
25089
25371
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25090
25372
|
var muteActorList_exports = {};
|
|
25091
25373
|
__export(muteActorList_exports, {
|
|
25092
|
-
toKnownErr: () =>
|
|
25374
|
+
toKnownErr: () => toKnownErr106
|
|
25093
25375
|
});
|
|
25094
|
-
function
|
|
25376
|
+
function toKnownErr106(e) {
|
|
25095
25377
|
if (e instanceof XRPCError) {
|
|
25096
25378
|
}
|
|
25097
25379
|
return e;
|
|
@@ -25100,9 +25382,9 @@ function toKnownErr102(e) {
|
|
|
25100
25382
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25101
25383
|
var unmuteActor_exports = {};
|
|
25102
25384
|
__export(unmuteActor_exports, {
|
|
25103
|
-
toKnownErr: () =>
|
|
25385
|
+
toKnownErr: () => toKnownErr107
|
|
25104
25386
|
});
|
|
25105
|
-
function
|
|
25387
|
+
function toKnownErr107(e) {
|
|
25106
25388
|
if (e instanceof XRPCError) {
|
|
25107
25389
|
}
|
|
25108
25390
|
return e;
|
|
@@ -25111,9 +25393,9 @@ function toKnownErr103(e) {
|
|
|
25111
25393
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
25112
25394
|
var unmuteActorList_exports = {};
|
|
25113
25395
|
__export(unmuteActorList_exports, {
|
|
25114
|
-
toKnownErr: () =>
|
|
25396
|
+
toKnownErr: () => toKnownErr108
|
|
25115
25397
|
});
|
|
25116
|
-
function
|
|
25398
|
+
function toKnownErr108(e) {
|
|
25117
25399
|
if (e instanceof XRPCError) {
|
|
25118
25400
|
}
|
|
25119
25401
|
return e;
|
|
@@ -25122,9 +25404,9 @@ function toKnownErr104(e) {
|
|
|
25122
25404
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
25123
25405
|
var getUnreadCount_exports = {};
|
|
25124
25406
|
__export(getUnreadCount_exports, {
|
|
25125
|
-
toKnownErr: () =>
|
|
25407
|
+
toKnownErr: () => toKnownErr109
|
|
25126
25408
|
});
|
|
25127
|
-
function
|
|
25409
|
+
function toKnownErr109(e) {
|
|
25128
25410
|
if (e instanceof XRPCError) {
|
|
25129
25411
|
}
|
|
25130
25412
|
return e;
|
|
@@ -25134,10 +25416,10 @@ function toKnownErr105(e) {
|
|
|
25134
25416
|
var listNotifications_exports = {};
|
|
25135
25417
|
__export(listNotifications_exports, {
|
|
25136
25418
|
isNotification: () => isNotification,
|
|
25137
|
-
toKnownErr: () =>
|
|
25419
|
+
toKnownErr: () => toKnownErr110,
|
|
25138
25420
|
validateNotification: () => validateNotification
|
|
25139
25421
|
});
|
|
25140
|
-
function
|
|
25422
|
+
function toKnownErr110(e) {
|
|
25141
25423
|
if (e instanceof XRPCError) {
|
|
25142
25424
|
}
|
|
25143
25425
|
return e;
|
|
@@ -25152,9 +25434,9 @@ function validateNotification(v) {
|
|
|
25152
25434
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
25153
25435
|
var registerPush_exports = {};
|
|
25154
25436
|
__export(registerPush_exports, {
|
|
25155
|
-
toKnownErr: () =>
|
|
25437
|
+
toKnownErr: () => toKnownErr111
|
|
25156
25438
|
});
|
|
25157
|
-
function
|
|
25439
|
+
function toKnownErr111(e) {
|
|
25158
25440
|
if (e instanceof XRPCError) {
|
|
25159
25441
|
}
|
|
25160
25442
|
return e;
|
|
@@ -25163,9 +25445,9 @@ function toKnownErr107(e) {
|
|
|
25163
25445
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
25164
25446
|
var updateSeen_exports = {};
|
|
25165
25447
|
__export(updateSeen_exports, {
|
|
25166
|
-
toKnownErr: () =>
|
|
25448
|
+
toKnownErr: () => toKnownErr112
|
|
25167
25449
|
});
|
|
25168
|
-
function
|
|
25450
|
+
function toKnownErr112(e) {
|
|
25169
25451
|
if (e instanceof XRPCError) {
|
|
25170
25452
|
}
|
|
25171
25453
|
return e;
|
|
@@ -25174,26 +25456,45 @@ function toKnownErr108(e) {
|
|
|
25174
25456
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
25175
25457
|
var getPopularFeedGenerators_exports = {};
|
|
25176
25458
|
__export(getPopularFeedGenerators_exports, {
|
|
25177
|
-
toKnownErr: () =>
|
|
25459
|
+
toKnownErr: () => toKnownErr113
|
|
25178
25460
|
});
|
|
25179
|
-
function
|
|
25461
|
+
function toKnownErr113(e) {
|
|
25462
|
+
if (e instanceof XRPCError) {
|
|
25463
|
+
}
|
|
25464
|
+
return e;
|
|
25465
|
+
}
|
|
25466
|
+
|
|
25467
|
+
// src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
25468
|
+
var getTaggedSuggestions_exports = {};
|
|
25469
|
+
__export(getTaggedSuggestions_exports, {
|
|
25470
|
+
isSuggestion: () => isSuggestion,
|
|
25471
|
+
toKnownErr: () => toKnownErr114,
|
|
25472
|
+
validateSuggestion: () => validateSuggestion
|
|
25473
|
+
});
|
|
25474
|
+
function toKnownErr114(e) {
|
|
25180
25475
|
if (e instanceof XRPCError) {
|
|
25181
25476
|
}
|
|
25182
25477
|
return e;
|
|
25183
25478
|
}
|
|
25479
|
+
function isSuggestion(v) {
|
|
25480
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.unspecced.getTaggedSuggestions#suggestion";
|
|
25481
|
+
}
|
|
25482
|
+
function validateSuggestion(v) {
|
|
25483
|
+
return lexicons.validate("app.bsky.unspecced.getTaggedSuggestions#suggestion", v);
|
|
25484
|
+
}
|
|
25184
25485
|
|
|
25185
25486
|
// src/client/types/app/bsky/unspecced/getTimelineSkeleton.ts
|
|
25186
25487
|
var getTimelineSkeleton_exports = {};
|
|
25187
25488
|
__export(getTimelineSkeleton_exports, {
|
|
25188
25489
|
UnknownFeedError: () => UnknownFeedError3,
|
|
25189
|
-
toKnownErr: () =>
|
|
25490
|
+
toKnownErr: () => toKnownErr115
|
|
25190
25491
|
});
|
|
25191
25492
|
var UnknownFeedError3 = class extends XRPCError {
|
|
25192
25493
|
constructor(src2) {
|
|
25193
25494
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25194
25495
|
}
|
|
25195
25496
|
};
|
|
25196
|
-
function
|
|
25497
|
+
function toKnownErr115(e) {
|
|
25197
25498
|
if (e instanceof XRPCError) {
|
|
25198
25499
|
if (e.error === "UnknownFeed")
|
|
25199
25500
|
return new UnknownFeedError3(e);
|
|
@@ -25205,14 +25506,14 @@ function toKnownErr110(e) {
|
|
|
25205
25506
|
var searchActorsSkeleton_exports = {};
|
|
25206
25507
|
__export(searchActorsSkeleton_exports, {
|
|
25207
25508
|
BadQueryStringError: () => BadQueryStringError2,
|
|
25208
|
-
toKnownErr: () =>
|
|
25509
|
+
toKnownErr: () => toKnownErr116
|
|
25209
25510
|
});
|
|
25210
25511
|
var BadQueryStringError2 = class extends XRPCError {
|
|
25211
25512
|
constructor(src2) {
|
|
25212
25513
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25213
25514
|
}
|
|
25214
25515
|
};
|
|
25215
|
-
function
|
|
25516
|
+
function toKnownErr116(e) {
|
|
25216
25517
|
if (e instanceof XRPCError) {
|
|
25217
25518
|
if (e.error === "BadQueryString")
|
|
25218
25519
|
return new BadQueryStringError2(e);
|
|
@@ -25224,14 +25525,14 @@ function toKnownErr111(e) {
|
|
|
25224
25525
|
var searchPostsSkeleton_exports = {};
|
|
25225
25526
|
__export(searchPostsSkeleton_exports, {
|
|
25226
25527
|
BadQueryStringError: () => BadQueryStringError3,
|
|
25227
|
-
toKnownErr: () =>
|
|
25528
|
+
toKnownErr: () => toKnownErr117
|
|
25228
25529
|
});
|
|
25229
25530
|
var BadQueryStringError3 = class extends XRPCError {
|
|
25230
25531
|
constructor(src2) {
|
|
25231
25532
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25232
25533
|
}
|
|
25233
25534
|
};
|
|
25234
|
-
function
|
|
25535
|
+
function toKnownErr117(e) {
|
|
25235
25536
|
if (e instanceof XRPCError) {
|
|
25236
25537
|
if (e.error === "BadQueryString")
|
|
25237
25538
|
return new BadQueryStringError3(e);
|
|
@@ -25247,6 +25548,7 @@ __export(defs_exports, {
|
|
|
25247
25548
|
REVIEWOPEN: () => REVIEWOPEN,
|
|
25248
25549
|
isAccountView: () => isAccountView,
|
|
25249
25550
|
isBlobView: () => isBlobView,
|
|
25551
|
+
isCommunicationTemplateView: () => isCommunicationTemplateView,
|
|
25250
25552
|
isImageDetails: () => isImageDetails,
|
|
25251
25553
|
isModEventAcknowledge: () => isModEventAcknowledge,
|
|
25252
25554
|
isModEventComment: () => isModEventComment,
|
|
@@ -25278,6 +25580,7 @@ __export(defs_exports, {
|
|
|
25278
25580
|
isVideoDetails: () => isVideoDetails,
|
|
25279
25581
|
validateAccountView: () => validateAccountView,
|
|
25280
25582
|
validateBlobView: () => validateBlobView,
|
|
25583
|
+
validateCommunicationTemplateView: () => validateCommunicationTemplateView,
|
|
25281
25584
|
validateImageDetails: () => validateImageDetails,
|
|
25282
25585
|
validateModEventAcknowledge: () => validateModEventAcknowledge,
|
|
25283
25586
|
validateModEventComment: () => validateModEventComment,
|
|
@@ -25497,6 +25800,12 @@ function isModEventEmail(v) {
|
|
|
25497
25800
|
function validateModEventEmail(v) {
|
|
25498
25801
|
return lexicons.validate("com.atproto.admin.defs#modEventEmail", v);
|
|
25499
25802
|
}
|
|
25803
|
+
function isCommunicationTemplateView(v) {
|
|
25804
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#communicationTemplateView";
|
|
25805
|
+
}
|
|
25806
|
+
function validateCommunicationTemplateView(v) {
|
|
25807
|
+
return lexicons.validate("com.atproto.admin.defs#communicationTemplateView", v);
|
|
25808
|
+
}
|
|
25500
25809
|
|
|
25501
25810
|
// src/client/types/com/atproto/label/defs.ts
|
|
25502
25811
|
var defs_exports2 = {};
|
|
@@ -26364,99 +26673,119 @@ var ComAtprotoAdminNS = class {
|
|
|
26364
26673
|
constructor(service2) {
|
|
26365
26674
|
this._service = service2;
|
|
26366
26675
|
}
|
|
26676
|
+
createCommunicationTemplate(data, opts) {
|
|
26677
|
+
return this._service.xrpc.call("com.atproto.admin.createCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
26678
|
+
throw toKnownErr(e);
|
|
26679
|
+
});
|
|
26680
|
+
}
|
|
26367
26681
|
deleteAccount(data, opts) {
|
|
26368
26682
|
return this._service.xrpc.call("com.atproto.admin.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
26369
|
-
throw
|
|
26683
|
+
throw toKnownErr2(e);
|
|
26684
|
+
});
|
|
26685
|
+
}
|
|
26686
|
+
deleteCommunicationTemplate(data, opts) {
|
|
26687
|
+
return this._service.xrpc.call("com.atproto.admin.deleteCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
26688
|
+
throw toKnownErr3(e);
|
|
26370
26689
|
});
|
|
26371
26690
|
}
|
|
26372
26691
|
disableAccountInvites(data, opts) {
|
|
26373
26692
|
return this._service.xrpc.call("com.atproto.admin.disableAccountInvites", opts?.qp, data, opts).catch((e) => {
|
|
26374
|
-
throw
|
|
26693
|
+
throw toKnownErr4(e);
|
|
26375
26694
|
});
|
|
26376
26695
|
}
|
|
26377
26696
|
disableInviteCodes(data, opts) {
|
|
26378
26697
|
return this._service.xrpc.call("com.atproto.admin.disableInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
26379
|
-
throw
|
|
26698
|
+
throw toKnownErr5(e);
|
|
26380
26699
|
});
|
|
26381
26700
|
}
|
|
26382
26701
|
emitModerationEvent(data, opts) {
|
|
26383
26702
|
return this._service.xrpc.call("com.atproto.admin.emitModerationEvent", opts?.qp, data, opts).catch((e) => {
|
|
26384
|
-
throw
|
|
26703
|
+
throw toKnownErr6(e);
|
|
26385
26704
|
});
|
|
26386
26705
|
}
|
|
26387
26706
|
enableAccountInvites(data, opts) {
|
|
26388
26707
|
return this._service.xrpc.call("com.atproto.admin.enableAccountInvites", opts?.qp, data, opts).catch((e) => {
|
|
26389
|
-
throw
|
|
26708
|
+
throw toKnownErr7(e);
|
|
26390
26709
|
});
|
|
26391
26710
|
}
|
|
26392
26711
|
getAccountInfo(params2, opts) {
|
|
26393
26712
|
return this._service.xrpc.call("com.atproto.admin.getAccountInfo", params2, void 0, opts).catch((e) => {
|
|
26394
|
-
throw
|
|
26713
|
+
throw toKnownErr8(e);
|
|
26395
26714
|
});
|
|
26396
26715
|
}
|
|
26397
26716
|
getAccountInfos(params2, opts) {
|
|
26398
26717
|
return this._service.xrpc.call("com.atproto.admin.getAccountInfos", params2, void 0, opts).catch((e) => {
|
|
26399
|
-
throw
|
|
26718
|
+
throw toKnownErr9(e);
|
|
26400
26719
|
});
|
|
26401
26720
|
}
|
|
26402
26721
|
getInviteCodes(params2, opts) {
|
|
26403
26722
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26404
|
-
throw
|
|
26723
|
+
throw toKnownErr10(e);
|
|
26405
26724
|
});
|
|
26406
26725
|
}
|
|
26407
26726
|
getModerationEvent(params2, opts) {
|
|
26408
26727
|
return this._service.xrpc.call("com.atproto.admin.getModerationEvent", params2, void 0, opts).catch((e) => {
|
|
26409
|
-
throw
|
|
26728
|
+
throw toKnownErr11(e);
|
|
26410
26729
|
});
|
|
26411
26730
|
}
|
|
26412
26731
|
getRecord(params2, opts) {
|
|
26413
26732
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
26414
|
-
throw
|
|
26733
|
+
throw toKnownErr12(e);
|
|
26415
26734
|
});
|
|
26416
26735
|
}
|
|
26417
26736
|
getRepo(params2, opts) {
|
|
26418
26737
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
26419
|
-
throw
|
|
26738
|
+
throw toKnownErr13(e);
|
|
26420
26739
|
});
|
|
26421
26740
|
}
|
|
26422
26741
|
getSubjectStatus(params2, opts) {
|
|
26423
26742
|
return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
|
|
26424
|
-
throw
|
|
26743
|
+
throw toKnownErr14(e);
|
|
26744
|
+
});
|
|
26745
|
+
}
|
|
26746
|
+
listCommunicationTemplates(params2, opts) {
|
|
26747
|
+
return this._service.xrpc.call("com.atproto.admin.listCommunicationTemplates", params2, void 0, opts).catch((e) => {
|
|
26748
|
+
throw toKnownErr15(e);
|
|
26425
26749
|
});
|
|
26426
26750
|
}
|
|
26427
26751
|
queryModerationEvents(params2, opts) {
|
|
26428
26752
|
return this._service.xrpc.call("com.atproto.admin.queryModerationEvents", params2, void 0, opts).catch((e) => {
|
|
26429
|
-
throw
|
|
26753
|
+
throw toKnownErr16(e);
|
|
26430
26754
|
});
|
|
26431
26755
|
}
|
|
26432
26756
|
queryModerationStatuses(params2, opts) {
|
|
26433
26757
|
return this._service.xrpc.call("com.atproto.admin.queryModerationStatuses", params2, void 0, opts).catch((e) => {
|
|
26434
|
-
throw
|
|
26758
|
+
throw toKnownErr17(e);
|
|
26435
26759
|
});
|
|
26436
26760
|
}
|
|
26437
26761
|
searchRepos(params2, opts) {
|
|
26438
26762
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
26439
|
-
throw
|
|
26763
|
+
throw toKnownErr18(e);
|
|
26440
26764
|
});
|
|
26441
26765
|
}
|
|
26442
26766
|
sendEmail(data, opts) {
|
|
26443
26767
|
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
26444
|
-
throw
|
|
26768
|
+
throw toKnownErr19(e);
|
|
26445
26769
|
});
|
|
26446
26770
|
}
|
|
26447
26771
|
updateAccountEmail(data, opts) {
|
|
26448
26772
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
26449
|
-
throw
|
|
26773
|
+
throw toKnownErr20(e);
|
|
26450
26774
|
});
|
|
26451
26775
|
}
|
|
26452
26776
|
updateAccountHandle(data, opts) {
|
|
26453
26777
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
26454
|
-
throw
|
|
26778
|
+
throw toKnownErr21(e);
|
|
26779
|
+
});
|
|
26780
|
+
}
|
|
26781
|
+
updateCommunicationTemplate(data, opts) {
|
|
26782
|
+
return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
26783
|
+
throw toKnownErr22(e);
|
|
26455
26784
|
});
|
|
26456
26785
|
}
|
|
26457
26786
|
updateSubjectStatus(data, opts) {
|
|
26458
26787
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
26459
|
-
throw
|
|
26788
|
+
throw toKnownErr23(e);
|
|
26460
26789
|
});
|
|
26461
26790
|
}
|
|
26462
26791
|
};
|
|
@@ -26466,12 +26795,12 @@ var ComAtprotoIdentityNS = class {
|
|
|
26466
26795
|
}
|
|
26467
26796
|
resolveHandle(params2, opts) {
|
|
26468
26797
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
26469
|
-
throw
|
|
26798
|
+
throw toKnownErr24(e);
|
|
26470
26799
|
});
|
|
26471
26800
|
}
|
|
26472
26801
|
updateHandle(data, opts) {
|
|
26473
26802
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
26474
|
-
throw
|
|
26803
|
+
throw toKnownErr25(e);
|
|
26475
26804
|
});
|
|
26476
26805
|
}
|
|
26477
26806
|
};
|
|
@@ -26481,7 +26810,7 @@ var ComAtprotoLabelNS = class {
|
|
|
26481
26810
|
}
|
|
26482
26811
|
queryLabels(params2, opts) {
|
|
26483
26812
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
26484
|
-
throw
|
|
26813
|
+
throw toKnownErr26(e);
|
|
26485
26814
|
});
|
|
26486
26815
|
}
|
|
26487
26816
|
};
|
|
@@ -26491,7 +26820,7 @@ var ComAtprotoModerationNS = class {
|
|
|
26491
26820
|
}
|
|
26492
26821
|
createReport(data, opts) {
|
|
26493
26822
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
26494
|
-
throw
|
|
26823
|
+
throw toKnownErr27(e);
|
|
26495
26824
|
});
|
|
26496
26825
|
}
|
|
26497
26826
|
};
|
|
@@ -26501,42 +26830,42 @@ var ComAtprotoRepoNS = class {
|
|
|
26501
26830
|
}
|
|
26502
26831
|
applyWrites(data, opts) {
|
|
26503
26832
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
26504
|
-
throw
|
|
26833
|
+
throw toKnownErr28(e);
|
|
26505
26834
|
});
|
|
26506
26835
|
}
|
|
26507
26836
|
createRecord(data, opts) {
|
|
26508
26837
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
26509
|
-
throw
|
|
26838
|
+
throw toKnownErr29(e);
|
|
26510
26839
|
});
|
|
26511
26840
|
}
|
|
26512
26841
|
deleteRecord(data, opts) {
|
|
26513
26842
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
26514
|
-
throw
|
|
26843
|
+
throw toKnownErr30(e);
|
|
26515
26844
|
});
|
|
26516
26845
|
}
|
|
26517
26846
|
describeRepo(params2, opts) {
|
|
26518
26847
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
26519
|
-
throw
|
|
26848
|
+
throw toKnownErr31(e);
|
|
26520
26849
|
});
|
|
26521
26850
|
}
|
|
26522
26851
|
getRecord(params2, opts) {
|
|
26523
26852
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
26524
|
-
throw
|
|
26853
|
+
throw toKnownErr32(e);
|
|
26525
26854
|
});
|
|
26526
26855
|
}
|
|
26527
26856
|
listRecords(params2, opts) {
|
|
26528
26857
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
26529
|
-
throw
|
|
26858
|
+
throw toKnownErr33(e);
|
|
26530
26859
|
});
|
|
26531
26860
|
}
|
|
26532
26861
|
putRecord(data, opts) {
|
|
26533
26862
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
26534
|
-
throw
|
|
26863
|
+
throw toKnownErr34(e);
|
|
26535
26864
|
});
|
|
26536
26865
|
}
|
|
26537
26866
|
uploadBlob(data, opts) {
|
|
26538
26867
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
26539
|
-
throw
|
|
26868
|
+
throw toKnownErr35(e);
|
|
26540
26869
|
});
|
|
26541
26870
|
}
|
|
26542
26871
|
};
|
|
@@ -26546,107 +26875,107 @@ var ComAtprotoServerNS = class {
|
|
|
26546
26875
|
}
|
|
26547
26876
|
confirmEmail(data, opts) {
|
|
26548
26877
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
26549
|
-
throw
|
|
26878
|
+
throw toKnownErr36(e);
|
|
26550
26879
|
});
|
|
26551
26880
|
}
|
|
26552
26881
|
createAccount(data, opts) {
|
|
26553
26882
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
26554
|
-
throw
|
|
26883
|
+
throw toKnownErr37(e);
|
|
26555
26884
|
});
|
|
26556
26885
|
}
|
|
26557
26886
|
createAppPassword(data, opts) {
|
|
26558
26887
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26559
|
-
throw
|
|
26888
|
+
throw toKnownErr38(e);
|
|
26560
26889
|
});
|
|
26561
26890
|
}
|
|
26562
26891
|
createInviteCode(data, opts) {
|
|
26563
26892
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
26564
|
-
throw
|
|
26893
|
+
throw toKnownErr39(e);
|
|
26565
26894
|
});
|
|
26566
26895
|
}
|
|
26567
26896
|
createInviteCodes(data, opts) {
|
|
26568
26897
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
26569
|
-
throw
|
|
26898
|
+
throw toKnownErr40(e);
|
|
26570
26899
|
});
|
|
26571
26900
|
}
|
|
26572
26901
|
createSession(data, opts) {
|
|
26573
26902
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
26574
|
-
throw
|
|
26903
|
+
throw toKnownErr41(e);
|
|
26575
26904
|
});
|
|
26576
26905
|
}
|
|
26577
26906
|
deleteAccount(data, opts) {
|
|
26578
26907
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
26579
|
-
throw
|
|
26908
|
+
throw toKnownErr42(e);
|
|
26580
26909
|
});
|
|
26581
26910
|
}
|
|
26582
26911
|
deleteSession(data, opts) {
|
|
26583
26912
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
26584
|
-
throw
|
|
26913
|
+
throw toKnownErr43(e);
|
|
26585
26914
|
});
|
|
26586
26915
|
}
|
|
26587
26916
|
describeServer(params2, opts) {
|
|
26588
26917
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
26589
|
-
throw
|
|
26918
|
+
throw toKnownErr44(e);
|
|
26590
26919
|
});
|
|
26591
26920
|
}
|
|
26592
26921
|
getAccountInviteCodes(params2, opts) {
|
|
26593
26922
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26594
|
-
throw
|
|
26923
|
+
throw toKnownErr45(e);
|
|
26595
26924
|
});
|
|
26596
26925
|
}
|
|
26597
26926
|
getSession(params2, opts) {
|
|
26598
26927
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
26599
|
-
throw
|
|
26928
|
+
throw toKnownErr46(e);
|
|
26600
26929
|
});
|
|
26601
26930
|
}
|
|
26602
26931
|
listAppPasswords(params2, opts) {
|
|
26603
26932
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
26604
|
-
throw
|
|
26933
|
+
throw toKnownErr47(e);
|
|
26605
26934
|
});
|
|
26606
26935
|
}
|
|
26607
26936
|
refreshSession(data, opts) {
|
|
26608
26937
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
26609
|
-
throw
|
|
26938
|
+
throw toKnownErr48(e);
|
|
26610
26939
|
});
|
|
26611
26940
|
}
|
|
26612
26941
|
requestAccountDelete(data, opts) {
|
|
26613
26942
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
26614
|
-
throw
|
|
26943
|
+
throw toKnownErr49(e);
|
|
26615
26944
|
});
|
|
26616
26945
|
}
|
|
26617
26946
|
requestEmailConfirmation(data, opts) {
|
|
26618
26947
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
26619
|
-
throw
|
|
26948
|
+
throw toKnownErr50(e);
|
|
26620
26949
|
});
|
|
26621
26950
|
}
|
|
26622
26951
|
requestEmailUpdate(data, opts) {
|
|
26623
26952
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26624
|
-
throw
|
|
26953
|
+
throw toKnownErr51(e);
|
|
26625
26954
|
});
|
|
26626
26955
|
}
|
|
26627
26956
|
requestPasswordReset(data, opts) {
|
|
26628
26957
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
26629
|
-
throw
|
|
26958
|
+
throw toKnownErr52(e);
|
|
26630
26959
|
});
|
|
26631
26960
|
}
|
|
26632
26961
|
reserveSigningKey(data, opts) {
|
|
26633
26962
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
26634
|
-
throw
|
|
26963
|
+
throw toKnownErr53(e);
|
|
26635
26964
|
});
|
|
26636
26965
|
}
|
|
26637
26966
|
resetPassword(data, opts) {
|
|
26638
26967
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
26639
|
-
throw
|
|
26968
|
+
throw toKnownErr54(e);
|
|
26640
26969
|
});
|
|
26641
26970
|
}
|
|
26642
26971
|
revokeAppPassword(data, opts) {
|
|
26643
26972
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26644
|
-
throw
|
|
26973
|
+
throw toKnownErr55(e);
|
|
26645
26974
|
});
|
|
26646
26975
|
}
|
|
26647
26976
|
updateEmail(data, opts) {
|
|
26648
26977
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
26649
|
-
throw
|
|
26978
|
+
throw toKnownErr56(e);
|
|
26650
26979
|
});
|
|
26651
26980
|
}
|
|
26652
26981
|
};
|
|
@@ -26656,57 +26985,57 @@ var ComAtprotoSyncNS = class {
|
|
|
26656
26985
|
}
|
|
26657
26986
|
getBlob(params2, opts) {
|
|
26658
26987
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
26659
|
-
throw
|
|
26988
|
+
throw toKnownErr57(e);
|
|
26660
26989
|
});
|
|
26661
26990
|
}
|
|
26662
26991
|
getBlocks(params2, opts) {
|
|
26663
26992
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26664
|
-
throw
|
|
26993
|
+
throw toKnownErr58(e);
|
|
26665
26994
|
});
|
|
26666
26995
|
}
|
|
26667
26996
|
getCheckout(params2, opts) {
|
|
26668
26997
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
26669
|
-
throw
|
|
26998
|
+
throw toKnownErr59(e);
|
|
26670
26999
|
});
|
|
26671
27000
|
}
|
|
26672
27001
|
getHead(params2, opts) {
|
|
26673
27002
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
26674
|
-
throw
|
|
27003
|
+
throw toKnownErr60(e);
|
|
26675
27004
|
});
|
|
26676
27005
|
}
|
|
26677
27006
|
getLatestCommit(params2, opts) {
|
|
26678
27007
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
26679
|
-
throw
|
|
27008
|
+
throw toKnownErr61(e);
|
|
26680
27009
|
});
|
|
26681
27010
|
}
|
|
26682
27011
|
getRecord(params2, opts) {
|
|
26683
27012
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
26684
|
-
throw
|
|
27013
|
+
throw toKnownErr62(e);
|
|
26685
27014
|
});
|
|
26686
27015
|
}
|
|
26687
27016
|
getRepo(params2, opts) {
|
|
26688
27017
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
26689
|
-
throw
|
|
27018
|
+
throw toKnownErr63(e);
|
|
26690
27019
|
});
|
|
26691
27020
|
}
|
|
26692
27021
|
listBlobs(params2, opts) {
|
|
26693
27022
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
26694
|
-
throw
|
|
27023
|
+
throw toKnownErr64(e);
|
|
26695
27024
|
});
|
|
26696
27025
|
}
|
|
26697
27026
|
listRepos(params2, opts) {
|
|
26698
27027
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
26699
|
-
throw
|
|
27028
|
+
throw toKnownErr65(e);
|
|
26700
27029
|
});
|
|
26701
27030
|
}
|
|
26702
27031
|
notifyOfUpdate(data, opts) {
|
|
26703
27032
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26704
|
-
throw
|
|
27033
|
+
throw toKnownErr66(e);
|
|
26705
27034
|
});
|
|
26706
27035
|
}
|
|
26707
27036
|
requestCrawl(data, opts) {
|
|
26708
27037
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
26709
|
-
throw
|
|
27038
|
+
throw toKnownErr67(e);
|
|
26710
27039
|
});
|
|
26711
27040
|
}
|
|
26712
27041
|
};
|
|
@@ -26716,27 +27045,27 @@ var ComAtprotoTempNS = class {
|
|
|
26716
27045
|
}
|
|
26717
27046
|
fetchLabels(params2, opts) {
|
|
26718
27047
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
26719
|
-
throw
|
|
27048
|
+
throw toKnownErr68(e);
|
|
26720
27049
|
});
|
|
26721
27050
|
}
|
|
26722
27051
|
importRepo(data, opts) {
|
|
26723
27052
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
26724
|
-
throw
|
|
27053
|
+
throw toKnownErr69(e);
|
|
26725
27054
|
});
|
|
26726
27055
|
}
|
|
26727
27056
|
pushBlob(data, opts) {
|
|
26728
27057
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
26729
|
-
throw
|
|
27058
|
+
throw toKnownErr70(e);
|
|
26730
27059
|
});
|
|
26731
27060
|
}
|
|
26732
27061
|
requestPhoneVerification(data, opts) {
|
|
26733
27062
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
26734
|
-
throw
|
|
27063
|
+
throw toKnownErr71(e);
|
|
26735
27064
|
});
|
|
26736
27065
|
}
|
|
26737
27066
|
transferAccount(data, opts) {
|
|
26738
27067
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
26739
|
-
throw
|
|
27068
|
+
throw toKnownErr72(e);
|
|
26740
27069
|
});
|
|
26741
27070
|
}
|
|
26742
27071
|
};
|
|
@@ -26765,37 +27094,37 @@ var AppBskyActorNS = class {
|
|
|
26765
27094
|
}
|
|
26766
27095
|
getPreferences(params2, opts) {
|
|
26767
27096
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
26768
|
-
throw
|
|
27097
|
+
throw toKnownErr73(e);
|
|
26769
27098
|
});
|
|
26770
27099
|
}
|
|
26771
27100
|
getProfile(params2, opts) {
|
|
26772
27101
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
26773
|
-
throw
|
|
27102
|
+
throw toKnownErr74(e);
|
|
26774
27103
|
});
|
|
26775
27104
|
}
|
|
26776
27105
|
getProfiles(params2, opts) {
|
|
26777
27106
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
26778
|
-
throw
|
|
27107
|
+
throw toKnownErr75(e);
|
|
26779
27108
|
});
|
|
26780
27109
|
}
|
|
26781
27110
|
getSuggestions(params2, opts) {
|
|
26782
27111
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
26783
|
-
throw
|
|
27112
|
+
throw toKnownErr76(e);
|
|
26784
27113
|
});
|
|
26785
27114
|
}
|
|
26786
27115
|
putPreferences(data, opts) {
|
|
26787
27116
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
26788
|
-
throw
|
|
27117
|
+
throw toKnownErr77(e);
|
|
26789
27118
|
});
|
|
26790
27119
|
}
|
|
26791
27120
|
searchActors(params2, opts) {
|
|
26792
27121
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
26793
|
-
throw
|
|
27122
|
+
throw toKnownErr78(e);
|
|
26794
27123
|
});
|
|
26795
27124
|
}
|
|
26796
27125
|
searchActorsTypeahead(params2, opts) {
|
|
26797
27126
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
26798
|
-
throw
|
|
27127
|
+
throw toKnownErr79(e);
|
|
26799
27128
|
});
|
|
26800
27129
|
}
|
|
26801
27130
|
};
|
|
@@ -26842,82 +27171,82 @@ var AppBskyFeedNS = class {
|
|
|
26842
27171
|
}
|
|
26843
27172
|
describeFeedGenerator(params2, opts) {
|
|
26844
27173
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26845
|
-
throw
|
|
27174
|
+
throw toKnownErr80(e);
|
|
26846
27175
|
});
|
|
26847
27176
|
}
|
|
26848
27177
|
getActorFeeds(params2, opts) {
|
|
26849
27178
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
26850
|
-
throw
|
|
27179
|
+
throw toKnownErr81(e);
|
|
26851
27180
|
});
|
|
26852
27181
|
}
|
|
26853
27182
|
getActorLikes(params2, opts) {
|
|
26854
27183
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
26855
|
-
throw
|
|
27184
|
+
throw toKnownErr82(e);
|
|
26856
27185
|
});
|
|
26857
27186
|
}
|
|
26858
27187
|
getAuthorFeed(params2, opts) {
|
|
26859
27188
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
26860
|
-
throw
|
|
27189
|
+
throw toKnownErr83(e);
|
|
26861
27190
|
});
|
|
26862
27191
|
}
|
|
26863
27192
|
getFeed(params2, opts) {
|
|
26864
27193
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
26865
|
-
throw
|
|
27194
|
+
throw toKnownErr84(e);
|
|
26866
27195
|
});
|
|
26867
27196
|
}
|
|
26868
27197
|
getFeedGenerator(params2, opts) {
|
|
26869
27198
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26870
|
-
throw
|
|
27199
|
+
throw toKnownErr85(e);
|
|
26871
27200
|
});
|
|
26872
27201
|
}
|
|
26873
27202
|
getFeedGenerators(params2, opts) {
|
|
26874
27203
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26875
|
-
throw
|
|
27204
|
+
throw toKnownErr86(e);
|
|
26876
27205
|
});
|
|
26877
27206
|
}
|
|
26878
27207
|
getFeedSkeleton(params2, opts) {
|
|
26879
27208
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
26880
|
-
throw
|
|
27209
|
+
throw toKnownErr87(e);
|
|
26881
27210
|
});
|
|
26882
27211
|
}
|
|
26883
27212
|
getLikes(params2, opts) {
|
|
26884
27213
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
26885
|
-
throw
|
|
27214
|
+
throw toKnownErr88(e);
|
|
26886
27215
|
});
|
|
26887
27216
|
}
|
|
26888
27217
|
getListFeed(params2, opts) {
|
|
26889
27218
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
26890
|
-
throw
|
|
27219
|
+
throw toKnownErr89(e);
|
|
26891
27220
|
});
|
|
26892
27221
|
}
|
|
26893
27222
|
getPostThread(params2, opts) {
|
|
26894
27223
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
26895
|
-
throw
|
|
27224
|
+
throw toKnownErr90(e);
|
|
26896
27225
|
});
|
|
26897
27226
|
}
|
|
26898
27227
|
getPosts(params2, opts) {
|
|
26899
27228
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
26900
|
-
throw
|
|
27229
|
+
throw toKnownErr91(e);
|
|
26901
27230
|
});
|
|
26902
27231
|
}
|
|
26903
27232
|
getRepostedBy(params2, opts) {
|
|
26904
27233
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
26905
|
-
throw
|
|
27234
|
+
throw toKnownErr92(e);
|
|
26906
27235
|
});
|
|
26907
27236
|
}
|
|
26908
27237
|
getSuggestedFeeds(params2, opts) {
|
|
26909
27238
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
26910
|
-
throw
|
|
27239
|
+
throw toKnownErr93(e);
|
|
26911
27240
|
});
|
|
26912
27241
|
}
|
|
26913
27242
|
getTimeline(params2, opts) {
|
|
26914
27243
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
26915
|
-
throw
|
|
27244
|
+
throw toKnownErr94(e);
|
|
26916
27245
|
});
|
|
26917
27246
|
}
|
|
26918
27247
|
searchPosts(params2, opts) {
|
|
26919
27248
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26920
|
-
throw
|
|
27249
|
+
throw toKnownErr95(e);
|
|
26921
27250
|
});
|
|
26922
27251
|
}
|
|
26923
27252
|
};
|
|
@@ -27067,67 +27396,67 @@ var AppBskyGraphNS = class {
|
|
|
27067
27396
|
}
|
|
27068
27397
|
getBlocks(params2, opts) {
|
|
27069
27398
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
27070
|
-
throw
|
|
27399
|
+
throw toKnownErr96(e);
|
|
27071
27400
|
});
|
|
27072
27401
|
}
|
|
27073
27402
|
getFollowers(params2, opts) {
|
|
27074
27403
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
27075
|
-
throw
|
|
27404
|
+
throw toKnownErr97(e);
|
|
27076
27405
|
});
|
|
27077
27406
|
}
|
|
27078
27407
|
getFollows(params2, opts) {
|
|
27079
27408
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
27080
|
-
throw
|
|
27409
|
+
throw toKnownErr98(e);
|
|
27081
27410
|
});
|
|
27082
27411
|
}
|
|
27083
27412
|
getList(params2, opts) {
|
|
27084
27413
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
27085
|
-
throw
|
|
27414
|
+
throw toKnownErr99(e);
|
|
27086
27415
|
});
|
|
27087
27416
|
}
|
|
27088
27417
|
getListBlocks(params2, opts) {
|
|
27089
27418
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
27090
|
-
throw
|
|
27419
|
+
throw toKnownErr100(e);
|
|
27091
27420
|
});
|
|
27092
27421
|
}
|
|
27093
27422
|
getListMutes(params2, opts) {
|
|
27094
27423
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
27095
|
-
throw
|
|
27424
|
+
throw toKnownErr101(e);
|
|
27096
27425
|
});
|
|
27097
27426
|
}
|
|
27098
27427
|
getLists(params2, opts) {
|
|
27099
27428
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
27100
|
-
throw
|
|
27429
|
+
throw toKnownErr102(e);
|
|
27101
27430
|
});
|
|
27102
27431
|
}
|
|
27103
27432
|
getMutes(params2, opts) {
|
|
27104
27433
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
27105
|
-
throw
|
|
27434
|
+
throw toKnownErr103(e);
|
|
27106
27435
|
});
|
|
27107
27436
|
}
|
|
27108
27437
|
getSuggestedFollowsByActor(params2, opts) {
|
|
27109
27438
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
27110
|
-
throw
|
|
27439
|
+
throw toKnownErr104(e);
|
|
27111
27440
|
});
|
|
27112
27441
|
}
|
|
27113
27442
|
muteActor(data, opts) {
|
|
27114
27443
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
27115
|
-
throw
|
|
27444
|
+
throw toKnownErr105(e);
|
|
27116
27445
|
});
|
|
27117
27446
|
}
|
|
27118
27447
|
muteActorList(data, opts) {
|
|
27119
27448
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27120
|
-
throw
|
|
27449
|
+
throw toKnownErr106(e);
|
|
27121
27450
|
});
|
|
27122
27451
|
}
|
|
27123
27452
|
unmuteActor(data, opts) {
|
|
27124
27453
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
27125
|
-
throw
|
|
27454
|
+
throw toKnownErr107(e);
|
|
27126
27455
|
});
|
|
27127
27456
|
}
|
|
27128
27457
|
unmuteActorList(data, opts) {
|
|
27129
27458
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27130
|
-
throw
|
|
27459
|
+
throw toKnownErr108(e);
|
|
27131
27460
|
});
|
|
27132
27461
|
}
|
|
27133
27462
|
};
|
|
@@ -27272,22 +27601,22 @@ var AppBskyNotificationNS = class {
|
|
|
27272
27601
|
}
|
|
27273
27602
|
getUnreadCount(params2, opts) {
|
|
27274
27603
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
27275
|
-
throw
|
|
27604
|
+
throw toKnownErr109(e);
|
|
27276
27605
|
});
|
|
27277
27606
|
}
|
|
27278
27607
|
listNotifications(params2, opts) {
|
|
27279
27608
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
27280
|
-
throw
|
|
27609
|
+
throw toKnownErr110(e);
|
|
27281
27610
|
});
|
|
27282
27611
|
}
|
|
27283
27612
|
registerPush(data, opts) {
|
|
27284
27613
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
27285
|
-
throw
|
|
27614
|
+
throw toKnownErr111(e);
|
|
27286
27615
|
});
|
|
27287
27616
|
}
|
|
27288
27617
|
updateSeen(data, opts) {
|
|
27289
27618
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
27290
|
-
throw
|
|
27619
|
+
throw toKnownErr112(e);
|
|
27291
27620
|
});
|
|
27292
27621
|
}
|
|
27293
27622
|
};
|
|
@@ -27302,22 +27631,27 @@ var AppBskyUnspeccedNS = class {
|
|
|
27302
27631
|
}
|
|
27303
27632
|
getPopularFeedGenerators(params2, opts) {
|
|
27304
27633
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27305
|
-
throw
|
|
27634
|
+
throw toKnownErr113(e);
|
|
27635
|
+
});
|
|
27636
|
+
}
|
|
27637
|
+
getTaggedSuggestions(params2, opts) {
|
|
27638
|
+
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
27639
|
+
throw toKnownErr114(e);
|
|
27306
27640
|
});
|
|
27307
27641
|
}
|
|
27308
27642
|
getTimelineSkeleton(params2, opts) {
|
|
27309
27643
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
27310
|
-
throw
|
|
27644
|
+
throw toKnownErr115(e);
|
|
27311
27645
|
});
|
|
27312
27646
|
}
|
|
27313
27647
|
searchActorsSkeleton(params2, opts) {
|
|
27314
27648
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27315
|
-
throw
|
|
27649
|
+
throw toKnownErr116(e);
|
|
27316
27650
|
});
|
|
27317
27651
|
}
|
|
27318
27652
|
searchPostsSkeleton(params2, opts) {
|
|
27319
27653
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27320
|
-
throw
|
|
27654
|
+
throw toKnownErr117(e);
|
|
27321
27655
|
});
|
|
27322
27656
|
}
|
|
27323
27657
|
};
|