@atproto/api 0.9.0 → 0.9.2
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/agent.d.ts +2 -2
- package/dist/client/index.d.ts +12 -0
- package/dist/client/lexicons.d.ts +182 -0
- 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 +599 -342
- package/dist/index.js.map +3 -3
- package/dist/types.d.ts +0 -6
- package/package.json +5 -5
- package/src/agent.ts +2 -8
- package/src/client/index.ts +72 -0
- package/src/client/lexicons.ts +199 -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/src/types.ts +0 -10
- 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/getAccountsConfig.d.ts +0 -27
- 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
|
@@ -8952,8 +8952,10 @@ __export(src_exports2, {
|
|
|
8952
8952
|
BskyAgent: () => BskyAgent,
|
|
8953
8953
|
COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
|
|
8954
8954
|
COM_ATPROTO_MODERATION: () => COM_ATPROTO_MODERATION,
|
|
8955
|
+
ComAtprotoAdminCreateCommunicationTemplate: () => createCommunicationTemplate_exports,
|
|
8955
8956
|
ComAtprotoAdminDefs: () => defs_exports,
|
|
8956
8957
|
ComAtprotoAdminDeleteAccount: () => deleteAccount_exports,
|
|
8958
|
+
ComAtprotoAdminDeleteCommunicationTemplate: () => deleteCommunicationTemplate_exports,
|
|
8957
8959
|
ComAtprotoAdminDisableAccountInvites: () => disableAccountInvites_exports,
|
|
8958
8960
|
ComAtprotoAdminDisableInviteCodes: () => disableInviteCodes_exports,
|
|
8959
8961
|
ComAtprotoAdminEmitModerationEvent: () => emitModerationEvent_exports,
|
|
@@ -8965,6 +8967,7 @@ __export(src_exports2, {
|
|
|
8965
8967
|
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
8966
8968
|
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
8967
8969
|
ComAtprotoAdminGetSubjectStatus: () => getSubjectStatus_exports,
|
|
8970
|
+
ComAtprotoAdminListCommunicationTemplates: () => listCommunicationTemplates_exports,
|
|
8968
8971
|
ComAtprotoAdminNS: () => ComAtprotoAdminNS,
|
|
8969
8972
|
ComAtprotoAdminQueryModerationEvents: () => queryModerationEvents_exports,
|
|
8970
8973
|
ComAtprotoAdminQueryModerationStatuses: () => queryModerationStatuses_exports,
|
|
@@ -8972,6 +8975,7 @@ __export(src_exports2, {
|
|
|
8972
8975
|
ComAtprotoAdminSendEmail: () => sendEmail_exports,
|
|
8973
8976
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8974
8977
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
8978
|
+
ComAtprotoAdminUpdateCommunicationTemplate: () => updateCommunicationTemplate_exports,
|
|
8975
8979
|
ComAtprotoAdminUpdateSubjectStatus: () => updateSubjectStatus_exports,
|
|
8976
8980
|
ComAtprotoIdentityNS: () => ComAtprotoIdentityNS,
|
|
8977
8981
|
ComAtprotoIdentityResolveHandle: () => resolveHandle_exports,
|
|
@@ -15675,6 +15679,49 @@ var defaultInst = new Client();
|
|
|
15675
15679
|
|
|
15676
15680
|
// src/client/lexicons.ts
|
|
15677
15681
|
var schemaDict = {
|
|
15682
|
+
ComAtprotoAdminCreateCommunicationTemplate: {
|
|
15683
|
+
lexicon: 1,
|
|
15684
|
+
id: "com.atproto.admin.createCommunicationTemplate",
|
|
15685
|
+
defs: {
|
|
15686
|
+
main: {
|
|
15687
|
+
type: "procedure",
|
|
15688
|
+
description: "Administrative action to create a new, re-usable communication (email for now) template.",
|
|
15689
|
+
input: {
|
|
15690
|
+
encoding: "application/json",
|
|
15691
|
+
schema: {
|
|
15692
|
+
type: "object",
|
|
15693
|
+
required: ["subject", "contentMarkdown", "name"],
|
|
15694
|
+
properties: {
|
|
15695
|
+
name: {
|
|
15696
|
+
type: "string",
|
|
15697
|
+
description: "Name of the template."
|
|
15698
|
+
},
|
|
15699
|
+
contentMarkdown: {
|
|
15700
|
+
type: "string",
|
|
15701
|
+
description: "Content of the template, markdown supported, can contain variable placeholders."
|
|
15702
|
+
},
|
|
15703
|
+
subject: {
|
|
15704
|
+
type: "string",
|
|
15705
|
+
description: "Subject of the message, used in emails."
|
|
15706
|
+
},
|
|
15707
|
+
createdBy: {
|
|
15708
|
+
type: "string",
|
|
15709
|
+
format: "did",
|
|
15710
|
+
description: "DID of the user who is creating the template."
|
|
15711
|
+
}
|
|
15712
|
+
}
|
|
15713
|
+
}
|
|
15714
|
+
},
|
|
15715
|
+
output: {
|
|
15716
|
+
encoding: "application/json",
|
|
15717
|
+
schema: {
|
|
15718
|
+
type: "ref",
|
|
15719
|
+
ref: "lex:com.atproto.admin.defs#communicationTemplateView"
|
|
15720
|
+
}
|
|
15721
|
+
}
|
|
15722
|
+
}
|
|
15723
|
+
}
|
|
15724
|
+
},
|
|
15678
15725
|
ComAtprotoAdminDefs: {
|
|
15679
15726
|
lexicon: 1,
|
|
15680
15727
|
id: "com.atproto.admin.defs",
|
|
@@ -16512,6 +16559,51 @@ var schemaDict = {
|
|
|
16512
16559
|
description: "Additional comment about the outgoing comm."
|
|
16513
16560
|
}
|
|
16514
16561
|
}
|
|
16562
|
+
},
|
|
16563
|
+
communicationTemplateView: {
|
|
16564
|
+
type: "object",
|
|
16565
|
+
required: [
|
|
16566
|
+
"id",
|
|
16567
|
+
"name",
|
|
16568
|
+
"contentMarkdown",
|
|
16569
|
+
"disabled",
|
|
16570
|
+
"lastUpdatedBy",
|
|
16571
|
+
"createdAt",
|
|
16572
|
+
"updatedAt"
|
|
16573
|
+
],
|
|
16574
|
+
properties: {
|
|
16575
|
+
id: {
|
|
16576
|
+
type: "string"
|
|
16577
|
+
},
|
|
16578
|
+
name: {
|
|
16579
|
+
type: "string",
|
|
16580
|
+
description: "Name of the template."
|
|
16581
|
+
},
|
|
16582
|
+
subject: {
|
|
16583
|
+
type: "string",
|
|
16584
|
+
description: "Content of the template, can contain markdown and variable placeholders."
|
|
16585
|
+
},
|
|
16586
|
+
contentMarkdown: {
|
|
16587
|
+
type: "string",
|
|
16588
|
+
description: "Subject of the message, used in emails."
|
|
16589
|
+
},
|
|
16590
|
+
disabled: {
|
|
16591
|
+
type: "boolean"
|
|
16592
|
+
},
|
|
16593
|
+
lastUpdatedBy: {
|
|
16594
|
+
type: "string",
|
|
16595
|
+
format: "did",
|
|
16596
|
+
description: "DID of the user who last updated the template."
|
|
16597
|
+
},
|
|
16598
|
+
createdAt: {
|
|
16599
|
+
type: "string",
|
|
16600
|
+
format: "datetime"
|
|
16601
|
+
},
|
|
16602
|
+
updatedAt: {
|
|
16603
|
+
type: "string",
|
|
16604
|
+
format: "datetime"
|
|
16605
|
+
}
|
|
16606
|
+
}
|
|
16515
16607
|
}
|
|
16516
16608
|
}
|
|
16517
16609
|
},
|
|
@@ -16538,6 +16630,28 @@ var schemaDict = {
|
|
|
16538
16630
|
}
|
|
16539
16631
|
}
|
|
16540
16632
|
},
|
|
16633
|
+
ComAtprotoAdminDeleteCommunicationTemplate: {
|
|
16634
|
+
lexicon: 1,
|
|
16635
|
+
id: "com.atproto.admin.deleteCommunicationTemplate",
|
|
16636
|
+
defs: {
|
|
16637
|
+
main: {
|
|
16638
|
+
type: "procedure",
|
|
16639
|
+
description: "Delete a communication template.",
|
|
16640
|
+
input: {
|
|
16641
|
+
encoding: "application/json",
|
|
16642
|
+
schema: {
|
|
16643
|
+
type: "object",
|
|
16644
|
+
required: ["id"],
|
|
16645
|
+
properties: {
|
|
16646
|
+
id: {
|
|
16647
|
+
type: "string"
|
|
16648
|
+
}
|
|
16649
|
+
}
|
|
16650
|
+
}
|
|
16651
|
+
}
|
|
16652
|
+
}
|
|
16653
|
+
}
|
|
16654
|
+
},
|
|
16541
16655
|
ComAtprotoAdminDisableAccountInvites: {
|
|
16542
16656
|
lexicon: 1,
|
|
16543
16657
|
id: "com.atproto.admin.disableAccountInvites",
|
|
@@ -16942,6 +17056,32 @@ var schemaDict = {
|
|
|
16942
17056
|
}
|
|
16943
17057
|
}
|
|
16944
17058
|
},
|
|
17059
|
+
ComAtprotoAdminListCommunicationTemplates: {
|
|
17060
|
+
lexicon: 1,
|
|
17061
|
+
id: "com.atproto.admin.listCommunicationTemplates",
|
|
17062
|
+
defs: {
|
|
17063
|
+
main: {
|
|
17064
|
+
type: "query",
|
|
17065
|
+
description: "Get list of all communication templates.",
|
|
17066
|
+
output: {
|
|
17067
|
+
encoding: "application/json",
|
|
17068
|
+
schema: {
|
|
17069
|
+
type: "object",
|
|
17070
|
+
required: ["communicationTemplates"],
|
|
17071
|
+
properties: {
|
|
17072
|
+
communicationTemplates: {
|
|
17073
|
+
type: "array",
|
|
17074
|
+
items: {
|
|
17075
|
+
type: "ref",
|
|
17076
|
+
ref: "lex:com.atproto.admin.defs#communicationTemplateView"
|
|
17077
|
+
}
|
|
17078
|
+
}
|
|
17079
|
+
}
|
|
17080
|
+
}
|
|
17081
|
+
}
|
|
17082
|
+
}
|
|
17083
|
+
}
|
|
17084
|
+
},
|
|
16945
17085
|
ComAtprotoAdminQueryModerationEvents: {
|
|
16946
17086
|
lexicon: 1,
|
|
16947
17087
|
id: "com.atproto.admin.queryModerationEvents",
|
|
@@ -17273,6 +17413,56 @@ var schemaDict = {
|
|
|
17273
17413
|
}
|
|
17274
17414
|
}
|
|
17275
17415
|
},
|
|
17416
|
+
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
17417
|
+
lexicon: 1,
|
|
17418
|
+
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
17419
|
+
defs: {
|
|
17420
|
+
main: {
|
|
17421
|
+
type: "procedure",
|
|
17422
|
+
description: "Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.",
|
|
17423
|
+
input: {
|
|
17424
|
+
encoding: "application/json",
|
|
17425
|
+
schema: {
|
|
17426
|
+
type: "object",
|
|
17427
|
+
required: ["id"],
|
|
17428
|
+
properties: {
|
|
17429
|
+
id: {
|
|
17430
|
+
type: "string",
|
|
17431
|
+
description: "ID of the template to be updated."
|
|
17432
|
+
},
|
|
17433
|
+
name: {
|
|
17434
|
+
type: "string",
|
|
17435
|
+
description: "Name of the template."
|
|
17436
|
+
},
|
|
17437
|
+
contentMarkdown: {
|
|
17438
|
+
type: "string",
|
|
17439
|
+
description: "Content of the template, markdown supported, can contain variable placeholders."
|
|
17440
|
+
},
|
|
17441
|
+
subject: {
|
|
17442
|
+
type: "string",
|
|
17443
|
+
description: "Subject of the message, used in emails."
|
|
17444
|
+
},
|
|
17445
|
+
updatedBy: {
|
|
17446
|
+
type: "string",
|
|
17447
|
+
format: "did",
|
|
17448
|
+
description: "DID of the user who is updating the template."
|
|
17449
|
+
},
|
|
17450
|
+
disabled: {
|
|
17451
|
+
type: "boolean"
|
|
17452
|
+
}
|
|
17453
|
+
}
|
|
17454
|
+
}
|
|
17455
|
+
},
|
|
17456
|
+
output: {
|
|
17457
|
+
encoding: "application/json",
|
|
17458
|
+
schema: {
|
|
17459
|
+
type: "ref",
|
|
17460
|
+
ref: "lex:com.atproto.admin.defs#communicationTemplateView"
|
|
17461
|
+
}
|
|
17462
|
+
}
|
|
17463
|
+
}
|
|
17464
|
+
}
|
|
17465
|
+
},
|
|
17276
17466
|
ComAtprotoAdminUpdateSubjectStatus: {
|
|
17277
17467
|
lexicon: 1,
|
|
17278
17468
|
id: "com.atproto.admin.updateSubjectStatus",
|
|
@@ -23485,12 +23675,34 @@ var schemaDict = {
|
|
|
23485
23675
|
var schemas = Object.values(schemaDict);
|
|
23486
23676
|
var lexicons = new Lexicons(schemas);
|
|
23487
23677
|
|
|
23678
|
+
// src/client/types/com/atproto/admin/createCommunicationTemplate.ts
|
|
23679
|
+
var createCommunicationTemplate_exports = {};
|
|
23680
|
+
__export(createCommunicationTemplate_exports, {
|
|
23681
|
+
toKnownErr: () => toKnownErr
|
|
23682
|
+
});
|
|
23683
|
+
function toKnownErr(e) {
|
|
23684
|
+
if (e instanceof XRPCError) {
|
|
23685
|
+
}
|
|
23686
|
+
return e;
|
|
23687
|
+
}
|
|
23688
|
+
|
|
23488
23689
|
// src/client/types/com/atproto/admin/deleteAccount.ts
|
|
23489
23690
|
var deleteAccount_exports = {};
|
|
23490
23691
|
__export(deleteAccount_exports, {
|
|
23491
|
-
toKnownErr: () =>
|
|
23692
|
+
toKnownErr: () => toKnownErr2
|
|
23492
23693
|
});
|
|
23493
|
-
function
|
|
23694
|
+
function toKnownErr2(e) {
|
|
23695
|
+
if (e instanceof XRPCError) {
|
|
23696
|
+
}
|
|
23697
|
+
return e;
|
|
23698
|
+
}
|
|
23699
|
+
|
|
23700
|
+
// src/client/types/com/atproto/admin/deleteCommunicationTemplate.ts
|
|
23701
|
+
var deleteCommunicationTemplate_exports = {};
|
|
23702
|
+
__export(deleteCommunicationTemplate_exports, {
|
|
23703
|
+
toKnownErr: () => toKnownErr3
|
|
23704
|
+
});
|
|
23705
|
+
function toKnownErr3(e) {
|
|
23494
23706
|
if (e instanceof XRPCError) {
|
|
23495
23707
|
}
|
|
23496
23708
|
return e;
|
|
@@ -23499,9 +23711,9 @@ function toKnownErr(e) {
|
|
|
23499
23711
|
// src/client/types/com/atproto/admin/disableAccountInvites.ts
|
|
23500
23712
|
var disableAccountInvites_exports = {};
|
|
23501
23713
|
__export(disableAccountInvites_exports, {
|
|
23502
|
-
toKnownErr: () =>
|
|
23714
|
+
toKnownErr: () => toKnownErr4
|
|
23503
23715
|
});
|
|
23504
|
-
function
|
|
23716
|
+
function toKnownErr4(e) {
|
|
23505
23717
|
if (e instanceof XRPCError) {
|
|
23506
23718
|
}
|
|
23507
23719
|
return e;
|
|
@@ -23510,9 +23722,9 @@ function toKnownErr2(e) {
|
|
|
23510
23722
|
// src/client/types/com/atproto/admin/disableInviteCodes.ts
|
|
23511
23723
|
var disableInviteCodes_exports = {};
|
|
23512
23724
|
__export(disableInviteCodes_exports, {
|
|
23513
|
-
toKnownErr: () =>
|
|
23725
|
+
toKnownErr: () => toKnownErr5
|
|
23514
23726
|
});
|
|
23515
|
-
function
|
|
23727
|
+
function toKnownErr5(e) {
|
|
23516
23728
|
if (e instanceof XRPCError) {
|
|
23517
23729
|
}
|
|
23518
23730
|
return e;
|
|
@@ -23522,14 +23734,14 @@ function toKnownErr3(e) {
|
|
|
23522
23734
|
var emitModerationEvent_exports = {};
|
|
23523
23735
|
__export(emitModerationEvent_exports, {
|
|
23524
23736
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
23525
|
-
toKnownErr: () =>
|
|
23737
|
+
toKnownErr: () => toKnownErr6
|
|
23526
23738
|
});
|
|
23527
23739
|
var SubjectHasActionError = class extends XRPCError {
|
|
23528
23740
|
constructor(src2) {
|
|
23529
23741
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23530
23742
|
}
|
|
23531
23743
|
};
|
|
23532
|
-
function
|
|
23744
|
+
function toKnownErr6(e) {
|
|
23533
23745
|
if (e instanceof XRPCError) {
|
|
23534
23746
|
if (e.error === "SubjectHasAction")
|
|
23535
23747
|
return new SubjectHasActionError(e);
|
|
@@ -23540,9 +23752,9 @@ function toKnownErr4(e) {
|
|
|
23540
23752
|
// src/client/types/com/atproto/admin/enableAccountInvites.ts
|
|
23541
23753
|
var enableAccountInvites_exports = {};
|
|
23542
23754
|
__export(enableAccountInvites_exports, {
|
|
23543
|
-
toKnownErr: () =>
|
|
23755
|
+
toKnownErr: () => toKnownErr7
|
|
23544
23756
|
});
|
|
23545
|
-
function
|
|
23757
|
+
function toKnownErr7(e) {
|
|
23546
23758
|
if (e instanceof XRPCError) {
|
|
23547
23759
|
}
|
|
23548
23760
|
return e;
|
|
@@ -23551,9 +23763,9 @@ function toKnownErr5(e) {
|
|
|
23551
23763
|
// src/client/types/com/atproto/admin/getAccountInfo.ts
|
|
23552
23764
|
var getAccountInfo_exports = {};
|
|
23553
23765
|
__export(getAccountInfo_exports, {
|
|
23554
|
-
toKnownErr: () =>
|
|
23766
|
+
toKnownErr: () => toKnownErr8
|
|
23555
23767
|
});
|
|
23556
|
-
function
|
|
23768
|
+
function toKnownErr8(e) {
|
|
23557
23769
|
if (e instanceof XRPCError) {
|
|
23558
23770
|
}
|
|
23559
23771
|
return e;
|
|
@@ -23562,9 +23774,9 @@ function toKnownErr6(e) {
|
|
|
23562
23774
|
// src/client/types/com/atproto/admin/getAccountInfos.ts
|
|
23563
23775
|
var getAccountInfos_exports = {};
|
|
23564
23776
|
__export(getAccountInfos_exports, {
|
|
23565
|
-
toKnownErr: () =>
|
|
23777
|
+
toKnownErr: () => toKnownErr9
|
|
23566
23778
|
});
|
|
23567
|
-
function
|
|
23779
|
+
function toKnownErr9(e) {
|
|
23568
23780
|
if (e instanceof XRPCError) {
|
|
23569
23781
|
}
|
|
23570
23782
|
return e;
|
|
@@ -23573,9 +23785,9 @@ function toKnownErr7(e) {
|
|
|
23573
23785
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
23574
23786
|
var getInviteCodes_exports = {};
|
|
23575
23787
|
__export(getInviteCodes_exports, {
|
|
23576
|
-
toKnownErr: () =>
|
|
23788
|
+
toKnownErr: () => toKnownErr10
|
|
23577
23789
|
});
|
|
23578
|
-
function
|
|
23790
|
+
function toKnownErr10(e) {
|
|
23579
23791
|
if (e instanceof XRPCError) {
|
|
23580
23792
|
}
|
|
23581
23793
|
return e;
|
|
@@ -23584,9 +23796,9 @@ function toKnownErr8(e) {
|
|
|
23584
23796
|
// src/client/types/com/atproto/admin/getModerationEvent.ts
|
|
23585
23797
|
var getModerationEvent_exports = {};
|
|
23586
23798
|
__export(getModerationEvent_exports, {
|
|
23587
|
-
toKnownErr: () =>
|
|
23799
|
+
toKnownErr: () => toKnownErr11
|
|
23588
23800
|
});
|
|
23589
|
-
function
|
|
23801
|
+
function toKnownErr11(e) {
|
|
23590
23802
|
if (e instanceof XRPCError) {
|
|
23591
23803
|
}
|
|
23592
23804
|
return e;
|
|
@@ -23596,14 +23808,14 @@ function toKnownErr9(e) {
|
|
|
23596
23808
|
var getRecord_exports = {};
|
|
23597
23809
|
__export(getRecord_exports, {
|
|
23598
23810
|
RecordNotFoundError: () => RecordNotFoundError,
|
|
23599
|
-
toKnownErr: () =>
|
|
23811
|
+
toKnownErr: () => toKnownErr12
|
|
23600
23812
|
});
|
|
23601
23813
|
var RecordNotFoundError = class extends XRPCError {
|
|
23602
23814
|
constructor(src2) {
|
|
23603
23815
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23604
23816
|
}
|
|
23605
23817
|
};
|
|
23606
|
-
function
|
|
23818
|
+
function toKnownErr12(e) {
|
|
23607
23819
|
if (e instanceof XRPCError) {
|
|
23608
23820
|
if (e.error === "RecordNotFound")
|
|
23609
23821
|
return new RecordNotFoundError(e);
|
|
@@ -23615,14 +23827,14 @@ function toKnownErr10(e) {
|
|
|
23615
23827
|
var getRepo_exports = {};
|
|
23616
23828
|
__export(getRepo_exports, {
|
|
23617
23829
|
RepoNotFoundError: () => RepoNotFoundError,
|
|
23618
|
-
toKnownErr: () =>
|
|
23830
|
+
toKnownErr: () => toKnownErr13
|
|
23619
23831
|
});
|
|
23620
23832
|
var RepoNotFoundError = class extends XRPCError {
|
|
23621
23833
|
constructor(src2) {
|
|
23622
23834
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23623
23835
|
}
|
|
23624
23836
|
};
|
|
23625
|
-
function
|
|
23837
|
+
function toKnownErr13(e) {
|
|
23626
23838
|
if (e instanceof XRPCError) {
|
|
23627
23839
|
if (e.error === "RepoNotFound")
|
|
23628
23840
|
return new RepoNotFoundError(e);
|
|
@@ -23633,9 +23845,20 @@ function toKnownErr11(e) {
|
|
|
23633
23845
|
// src/client/types/com/atproto/admin/getSubjectStatus.ts
|
|
23634
23846
|
var getSubjectStatus_exports = {};
|
|
23635
23847
|
__export(getSubjectStatus_exports, {
|
|
23636
|
-
toKnownErr: () =>
|
|
23848
|
+
toKnownErr: () => toKnownErr14
|
|
23637
23849
|
});
|
|
23638
|
-
function
|
|
23850
|
+
function toKnownErr14(e) {
|
|
23851
|
+
if (e instanceof XRPCError) {
|
|
23852
|
+
}
|
|
23853
|
+
return e;
|
|
23854
|
+
}
|
|
23855
|
+
|
|
23856
|
+
// src/client/types/com/atproto/admin/listCommunicationTemplates.ts
|
|
23857
|
+
var listCommunicationTemplates_exports = {};
|
|
23858
|
+
__export(listCommunicationTemplates_exports, {
|
|
23859
|
+
toKnownErr: () => toKnownErr15
|
|
23860
|
+
});
|
|
23861
|
+
function toKnownErr15(e) {
|
|
23639
23862
|
if (e instanceof XRPCError) {
|
|
23640
23863
|
}
|
|
23641
23864
|
return e;
|
|
@@ -23644,9 +23867,9 @@ function toKnownErr12(e) {
|
|
|
23644
23867
|
// src/client/types/com/atproto/admin/queryModerationEvents.ts
|
|
23645
23868
|
var queryModerationEvents_exports = {};
|
|
23646
23869
|
__export(queryModerationEvents_exports, {
|
|
23647
|
-
toKnownErr: () =>
|
|
23870
|
+
toKnownErr: () => toKnownErr16
|
|
23648
23871
|
});
|
|
23649
|
-
function
|
|
23872
|
+
function toKnownErr16(e) {
|
|
23650
23873
|
if (e instanceof XRPCError) {
|
|
23651
23874
|
}
|
|
23652
23875
|
return e;
|
|
@@ -23655,9 +23878,9 @@ function toKnownErr13(e) {
|
|
|
23655
23878
|
// src/client/types/com/atproto/admin/queryModerationStatuses.ts
|
|
23656
23879
|
var queryModerationStatuses_exports = {};
|
|
23657
23880
|
__export(queryModerationStatuses_exports, {
|
|
23658
|
-
toKnownErr: () =>
|
|
23881
|
+
toKnownErr: () => toKnownErr17
|
|
23659
23882
|
});
|
|
23660
|
-
function
|
|
23883
|
+
function toKnownErr17(e) {
|
|
23661
23884
|
if (e instanceof XRPCError) {
|
|
23662
23885
|
}
|
|
23663
23886
|
return e;
|
|
@@ -23666,9 +23889,9 @@ function toKnownErr14(e) {
|
|
|
23666
23889
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23667
23890
|
var searchRepos_exports = {};
|
|
23668
23891
|
__export(searchRepos_exports, {
|
|
23669
|
-
toKnownErr: () =>
|
|
23892
|
+
toKnownErr: () => toKnownErr18
|
|
23670
23893
|
});
|
|
23671
|
-
function
|
|
23894
|
+
function toKnownErr18(e) {
|
|
23672
23895
|
if (e instanceof XRPCError) {
|
|
23673
23896
|
}
|
|
23674
23897
|
return e;
|
|
@@ -23677,9 +23900,9 @@ function toKnownErr15(e) {
|
|
|
23677
23900
|
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
23678
23901
|
var sendEmail_exports = {};
|
|
23679
23902
|
__export(sendEmail_exports, {
|
|
23680
|
-
toKnownErr: () =>
|
|
23903
|
+
toKnownErr: () => toKnownErr19
|
|
23681
23904
|
});
|
|
23682
|
-
function
|
|
23905
|
+
function toKnownErr19(e) {
|
|
23683
23906
|
if (e instanceof XRPCError) {
|
|
23684
23907
|
}
|
|
23685
23908
|
return e;
|
|
@@ -23688,9 +23911,9 @@ function toKnownErr16(e) {
|
|
|
23688
23911
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23689
23912
|
var updateAccountEmail_exports = {};
|
|
23690
23913
|
__export(updateAccountEmail_exports, {
|
|
23691
|
-
toKnownErr: () =>
|
|
23914
|
+
toKnownErr: () => toKnownErr20
|
|
23692
23915
|
});
|
|
23693
|
-
function
|
|
23916
|
+
function toKnownErr20(e) {
|
|
23694
23917
|
if (e instanceof XRPCError) {
|
|
23695
23918
|
}
|
|
23696
23919
|
return e;
|
|
@@ -23699,9 +23922,20 @@ function toKnownErr17(e) {
|
|
|
23699
23922
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23700
23923
|
var updateAccountHandle_exports = {};
|
|
23701
23924
|
__export(updateAccountHandle_exports, {
|
|
23702
|
-
toKnownErr: () =>
|
|
23925
|
+
toKnownErr: () => toKnownErr21
|
|
23703
23926
|
});
|
|
23704
|
-
function
|
|
23927
|
+
function toKnownErr21(e) {
|
|
23928
|
+
if (e instanceof XRPCError) {
|
|
23929
|
+
}
|
|
23930
|
+
return e;
|
|
23931
|
+
}
|
|
23932
|
+
|
|
23933
|
+
// src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
|
|
23934
|
+
var updateCommunicationTemplate_exports = {};
|
|
23935
|
+
__export(updateCommunicationTemplate_exports, {
|
|
23936
|
+
toKnownErr: () => toKnownErr22
|
|
23937
|
+
});
|
|
23938
|
+
function toKnownErr22(e) {
|
|
23705
23939
|
if (e instanceof XRPCError) {
|
|
23706
23940
|
}
|
|
23707
23941
|
return e;
|
|
@@ -23710,9 +23944,9 @@ function toKnownErr18(e) {
|
|
|
23710
23944
|
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
23711
23945
|
var updateSubjectStatus_exports = {};
|
|
23712
23946
|
__export(updateSubjectStatus_exports, {
|
|
23713
|
-
toKnownErr: () =>
|
|
23947
|
+
toKnownErr: () => toKnownErr23
|
|
23714
23948
|
});
|
|
23715
|
-
function
|
|
23949
|
+
function toKnownErr23(e) {
|
|
23716
23950
|
if (e instanceof XRPCError) {
|
|
23717
23951
|
}
|
|
23718
23952
|
return e;
|
|
@@ -23721,9 +23955,9 @@ function toKnownErr19(e) {
|
|
|
23721
23955
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23722
23956
|
var resolveHandle_exports = {};
|
|
23723
23957
|
__export(resolveHandle_exports, {
|
|
23724
|
-
toKnownErr: () =>
|
|
23958
|
+
toKnownErr: () => toKnownErr24
|
|
23725
23959
|
});
|
|
23726
|
-
function
|
|
23960
|
+
function toKnownErr24(e) {
|
|
23727
23961
|
if (e instanceof XRPCError) {
|
|
23728
23962
|
}
|
|
23729
23963
|
return e;
|
|
@@ -23732,9 +23966,9 @@ function toKnownErr20(e) {
|
|
|
23732
23966
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23733
23967
|
var updateHandle_exports = {};
|
|
23734
23968
|
__export(updateHandle_exports, {
|
|
23735
|
-
toKnownErr: () =>
|
|
23969
|
+
toKnownErr: () => toKnownErr25
|
|
23736
23970
|
});
|
|
23737
|
-
function
|
|
23971
|
+
function toKnownErr25(e) {
|
|
23738
23972
|
if (e instanceof XRPCError) {
|
|
23739
23973
|
}
|
|
23740
23974
|
return e;
|
|
@@ -23743,9 +23977,9 @@ function toKnownErr21(e) {
|
|
|
23743
23977
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23744
23978
|
var queryLabels_exports = {};
|
|
23745
23979
|
__export(queryLabels_exports, {
|
|
23746
|
-
toKnownErr: () =>
|
|
23980
|
+
toKnownErr: () => toKnownErr26
|
|
23747
23981
|
});
|
|
23748
|
-
function
|
|
23982
|
+
function toKnownErr26(e) {
|
|
23749
23983
|
if (e instanceof XRPCError) {
|
|
23750
23984
|
}
|
|
23751
23985
|
return e;
|
|
@@ -23754,9 +23988,9 @@ function toKnownErr22(e) {
|
|
|
23754
23988
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23755
23989
|
var createReport_exports = {};
|
|
23756
23990
|
__export(createReport_exports, {
|
|
23757
|
-
toKnownErr: () =>
|
|
23991
|
+
toKnownErr: () => toKnownErr27
|
|
23758
23992
|
});
|
|
23759
|
-
function
|
|
23993
|
+
function toKnownErr27(e) {
|
|
23760
23994
|
if (e instanceof XRPCError) {
|
|
23761
23995
|
}
|
|
23762
23996
|
return e;
|
|
@@ -23769,7 +24003,7 @@ __export(applyWrites_exports, {
|
|
|
23769
24003
|
isCreate: () => isCreate,
|
|
23770
24004
|
isDelete: () => isDelete,
|
|
23771
24005
|
isUpdate: () => isUpdate,
|
|
23772
|
-
toKnownErr: () =>
|
|
24006
|
+
toKnownErr: () => toKnownErr28,
|
|
23773
24007
|
validateCreate: () => validateCreate,
|
|
23774
24008
|
validateDelete: () => validateDelete,
|
|
23775
24009
|
validateUpdate: () => validateUpdate
|
|
@@ -23789,7 +24023,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
23789
24023
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23790
24024
|
}
|
|
23791
24025
|
};
|
|
23792
|
-
function
|
|
24026
|
+
function toKnownErr28(e) {
|
|
23793
24027
|
if (e instanceof XRPCError) {
|
|
23794
24028
|
if (e.error === "InvalidSwap")
|
|
23795
24029
|
return new InvalidSwapError(e);
|
|
@@ -23819,14 +24053,14 @@ function validateDelete(v) {
|
|
|
23819
24053
|
var createRecord_exports = {};
|
|
23820
24054
|
__export(createRecord_exports, {
|
|
23821
24055
|
InvalidSwapError: () => InvalidSwapError2,
|
|
23822
|
-
toKnownErr: () =>
|
|
24056
|
+
toKnownErr: () => toKnownErr29
|
|
23823
24057
|
});
|
|
23824
24058
|
var InvalidSwapError2 = class extends XRPCError {
|
|
23825
24059
|
constructor(src2) {
|
|
23826
24060
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23827
24061
|
}
|
|
23828
24062
|
};
|
|
23829
|
-
function
|
|
24063
|
+
function toKnownErr29(e) {
|
|
23830
24064
|
if (e instanceof XRPCError) {
|
|
23831
24065
|
if (e.error === "InvalidSwap")
|
|
23832
24066
|
return new InvalidSwapError2(e);
|
|
@@ -23838,14 +24072,14 @@ function toKnownErr25(e) {
|
|
|
23838
24072
|
var deleteRecord_exports = {};
|
|
23839
24073
|
__export(deleteRecord_exports, {
|
|
23840
24074
|
InvalidSwapError: () => InvalidSwapError3,
|
|
23841
|
-
toKnownErr: () =>
|
|
24075
|
+
toKnownErr: () => toKnownErr30
|
|
23842
24076
|
});
|
|
23843
24077
|
var InvalidSwapError3 = class extends XRPCError {
|
|
23844
24078
|
constructor(src2) {
|
|
23845
24079
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23846
24080
|
}
|
|
23847
24081
|
};
|
|
23848
|
-
function
|
|
24082
|
+
function toKnownErr30(e) {
|
|
23849
24083
|
if (e instanceof XRPCError) {
|
|
23850
24084
|
if (e.error === "InvalidSwap")
|
|
23851
24085
|
return new InvalidSwapError3(e);
|
|
@@ -23856,9 +24090,9 @@ function toKnownErr26(e) {
|
|
|
23856
24090
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23857
24091
|
var describeRepo_exports = {};
|
|
23858
24092
|
__export(describeRepo_exports, {
|
|
23859
|
-
toKnownErr: () =>
|
|
24093
|
+
toKnownErr: () => toKnownErr31
|
|
23860
24094
|
});
|
|
23861
|
-
function
|
|
24095
|
+
function toKnownErr31(e) {
|
|
23862
24096
|
if (e instanceof XRPCError) {
|
|
23863
24097
|
}
|
|
23864
24098
|
return e;
|
|
@@ -23867,9 +24101,9 @@ function toKnownErr27(e) {
|
|
|
23867
24101
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23868
24102
|
var getRecord_exports2 = {};
|
|
23869
24103
|
__export(getRecord_exports2, {
|
|
23870
|
-
toKnownErr: () =>
|
|
24104
|
+
toKnownErr: () => toKnownErr32
|
|
23871
24105
|
});
|
|
23872
|
-
function
|
|
24106
|
+
function toKnownErr32(e) {
|
|
23873
24107
|
if (e instanceof XRPCError) {
|
|
23874
24108
|
}
|
|
23875
24109
|
return e;
|
|
@@ -23879,10 +24113,10 @@ function toKnownErr28(e) {
|
|
|
23879
24113
|
var listRecords_exports = {};
|
|
23880
24114
|
__export(listRecords_exports, {
|
|
23881
24115
|
isRecord: () => isRecord,
|
|
23882
|
-
toKnownErr: () =>
|
|
24116
|
+
toKnownErr: () => toKnownErr33,
|
|
23883
24117
|
validateRecord: () => validateRecord
|
|
23884
24118
|
});
|
|
23885
|
-
function
|
|
24119
|
+
function toKnownErr33(e) {
|
|
23886
24120
|
if (e instanceof XRPCError) {
|
|
23887
24121
|
}
|
|
23888
24122
|
return e;
|
|
@@ -23898,14 +24132,14 @@ function validateRecord(v) {
|
|
|
23898
24132
|
var putRecord_exports = {};
|
|
23899
24133
|
__export(putRecord_exports, {
|
|
23900
24134
|
InvalidSwapError: () => InvalidSwapError4,
|
|
23901
|
-
toKnownErr: () =>
|
|
24135
|
+
toKnownErr: () => toKnownErr34
|
|
23902
24136
|
});
|
|
23903
24137
|
var InvalidSwapError4 = class extends XRPCError {
|
|
23904
24138
|
constructor(src2) {
|
|
23905
24139
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23906
24140
|
}
|
|
23907
24141
|
};
|
|
23908
|
-
function
|
|
24142
|
+
function toKnownErr34(e) {
|
|
23909
24143
|
if (e instanceof XRPCError) {
|
|
23910
24144
|
if (e.error === "InvalidSwap")
|
|
23911
24145
|
return new InvalidSwapError4(e);
|
|
@@ -23916,9 +24150,9 @@ function toKnownErr30(e) {
|
|
|
23916
24150
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23917
24151
|
var uploadBlob_exports = {};
|
|
23918
24152
|
__export(uploadBlob_exports, {
|
|
23919
|
-
toKnownErr: () =>
|
|
24153
|
+
toKnownErr: () => toKnownErr35
|
|
23920
24154
|
});
|
|
23921
|
-
function
|
|
24155
|
+
function toKnownErr35(e) {
|
|
23922
24156
|
if (e instanceof XRPCError) {
|
|
23923
24157
|
}
|
|
23924
24158
|
return e;
|
|
@@ -23931,7 +24165,7 @@ __export(confirmEmail_exports, {
|
|
|
23931
24165
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23932
24166
|
InvalidEmailError: () => InvalidEmailError,
|
|
23933
24167
|
InvalidTokenError: () => InvalidTokenError,
|
|
23934
|
-
toKnownErr: () =>
|
|
24168
|
+
toKnownErr: () => toKnownErr36
|
|
23935
24169
|
});
|
|
23936
24170
|
var AccountNotFoundError = class extends XRPCError {
|
|
23937
24171
|
constructor(src2) {
|
|
@@ -23953,7 +24187,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
23953
24187
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23954
24188
|
}
|
|
23955
24189
|
};
|
|
23956
|
-
function
|
|
24190
|
+
function toKnownErr36(e) {
|
|
23957
24191
|
if (e instanceof XRPCError) {
|
|
23958
24192
|
if (e.error === "AccountNotFound")
|
|
23959
24193
|
return new AccountNotFoundError(e);
|
|
@@ -23977,7 +24211,7 @@ __export(createAccount_exports, {
|
|
|
23977
24211
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23978
24212
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23979
24213
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23980
|
-
toKnownErr: () =>
|
|
24214
|
+
toKnownErr: () => toKnownErr37
|
|
23981
24215
|
});
|
|
23982
24216
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23983
24217
|
constructor(src2) {
|
|
@@ -24014,7 +24248,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
24014
24248
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24015
24249
|
}
|
|
24016
24250
|
};
|
|
24017
|
-
function
|
|
24251
|
+
function toKnownErr37(e) {
|
|
24018
24252
|
if (e instanceof XRPCError) {
|
|
24019
24253
|
if (e.error === "InvalidHandle")
|
|
24020
24254
|
return new InvalidHandleError2(e);
|
|
@@ -24039,7 +24273,7 @@ var createAppPassword_exports = {};
|
|
|
24039
24273
|
__export(createAppPassword_exports, {
|
|
24040
24274
|
AccountTakedownError: () => AccountTakedownError,
|
|
24041
24275
|
isAppPassword: () => isAppPassword,
|
|
24042
|
-
toKnownErr: () =>
|
|
24276
|
+
toKnownErr: () => toKnownErr38,
|
|
24043
24277
|
validateAppPassword: () => validateAppPassword
|
|
24044
24278
|
});
|
|
24045
24279
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -24047,7 +24281,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
24047
24281
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24048
24282
|
}
|
|
24049
24283
|
};
|
|
24050
|
-
function
|
|
24284
|
+
function toKnownErr38(e) {
|
|
24051
24285
|
if (e instanceof XRPCError) {
|
|
24052
24286
|
if (e.error === "AccountTakedown")
|
|
24053
24287
|
return new AccountTakedownError(e);
|
|
@@ -24064,9 +24298,9 @@ function validateAppPassword(v) {
|
|
|
24064
24298
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
24065
24299
|
var createInviteCode_exports = {};
|
|
24066
24300
|
__export(createInviteCode_exports, {
|
|
24067
|
-
toKnownErr: () =>
|
|
24301
|
+
toKnownErr: () => toKnownErr39
|
|
24068
24302
|
});
|
|
24069
|
-
function
|
|
24303
|
+
function toKnownErr39(e) {
|
|
24070
24304
|
if (e instanceof XRPCError) {
|
|
24071
24305
|
}
|
|
24072
24306
|
return e;
|
|
@@ -24076,10 +24310,10 @@ function toKnownErr35(e) {
|
|
|
24076
24310
|
var createInviteCodes_exports = {};
|
|
24077
24311
|
__export(createInviteCodes_exports, {
|
|
24078
24312
|
isAccountCodes: () => isAccountCodes,
|
|
24079
|
-
toKnownErr: () =>
|
|
24313
|
+
toKnownErr: () => toKnownErr40,
|
|
24080
24314
|
validateAccountCodes: () => validateAccountCodes
|
|
24081
24315
|
});
|
|
24082
|
-
function
|
|
24316
|
+
function toKnownErr40(e) {
|
|
24083
24317
|
if (e instanceof XRPCError) {
|
|
24084
24318
|
}
|
|
24085
24319
|
return e;
|
|
@@ -24095,14 +24329,14 @@ function validateAccountCodes(v) {
|
|
|
24095
24329
|
var createSession_exports = {};
|
|
24096
24330
|
__export(createSession_exports, {
|
|
24097
24331
|
AccountTakedownError: () => AccountTakedownError2,
|
|
24098
|
-
toKnownErr: () =>
|
|
24332
|
+
toKnownErr: () => toKnownErr41
|
|
24099
24333
|
});
|
|
24100
24334
|
var AccountTakedownError2 = class extends XRPCError {
|
|
24101
24335
|
constructor(src2) {
|
|
24102
24336
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24103
24337
|
}
|
|
24104
24338
|
};
|
|
24105
|
-
function
|
|
24339
|
+
function toKnownErr41(e) {
|
|
24106
24340
|
if (e instanceof XRPCError) {
|
|
24107
24341
|
if (e.error === "AccountTakedown")
|
|
24108
24342
|
return new AccountTakedownError2(e);
|
|
@@ -24115,7 +24349,7 @@ var deleteAccount_exports2 = {};
|
|
|
24115
24349
|
__export(deleteAccount_exports2, {
|
|
24116
24350
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
24117
24351
|
InvalidTokenError: () => InvalidTokenError2,
|
|
24118
|
-
toKnownErr: () =>
|
|
24352
|
+
toKnownErr: () => toKnownErr42
|
|
24119
24353
|
});
|
|
24120
24354
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
24121
24355
|
constructor(src2) {
|
|
@@ -24127,7 +24361,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
24127
24361
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24128
24362
|
}
|
|
24129
24363
|
};
|
|
24130
|
-
function
|
|
24364
|
+
function toKnownErr42(e) {
|
|
24131
24365
|
if (e instanceof XRPCError) {
|
|
24132
24366
|
if (e.error === "ExpiredToken")
|
|
24133
24367
|
return new ExpiredTokenError2(e);
|
|
@@ -24140,9 +24374,9 @@ function toKnownErr38(e) {
|
|
|
24140
24374
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
24141
24375
|
var deleteSession_exports = {};
|
|
24142
24376
|
__export(deleteSession_exports, {
|
|
24143
|
-
toKnownErr: () =>
|
|
24377
|
+
toKnownErr: () => toKnownErr43
|
|
24144
24378
|
});
|
|
24145
|
-
function
|
|
24379
|
+
function toKnownErr43(e) {
|
|
24146
24380
|
if (e instanceof XRPCError) {
|
|
24147
24381
|
}
|
|
24148
24382
|
return e;
|
|
@@ -24152,10 +24386,10 @@ function toKnownErr39(e) {
|
|
|
24152
24386
|
var describeServer_exports = {};
|
|
24153
24387
|
__export(describeServer_exports, {
|
|
24154
24388
|
isLinks: () => isLinks,
|
|
24155
|
-
toKnownErr: () =>
|
|
24389
|
+
toKnownErr: () => toKnownErr44,
|
|
24156
24390
|
validateLinks: () => validateLinks
|
|
24157
24391
|
});
|
|
24158
|
-
function
|
|
24392
|
+
function toKnownErr44(e) {
|
|
24159
24393
|
if (e instanceof XRPCError) {
|
|
24160
24394
|
}
|
|
24161
24395
|
return e;
|
|
@@ -24171,14 +24405,14 @@ function validateLinks(v) {
|
|
|
24171
24405
|
var getAccountInviteCodes_exports = {};
|
|
24172
24406
|
__export(getAccountInviteCodes_exports, {
|
|
24173
24407
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
24174
|
-
toKnownErr: () =>
|
|
24408
|
+
toKnownErr: () => toKnownErr45
|
|
24175
24409
|
});
|
|
24176
24410
|
var DuplicateCreateError = class extends XRPCError {
|
|
24177
24411
|
constructor(src2) {
|
|
24178
24412
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24179
24413
|
}
|
|
24180
24414
|
};
|
|
24181
|
-
function
|
|
24415
|
+
function toKnownErr45(e) {
|
|
24182
24416
|
if (e instanceof XRPCError) {
|
|
24183
24417
|
if (e.error === "DuplicateCreate")
|
|
24184
24418
|
return new DuplicateCreateError(e);
|
|
@@ -24189,9 +24423,9 @@ function toKnownErr41(e) {
|
|
|
24189
24423
|
// src/client/types/com/atproto/server/getSession.ts
|
|
24190
24424
|
var getSession_exports = {};
|
|
24191
24425
|
__export(getSession_exports, {
|
|
24192
|
-
toKnownErr: () =>
|
|
24426
|
+
toKnownErr: () => toKnownErr46
|
|
24193
24427
|
});
|
|
24194
|
-
function
|
|
24428
|
+
function toKnownErr46(e) {
|
|
24195
24429
|
if (e instanceof XRPCError) {
|
|
24196
24430
|
}
|
|
24197
24431
|
return e;
|
|
@@ -24202,7 +24436,7 @@ var listAppPasswords_exports = {};
|
|
|
24202
24436
|
__export(listAppPasswords_exports, {
|
|
24203
24437
|
AccountTakedownError: () => AccountTakedownError3,
|
|
24204
24438
|
isAppPassword: () => isAppPassword2,
|
|
24205
|
-
toKnownErr: () =>
|
|
24439
|
+
toKnownErr: () => toKnownErr47,
|
|
24206
24440
|
validateAppPassword: () => validateAppPassword2
|
|
24207
24441
|
});
|
|
24208
24442
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -24210,7 +24444,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
24210
24444
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24211
24445
|
}
|
|
24212
24446
|
};
|
|
24213
|
-
function
|
|
24447
|
+
function toKnownErr47(e) {
|
|
24214
24448
|
if (e instanceof XRPCError) {
|
|
24215
24449
|
if (e.error === "AccountTakedown")
|
|
24216
24450
|
return new AccountTakedownError3(e);
|
|
@@ -24228,14 +24462,14 @@ function validateAppPassword2(v) {
|
|
|
24228
24462
|
var refreshSession_exports = {};
|
|
24229
24463
|
__export(refreshSession_exports, {
|
|
24230
24464
|
AccountTakedownError: () => AccountTakedownError4,
|
|
24231
|
-
toKnownErr: () =>
|
|
24465
|
+
toKnownErr: () => toKnownErr48
|
|
24232
24466
|
});
|
|
24233
24467
|
var AccountTakedownError4 = class extends XRPCError {
|
|
24234
24468
|
constructor(src2) {
|
|
24235
24469
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24236
24470
|
}
|
|
24237
24471
|
};
|
|
24238
|
-
function
|
|
24472
|
+
function toKnownErr48(e) {
|
|
24239
24473
|
if (e instanceof XRPCError) {
|
|
24240
24474
|
if (e.error === "AccountTakedown")
|
|
24241
24475
|
return new AccountTakedownError4(e);
|
|
@@ -24246,9 +24480,9 @@ function toKnownErr44(e) {
|
|
|
24246
24480
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
24247
24481
|
var requestAccountDelete_exports = {};
|
|
24248
24482
|
__export(requestAccountDelete_exports, {
|
|
24249
|
-
toKnownErr: () =>
|
|
24483
|
+
toKnownErr: () => toKnownErr49
|
|
24250
24484
|
});
|
|
24251
|
-
function
|
|
24485
|
+
function toKnownErr49(e) {
|
|
24252
24486
|
if (e instanceof XRPCError) {
|
|
24253
24487
|
}
|
|
24254
24488
|
return e;
|
|
@@ -24257,9 +24491,9 @@ function toKnownErr45(e) {
|
|
|
24257
24491
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
24258
24492
|
var requestEmailConfirmation_exports = {};
|
|
24259
24493
|
__export(requestEmailConfirmation_exports, {
|
|
24260
|
-
toKnownErr: () =>
|
|
24494
|
+
toKnownErr: () => toKnownErr50
|
|
24261
24495
|
});
|
|
24262
|
-
function
|
|
24496
|
+
function toKnownErr50(e) {
|
|
24263
24497
|
if (e instanceof XRPCError) {
|
|
24264
24498
|
}
|
|
24265
24499
|
return e;
|
|
@@ -24268,9 +24502,9 @@ function toKnownErr46(e) {
|
|
|
24268
24502
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
24269
24503
|
var requestEmailUpdate_exports = {};
|
|
24270
24504
|
__export(requestEmailUpdate_exports, {
|
|
24271
|
-
toKnownErr: () =>
|
|
24505
|
+
toKnownErr: () => toKnownErr51
|
|
24272
24506
|
});
|
|
24273
|
-
function
|
|
24507
|
+
function toKnownErr51(e) {
|
|
24274
24508
|
if (e instanceof XRPCError) {
|
|
24275
24509
|
}
|
|
24276
24510
|
return e;
|
|
@@ -24279,9 +24513,9 @@ function toKnownErr47(e) {
|
|
|
24279
24513
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
24280
24514
|
var requestPasswordReset_exports = {};
|
|
24281
24515
|
__export(requestPasswordReset_exports, {
|
|
24282
|
-
toKnownErr: () =>
|
|
24516
|
+
toKnownErr: () => toKnownErr52
|
|
24283
24517
|
});
|
|
24284
|
-
function
|
|
24518
|
+
function toKnownErr52(e) {
|
|
24285
24519
|
if (e instanceof XRPCError) {
|
|
24286
24520
|
}
|
|
24287
24521
|
return e;
|
|
@@ -24290,9 +24524,9 @@ function toKnownErr48(e) {
|
|
|
24290
24524
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
24291
24525
|
var reserveSigningKey_exports = {};
|
|
24292
24526
|
__export(reserveSigningKey_exports, {
|
|
24293
|
-
toKnownErr: () =>
|
|
24527
|
+
toKnownErr: () => toKnownErr53
|
|
24294
24528
|
});
|
|
24295
|
-
function
|
|
24529
|
+
function toKnownErr53(e) {
|
|
24296
24530
|
if (e instanceof XRPCError) {
|
|
24297
24531
|
}
|
|
24298
24532
|
return e;
|
|
@@ -24303,7 +24537,7 @@ var resetPassword_exports = {};
|
|
|
24303
24537
|
__export(resetPassword_exports, {
|
|
24304
24538
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
24305
24539
|
InvalidTokenError: () => InvalidTokenError3,
|
|
24306
|
-
toKnownErr: () =>
|
|
24540
|
+
toKnownErr: () => toKnownErr54
|
|
24307
24541
|
});
|
|
24308
24542
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
24309
24543
|
constructor(src2) {
|
|
@@ -24315,7 +24549,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
24315
24549
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24316
24550
|
}
|
|
24317
24551
|
};
|
|
24318
|
-
function
|
|
24552
|
+
function toKnownErr54(e) {
|
|
24319
24553
|
if (e instanceof XRPCError) {
|
|
24320
24554
|
if (e.error === "ExpiredToken")
|
|
24321
24555
|
return new ExpiredTokenError3(e);
|
|
@@ -24328,9 +24562,9 @@ function toKnownErr50(e) {
|
|
|
24328
24562
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
24329
24563
|
var revokeAppPassword_exports = {};
|
|
24330
24564
|
__export(revokeAppPassword_exports, {
|
|
24331
|
-
toKnownErr: () =>
|
|
24565
|
+
toKnownErr: () => toKnownErr55
|
|
24332
24566
|
});
|
|
24333
|
-
function
|
|
24567
|
+
function toKnownErr55(e) {
|
|
24334
24568
|
if (e instanceof XRPCError) {
|
|
24335
24569
|
}
|
|
24336
24570
|
return e;
|
|
@@ -24342,7 +24576,7 @@ __export(updateEmail_exports, {
|
|
|
24342
24576
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
24343
24577
|
InvalidTokenError: () => InvalidTokenError4,
|
|
24344
24578
|
TokenRequiredError: () => TokenRequiredError,
|
|
24345
|
-
toKnownErr: () =>
|
|
24579
|
+
toKnownErr: () => toKnownErr56
|
|
24346
24580
|
});
|
|
24347
24581
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
24348
24582
|
constructor(src2) {
|
|
@@ -24359,7 +24593,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
24359
24593
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24360
24594
|
}
|
|
24361
24595
|
};
|
|
24362
|
-
function
|
|
24596
|
+
function toKnownErr56(e) {
|
|
24363
24597
|
if (e instanceof XRPCError) {
|
|
24364
24598
|
if (e.error === "ExpiredToken")
|
|
24365
24599
|
return new ExpiredTokenError4(e);
|
|
@@ -24374,9 +24608,9 @@ function toKnownErr52(e) {
|
|
|
24374
24608
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
24375
24609
|
var getBlob_exports = {};
|
|
24376
24610
|
__export(getBlob_exports, {
|
|
24377
|
-
toKnownErr: () =>
|
|
24611
|
+
toKnownErr: () => toKnownErr57
|
|
24378
24612
|
});
|
|
24379
|
-
function
|
|
24613
|
+
function toKnownErr57(e) {
|
|
24380
24614
|
if (e instanceof XRPCError) {
|
|
24381
24615
|
}
|
|
24382
24616
|
return e;
|
|
@@ -24385,9 +24619,9 @@ function toKnownErr53(e) {
|
|
|
24385
24619
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
24386
24620
|
var getBlocks_exports = {};
|
|
24387
24621
|
__export(getBlocks_exports, {
|
|
24388
|
-
toKnownErr: () =>
|
|
24622
|
+
toKnownErr: () => toKnownErr58
|
|
24389
24623
|
});
|
|
24390
|
-
function
|
|
24624
|
+
function toKnownErr58(e) {
|
|
24391
24625
|
if (e instanceof XRPCError) {
|
|
24392
24626
|
}
|
|
24393
24627
|
return e;
|
|
@@ -24396,9 +24630,9 @@ function toKnownErr54(e) {
|
|
|
24396
24630
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
24397
24631
|
var getCheckout_exports = {};
|
|
24398
24632
|
__export(getCheckout_exports, {
|
|
24399
|
-
toKnownErr: () =>
|
|
24633
|
+
toKnownErr: () => toKnownErr59
|
|
24400
24634
|
});
|
|
24401
|
-
function
|
|
24635
|
+
function toKnownErr59(e) {
|
|
24402
24636
|
if (e instanceof XRPCError) {
|
|
24403
24637
|
}
|
|
24404
24638
|
return e;
|
|
@@ -24408,14 +24642,14 @@ function toKnownErr55(e) {
|
|
|
24408
24642
|
var getHead_exports = {};
|
|
24409
24643
|
__export(getHead_exports, {
|
|
24410
24644
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
24411
|
-
toKnownErr: () =>
|
|
24645
|
+
toKnownErr: () => toKnownErr60
|
|
24412
24646
|
});
|
|
24413
24647
|
var HeadNotFoundError = class extends XRPCError {
|
|
24414
24648
|
constructor(src2) {
|
|
24415
24649
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24416
24650
|
}
|
|
24417
24651
|
};
|
|
24418
|
-
function
|
|
24652
|
+
function toKnownErr60(e) {
|
|
24419
24653
|
if (e instanceof XRPCError) {
|
|
24420
24654
|
if (e.error === "HeadNotFound")
|
|
24421
24655
|
return new HeadNotFoundError(e);
|
|
@@ -24427,14 +24661,14 @@ function toKnownErr56(e) {
|
|
|
24427
24661
|
var getLatestCommit_exports = {};
|
|
24428
24662
|
__export(getLatestCommit_exports, {
|
|
24429
24663
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
24430
|
-
toKnownErr: () =>
|
|
24664
|
+
toKnownErr: () => toKnownErr61
|
|
24431
24665
|
});
|
|
24432
24666
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
24433
24667
|
constructor(src2) {
|
|
24434
24668
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24435
24669
|
}
|
|
24436
24670
|
};
|
|
24437
|
-
function
|
|
24671
|
+
function toKnownErr61(e) {
|
|
24438
24672
|
if (e instanceof XRPCError) {
|
|
24439
24673
|
if (e.error === "RepoNotFound")
|
|
24440
24674
|
return new RepoNotFoundError2(e);
|
|
@@ -24445,9 +24679,9 @@ function toKnownErr57(e) {
|
|
|
24445
24679
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
24446
24680
|
var getRecord_exports3 = {};
|
|
24447
24681
|
__export(getRecord_exports3, {
|
|
24448
|
-
toKnownErr: () =>
|
|
24682
|
+
toKnownErr: () => toKnownErr62
|
|
24449
24683
|
});
|
|
24450
|
-
function
|
|
24684
|
+
function toKnownErr62(e) {
|
|
24451
24685
|
if (e instanceof XRPCError) {
|
|
24452
24686
|
}
|
|
24453
24687
|
return e;
|
|
@@ -24456,9 +24690,9 @@ function toKnownErr58(e) {
|
|
|
24456
24690
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
24457
24691
|
var getRepo_exports2 = {};
|
|
24458
24692
|
__export(getRepo_exports2, {
|
|
24459
|
-
toKnownErr: () =>
|
|
24693
|
+
toKnownErr: () => toKnownErr63
|
|
24460
24694
|
});
|
|
24461
|
-
function
|
|
24695
|
+
function toKnownErr63(e) {
|
|
24462
24696
|
if (e instanceof XRPCError) {
|
|
24463
24697
|
}
|
|
24464
24698
|
return e;
|
|
@@ -24467,9 +24701,9 @@ function toKnownErr59(e) {
|
|
|
24467
24701
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
24468
24702
|
var listBlobs_exports = {};
|
|
24469
24703
|
__export(listBlobs_exports, {
|
|
24470
|
-
toKnownErr: () =>
|
|
24704
|
+
toKnownErr: () => toKnownErr64
|
|
24471
24705
|
});
|
|
24472
|
-
function
|
|
24706
|
+
function toKnownErr64(e) {
|
|
24473
24707
|
if (e instanceof XRPCError) {
|
|
24474
24708
|
}
|
|
24475
24709
|
return e;
|
|
@@ -24479,10 +24713,10 @@ function toKnownErr60(e) {
|
|
|
24479
24713
|
var listRepos_exports = {};
|
|
24480
24714
|
__export(listRepos_exports, {
|
|
24481
24715
|
isRepo: () => isRepo,
|
|
24482
|
-
toKnownErr: () =>
|
|
24716
|
+
toKnownErr: () => toKnownErr65,
|
|
24483
24717
|
validateRepo: () => validateRepo
|
|
24484
24718
|
});
|
|
24485
|
-
function
|
|
24719
|
+
function toKnownErr65(e) {
|
|
24486
24720
|
if (e instanceof XRPCError) {
|
|
24487
24721
|
}
|
|
24488
24722
|
return e;
|
|
@@ -24497,9 +24731,9 @@ function validateRepo(v) {
|
|
|
24497
24731
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
24498
24732
|
var notifyOfUpdate_exports = {};
|
|
24499
24733
|
__export(notifyOfUpdate_exports, {
|
|
24500
|
-
toKnownErr: () =>
|
|
24734
|
+
toKnownErr: () => toKnownErr66
|
|
24501
24735
|
});
|
|
24502
|
-
function
|
|
24736
|
+
function toKnownErr66(e) {
|
|
24503
24737
|
if (e instanceof XRPCError) {
|
|
24504
24738
|
}
|
|
24505
24739
|
return e;
|
|
@@ -24508,9 +24742,9 @@ function toKnownErr62(e) {
|
|
|
24508
24742
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
24509
24743
|
var requestCrawl_exports = {};
|
|
24510
24744
|
__export(requestCrawl_exports, {
|
|
24511
|
-
toKnownErr: () =>
|
|
24745
|
+
toKnownErr: () => toKnownErr67
|
|
24512
24746
|
});
|
|
24513
|
-
function
|
|
24747
|
+
function toKnownErr67(e) {
|
|
24514
24748
|
if (e instanceof XRPCError) {
|
|
24515
24749
|
}
|
|
24516
24750
|
return e;
|
|
@@ -24519,9 +24753,9 @@ function toKnownErr63(e) {
|
|
|
24519
24753
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
24520
24754
|
var fetchLabels_exports = {};
|
|
24521
24755
|
__export(fetchLabels_exports, {
|
|
24522
|
-
toKnownErr: () =>
|
|
24756
|
+
toKnownErr: () => toKnownErr68
|
|
24523
24757
|
});
|
|
24524
|
-
function
|
|
24758
|
+
function toKnownErr68(e) {
|
|
24525
24759
|
if (e instanceof XRPCError) {
|
|
24526
24760
|
}
|
|
24527
24761
|
return e;
|
|
@@ -24530,9 +24764,9 @@ function toKnownErr64(e) {
|
|
|
24530
24764
|
// src/client/types/com/atproto/temp/importRepo.ts
|
|
24531
24765
|
var importRepo_exports = {};
|
|
24532
24766
|
__export(importRepo_exports, {
|
|
24533
|
-
toKnownErr: () =>
|
|
24767
|
+
toKnownErr: () => toKnownErr69
|
|
24534
24768
|
});
|
|
24535
|
-
function
|
|
24769
|
+
function toKnownErr69(e) {
|
|
24536
24770
|
if (e instanceof XRPCError) {
|
|
24537
24771
|
}
|
|
24538
24772
|
return e;
|
|
@@ -24541,9 +24775,9 @@ function toKnownErr65(e) {
|
|
|
24541
24775
|
// src/client/types/com/atproto/temp/pushBlob.ts
|
|
24542
24776
|
var pushBlob_exports = {};
|
|
24543
24777
|
__export(pushBlob_exports, {
|
|
24544
|
-
toKnownErr: () =>
|
|
24778
|
+
toKnownErr: () => toKnownErr70
|
|
24545
24779
|
});
|
|
24546
|
-
function
|
|
24780
|
+
function toKnownErr70(e) {
|
|
24547
24781
|
if (e instanceof XRPCError) {
|
|
24548
24782
|
}
|
|
24549
24783
|
return e;
|
|
@@ -24552,9 +24786,9 @@ function toKnownErr66(e) {
|
|
|
24552
24786
|
// src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
24553
24787
|
var requestPhoneVerification_exports = {};
|
|
24554
24788
|
__export(requestPhoneVerification_exports, {
|
|
24555
|
-
toKnownErr: () =>
|
|
24789
|
+
toKnownErr: () => toKnownErr71
|
|
24556
24790
|
});
|
|
24557
|
-
function
|
|
24791
|
+
function toKnownErr71(e) {
|
|
24558
24792
|
if (e instanceof XRPCError) {
|
|
24559
24793
|
}
|
|
24560
24794
|
return e;
|
|
@@ -24570,7 +24804,7 @@ __export(transferAccount_exports, {
|
|
|
24570
24804
|
InvalidPasswordError: () => InvalidPasswordError2,
|
|
24571
24805
|
UnresolvableDidError: () => UnresolvableDidError2,
|
|
24572
24806
|
UnsupportedDomainError: () => UnsupportedDomainError2,
|
|
24573
|
-
toKnownErr: () =>
|
|
24807
|
+
toKnownErr: () => toKnownErr72
|
|
24574
24808
|
});
|
|
24575
24809
|
var InvalidHandleError3 = class extends XRPCError {
|
|
24576
24810
|
constructor(src2) {
|
|
@@ -24607,7 +24841,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
24607
24841
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24608
24842
|
}
|
|
24609
24843
|
};
|
|
24610
|
-
function
|
|
24844
|
+
function toKnownErr72(e) {
|
|
24611
24845
|
if (e instanceof XRPCError) {
|
|
24612
24846
|
if (e.error === "InvalidHandle")
|
|
24613
24847
|
return new InvalidHandleError3(e);
|
|
@@ -24630,9 +24864,9 @@ function toKnownErr68(e) {
|
|
|
24630
24864
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
24631
24865
|
var getPreferences_exports = {};
|
|
24632
24866
|
__export(getPreferences_exports, {
|
|
24633
|
-
toKnownErr: () =>
|
|
24867
|
+
toKnownErr: () => toKnownErr73
|
|
24634
24868
|
});
|
|
24635
|
-
function
|
|
24869
|
+
function toKnownErr73(e) {
|
|
24636
24870
|
if (e instanceof XRPCError) {
|
|
24637
24871
|
}
|
|
24638
24872
|
return e;
|
|
@@ -24641,9 +24875,9 @@ function toKnownErr69(e) {
|
|
|
24641
24875
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
24642
24876
|
var getProfile_exports = {};
|
|
24643
24877
|
__export(getProfile_exports, {
|
|
24644
|
-
toKnownErr: () =>
|
|
24878
|
+
toKnownErr: () => toKnownErr74
|
|
24645
24879
|
});
|
|
24646
|
-
function
|
|
24880
|
+
function toKnownErr74(e) {
|
|
24647
24881
|
if (e instanceof XRPCError) {
|
|
24648
24882
|
}
|
|
24649
24883
|
return e;
|
|
@@ -24652,9 +24886,9 @@ function toKnownErr70(e) {
|
|
|
24652
24886
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
24653
24887
|
var getProfiles_exports = {};
|
|
24654
24888
|
__export(getProfiles_exports, {
|
|
24655
|
-
toKnownErr: () =>
|
|
24889
|
+
toKnownErr: () => toKnownErr75
|
|
24656
24890
|
});
|
|
24657
|
-
function
|
|
24891
|
+
function toKnownErr75(e) {
|
|
24658
24892
|
if (e instanceof XRPCError) {
|
|
24659
24893
|
}
|
|
24660
24894
|
return e;
|
|
@@ -24663,9 +24897,9 @@ function toKnownErr71(e) {
|
|
|
24663
24897
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
24664
24898
|
var getSuggestions_exports = {};
|
|
24665
24899
|
__export(getSuggestions_exports, {
|
|
24666
|
-
toKnownErr: () =>
|
|
24900
|
+
toKnownErr: () => toKnownErr76
|
|
24667
24901
|
});
|
|
24668
|
-
function
|
|
24902
|
+
function toKnownErr76(e) {
|
|
24669
24903
|
if (e instanceof XRPCError) {
|
|
24670
24904
|
}
|
|
24671
24905
|
return e;
|
|
@@ -24674,9 +24908,9 @@ function toKnownErr72(e) {
|
|
|
24674
24908
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
24675
24909
|
var putPreferences_exports = {};
|
|
24676
24910
|
__export(putPreferences_exports, {
|
|
24677
|
-
toKnownErr: () =>
|
|
24911
|
+
toKnownErr: () => toKnownErr77
|
|
24678
24912
|
});
|
|
24679
|
-
function
|
|
24913
|
+
function toKnownErr77(e) {
|
|
24680
24914
|
if (e instanceof XRPCError) {
|
|
24681
24915
|
}
|
|
24682
24916
|
return e;
|
|
@@ -24685,9 +24919,9 @@ function toKnownErr73(e) {
|
|
|
24685
24919
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
24686
24920
|
var searchActors_exports = {};
|
|
24687
24921
|
__export(searchActors_exports, {
|
|
24688
|
-
toKnownErr: () =>
|
|
24922
|
+
toKnownErr: () => toKnownErr78
|
|
24689
24923
|
});
|
|
24690
|
-
function
|
|
24924
|
+
function toKnownErr78(e) {
|
|
24691
24925
|
if (e instanceof XRPCError) {
|
|
24692
24926
|
}
|
|
24693
24927
|
return e;
|
|
@@ -24696,9 +24930,9 @@ function toKnownErr74(e) {
|
|
|
24696
24930
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
24697
24931
|
var searchActorsTypeahead_exports = {};
|
|
24698
24932
|
__export(searchActorsTypeahead_exports, {
|
|
24699
|
-
toKnownErr: () =>
|
|
24933
|
+
toKnownErr: () => toKnownErr79
|
|
24700
24934
|
});
|
|
24701
|
-
function
|
|
24935
|
+
function toKnownErr79(e) {
|
|
24702
24936
|
if (e instanceof XRPCError) {
|
|
24703
24937
|
}
|
|
24704
24938
|
return e;
|
|
@@ -24709,11 +24943,11 @@ var describeFeedGenerator_exports = {};
|
|
|
24709
24943
|
__export(describeFeedGenerator_exports, {
|
|
24710
24944
|
isFeed: () => isFeed,
|
|
24711
24945
|
isLinks: () => isLinks2,
|
|
24712
|
-
toKnownErr: () =>
|
|
24946
|
+
toKnownErr: () => toKnownErr80,
|
|
24713
24947
|
validateFeed: () => validateFeed,
|
|
24714
24948
|
validateLinks: () => validateLinks2
|
|
24715
24949
|
});
|
|
24716
|
-
function
|
|
24950
|
+
function toKnownErr80(e) {
|
|
24717
24951
|
if (e instanceof XRPCError) {
|
|
24718
24952
|
}
|
|
24719
24953
|
return e;
|
|
@@ -24734,9 +24968,9 @@ function validateLinks2(v) {
|
|
|
24734
24968
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
24735
24969
|
var getActorFeeds_exports = {};
|
|
24736
24970
|
__export(getActorFeeds_exports, {
|
|
24737
|
-
toKnownErr: () =>
|
|
24971
|
+
toKnownErr: () => toKnownErr81
|
|
24738
24972
|
});
|
|
24739
|
-
function
|
|
24973
|
+
function toKnownErr81(e) {
|
|
24740
24974
|
if (e instanceof XRPCError) {
|
|
24741
24975
|
}
|
|
24742
24976
|
return e;
|
|
@@ -24747,7 +24981,7 @@ var getActorLikes_exports = {};
|
|
|
24747
24981
|
__export(getActorLikes_exports, {
|
|
24748
24982
|
BlockedActorError: () => BlockedActorError,
|
|
24749
24983
|
BlockedByActorError: () => BlockedByActorError,
|
|
24750
|
-
toKnownErr: () =>
|
|
24984
|
+
toKnownErr: () => toKnownErr82
|
|
24751
24985
|
});
|
|
24752
24986
|
var BlockedActorError = class extends XRPCError {
|
|
24753
24987
|
constructor(src2) {
|
|
@@ -24759,7 +24993,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
24759
24993
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24760
24994
|
}
|
|
24761
24995
|
};
|
|
24762
|
-
function
|
|
24996
|
+
function toKnownErr82(e) {
|
|
24763
24997
|
if (e instanceof XRPCError) {
|
|
24764
24998
|
if (e.error === "BlockedActor")
|
|
24765
24999
|
return new BlockedActorError(e);
|
|
@@ -24774,7 +25008,7 @@ var getAuthorFeed_exports = {};
|
|
|
24774
25008
|
__export(getAuthorFeed_exports, {
|
|
24775
25009
|
BlockedActorError: () => BlockedActorError2,
|
|
24776
25010
|
BlockedByActorError: () => BlockedByActorError2,
|
|
24777
|
-
toKnownErr: () =>
|
|
25011
|
+
toKnownErr: () => toKnownErr83
|
|
24778
25012
|
});
|
|
24779
25013
|
var BlockedActorError2 = class extends XRPCError {
|
|
24780
25014
|
constructor(src2) {
|
|
@@ -24786,7 +25020,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
24786
25020
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24787
25021
|
}
|
|
24788
25022
|
};
|
|
24789
|
-
function
|
|
25023
|
+
function toKnownErr83(e) {
|
|
24790
25024
|
if (e instanceof XRPCError) {
|
|
24791
25025
|
if (e.error === "BlockedActor")
|
|
24792
25026
|
return new BlockedActorError2(e);
|
|
@@ -24800,14 +25034,14 @@ function toKnownErr79(e) {
|
|
|
24800
25034
|
var getFeed_exports = {};
|
|
24801
25035
|
__export(getFeed_exports, {
|
|
24802
25036
|
UnknownFeedError: () => UnknownFeedError,
|
|
24803
|
-
toKnownErr: () =>
|
|
25037
|
+
toKnownErr: () => toKnownErr84
|
|
24804
25038
|
});
|
|
24805
25039
|
var UnknownFeedError = class extends XRPCError {
|
|
24806
25040
|
constructor(src2) {
|
|
24807
25041
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24808
25042
|
}
|
|
24809
25043
|
};
|
|
24810
|
-
function
|
|
25044
|
+
function toKnownErr84(e) {
|
|
24811
25045
|
if (e instanceof XRPCError) {
|
|
24812
25046
|
if (e.error === "UnknownFeed")
|
|
24813
25047
|
return new UnknownFeedError(e);
|
|
@@ -24818,9 +25052,9 @@ function toKnownErr80(e) {
|
|
|
24818
25052
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
24819
25053
|
var getFeedGenerator_exports = {};
|
|
24820
25054
|
__export(getFeedGenerator_exports, {
|
|
24821
|
-
toKnownErr: () =>
|
|
25055
|
+
toKnownErr: () => toKnownErr85
|
|
24822
25056
|
});
|
|
24823
|
-
function
|
|
25057
|
+
function toKnownErr85(e) {
|
|
24824
25058
|
if (e instanceof XRPCError) {
|
|
24825
25059
|
}
|
|
24826
25060
|
return e;
|
|
@@ -24829,9 +25063,9 @@ function toKnownErr81(e) {
|
|
|
24829
25063
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
24830
25064
|
var getFeedGenerators_exports = {};
|
|
24831
25065
|
__export(getFeedGenerators_exports, {
|
|
24832
|
-
toKnownErr: () =>
|
|
25066
|
+
toKnownErr: () => toKnownErr86
|
|
24833
25067
|
});
|
|
24834
|
-
function
|
|
25068
|
+
function toKnownErr86(e) {
|
|
24835
25069
|
if (e instanceof XRPCError) {
|
|
24836
25070
|
}
|
|
24837
25071
|
return e;
|
|
@@ -24841,14 +25075,14 @@ function toKnownErr82(e) {
|
|
|
24841
25075
|
var getFeedSkeleton_exports = {};
|
|
24842
25076
|
__export(getFeedSkeleton_exports, {
|
|
24843
25077
|
UnknownFeedError: () => UnknownFeedError2,
|
|
24844
|
-
toKnownErr: () =>
|
|
25078
|
+
toKnownErr: () => toKnownErr87
|
|
24845
25079
|
});
|
|
24846
25080
|
var UnknownFeedError2 = class extends XRPCError {
|
|
24847
25081
|
constructor(src2) {
|
|
24848
25082
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24849
25083
|
}
|
|
24850
25084
|
};
|
|
24851
|
-
function
|
|
25085
|
+
function toKnownErr87(e) {
|
|
24852
25086
|
if (e instanceof XRPCError) {
|
|
24853
25087
|
if (e.error === "UnknownFeed")
|
|
24854
25088
|
return new UnknownFeedError2(e);
|
|
@@ -24860,10 +25094,10 @@ function toKnownErr83(e) {
|
|
|
24860
25094
|
var getLikes_exports = {};
|
|
24861
25095
|
__export(getLikes_exports, {
|
|
24862
25096
|
isLike: () => isLike,
|
|
24863
|
-
toKnownErr: () =>
|
|
25097
|
+
toKnownErr: () => toKnownErr88,
|
|
24864
25098
|
validateLike: () => validateLike
|
|
24865
25099
|
});
|
|
24866
|
-
function
|
|
25100
|
+
function toKnownErr88(e) {
|
|
24867
25101
|
if (e instanceof XRPCError) {
|
|
24868
25102
|
}
|
|
24869
25103
|
return e;
|
|
@@ -24879,14 +25113,14 @@ function validateLike(v) {
|
|
|
24879
25113
|
var getListFeed_exports = {};
|
|
24880
25114
|
__export(getListFeed_exports, {
|
|
24881
25115
|
UnknownListError: () => UnknownListError,
|
|
24882
|
-
toKnownErr: () =>
|
|
25116
|
+
toKnownErr: () => toKnownErr89
|
|
24883
25117
|
});
|
|
24884
25118
|
var UnknownListError = class extends XRPCError {
|
|
24885
25119
|
constructor(src2) {
|
|
24886
25120
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24887
25121
|
}
|
|
24888
25122
|
};
|
|
24889
|
-
function
|
|
25123
|
+
function toKnownErr89(e) {
|
|
24890
25124
|
if (e instanceof XRPCError) {
|
|
24891
25125
|
if (e.error === "UnknownList")
|
|
24892
25126
|
return new UnknownListError(e);
|
|
@@ -24898,14 +25132,14 @@ function toKnownErr85(e) {
|
|
|
24898
25132
|
var getPostThread_exports = {};
|
|
24899
25133
|
__export(getPostThread_exports, {
|
|
24900
25134
|
NotFoundError: () => NotFoundError,
|
|
24901
|
-
toKnownErr: () =>
|
|
25135
|
+
toKnownErr: () => toKnownErr90
|
|
24902
25136
|
});
|
|
24903
25137
|
var NotFoundError = class extends XRPCError {
|
|
24904
25138
|
constructor(src2) {
|
|
24905
25139
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24906
25140
|
}
|
|
24907
25141
|
};
|
|
24908
|
-
function
|
|
25142
|
+
function toKnownErr90(e) {
|
|
24909
25143
|
if (e instanceof XRPCError) {
|
|
24910
25144
|
if (e.error === "NotFound")
|
|
24911
25145
|
return new NotFoundError(e);
|
|
@@ -24916,9 +25150,9 @@ function toKnownErr86(e) {
|
|
|
24916
25150
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24917
25151
|
var getPosts_exports = {};
|
|
24918
25152
|
__export(getPosts_exports, {
|
|
24919
|
-
toKnownErr: () =>
|
|
25153
|
+
toKnownErr: () => toKnownErr91
|
|
24920
25154
|
});
|
|
24921
|
-
function
|
|
25155
|
+
function toKnownErr91(e) {
|
|
24922
25156
|
if (e instanceof XRPCError) {
|
|
24923
25157
|
}
|
|
24924
25158
|
return e;
|
|
@@ -24927,9 +25161,9 @@ function toKnownErr87(e) {
|
|
|
24927
25161
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24928
25162
|
var getRepostedBy_exports = {};
|
|
24929
25163
|
__export(getRepostedBy_exports, {
|
|
24930
|
-
toKnownErr: () =>
|
|
25164
|
+
toKnownErr: () => toKnownErr92
|
|
24931
25165
|
});
|
|
24932
|
-
function
|
|
25166
|
+
function toKnownErr92(e) {
|
|
24933
25167
|
if (e instanceof XRPCError) {
|
|
24934
25168
|
}
|
|
24935
25169
|
return e;
|
|
@@ -24938,9 +25172,9 @@ function toKnownErr88(e) {
|
|
|
24938
25172
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
24939
25173
|
var getSuggestedFeeds_exports = {};
|
|
24940
25174
|
__export(getSuggestedFeeds_exports, {
|
|
24941
|
-
toKnownErr: () =>
|
|
25175
|
+
toKnownErr: () => toKnownErr93
|
|
24942
25176
|
});
|
|
24943
|
-
function
|
|
25177
|
+
function toKnownErr93(e) {
|
|
24944
25178
|
if (e instanceof XRPCError) {
|
|
24945
25179
|
}
|
|
24946
25180
|
return e;
|
|
@@ -24949,9 +25183,9 @@ function toKnownErr89(e) {
|
|
|
24949
25183
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24950
25184
|
var getTimeline_exports = {};
|
|
24951
25185
|
__export(getTimeline_exports, {
|
|
24952
|
-
toKnownErr: () =>
|
|
25186
|
+
toKnownErr: () => toKnownErr94
|
|
24953
25187
|
});
|
|
24954
|
-
function
|
|
25188
|
+
function toKnownErr94(e) {
|
|
24955
25189
|
if (e instanceof XRPCError) {
|
|
24956
25190
|
}
|
|
24957
25191
|
return e;
|
|
@@ -24961,14 +25195,14 @@ function toKnownErr90(e) {
|
|
|
24961
25195
|
var searchPosts_exports = {};
|
|
24962
25196
|
__export(searchPosts_exports, {
|
|
24963
25197
|
BadQueryStringError: () => BadQueryStringError,
|
|
24964
|
-
toKnownErr: () =>
|
|
25198
|
+
toKnownErr: () => toKnownErr95
|
|
24965
25199
|
});
|
|
24966
25200
|
var BadQueryStringError = class extends XRPCError {
|
|
24967
25201
|
constructor(src2) {
|
|
24968
25202
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24969
25203
|
}
|
|
24970
25204
|
};
|
|
24971
|
-
function
|
|
25205
|
+
function toKnownErr95(e) {
|
|
24972
25206
|
if (e instanceof XRPCError) {
|
|
24973
25207
|
if (e.error === "BadQueryString")
|
|
24974
25208
|
return new BadQueryStringError(e);
|
|
@@ -24979,9 +25213,9 @@ function toKnownErr91(e) {
|
|
|
24979
25213
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24980
25214
|
var getBlocks_exports2 = {};
|
|
24981
25215
|
__export(getBlocks_exports2, {
|
|
24982
|
-
toKnownErr: () =>
|
|
25216
|
+
toKnownErr: () => toKnownErr96
|
|
24983
25217
|
});
|
|
24984
|
-
function
|
|
25218
|
+
function toKnownErr96(e) {
|
|
24985
25219
|
if (e instanceof XRPCError) {
|
|
24986
25220
|
}
|
|
24987
25221
|
return e;
|
|
@@ -24990,9 +25224,9 @@ function toKnownErr92(e) {
|
|
|
24990
25224
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24991
25225
|
var getFollowers_exports = {};
|
|
24992
25226
|
__export(getFollowers_exports, {
|
|
24993
|
-
toKnownErr: () =>
|
|
25227
|
+
toKnownErr: () => toKnownErr97
|
|
24994
25228
|
});
|
|
24995
|
-
function
|
|
25229
|
+
function toKnownErr97(e) {
|
|
24996
25230
|
if (e instanceof XRPCError) {
|
|
24997
25231
|
}
|
|
24998
25232
|
return e;
|
|
@@ -25001,9 +25235,9 @@ function toKnownErr93(e) {
|
|
|
25001
25235
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
25002
25236
|
var getFollows_exports = {};
|
|
25003
25237
|
__export(getFollows_exports, {
|
|
25004
|
-
toKnownErr: () =>
|
|
25238
|
+
toKnownErr: () => toKnownErr98
|
|
25005
25239
|
});
|
|
25006
|
-
function
|
|
25240
|
+
function toKnownErr98(e) {
|
|
25007
25241
|
if (e instanceof XRPCError) {
|
|
25008
25242
|
}
|
|
25009
25243
|
return e;
|
|
@@ -25012,9 +25246,9 @@ function toKnownErr94(e) {
|
|
|
25012
25246
|
// src/client/types/app/bsky/graph/getList.ts
|
|
25013
25247
|
var getList_exports = {};
|
|
25014
25248
|
__export(getList_exports, {
|
|
25015
|
-
toKnownErr: () =>
|
|
25249
|
+
toKnownErr: () => toKnownErr99
|
|
25016
25250
|
});
|
|
25017
|
-
function
|
|
25251
|
+
function toKnownErr99(e) {
|
|
25018
25252
|
if (e instanceof XRPCError) {
|
|
25019
25253
|
}
|
|
25020
25254
|
return e;
|
|
@@ -25023,9 +25257,9 @@ function toKnownErr95(e) {
|
|
|
25023
25257
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
25024
25258
|
var getListBlocks_exports = {};
|
|
25025
25259
|
__export(getListBlocks_exports, {
|
|
25026
|
-
toKnownErr: () =>
|
|
25260
|
+
toKnownErr: () => toKnownErr100
|
|
25027
25261
|
});
|
|
25028
|
-
function
|
|
25262
|
+
function toKnownErr100(e) {
|
|
25029
25263
|
if (e instanceof XRPCError) {
|
|
25030
25264
|
}
|
|
25031
25265
|
return e;
|
|
@@ -25034,9 +25268,9 @@ function toKnownErr96(e) {
|
|
|
25034
25268
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
25035
25269
|
var getListMutes_exports = {};
|
|
25036
25270
|
__export(getListMutes_exports, {
|
|
25037
|
-
toKnownErr: () =>
|
|
25271
|
+
toKnownErr: () => toKnownErr101
|
|
25038
25272
|
});
|
|
25039
|
-
function
|
|
25273
|
+
function toKnownErr101(e) {
|
|
25040
25274
|
if (e instanceof XRPCError) {
|
|
25041
25275
|
}
|
|
25042
25276
|
return e;
|
|
@@ -25045,9 +25279,9 @@ function toKnownErr97(e) {
|
|
|
25045
25279
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
25046
25280
|
var getLists_exports = {};
|
|
25047
25281
|
__export(getLists_exports, {
|
|
25048
|
-
toKnownErr: () =>
|
|
25282
|
+
toKnownErr: () => toKnownErr102
|
|
25049
25283
|
});
|
|
25050
|
-
function
|
|
25284
|
+
function toKnownErr102(e) {
|
|
25051
25285
|
if (e instanceof XRPCError) {
|
|
25052
25286
|
}
|
|
25053
25287
|
return e;
|
|
@@ -25056,9 +25290,9 @@ function toKnownErr98(e) {
|
|
|
25056
25290
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
25057
25291
|
var getMutes_exports = {};
|
|
25058
25292
|
__export(getMutes_exports, {
|
|
25059
|
-
toKnownErr: () =>
|
|
25293
|
+
toKnownErr: () => toKnownErr103
|
|
25060
25294
|
});
|
|
25061
|
-
function
|
|
25295
|
+
function toKnownErr103(e) {
|
|
25062
25296
|
if (e instanceof XRPCError) {
|
|
25063
25297
|
}
|
|
25064
25298
|
return e;
|
|
@@ -25067,9 +25301,9 @@ function toKnownErr99(e) {
|
|
|
25067
25301
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
25068
25302
|
var getSuggestedFollowsByActor_exports = {};
|
|
25069
25303
|
__export(getSuggestedFollowsByActor_exports, {
|
|
25070
|
-
toKnownErr: () =>
|
|
25304
|
+
toKnownErr: () => toKnownErr104
|
|
25071
25305
|
});
|
|
25072
|
-
function
|
|
25306
|
+
function toKnownErr104(e) {
|
|
25073
25307
|
if (e instanceof XRPCError) {
|
|
25074
25308
|
}
|
|
25075
25309
|
return e;
|
|
@@ -25078,9 +25312,9 @@ function toKnownErr100(e) {
|
|
|
25078
25312
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
25079
25313
|
var muteActor_exports = {};
|
|
25080
25314
|
__export(muteActor_exports, {
|
|
25081
|
-
toKnownErr: () =>
|
|
25315
|
+
toKnownErr: () => toKnownErr105
|
|
25082
25316
|
});
|
|
25083
|
-
function
|
|
25317
|
+
function toKnownErr105(e) {
|
|
25084
25318
|
if (e instanceof XRPCError) {
|
|
25085
25319
|
}
|
|
25086
25320
|
return e;
|
|
@@ -25089,9 +25323,9 @@ function toKnownErr101(e) {
|
|
|
25089
25323
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25090
25324
|
var muteActorList_exports = {};
|
|
25091
25325
|
__export(muteActorList_exports, {
|
|
25092
|
-
toKnownErr: () =>
|
|
25326
|
+
toKnownErr: () => toKnownErr106
|
|
25093
25327
|
});
|
|
25094
|
-
function
|
|
25328
|
+
function toKnownErr106(e) {
|
|
25095
25329
|
if (e instanceof XRPCError) {
|
|
25096
25330
|
}
|
|
25097
25331
|
return e;
|
|
@@ -25100,9 +25334,9 @@ function toKnownErr102(e) {
|
|
|
25100
25334
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25101
25335
|
var unmuteActor_exports = {};
|
|
25102
25336
|
__export(unmuteActor_exports, {
|
|
25103
|
-
toKnownErr: () =>
|
|
25337
|
+
toKnownErr: () => toKnownErr107
|
|
25104
25338
|
});
|
|
25105
|
-
function
|
|
25339
|
+
function toKnownErr107(e) {
|
|
25106
25340
|
if (e instanceof XRPCError) {
|
|
25107
25341
|
}
|
|
25108
25342
|
return e;
|
|
@@ -25111,9 +25345,9 @@ function toKnownErr103(e) {
|
|
|
25111
25345
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
25112
25346
|
var unmuteActorList_exports = {};
|
|
25113
25347
|
__export(unmuteActorList_exports, {
|
|
25114
|
-
toKnownErr: () =>
|
|
25348
|
+
toKnownErr: () => toKnownErr108
|
|
25115
25349
|
});
|
|
25116
|
-
function
|
|
25350
|
+
function toKnownErr108(e) {
|
|
25117
25351
|
if (e instanceof XRPCError) {
|
|
25118
25352
|
}
|
|
25119
25353
|
return e;
|
|
@@ -25122,9 +25356,9 @@ function toKnownErr104(e) {
|
|
|
25122
25356
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
25123
25357
|
var getUnreadCount_exports = {};
|
|
25124
25358
|
__export(getUnreadCount_exports, {
|
|
25125
|
-
toKnownErr: () =>
|
|
25359
|
+
toKnownErr: () => toKnownErr109
|
|
25126
25360
|
});
|
|
25127
|
-
function
|
|
25361
|
+
function toKnownErr109(e) {
|
|
25128
25362
|
if (e instanceof XRPCError) {
|
|
25129
25363
|
}
|
|
25130
25364
|
return e;
|
|
@@ -25134,10 +25368,10 @@ function toKnownErr105(e) {
|
|
|
25134
25368
|
var listNotifications_exports = {};
|
|
25135
25369
|
__export(listNotifications_exports, {
|
|
25136
25370
|
isNotification: () => isNotification,
|
|
25137
|
-
toKnownErr: () =>
|
|
25371
|
+
toKnownErr: () => toKnownErr110,
|
|
25138
25372
|
validateNotification: () => validateNotification
|
|
25139
25373
|
});
|
|
25140
|
-
function
|
|
25374
|
+
function toKnownErr110(e) {
|
|
25141
25375
|
if (e instanceof XRPCError) {
|
|
25142
25376
|
}
|
|
25143
25377
|
return e;
|
|
@@ -25152,9 +25386,9 @@ function validateNotification(v) {
|
|
|
25152
25386
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
25153
25387
|
var registerPush_exports = {};
|
|
25154
25388
|
__export(registerPush_exports, {
|
|
25155
|
-
toKnownErr: () =>
|
|
25389
|
+
toKnownErr: () => toKnownErr111
|
|
25156
25390
|
});
|
|
25157
|
-
function
|
|
25391
|
+
function toKnownErr111(e) {
|
|
25158
25392
|
if (e instanceof XRPCError) {
|
|
25159
25393
|
}
|
|
25160
25394
|
return e;
|
|
@@ -25163,9 +25397,9 @@ function toKnownErr107(e) {
|
|
|
25163
25397
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
25164
25398
|
var updateSeen_exports = {};
|
|
25165
25399
|
__export(updateSeen_exports, {
|
|
25166
|
-
toKnownErr: () =>
|
|
25400
|
+
toKnownErr: () => toKnownErr112
|
|
25167
25401
|
});
|
|
25168
|
-
function
|
|
25402
|
+
function toKnownErr112(e) {
|
|
25169
25403
|
if (e instanceof XRPCError) {
|
|
25170
25404
|
}
|
|
25171
25405
|
return e;
|
|
@@ -25174,9 +25408,9 @@ function toKnownErr108(e) {
|
|
|
25174
25408
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
25175
25409
|
var getPopularFeedGenerators_exports = {};
|
|
25176
25410
|
__export(getPopularFeedGenerators_exports, {
|
|
25177
|
-
toKnownErr: () =>
|
|
25411
|
+
toKnownErr: () => toKnownErr113
|
|
25178
25412
|
});
|
|
25179
|
-
function
|
|
25413
|
+
function toKnownErr113(e) {
|
|
25180
25414
|
if (e instanceof XRPCError) {
|
|
25181
25415
|
}
|
|
25182
25416
|
return e;
|
|
@@ -25186,14 +25420,14 @@ function toKnownErr109(e) {
|
|
|
25186
25420
|
var getTimelineSkeleton_exports = {};
|
|
25187
25421
|
__export(getTimelineSkeleton_exports, {
|
|
25188
25422
|
UnknownFeedError: () => UnknownFeedError3,
|
|
25189
|
-
toKnownErr: () =>
|
|
25423
|
+
toKnownErr: () => toKnownErr114
|
|
25190
25424
|
});
|
|
25191
25425
|
var UnknownFeedError3 = class extends XRPCError {
|
|
25192
25426
|
constructor(src2) {
|
|
25193
25427
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25194
25428
|
}
|
|
25195
25429
|
};
|
|
25196
|
-
function
|
|
25430
|
+
function toKnownErr114(e) {
|
|
25197
25431
|
if (e instanceof XRPCError) {
|
|
25198
25432
|
if (e.error === "UnknownFeed")
|
|
25199
25433
|
return new UnknownFeedError3(e);
|
|
@@ -25205,14 +25439,14 @@ function toKnownErr110(e) {
|
|
|
25205
25439
|
var searchActorsSkeleton_exports = {};
|
|
25206
25440
|
__export(searchActorsSkeleton_exports, {
|
|
25207
25441
|
BadQueryStringError: () => BadQueryStringError2,
|
|
25208
|
-
toKnownErr: () =>
|
|
25442
|
+
toKnownErr: () => toKnownErr115
|
|
25209
25443
|
});
|
|
25210
25444
|
var BadQueryStringError2 = class extends XRPCError {
|
|
25211
25445
|
constructor(src2) {
|
|
25212
25446
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25213
25447
|
}
|
|
25214
25448
|
};
|
|
25215
|
-
function
|
|
25449
|
+
function toKnownErr115(e) {
|
|
25216
25450
|
if (e instanceof XRPCError) {
|
|
25217
25451
|
if (e.error === "BadQueryString")
|
|
25218
25452
|
return new BadQueryStringError2(e);
|
|
@@ -25224,14 +25458,14 @@ function toKnownErr111(e) {
|
|
|
25224
25458
|
var searchPostsSkeleton_exports = {};
|
|
25225
25459
|
__export(searchPostsSkeleton_exports, {
|
|
25226
25460
|
BadQueryStringError: () => BadQueryStringError3,
|
|
25227
|
-
toKnownErr: () =>
|
|
25461
|
+
toKnownErr: () => toKnownErr116
|
|
25228
25462
|
});
|
|
25229
25463
|
var BadQueryStringError3 = class extends XRPCError {
|
|
25230
25464
|
constructor(src2) {
|
|
25231
25465
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25232
25466
|
}
|
|
25233
25467
|
};
|
|
25234
|
-
function
|
|
25468
|
+
function toKnownErr116(e) {
|
|
25235
25469
|
if (e instanceof XRPCError) {
|
|
25236
25470
|
if (e.error === "BadQueryString")
|
|
25237
25471
|
return new BadQueryStringError3(e);
|
|
@@ -25247,6 +25481,7 @@ __export(defs_exports, {
|
|
|
25247
25481
|
REVIEWOPEN: () => REVIEWOPEN,
|
|
25248
25482
|
isAccountView: () => isAccountView,
|
|
25249
25483
|
isBlobView: () => isBlobView,
|
|
25484
|
+
isCommunicationTemplateView: () => isCommunicationTemplateView,
|
|
25250
25485
|
isImageDetails: () => isImageDetails,
|
|
25251
25486
|
isModEventAcknowledge: () => isModEventAcknowledge,
|
|
25252
25487
|
isModEventComment: () => isModEventComment,
|
|
@@ -25278,6 +25513,7 @@ __export(defs_exports, {
|
|
|
25278
25513
|
isVideoDetails: () => isVideoDetails,
|
|
25279
25514
|
validateAccountView: () => validateAccountView,
|
|
25280
25515
|
validateBlobView: () => validateBlobView,
|
|
25516
|
+
validateCommunicationTemplateView: () => validateCommunicationTemplateView,
|
|
25281
25517
|
validateImageDetails: () => validateImageDetails,
|
|
25282
25518
|
validateModEventAcknowledge: () => validateModEventAcknowledge,
|
|
25283
25519
|
validateModEventComment: () => validateModEventComment,
|
|
@@ -25497,6 +25733,12 @@ function isModEventEmail(v) {
|
|
|
25497
25733
|
function validateModEventEmail(v) {
|
|
25498
25734
|
return lexicons.validate("com.atproto.admin.defs#modEventEmail", v);
|
|
25499
25735
|
}
|
|
25736
|
+
function isCommunicationTemplateView(v) {
|
|
25737
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#communicationTemplateView";
|
|
25738
|
+
}
|
|
25739
|
+
function validateCommunicationTemplateView(v) {
|
|
25740
|
+
return lexicons.validate("com.atproto.admin.defs#communicationTemplateView", v);
|
|
25741
|
+
}
|
|
25500
25742
|
|
|
25501
25743
|
// src/client/types/com/atproto/label/defs.ts
|
|
25502
25744
|
var defs_exports2 = {};
|
|
@@ -26364,99 +26606,119 @@ var ComAtprotoAdminNS = class {
|
|
|
26364
26606
|
constructor(service2) {
|
|
26365
26607
|
this._service = service2;
|
|
26366
26608
|
}
|
|
26609
|
+
createCommunicationTemplate(data, opts) {
|
|
26610
|
+
return this._service.xrpc.call("com.atproto.admin.createCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
26611
|
+
throw toKnownErr(e);
|
|
26612
|
+
});
|
|
26613
|
+
}
|
|
26367
26614
|
deleteAccount(data, opts) {
|
|
26368
26615
|
return this._service.xrpc.call("com.atproto.admin.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
26369
|
-
throw
|
|
26616
|
+
throw toKnownErr2(e);
|
|
26617
|
+
});
|
|
26618
|
+
}
|
|
26619
|
+
deleteCommunicationTemplate(data, opts) {
|
|
26620
|
+
return this._service.xrpc.call("com.atproto.admin.deleteCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
26621
|
+
throw toKnownErr3(e);
|
|
26370
26622
|
});
|
|
26371
26623
|
}
|
|
26372
26624
|
disableAccountInvites(data, opts) {
|
|
26373
26625
|
return this._service.xrpc.call("com.atproto.admin.disableAccountInvites", opts?.qp, data, opts).catch((e) => {
|
|
26374
|
-
throw
|
|
26626
|
+
throw toKnownErr4(e);
|
|
26375
26627
|
});
|
|
26376
26628
|
}
|
|
26377
26629
|
disableInviteCodes(data, opts) {
|
|
26378
26630
|
return this._service.xrpc.call("com.atproto.admin.disableInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
26379
|
-
throw
|
|
26631
|
+
throw toKnownErr5(e);
|
|
26380
26632
|
});
|
|
26381
26633
|
}
|
|
26382
26634
|
emitModerationEvent(data, opts) {
|
|
26383
26635
|
return this._service.xrpc.call("com.atproto.admin.emitModerationEvent", opts?.qp, data, opts).catch((e) => {
|
|
26384
|
-
throw
|
|
26636
|
+
throw toKnownErr6(e);
|
|
26385
26637
|
});
|
|
26386
26638
|
}
|
|
26387
26639
|
enableAccountInvites(data, opts) {
|
|
26388
26640
|
return this._service.xrpc.call("com.atproto.admin.enableAccountInvites", opts?.qp, data, opts).catch((e) => {
|
|
26389
|
-
throw
|
|
26641
|
+
throw toKnownErr7(e);
|
|
26390
26642
|
});
|
|
26391
26643
|
}
|
|
26392
26644
|
getAccountInfo(params2, opts) {
|
|
26393
26645
|
return this._service.xrpc.call("com.atproto.admin.getAccountInfo", params2, void 0, opts).catch((e) => {
|
|
26394
|
-
throw
|
|
26646
|
+
throw toKnownErr8(e);
|
|
26395
26647
|
});
|
|
26396
26648
|
}
|
|
26397
26649
|
getAccountInfos(params2, opts) {
|
|
26398
26650
|
return this._service.xrpc.call("com.atproto.admin.getAccountInfos", params2, void 0, opts).catch((e) => {
|
|
26399
|
-
throw
|
|
26651
|
+
throw toKnownErr9(e);
|
|
26400
26652
|
});
|
|
26401
26653
|
}
|
|
26402
26654
|
getInviteCodes(params2, opts) {
|
|
26403
26655
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26404
|
-
throw
|
|
26656
|
+
throw toKnownErr10(e);
|
|
26405
26657
|
});
|
|
26406
26658
|
}
|
|
26407
26659
|
getModerationEvent(params2, opts) {
|
|
26408
26660
|
return this._service.xrpc.call("com.atproto.admin.getModerationEvent", params2, void 0, opts).catch((e) => {
|
|
26409
|
-
throw
|
|
26661
|
+
throw toKnownErr11(e);
|
|
26410
26662
|
});
|
|
26411
26663
|
}
|
|
26412
26664
|
getRecord(params2, opts) {
|
|
26413
26665
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
26414
|
-
throw
|
|
26666
|
+
throw toKnownErr12(e);
|
|
26415
26667
|
});
|
|
26416
26668
|
}
|
|
26417
26669
|
getRepo(params2, opts) {
|
|
26418
26670
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
26419
|
-
throw
|
|
26671
|
+
throw toKnownErr13(e);
|
|
26420
26672
|
});
|
|
26421
26673
|
}
|
|
26422
26674
|
getSubjectStatus(params2, opts) {
|
|
26423
26675
|
return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
|
|
26424
|
-
throw
|
|
26676
|
+
throw toKnownErr14(e);
|
|
26677
|
+
});
|
|
26678
|
+
}
|
|
26679
|
+
listCommunicationTemplates(params2, opts) {
|
|
26680
|
+
return this._service.xrpc.call("com.atproto.admin.listCommunicationTemplates", params2, void 0, opts).catch((e) => {
|
|
26681
|
+
throw toKnownErr15(e);
|
|
26425
26682
|
});
|
|
26426
26683
|
}
|
|
26427
26684
|
queryModerationEvents(params2, opts) {
|
|
26428
26685
|
return this._service.xrpc.call("com.atproto.admin.queryModerationEvents", params2, void 0, opts).catch((e) => {
|
|
26429
|
-
throw
|
|
26686
|
+
throw toKnownErr16(e);
|
|
26430
26687
|
});
|
|
26431
26688
|
}
|
|
26432
26689
|
queryModerationStatuses(params2, opts) {
|
|
26433
26690
|
return this._service.xrpc.call("com.atproto.admin.queryModerationStatuses", params2, void 0, opts).catch((e) => {
|
|
26434
|
-
throw
|
|
26691
|
+
throw toKnownErr17(e);
|
|
26435
26692
|
});
|
|
26436
26693
|
}
|
|
26437
26694
|
searchRepos(params2, opts) {
|
|
26438
26695
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
26439
|
-
throw
|
|
26696
|
+
throw toKnownErr18(e);
|
|
26440
26697
|
});
|
|
26441
26698
|
}
|
|
26442
26699
|
sendEmail(data, opts) {
|
|
26443
26700
|
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
26444
|
-
throw
|
|
26701
|
+
throw toKnownErr19(e);
|
|
26445
26702
|
});
|
|
26446
26703
|
}
|
|
26447
26704
|
updateAccountEmail(data, opts) {
|
|
26448
26705
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
26449
|
-
throw
|
|
26706
|
+
throw toKnownErr20(e);
|
|
26450
26707
|
});
|
|
26451
26708
|
}
|
|
26452
26709
|
updateAccountHandle(data, opts) {
|
|
26453
26710
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
26454
|
-
throw
|
|
26711
|
+
throw toKnownErr21(e);
|
|
26712
|
+
});
|
|
26713
|
+
}
|
|
26714
|
+
updateCommunicationTemplate(data, opts) {
|
|
26715
|
+
return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
26716
|
+
throw toKnownErr22(e);
|
|
26455
26717
|
});
|
|
26456
26718
|
}
|
|
26457
26719
|
updateSubjectStatus(data, opts) {
|
|
26458
26720
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
26459
|
-
throw
|
|
26721
|
+
throw toKnownErr23(e);
|
|
26460
26722
|
});
|
|
26461
26723
|
}
|
|
26462
26724
|
};
|
|
@@ -26466,12 +26728,12 @@ var ComAtprotoIdentityNS = class {
|
|
|
26466
26728
|
}
|
|
26467
26729
|
resolveHandle(params2, opts) {
|
|
26468
26730
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
26469
|
-
throw
|
|
26731
|
+
throw toKnownErr24(e);
|
|
26470
26732
|
});
|
|
26471
26733
|
}
|
|
26472
26734
|
updateHandle(data, opts) {
|
|
26473
26735
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
26474
|
-
throw
|
|
26736
|
+
throw toKnownErr25(e);
|
|
26475
26737
|
});
|
|
26476
26738
|
}
|
|
26477
26739
|
};
|
|
@@ -26481,7 +26743,7 @@ var ComAtprotoLabelNS = class {
|
|
|
26481
26743
|
}
|
|
26482
26744
|
queryLabels(params2, opts) {
|
|
26483
26745
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
26484
|
-
throw
|
|
26746
|
+
throw toKnownErr26(e);
|
|
26485
26747
|
});
|
|
26486
26748
|
}
|
|
26487
26749
|
};
|
|
@@ -26491,7 +26753,7 @@ var ComAtprotoModerationNS = class {
|
|
|
26491
26753
|
}
|
|
26492
26754
|
createReport(data, opts) {
|
|
26493
26755
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
26494
|
-
throw
|
|
26756
|
+
throw toKnownErr27(e);
|
|
26495
26757
|
});
|
|
26496
26758
|
}
|
|
26497
26759
|
};
|
|
@@ -26501,42 +26763,42 @@ var ComAtprotoRepoNS = class {
|
|
|
26501
26763
|
}
|
|
26502
26764
|
applyWrites(data, opts) {
|
|
26503
26765
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
26504
|
-
throw
|
|
26766
|
+
throw toKnownErr28(e);
|
|
26505
26767
|
});
|
|
26506
26768
|
}
|
|
26507
26769
|
createRecord(data, opts) {
|
|
26508
26770
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
26509
|
-
throw
|
|
26771
|
+
throw toKnownErr29(e);
|
|
26510
26772
|
});
|
|
26511
26773
|
}
|
|
26512
26774
|
deleteRecord(data, opts) {
|
|
26513
26775
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
26514
|
-
throw
|
|
26776
|
+
throw toKnownErr30(e);
|
|
26515
26777
|
});
|
|
26516
26778
|
}
|
|
26517
26779
|
describeRepo(params2, opts) {
|
|
26518
26780
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
26519
|
-
throw
|
|
26781
|
+
throw toKnownErr31(e);
|
|
26520
26782
|
});
|
|
26521
26783
|
}
|
|
26522
26784
|
getRecord(params2, opts) {
|
|
26523
26785
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
26524
|
-
throw
|
|
26786
|
+
throw toKnownErr32(e);
|
|
26525
26787
|
});
|
|
26526
26788
|
}
|
|
26527
26789
|
listRecords(params2, opts) {
|
|
26528
26790
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
26529
|
-
throw
|
|
26791
|
+
throw toKnownErr33(e);
|
|
26530
26792
|
});
|
|
26531
26793
|
}
|
|
26532
26794
|
putRecord(data, opts) {
|
|
26533
26795
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
26534
|
-
throw
|
|
26796
|
+
throw toKnownErr34(e);
|
|
26535
26797
|
});
|
|
26536
26798
|
}
|
|
26537
26799
|
uploadBlob(data, opts) {
|
|
26538
26800
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
26539
|
-
throw
|
|
26801
|
+
throw toKnownErr35(e);
|
|
26540
26802
|
});
|
|
26541
26803
|
}
|
|
26542
26804
|
};
|
|
@@ -26546,107 +26808,107 @@ var ComAtprotoServerNS = class {
|
|
|
26546
26808
|
}
|
|
26547
26809
|
confirmEmail(data, opts) {
|
|
26548
26810
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
26549
|
-
throw
|
|
26811
|
+
throw toKnownErr36(e);
|
|
26550
26812
|
});
|
|
26551
26813
|
}
|
|
26552
26814
|
createAccount(data, opts) {
|
|
26553
26815
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
26554
|
-
throw
|
|
26816
|
+
throw toKnownErr37(e);
|
|
26555
26817
|
});
|
|
26556
26818
|
}
|
|
26557
26819
|
createAppPassword(data, opts) {
|
|
26558
26820
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26559
|
-
throw
|
|
26821
|
+
throw toKnownErr38(e);
|
|
26560
26822
|
});
|
|
26561
26823
|
}
|
|
26562
26824
|
createInviteCode(data, opts) {
|
|
26563
26825
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
26564
|
-
throw
|
|
26826
|
+
throw toKnownErr39(e);
|
|
26565
26827
|
});
|
|
26566
26828
|
}
|
|
26567
26829
|
createInviteCodes(data, opts) {
|
|
26568
26830
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
26569
|
-
throw
|
|
26831
|
+
throw toKnownErr40(e);
|
|
26570
26832
|
});
|
|
26571
26833
|
}
|
|
26572
26834
|
createSession(data, opts) {
|
|
26573
26835
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
26574
|
-
throw
|
|
26836
|
+
throw toKnownErr41(e);
|
|
26575
26837
|
});
|
|
26576
26838
|
}
|
|
26577
26839
|
deleteAccount(data, opts) {
|
|
26578
26840
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
26579
|
-
throw
|
|
26841
|
+
throw toKnownErr42(e);
|
|
26580
26842
|
});
|
|
26581
26843
|
}
|
|
26582
26844
|
deleteSession(data, opts) {
|
|
26583
26845
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
26584
|
-
throw
|
|
26846
|
+
throw toKnownErr43(e);
|
|
26585
26847
|
});
|
|
26586
26848
|
}
|
|
26587
26849
|
describeServer(params2, opts) {
|
|
26588
26850
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
26589
|
-
throw
|
|
26851
|
+
throw toKnownErr44(e);
|
|
26590
26852
|
});
|
|
26591
26853
|
}
|
|
26592
26854
|
getAccountInviteCodes(params2, opts) {
|
|
26593
26855
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
26594
|
-
throw
|
|
26856
|
+
throw toKnownErr45(e);
|
|
26595
26857
|
});
|
|
26596
26858
|
}
|
|
26597
26859
|
getSession(params2, opts) {
|
|
26598
26860
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
26599
|
-
throw
|
|
26861
|
+
throw toKnownErr46(e);
|
|
26600
26862
|
});
|
|
26601
26863
|
}
|
|
26602
26864
|
listAppPasswords(params2, opts) {
|
|
26603
26865
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
26604
|
-
throw
|
|
26866
|
+
throw toKnownErr47(e);
|
|
26605
26867
|
});
|
|
26606
26868
|
}
|
|
26607
26869
|
refreshSession(data, opts) {
|
|
26608
26870
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
26609
|
-
throw
|
|
26871
|
+
throw toKnownErr48(e);
|
|
26610
26872
|
});
|
|
26611
26873
|
}
|
|
26612
26874
|
requestAccountDelete(data, opts) {
|
|
26613
26875
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
26614
|
-
throw
|
|
26876
|
+
throw toKnownErr49(e);
|
|
26615
26877
|
});
|
|
26616
26878
|
}
|
|
26617
26879
|
requestEmailConfirmation(data, opts) {
|
|
26618
26880
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
26619
|
-
throw
|
|
26881
|
+
throw toKnownErr50(e);
|
|
26620
26882
|
});
|
|
26621
26883
|
}
|
|
26622
26884
|
requestEmailUpdate(data, opts) {
|
|
26623
26885
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26624
|
-
throw
|
|
26886
|
+
throw toKnownErr51(e);
|
|
26625
26887
|
});
|
|
26626
26888
|
}
|
|
26627
26889
|
requestPasswordReset(data, opts) {
|
|
26628
26890
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
26629
|
-
throw
|
|
26891
|
+
throw toKnownErr52(e);
|
|
26630
26892
|
});
|
|
26631
26893
|
}
|
|
26632
26894
|
reserveSigningKey(data, opts) {
|
|
26633
26895
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
26634
|
-
throw
|
|
26896
|
+
throw toKnownErr53(e);
|
|
26635
26897
|
});
|
|
26636
26898
|
}
|
|
26637
26899
|
resetPassword(data, opts) {
|
|
26638
26900
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
26639
|
-
throw
|
|
26901
|
+
throw toKnownErr54(e);
|
|
26640
26902
|
});
|
|
26641
26903
|
}
|
|
26642
26904
|
revokeAppPassword(data, opts) {
|
|
26643
26905
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
26644
|
-
throw
|
|
26906
|
+
throw toKnownErr55(e);
|
|
26645
26907
|
});
|
|
26646
26908
|
}
|
|
26647
26909
|
updateEmail(data, opts) {
|
|
26648
26910
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
26649
|
-
throw
|
|
26911
|
+
throw toKnownErr56(e);
|
|
26650
26912
|
});
|
|
26651
26913
|
}
|
|
26652
26914
|
};
|
|
@@ -26656,57 +26918,57 @@ var ComAtprotoSyncNS = class {
|
|
|
26656
26918
|
}
|
|
26657
26919
|
getBlob(params2, opts) {
|
|
26658
26920
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
26659
|
-
throw
|
|
26921
|
+
throw toKnownErr57(e);
|
|
26660
26922
|
});
|
|
26661
26923
|
}
|
|
26662
26924
|
getBlocks(params2, opts) {
|
|
26663
26925
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26664
|
-
throw
|
|
26926
|
+
throw toKnownErr58(e);
|
|
26665
26927
|
});
|
|
26666
26928
|
}
|
|
26667
26929
|
getCheckout(params2, opts) {
|
|
26668
26930
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
26669
|
-
throw
|
|
26931
|
+
throw toKnownErr59(e);
|
|
26670
26932
|
});
|
|
26671
26933
|
}
|
|
26672
26934
|
getHead(params2, opts) {
|
|
26673
26935
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
26674
|
-
throw
|
|
26936
|
+
throw toKnownErr60(e);
|
|
26675
26937
|
});
|
|
26676
26938
|
}
|
|
26677
26939
|
getLatestCommit(params2, opts) {
|
|
26678
26940
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
26679
|
-
throw
|
|
26941
|
+
throw toKnownErr61(e);
|
|
26680
26942
|
});
|
|
26681
26943
|
}
|
|
26682
26944
|
getRecord(params2, opts) {
|
|
26683
26945
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
26684
|
-
throw
|
|
26946
|
+
throw toKnownErr62(e);
|
|
26685
26947
|
});
|
|
26686
26948
|
}
|
|
26687
26949
|
getRepo(params2, opts) {
|
|
26688
26950
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
26689
|
-
throw
|
|
26951
|
+
throw toKnownErr63(e);
|
|
26690
26952
|
});
|
|
26691
26953
|
}
|
|
26692
26954
|
listBlobs(params2, opts) {
|
|
26693
26955
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
26694
|
-
throw
|
|
26956
|
+
throw toKnownErr64(e);
|
|
26695
26957
|
});
|
|
26696
26958
|
}
|
|
26697
26959
|
listRepos(params2, opts) {
|
|
26698
26960
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
26699
|
-
throw
|
|
26961
|
+
throw toKnownErr65(e);
|
|
26700
26962
|
});
|
|
26701
26963
|
}
|
|
26702
26964
|
notifyOfUpdate(data, opts) {
|
|
26703
26965
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
26704
|
-
throw
|
|
26966
|
+
throw toKnownErr66(e);
|
|
26705
26967
|
});
|
|
26706
26968
|
}
|
|
26707
26969
|
requestCrawl(data, opts) {
|
|
26708
26970
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
26709
|
-
throw
|
|
26971
|
+
throw toKnownErr67(e);
|
|
26710
26972
|
});
|
|
26711
26973
|
}
|
|
26712
26974
|
};
|
|
@@ -26716,27 +26978,27 @@ var ComAtprotoTempNS = class {
|
|
|
26716
26978
|
}
|
|
26717
26979
|
fetchLabels(params2, opts) {
|
|
26718
26980
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
26719
|
-
throw
|
|
26981
|
+
throw toKnownErr68(e);
|
|
26720
26982
|
});
|
|
26721
26983
|
}
|
|
26722
26984
|
importRepo(data, opts) {
|
|
26723
26985
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
26724
|
-
throw
|
|
26986
|
+
throw toKnownErr69(e);
|
|
26725
26987
|
});
|
|
26726
26988
|
}
|
|
26727
26989
|
pushBlob(data, opts) {
|
|
26728
26990
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
26729
|
-
throw
|
|
26991
|
+
throw toKnownErr70(e);
|
|
26730
26992
|
});
|
|
26731
26993
|
}
|
|
26732
26994
|
requestPhoneVerification(data, opts) {
|
|
26733
26995
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
26734
|
-
throw
|
|
26996
|
+
throw toKnownErr71(e);
|
|
26735
26997
|
});
|
|
26736
26998
|
}
|
|
26737
26999
|
transferAccount(data, opts) {
|
|
26738
27000
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
26739
|
-
throw
|
|
27001
|
+
throw toKnownErr72(e);
|
|
26740
27002
|
});
|
|
26741
27003
|
}
|
|
26742
27004
|
};
|
|
@@ -26765,37 +27027,37 @@ var AppBskyActorNS = class {
|
|
|
26765
27027
|
}
|
|
26766
27028
|
getPreferences(params2, opts) {
|
|
26767
27029
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
26768
|
-
throw
|
|
27030
|
+
throw toKnownErr73(e);
|
|
26769
27031
|
});
|
|
26770
27032
|
}
|
|
26771
27033
|
getProfile(params2, opts) {
|
|
26772
27034
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
26773
|
-
throw
|
|
27035
|
+
throw toKnownErr74(e);
|
|
26774
27036
|
});
|
|
26775
27037
|
}
|
|
26776
27038
|
getProfiles(params2, opts) {
|
|
26777
27039
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
26778
|
-
throw
|
|
27040
|
+
throw toKnownErr75(e);
|
|
26779
27041
|
});
|
|
26780
27042
|
}
|
|
26781
27043
|
getSuggestions(params2, opts) {
|
|
26782
27044
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
26783
|
-
throw
|
|
27045
|
+
throw toKnownErr76(e);
|
|
26784
27046
|
});
|
|
26785
27047
|
}
|
|
26786
27048
|
putPreferences(data, opts) {
|
|
26787
27049
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
26788
|
-
throw
|
|
27050
|
+
throw toKnownErr77(e);
|
|
26789
27051
|
});
|
|
26790
27052
|
}
|
|
26791
27053
|
searchActors(params2, opts) {
|
|
26792
27054
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
26793
|
-
throw
|
|
27055
|
+
throw toKnownErr78(e);
|
|
26794
27056
|
});
|
|
26795
27057
|
}
|
|
26796
27058
|
searchActorsTypeahead(params2, opts) {
|
|
26797
27059
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
26798
|
-
throw
|
|
27060
|
+
throw toKnownErr79(e);
|
|
26799
27061
|
});
|
|
26800
27062
|
}
|
|
26801
27063
|
};
|
|
@@ -26842,82 +27104,82 @@ var AppBskyFeedNS = class {
|
|
|
26842
27104
|
}
|
|
26843
27105
|
describeFeedGenerator(params2, opts) {
|
|
26844
27106
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26845
|
-
throw
|
|
27107
|
+
throw toKnownErr80(e);
|
|
26846
27108
|
});
|
|
26847
27109
|
}
|
|
26848
27110
|
getActorFeeds(params2, opts) {
|
|
26849
27111
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
26850
|
-
throw
|
|
27112
|
+
throw toKnownErr81(e);
|
|
26851
27113
|
});
|
|
26852
27114
|
}
|
|
26853
27115
|
getActorLikes(params2, opts) {
|
|
26854
27116
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
26855
|
-
throw
|
|
27117
|
+
throw toKnownErr82(e);
|
|
26856
27118
|
});
|
|
26857
27119
|
}
|
|
26858
27120
|
getAuthorFeed(params2, opts) {
|
|
26859
27121
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
26860
|
-
throw
|
|
27122
|
+
throw toKnownErr83(e);
|
|
26861
27123
|
});
|
|
26862
27124
|
}
|
|
26863
27125
|
getFeed(params2, opts) {
|
|
26864
27126
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
26865
|
-
throw
|
|
27127
|
+
throw toKnownErr84(e);
|
|
26866
27128
|
});
|
|
26867
27129
|
}
|
|
26868
27130
|
getFeedGenerator(params2, opts) {
|
|
26869
27131
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26870
|
-
throw
|
|
27132
|
+
throw toKnownErr85(e);
|
|
26871
27133
|
});
|
|
26872
27134
|
}
|
|
26873
27135
|
getFeedGenerators(params2, opts) {
|
|
26874
27136
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26875
|
-
throw
|
|
27137
|
+
throw toKnownErr86(e);
|
|
26876
27138
|
});
|
|
26877
27139
|
}
|
|
26878
27140
|
getFeedSkeleton(params2, opts) {
|
|
26879
27141
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
26880
|
-
throw
|
|
27142
|
+
throw toKnownErr87(e);
|
|
26881
27143
|
});
|
|
26882
27144
|
}
|
|
26883
27145
|
getLikes(params2, opts) {
|
|
26884
27146
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
26885
|
-
throw
|
|
27147
|
+
throw toKnownErr88(e);
|
|
26886
27148
|
});
|
|
26887
27149
|
}
|
|
26888
27150
|
getListFeed(params2, opts) {
|
|
26889
27151
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
26890
|
-
throw
|
|
27152
|
+
throw toKnownErr89(e);
|
|
26891
27153
|
});
|
|
26892
27154
|
}
|
|
26893
27155
|
getPostThread(params2, opts) {
|
|
26894
27156
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
26895
|
-
throw
|
|
27157
|
+
throw toKnownErr90(e);
|
|
26896
27158
|
});
|
|
26897
27159
|
}
|
|
26898
27160
|
getPosts(params2, opts) {
|
|
26899
27161
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
26900
|
-
throw
|
|
27162
|
+
throw toKnownErr91(e);
|
|
26901
27163
|
});
|
|
26902
27164
|
}
|
|
26903
27165
|
getRepostedBy(params2, opts) {
|
|
26904
27166
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
26905
|
-
throw
|
|
27167
|
+
throw toKnownErr92(e);
|
|
26906
27168
|
});
|
|
26907
27169
|
}
|
|
26908
27170
|
getSuggestedFeeds(params2, opts) {
|
|
26909
27171
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
26910
|
-
throw
|
|
27172
|
+
throw toKnownErr93(e);
|
|
26911
27173
|
});
|
|
26912
27174
|
}
|
|
26913
27175
|
getTimeline(params2, opts) {
|
|
26914
27176
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
26915
|
-
throw
|
|
27177
|
+
throw toKnownErr94(e);
|
|
26916
27178
|
});
|
|
26917
27179
|
}
|
|
26918
27180
|
searchPosts(params2, opts) {
|
|
26919
27181
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26920
|
-
throw
|
|
27182
|
+
throw toKnownErr95(e);
|
|
26921
27183
|
});
|
|
26922
27184
|
}
|
|
26923
27185
|
};
|
|
@@ -27067,67 +27329,67 @@ var AppBskyGraphNS = class {
|
|
|
27067
27329
|
}
|
|
27068
27330
|
getBlocks(params2, opts) {
|
|
27069
27331
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
27070
|
-
throw
|
|
27332
|
+
throw toKnownErr96(e);
|
|
27071
27333
|
});
|
|
27072
27334
|
}
|
|
27073
27335
|
getFollowers(params2, opts) {
|
|
27074
27336
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
27075
|
-
throw
|
|
27337
|
+
throw toKnownErr97(e);
|
|
27076
27338
|
});
|
|
27077
27339
|
}
|
|
27078
27340
|
getFollows(params2, opts) {
|
|
27079
27341
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
27080
|
-
throw
|
|
27342
|
+
throw toKnownErr98(e);
|
|
27081
27343
|
});
|
|
27082
27344
|
}
|
|
27083
27345
|
getList(params2, opts) {
|
|
27084
27346
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
27085
|
-
throw
|
|
27347
|
+
throw toKnownErr99(e);
|
|
27086
27348
|
});
|
|
27087
27349
|
}
|
|
27088
27350
|
getListBlocks(params2, opts) {
|
|
27089
27351
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
27090
|
-
throw
|
|
27352
|
+
throw toKnownErr100(e);
|
|
27091
27353
|
});
|
|
27092
27354
|
}
|
|
27093
27355
|
getListMutes(params2, opts) {
|
|
27094
27356
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
27095
|
-
throw
|
|
27357
|
+
throw toKnownErr101(e);
|
|
27096
27358
|
});
|
|
27097
27359
|
}
|
|
27098
27360
|
getLists(params2, opts) {
|
|
27099
27361
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
27100
|
-
throw
|
|
27362
|
+
throw toKnownErr102(e);
|
|
27101
27363
|
});
|
|
27102
27364
|
}
|
|
27103
27365
|
getMutes(params2, opts) {
|
|
27104
27366
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
27105
|
-
throw
|
|
27367
|
+
throw toKnownErr103(e);
|
|
27106
27368
|
});
|
|
27107
27369
|
}
|
|
27108
27370
|
getSuggestedFollowsByActor(params2, opts) {
|
|
27109
27371
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
27110
|
-
throw
|
|
27372
|
+
throw toKnownErr104(e);
|
|
27111
27373
|
});
|
|
27112
27374
|
}
|
|
27113
27375
|
muteActor(data, opts) {
|
|
27114
27376
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
27115
|
-
throw
|
|
27377
|
+
throw toKnownErr105(e);
|
|
27116
27378
|
});
|
|
27117
27379
|
}
|
|
27118
27380
|
muteActorList(data, opts) {
|
|
27119
27381
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27120
|
-
throw
|
|
27382
|
+
throw toKnownErr106(e);
|
|
27121
27383
|
});
|
|
27122
27384
|
}
|
|
27123
27385
|
unmuteActor(data, opts) {
|
|
27124
27386
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
27125
|
-
throw
|
|
27387
|
+
throw toKnownErr107(e);
|
|
27126
27388
|
});
|
|
27127
27389
|
}
|
|
27128
27390
|
unmuteActorList(data, opts) {
|
|
27129
27391
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27130
|
-
throw
|
|
27392
|
+
throw toKnownErr108(e);
|
|
27131
27393
|
});
|
|
27132
27394
|
}
|
|
27133
27395
|
};
|
|
@@ -27272,22 +27534,22 @@ var AppBskyNotificationNS = class {
|
|
|
27272
27534
|
}
|
|
27273
27535
|
getUnreadCount(params2, opts) {
|
|
27274
27536
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
27275
|
-
throw
|
|
27537
|
+
throw toKnownErr109(e);
|
|
27276
27538
|
});
|
|
27277
27539
|
}
|
|
27278
27540
|
listNotifications(params2, opts) {
|
|
27279
27541
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
27280
|
-
throw
|
|
27542
|
+
throw toKnownErr110(e);
|
|
27281
27543
|
});
|
|
27282
27544
|
}
|
|
27283
27545
|
registerPush(data, opts) {
|
|
27284
27546
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
27285
|
-
throw
|
|
27547
|
+
throw toKnownErr111(e);
|
|
27286
27548
|
});
|
|
27287
27549
|
}
|
|
27288
27550
|
updateSeen(data, opts) {
|
|
27289
27551
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
27290
|
-
throw
|
|
27552
|
+
throw toKnownErr112(e);
|
|
27291
27553
|
});
|
|
27292
27554
|
}
|
|
27293
27555
|
};
|
|
@@ -27302,22 +27564,22 @@ var AppBskyUnspeccedNS = class {
|
|
|
27302
27564
|
}
|
|
27303
27565
|
getPopularFeedGenerators(params2, opts) {
|
|
27304
27566
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27305
|
-
throw
|
|
27567
|
+
throw toKnownErr113(e);
|
|
27306
27568
|
});
|
|
27307
27569
|
}
|
|
27308
27570
|
getTimelineSkeleton(params2, opts) {
|
|
27309
27571
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
27310
|
-
throw
|
|
27572
|
+
throw toKnownErr114(e);
|
|
27311
27573
|
});
|
|
27312
27574
|
}
|
|
27313
27575
|
searchActorsSkeleton(params2, opts) {
|
|
27314
27576
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27315
|
-
throw
|
|
27577
|
+
throw toKnownErr115(e);
|
|
27316
27578
|
});
|
|
27317
27579
|
}
|
|
27318
27580
|
searchPostsSkeleton(params2, opts) {
|
|
27319
27581
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27320
|
-
throw
|
|
27582
|
+
throw toKnownErr116(e);
|
|
27321
27583
|
});
|
|
27322
27584
|
}
|
|
27323
27585
|
};
|
|
@@ -27350,12 +27612,7 @@ var _AtpAgent = class {
|
|
|
27350
27612
|
}
|
|
27351
27613
|
async createAccount(opts) {
|
|
27352
27614
|
try {
|
|
27353
|
-
const res = await this.api.com.atproto.server.createAccount(
|
|
27354
|
-
handle: opts.handle,
|
|
27355
|
-
password: opts.password,
|
|
27356
|
-
email: opts.email,
|
|
27357
|
-
inviteCode: opts.inviteCode
|
|
27358
|
-
});
|
|
27615
|
+
const res = await this.api.com.atproto.server.createAccount(opts);
|
|
27359
27616
|
this.session = {
|
|
27360
27617
|
accessJwt: res.data.accessJwt,
|
|
27361
27618
|
refreshJwt: res.data.refreshJwt,
|