@atproto/api 0.2.11 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/client/index.d.ts +10 -0
- package/dist/client/lexicons.d.ts +95 -0
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +10 -3
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/generator.d.ts +12 -0
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +4 -1
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +21 -0
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- package/dist/index.js +386 -229
- package/dist/index.js.map +4 -4
- package/dist/src/client/index.d.ts +462 -0
- package/dist/src/client/lexicons.d.ts +2910 -0
- package/dist/src/client/schemas.d.ts +17 -0
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
- package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
- package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
- package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
- package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
- package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
- package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/client/types/app/bsky/like.d.ts +10 -0
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/src/client/types/app/bsky/post.d.ts +23 -0
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
- package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
- package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
- package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
- package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
- package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
- package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
- package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/schemas.d.ts +19 -0
- package/dist/src/session.d.ts +42 -0
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
- package/dist/src/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/types/app/bsky/like.d.ts +10 -0
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/types/app/bsky/post.d.ts +23 -0
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/app/bsky/profile.d.ts +11 -0
- package/dist/src/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
- package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
- package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
- package/dist/src/types/com/atproto/createSession.d.ts +23 -0
- package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
- package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
- package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
- package/dist/src/types/todo/adx/createSession.d.ts +22 -0
- package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/todo/adx/getSession.d.ts +17 -0
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
- package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/social/badge.d.ts +23 -0
- package/dist/src/types/todo/social/follow.d.ts +5 -0
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
- package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
- package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
- package/dist/src/types/todo/social/getProfile.d.ts +40 -0
- package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
- package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
- package/dist/src/types/todo/social/like.d.ts +5 -0
- package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
- package/dist/src/types/todo/social/post.d.ts +18 -0
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/todo/social/profile.d.ts +10 -0
- package/dist/src/types/todo/social/repost.d.ts +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +6 -1
- package/src/client/index.ts +40 -0
- package/src/client/lexicons.ts +102 -0
- package/src/client/types/app/bsky/unspecced/getPopular.ts +1 -0
- package/src/client/types/com/atproto/admin/defs.ts +5 -0
- package/src/client/types/com/atproto/admin/disableAccountInvites.ts +32 -0
- package/src/client/types/com/atproto/admin/enableAccountInvites.ts +32 -0
- package/src/client/types/com/atproto/repo/rebaseRepo.ts +42 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/helpers/bsky.d.ts +0 -20
- package/dist/mixins/bsky.d.ts +0 -23
- package/dist/rich-text/sanitize.d.ts +0 -4
package/dist/index.js
CHANGED
|
@@ -127,7 +127,9 @@ __export(src_exports4, {
|
|
|
127
127
|
COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
|
|
128
128
|
COM_ATPROTO_MODERATION: () => COM_ATPROTO_MODERATION,
|
|
129
129
|
ComAtprotoAdminDefs: () => defs_exports,
|
|
130
|
+
ComAtprotoAdminDisableAccountInvites: () => disableAccountInvites_exports,
|
|
130
131
|
ComAtprotoAdminDisableInviteCodes: () => disableInviteCodes_exports,
|
|
132
|
+
ComAtprotoAdminEnableAccountInvites: () => enableAccountInvites_exports,
|
|
131
133
|
ComAtprotoAdminGetInviteCodes: () => getInviteCodes_exports,
|
|
132
134
|
ComAtprotoAdminGetModerationAction: () => getModerationAction_exports,
|
|
133
135
|
ComAtprotoAdminGetModerationActions: () => getModerationActions_exports,
|
|
@@ -155,6 +157,7 @@ __export(src_exports4, {
|
|
|
155
157
|
ComAtprotoRepoGetRecord: () => getRecord_exports2,
|
|
156
158
|
ComAtprotoRepoListRecords: () => listRecords_exports,
|
|
157
159
|
ComAtprotoRepoPutRecord: () => putRecord_exports,
|
|
160
|
+
ComAtprotoRepoRebaseRepo: () => rebaseRepo_exports,
|
|
158
161
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
159
162
|
ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
|
|
160
163
|
ComAtprotoServerCreateAccount: () => createAccount_exports,
|
|
@@ -5531,7 +5534,7 @@ var ensureValidNsid = (nsid2) => {
|
|
|
5531
5534
|
throw new InvalidNsidError("NSID domain part too long (max 63 chars)");
|
|
5532
5535
|
}
|
|
5533
5536
|
if (l.length > 128 && i + 1 == labels.length) {
|
|
5534
|
-
throw new InvalidNsidError("NSID name part too long (max
|
|
5537
|
+
throw new InvalidNsidError("NSID name part too long (max 128 chars)");
|
|
5535
5538
|
}
|
|
5536
5539
|
if (l.endsWith("-")) {
|
|
5537
5540
|
throw new InvalidNsidError("NSID parts can not end with hyphen");
|
|
@@ -5770,7 +5773,7 @@ var lexUnknown = mod.object({
|
|
|
5770
5773
|
type: mod.literal("unknown"),
|
|
5771
5774
|
description: mod.string().optional()
|
|
5772
5775
|
});
|
|
5773
|
-
var lexPrimitive = mod.
|
|
5776
|
+
var lexPrimitive = mod.discriminatedUnion("type", [
|
|
5774
5777
|
lexBoolean,
|
|
5775
5778
|
lexInteger,
|
|
5776
5779
|
lexString,
|
|
@@ -5786,7 +5789,7 @@ var lexCidLink = mod.object({
|
|
|
5786
5789
|
type: mod.literal("cid-link"),
|
|
5787
5790
|
description: mod.string().optional()
|
|
5788
5791
|
});
|
|
5789
|
-
var lexIpldType = mod.
|
|
5792
|
+
var lexIpldType = mod.discriminatedUnion("type", [lexBytes, lexCidLink]);
|
|
5790
5793
|
var lexRef = mod.object({
|
|
5791
5794
|
type: mod.literal("ref"),
|
|
5792
5795
|
description: mod.string().optional(),
|
|
@@ -5798,7 +5801,7 @@ var lexRefUnion = mod.object({
|
|
|
5798
5801
|
refs: mod.string().array(),
|
|
5799
5802
|
closed: mod.boolean().optional()
|
|
5800
5803
|
});
|
|
5801
|
-
var lexRefVariant = mod.
|
|
5804
|
+
var lexRefVariant = mod.discriminatedUnion("type", [lexRef, lexRefUnion]);
|
|
5802
5805
|
var lexBlob = mod.object({
|
|
5803
5806
|
type: mod.literal("blob"),
|
|
5804
5807
|
description: mod.string().optional(),
|
|
@@ -5878,7 +5881,7 @@ var lexRecord = mod.object({
|
|
|
5878
5881
|
key: mod.string().optional(),
|
|
5879
5882
|
record: lexObject
|
|
5880
5883
|
});
|
|
5881
|
-
var lexUserType = mod.
|
|
5884
|
+
var lexUserType = mod.discriminatedUnion("type", [
|
|
5882
5885
|
lexRecord,
|
|
5883
5886
|
lexXrpcQuery,
|
|
5884
5887
|
lexXrpcProcedure,
|
|
@@ -7308,7 +7311,8 @@ var schemaDict = {
|
|
|
7308
7311
|
knownValues: [
|
|
7309
7312
|
"lex:com.atproto.admin.defs#takedown",
|
|
7310
7313
|
"lex:com.atproto.admin.defs#flag",
|
|
7311
|
-
"lex:com.atproto.admin.defs#acknowledge"
|
|
7314
|
+
"lex:com.atproto.admin.defs#acknowledge",
|
|
7315
|
+
"lex:com.atproto.admin.defs#escalate"
|
|
7312
7316
|
]
|
|
7313
7317
|
},
|
|
7314
7318
|
takedown: {
|
|
@@ -7323,6 +7327,10 @@ var schemaDict = {
|
|
|
7323
7327
|
type: "token",
|
|
7324
7328
|
description: "Moderation action type: Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules."
|
|
7325
7329
|
},
|
|
7330
|
+
escalate: {
|
|
7331
|
+
type: "token",
|
|
7332
|
+
description: "Moderation action type: Escalate. Indicates that the content has been flagged for additional review."
|
|
7333
|
+
},
|
|
7326
7334
|
reportView: {
|
|
7327
7335
|
type: "object",
|
|
7328
7336
|
required: [
|
|
@@ -7450,6 +7458,9 @@ var schemaDict = {
|
|
|
7450
7458
|
invitedBy: {
|
|
7451
7459
|
type: "ref",
|
|
7452
7460
|
ref: "lex:com.atproto.server.defs#inviteCode"
|
|
7461
|
+
},
|
|
7462
|
+
invitesDisabled: {
|
|
7463
|
+
type: "boolean"
|
|
7453
7464
|
}
|
|
7454
7465
|
}
|
|
7455
7466
|
},
|
|
@@ -7505,6 +7516,9 @@ var schemaDict = {
|
|
|
7505
7516
|
type: "ref",
|
|
7506
7517
|
ref: "lex:com.atproto.server.defs#inviteCode"
|
|
7507
7518
|
}
|
|
7519
|
+
},
|
|
7520
|
+
invitesDisabled: {
|
|
7521
|
+
type: "boolean"
|
|
7508
7522
|
}
|
|
7509
7523
|
}
|
|
7510
7524
|
},
|
|
@@ -7707,6 +7721,29 @@ var schemaDict = {
|
|
|
7707
7721
|
}
|
|
7708
7722
|
}
|
|
7709
7723
|
},
|
|
7724
|
+
ComAtprotoAdminDisableAccountInvites: {
|
|
7725
|
+
lexicon: 1,
|
|
7726
|
+
id: "com.atproto.admin.disableAccountInvites",
|
|
7727
|
+
defs: {
|
|
7728
|
+
main: {
|
|
7729
|
+
type: "procedure",
|
|
7730
|
+
description: "Disable an account from receiving new invite codes, but does not invalidate existing codes",
|
|
7731
|
+
input: {
|
|
7732
|
+
encoding: "application/json",
|
|
7733
|
+
schema: {
|
|
7734
|
+
type: "object",
|
|
7735
|
+
required: ["account"],
|
|
7736
|
+
properties: {
|
|
7737
|
+
account: {
|
|
7738
|
+
type: "string",
|
|
7739
|
+
format: "did"
|
|
7740
|
+
}
|
|
7741
|
+
}
|
|
7742
|
+
}
|
|
7743
|
+
}
|
|
7744
|
+
}
|
|
7745
|
+
}
|
|
7746
|
+
},
|
|
7710
7747
|
ComAtprotoAdminDisableInviteCodes: {
|
|
7711
7748
|
lexicon: 1,
|
|
7712
7749
|
id: "com.atproto.admin.disableInviteCodes",
|
|
@@ -7737,6 +7774,29 @@ var schemaDict = {
|
|
|
7737
7774
|
}
|
|
7738
7775
|
}
|
|
7739
7776
|
},
|
|
7777
|
+
ComAtprotoAdminEnableAccountInvites: {
|
|
7778
|
+
lexicon: 1,
|
|
7779
|
+
id: "com.atproto.admin.enableAccountInvites",
|
|
7780
|
+
defs: {
|
|
7781
|
+
main: {
|
|
7782
|
+
type: "procedure",
|
|
7783
|
+
description: "Re-enable an accounts ability to receive invite codes",
|
|
7784
|
+
input: {
|
|
7785
|
+
encoding: "application/json",
|
|
7786
|
+
schema: {
|
|
7787
|
+
type: "object",
|
|
7788
|
+
required: ["account"],
|
|
7789
|
+
properties: {
|
|
7790
|
+
account: {
|
|
7791
|
+
type: "string",
|
|
7792
|
+
format: "did"
|
|
7793
|
+
}
|
|
7794
|
+
}
|
|
7795
|
+
}
|
|
7796
|
+
}
|
|
7797
|
+
}
|
|
7798
|
+
}
|
|
7799
|
+
},
|
|
7740
7800
|
ComAtprotoAdminGetInviteCodes: {
|
|
7741
7801
|
lexicon: 1,
|
|
7742
7802
|
id: "com.atproto.admin.getInviteCodes",
|
|
@@ -9059,6 +9119,40 @@ var schemaDict = {
|
|
|
9059
9119
|
}
|
|
9060
9120
|
}
|
|
9061
9121
|
},
|
|
9122
|
+
ComAtprotoRepoRebaseRepo: {
|
|
9123
|
+
lexicon: 1,
|
|
9124
|
+
id: "com.atproto.repo.rebaseRepo",
|
|
9125
|
+
defs: {
|
|
9126
|
+
main: {
|
|
9127
|
+
type: "procedure",
|
|
9128
|
+
description: "Simple rebase of repo that deletes history",
|
|
9129
|
+
input: {
|
|
9130
|
+
encoding: "application/json",
|
|
9131
|
+
schema: {
|
|
9132
|
+
type: "object",
|
|
9133
|
+
required: ["repo"],
|
|
9134
|
+
properties: {
|
|
9135
|
+
repo: {
|
|
9136
|
+
type: "string",
|
|
9137
|
+
format: "at-identifier",
|
|
9138
|
+
description: "The handle or DID of the repo."
|
|
9139
|
+
},
|
|
9140
|
+
swapCommit: {
|
|
9141
|
+
type: "string",
|
|
9142
|
+
format: "cid",
|
|
9143
|
+
description: "Compare and swap with the previous commit by cid."
|
|
9144
|
+
}
|
|
9145
|
+
}
|
|
9146
|
+
}
|
|
9147
|
+
},
|
|
9148
|
+
errors: [
|
|
9149
|
+
{
|
|
9150
|
+
name: "InvalidSwap"
|
|
9151
|
+
}
|
|
9152
|
+
]
|
|
9153
|
+
}
|
|
9154
|
+
}
|
|
9155
|
+
},
|
|
9062
9156
|
ComAtprotoRepoStrongRef: {
|
|
9063
9157
|
lexicon: 1,
|
|
9064
9158
|
id: "com.atproto.repo.strongRef",
|
|
@@ -12166,6 +12260,10 @@ var schemaDict = {
|
|
|
12166
12260
|
parameters: {
|
|
12167
12261
|
type: "params",
|
|
12168
12262
|
properties: {
|
|
12263
|
+
includeNsfw: {
|
|
12264
|
+
type: "boolean",
|
|
12265
|
+
default: false
|
|
12266
|
+
},
|
|
12169
12267
|
limit: {
|
|
12170
12268
|
type: "integer",
|
|
12171
12269
|
minimum: 1,
|
|
@@ -12203,12 +12301,34 @@ var schemaDict = {
|
|
|
12203
12301
|
var schemas = Object.values(schemaDict);
|
|
12204
12302
|
var lexicons = new Lexicons(schemas);
|
|
12205
12303
|
|
|
12304
|
+
// src/client/types/com/atproto/admin/disableAccountInvites.ts
|
|
12305
|
+
var disableAccountInvites_exports = {};
|
|
12306
|
+
__export(disableAccountInvites_exports, {
|
|
12307
|
+
toKnownErr: () => toKnownErr
|
|
12308
|
+
});
|
|
12309
|
+
function toKnownErr(e) {
|
|
12310
|
+
if (e instanceof XRPCError) {
|
|
12311
|
+
}
|
|
12312
|
+
return e;
|
|
12313
|
+
}
|
|
12314
|
+
|
|
12206
12315
|
// src/client/types/com/atproto/admin/disableInviteCodes.ts
|
|
12207
12316
|
var disableInviteCodes_exports = {};
|
|
12208
12317
|
__export(disableInviteCodes_exports, {
|
|
12209
|
-
toKnownErr: () =>
|
|
12318
|
+
toKnownErr: () => toKnownErr2
|
|
12210
12319
|
});
|
|
12211
|
-
function
|
|
12320
|
+
function toKnownErr2(e) {
|
|
12321
|
+
if (e instanceof XRPCError) {
|
|
12322
|
+
}
|
|
12323
|
+
return e;
|
|
12324
|
+
}
|
|
12325
|
+
|
|
12326
|
+
// src/client/types/com/atproto/admin/enableAccountInvites.ts
|
|
12327
|
+
var enableAccountInvites_exports = {};
|
|
12328
|
+
__export(enableAccountInvites_exports, {
|
|
12329
|
+
toKnownErr: () => toKnownErr3
|
|
12330
|
+
});
|
|
12331
|
+
function toKnownErr3(e) {
|
|
12212
12332
|
if (e instanceof XRPCError) {
|
|
12213
12333
|
}
|
|
12214
12334
|
return e;
|
|
@@ -12217,9 +12337,9 @@ function toKnownErr(e) {
|
|
|
12217
12337
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
12218
12338
|
var getInviteCodes_exports = {};
|
|
12219
12339
|
__export(getInviteCodes_exports, {
|
|
12220
|
-
toKnownErr: () =>
|
|
12340
|
+
toKnownErr: () => toKnownErr4
|
|
12221
12341
|
});
|
|
12222
|
-
function
|
|
12342
|
+
function toKnownErr4(e) {
|
|
12223
12343
|
if (e instanceof XRPCError) {
|
|
12224
12344
|
}
|
|
12225
12345
|
return e;
|
|
@@ -12228,9 +12348,9 @@ function toKnownErr2(e) {
|
|
|
12228
12348
|
// src/client/types/com/atproto/admin/getModerationAction.ts
|
|
12229
12349
|
var getModerationAction_exports = {};
|
|
12230
12350
|
__export(getModerationAction_exports, {
|
|
12231
|
-
toKnownErr: () =>
|
|
12351
|
+
toKnownErr: () => toKnownErr5
|
|
12232
12352
|
});
|
|
12233
|
-
function
|
|
12353
|
+
function toKnownErr5(e) {
|
|
12234
12354
|
if (e instanceof XRPCError) {
|
|
12235
12355
|
}
|
|
12236
12356
|
return e;
|
|
@@ -12239,9 +12359,9 @@ function toKnownErr3(e) {
|
|
|
12239
12359
|
// src/client/types/com/atproto/admin/getModerationActions.ts
|
|
12240
12360
|
var getModerationActions_exports = {};
|
|
12241
12361
|
__export(getModerationActions_exports, {
|
|
12242
|
-
toKnownErr: () =>
|
|
12362
|
+
toKnownErr: () => toKnownErr6
|
|
12243
12363
|
});
|
|
12244
|
-
function
|
|
12364
|
+
function toKnownErr6(e) {
|
|
12245
12365
|
if (e instanceof XRPCError) {
|
|
12246
12366
|
}
|
|
12247
12367
|
return e;
|
|
@@ -12250,9 +12370,9 @@ function toKnownErr4(e) {
|
|
|
12250
12370
|
// src/client/types/com/atproto/admin/getModerationReport.ts
|
|
12251
12371
|
var getModerationReport_exports = {};
|
|
12252
12372
|
__export(getModerationReport_exports, {
|
|
12253
|
-
toKnownErr: () =>
|
|
12373
|
+
toKnownErr: () => toKnownErr7
|
|
12254
12374
|
});
|
|
12255
|
-
function
|
|
12375
|
+
function toKnownErr7(e) {
|
|
12256
12376
|
if (e instanceof XRPCError) {
|
|
12257
12377
|
}
|
|
12258
12378
|
return e;
|
|
@@ -12261,9 +12381,9 @@ function toKnownErr5(e) {
|
|
|
12261
12381
|
// src/client/types/com/atproto/admin/getModerationReports.ts
|
|
12262
12382
|
var getModerationReports_exports = {};
|
|
12263
12383
|
__export(getModerationReports_exports, {
|
|
12264
|
-
toKnownErr: () =>
|
|
12384
|
+
toKnownErr: () => toKnownErr8
|
|
12265
12385
|
});
|
|
12266
|
-
function
|
|
12386
|
+
function toKnownErr8(e) {
|
|
12267
12387
|
if (e instanceof XRPCError) {
|
|
12268
12388
|
}
|
|
12269
12389
|
return e;
|
|
@@ -12272,9 +12392,9 @@ function toKnownErr6(e) {
|
|
|
12272
12392
|
// src/client/types/com/atproto/admin/getRecord.ts
|
|
12273
12393
|
var getRecord_exports = {};
|
|
12274
12394
|
__export(getRecord_exports, {
|
|
12275
|
-
toKnownErr: () =>
|
|
12395
|
+
toKnownErr: () => toKnownErr9
|
|
12276
12396
|
});
|
|
12277
|
-
function
|
|
12397
|
+
function toKnownErr9(e) {
|
|
12278
12398
|
if (e instanceof XRPCError) {
|
|
12279
12399
|
}
|
|
12280
12400
|
return e;
|
|
@@ -12283,9 +12403,9 @@ function toKnownErr7(e) {
|
|
|
12283
12403
|
// src/client/types/com/atproto/admin/getRepo.ts
|
|
12284
12404
|
var getRepo_exports = {};
|
|
12285
12405
|
__export(getRepo_exports, {
|
|
12286
|
-
toKnownErr: () =>
|
|
12406
|
+
toKnownErr: () => toKnownErr10
|
|
12287
12407
|
});
|
|
12288
|
-
function
|
|
12408
|
+
function toKnownErr10(e) {
|
|
12289
12409
|
if (e instanceof XRPCError) {
|
|
12290
12410
|
}
|
|
12291
12411
|
return e;
|
|
@@ -12294,9 +12414,9 @@ function toKnownErr8(e) {
|
|
|
12294
12414
|
// src/client/types/com/atproto/admin/resolveModerationReports.ts
|
|
12295
12415
|
var resolveModerationReports_exports = {};
|
|
12296
12416
|
__export(resolveModerationReports_exports, {
|
|
12297
|
-
toKnownErr: () =>
|
|
12417
|
+
toKnownErr: () => toKnownErr11
|
|
12298
12418
|
});
|
|
12299
|
-
function
|
|
12419
|
+
function toKnownErr11(e) {
|
|
12300
12420
|
if (e instanceof XRPCError) {
|
|
12301
12421
|
}
|
|
12302
12422
|
return e;
|
|
@@ -12305,9 +12425,9 @@ function toKnownErr9(e) {
|
|
|
12305
12425
|
// src/client/types/com/atproto/admin/reverseModerationAction.ts
|
|
12306
12426
|
var reverseModerationAction_exports = {};
|
|
12307
12427
|
__export(reverseModerationAction_exports, {
|
|
12308
|
-
toKnownErr: () =>
|
|
12428
|
+
toKnownErr: () => toKnownErr12
|
|
12309
12429
|
});
|
|
12310
|
-
function
|
|
12430
|
+
function toKnownErr12(e) {
|
|
12311
12431
|
if (e instanceof XRPCError) {
|
|
12312
12432
|
}
|
|
12313
12433
|
return e;
|
|
@@ -12316,9 +12436,9 @@ function toKnownErr10(e) {
|
|
|
12316
12436
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
12317
12437
|
var searchRepos_exports = {};
|
|
12318
12438
|
__export(searchRepos_exports, {
|
|
12319
|
-
toKnownErr: () =>
|
|
12439
|
+
toKnownErr: () => toKnownErr13
|
|
12320
12440
|
});
|
|
12321
|
-
function
|
|
12441
|
+
function toKnownErr13(e) {
|
|
12322
12442
|
if (e instanceof XRPCError) {
|
|
12323
12443
|
}
|
|
12324
12444
|
return e;
|
|
@@ -12328,14 +12448,14 @@ function toKnownErr11(e) {
|
|
|
12328
12448
|
var takeModerationAction_exports = {};
|
|
12329
12449
|
__export(takeModerationAction_exports, {
|
|
12330
12450
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
12331
|
-
toKnownErr: () =>
|
|
12451
|
+
toKnownErr: () => toKnownErr14
|
|
12332
12452
|
});
|
|
12333
12453
|
var SubjectHasActionError = class extends XRPCError {
|
|
12334
12454
|
constructor(src2) {
|
|
12335
12455
|
super(src2.status, src2.error, src2.message);
|
|
12336
12456
|
}
|
|
12337
12457
|
};
|
|
12338
|
-
function
|
|
12458
|
+
function toKnownErr14(e) {
|
|
12339
12459
|
if (e instanceof XRPCError) {
|
|
12340
12460
|
if (e.error === "SubjectHasAction")
|
|
12341
12461
|
return new SubjectHasActionError(e);
|
|
@@ -12346,9 +12466,9 @@ function toKnownErr12(e) {
|
|
|
12346
12466
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
12347
12467
|
var updateAccountEmail_exports = {};
|
|
12348
12468
|
__export(updateAccountEmail_exports, {
|
|
12349
|
-
toKnownErr: () =>
|
|
12469
|
+
toKnownErr: () => toKnownErr15
|
|
12350
12470
|
});
|
|
12351
|
-
function
|
|
12471
|
+
function toKnownErr15(e) {
|
|
12352
12472
|
if (e instanceof XRPCError) {
|
|
12353
12473
|
}
|
|
12354
12474
|
return e;
|
|
@@ -12357,9 +12477,9 @@ function toKnownErr13(e) {
|
|
|
12357
12477
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
12358
12478
|
var updateAccountHandle_exports = {};
|
|
12359
12479
|
__export(updateAccountHandle_exports, {
|
|
12360
|
-
toKnownErr: () =>
|
|
12480
|
+
toKnownErr: () => toKnownErr16
|
|
12361
12481
|
});
|
|
12362
|
-
function
|
|
12482
|
+
function toKnownErr16(e) {
|
|
12363
12483
|
if (e instanceof XRPCError) {
|
|
12364
12484
|
}
|
|
12365
12485
|
return e;
|
|
@@ -12368,9 +12488,9 @@ function toKnownErr14(e) {
|
|
|
12368
12488
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
12369
12489
|
var resolveHandle_exports = {};
|
|
12370
12490
|
__export(resolveHandle_exports, {
|
|
12371
|
-
toKnownErr: () =>
|
|
12491
|
+
toKnownErr: () => toKnownErr17
|
|
12372
12492
|
});
|
|
12373
|
-
function
|
|
12493
|
+
function toKnownErr17(e) {
|
|
12374
12494
|
if (e instanceof XRPCError) {
|
|
12375
12495
|
}
|
|
12376
12496
|
return e;
|
|
@@ -12379,9 +12499,9 @@ function toKnownErr15(e) {
|
|
|
12379
12499
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
12380
12500
|
var updateHandle_exports = {};
|
|
12381
12501
|
__export(updateHandle_exports, {
|
|
12382
|
-
toKnownErr: () =>
|
|
12502
|
+
toKnownErr: () => toKnownErr18
|
|
12383
12503
|
});
|
|
12384
|
-
function
|
|
12504
|
+
function toKnownErr18(e) {
|
|
12385
12505
|
if (e instanceof XRPCError) {
|
|
12386
12506
|
}
|
|
12387
12507
|
return e;
|
|
@@ -12390,9 +12510,9 @@ function toKnownErr16(e) {
|
|
|
12390
12510
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
12391
12511
|
var queryLabels_exports = {};
|
|
12392
12512
|
__export(queryLabels_exports, {
|
|
12393
|
-
toKnownErr: () =>
|
|
12513
|
+
toKnownErr: () => toKnownErr19
|
|
12394
12514
|
});
|
|
12395
|
-
function
|
|
12515
|
+
function toKnownErr19(e) {
|
|
12396
12516
|
if (e instanceof XRPCError) {
|
|
12397
12517
|
}
|
|
12398
12518
|
return e;
|
|
@@ -12401,9 +12521,9 @@ function toKnownErr17(e) {
|
|
|
12401
12521
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
12402
12522
|
var createReport_exports = {};
|
|
12403
12523
|
__export(createReport_exports, {
|
|
12404
|
-
toKnownErr: () =>
|
|
12524
|
+
toKnownErr: () => toKnownErr20
|
|
12405
12525
|
});
|
|
12406
|
-
function
|
|
12526
|
+
function toKnownErr20(e) {
|
|
12407
12527
|
if (e instanceof XRPCError) {
|
|
12408
12528
|
}
|
|
12409
12529
|
return e;
|
|
@@ -12416,7 +12536,7 @@ __export(applyWrites_exports, {
|
|
|
12416
12536
|
isCreate: () => isCreate,
|
|
12417
12537
|
isDelete: () => isDelete,
|
|
12418
12538
|
isUpdate: () => isUpdate,
|
|
12419
|
-
toKnownErr: () =>
|
|
12539
|
+
toKnownErr: () => toKnownErr21,
|
|
12420
12540
|
validateCreate: () => validateCreate,
|
|
12421
12541
|
validateDelete: () => validateDelete,
|
|
12422
12542
|
validateUpdate: () => validateUpdate
|
|
@@ -12436,7 +12556,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
12436
12556
|
super(src2.status, src2.error, src2.message);
|
|
12437
12557
|
}
|
|
12438
12558
|
};
|
|
12439
|
-
function
|
|
12559
|
+
function toKnownErr21(e) {
|
|
12440
12560
|
if (e instanceof XRPCError) {
|
|
12441
12561
|
if (e.error === "InvalidSwap")
|
|
12442
12562
|
return new InvalidSwapError(e);
|
|
@@ -12466,14 +12586,14 @@ function validateDelete(v) {
|
|
|
12466
12586
|
var createRecord_exports = {};
|
|
12467
12587
|
__export(createRecord_exports, {
|
|
12468
12588
|
InvalidSwapError: () => InvalidSwapError2,
|
|
12469
|
-
toKnownErr: () =>
|
|
12589
|
+
toKnownErr: () => toKnownErr22
|
|
12470
12590
|
});
|
|
12471
12591
|
var InvalidSwapError2 = class extends XRPCError {
|
|
12472
12592
|
constructor(src2) {
|
|
12473
12593
|
super(src2.status, src2.error, src2.message);
|
|
12474
12594
|
}
|
|
12475
12595
|
};
|
|
12476
|
-
function
|
|
12596
|
+
function toKnownErr22(e) {
|
|
12477
12597
|
if (e instanceof XRPCError) {
|
|
12478
12598
|
if (e.error === "InvalidSwap")
|
|
12479
12599
|
return new InvalidSwapError2(e);
|
|
@@ -12485,14 +12605,14 @@ function toKnownErr20(e) {
|
|
|
12485
12605
|
var deleteRecord_exports = {};
|
|
12486
12606
|
__export(deleteRecord_exports, {
|
|
12487
12607
|
InvalidSwapError: () => InvalidSwapError3,
|
|
12488
|
-
toKnownErr: () =>
|
|
12608
|
+
toKnownErr: () => toKnownErr23
|
|
12489
12609
|
});
|
|
12490
12610
|
var InvalidSwapError3 = class extends XRPCError {
|
|
12491
12611
|
constructor(src2) {
|
|
12492
12612
|
super(src2.status, src2.error, src2.message);
|
|
12493
12613
|
}
|
|
12494
12614
|
};
|
|
12495
|
-
function
|
|
12615
|
+
function toKnownErr23(e) {
|
|
12496
12616
|
if (e instanceof XRPCError) {
|
|
12497
12617
|
if (e.error === "InvalidSwap")
|
|
12498
12618
|
return new InvalidSwapError3(e);
|
|
@@ -12503,9 +12623,9 @@ function toKnownErr21(e) {
|
|
|
12503
12623
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
12504
12624
|
var describeRepo_exports = {};
|
|
12505
12625
|
__export(describeRepo_exports, {
|
|
12506
|
-
toKnownErr: () =>
|
|
12626
|
+
toKnownErr: () => toKnownErr24
|
|
12507
12627
|
});
|
|
12508
|
-
function
|
|
12628
|
+
function toKnownErr24(e) {
|
|
12509
12629
|
if (e instanceof XRPCError) {
|
|
12510
12630
|
}
|
|
12511
12631
|
return e;
|
|
@@ -12514,9 +12634,9 @@ function toKnownErr22(e) {
|
|
|
12514
12634
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
12515
12635
|
var getRecord_exports2 = {};
|
|
12516
12636
|
__export(getRecord_exports2, {
|
|
12517
|
-
toKnownErr: () =>
|
|
12637
|
+
toKnownErr: () => toKnownErr25
|
|
12518
12638
|
});
|
|
12519
|
-
function
|
|
12639
|
+
function toKnownErr25(e) {
|
|
12520
12640
|
if (e instanceof XRPCError) {
|
|
12521
12641
|
}
|
|
12522
12642
|
return e;
|
|
@@ -12526,10 +12646,10 @@ function toKnownErr23(e) {
|
|
|
12526
12646
|
var listRecords_exports = {};
|
|
12527
12647
|
__export(listRecords_exports, {
|
|
12528
12648
|
isRecord: () => isRecord,
|
|
12529
|
-
toKnownErr: () =>
|
|
12649
|
+
toKnownErr: () => toKnownErr26,
|
|
12530
12650
|
validateRecord: () => validateRecord
|
|
12531
12651
|
});
|
|
12532
|
-
function
|
|
12652
|
+
function toKnownErr26(e) {
|
|
12533
12653
|
if (e instanceof XRPCError) {
|
|
12534
12654
|
}
|
|
12535
12655
|
return e;
|
|
@@ -12545,14 +12665,14 @@ function validateRecord(v) {
|
|
|
12545
12665
|
var putRecord_exports = {};
|
|
12546
12666
|
__export(putRecord_exports, {
|
|
12547
12667
|
InvalidSwapError: () => InvalidSwapError4,
|
|
12548
|
-
toKnownErr: () =>
|
|
12668
|
+
toKnownErr: () => toKnownErr27
|
|
12549
12669
|
});
|
|
12550
12670
|
var InvalidSwapError4 = class extends XRPCError {
|
|
12551
12671
|
constructor(src2) {
|
|
12552
12672
|
super(src2.status, src2.error, src2.message);
|
|
12553
12673
|
}
|
|
12554
12674
|
};
|
|
12555
|
-
function
|
|
12675
|
+
function toKnownErr27(e) {
|
|
12556
12676
|
if (e instanceof XRPCError) {
|
|
12557
12677
|
if (e.error === "InvalidSwap")
|
|
12558
12678
|
return new InvalidSwapError4(e);
|
|
@@ -12560,12 +12680,31 @@ function toKnownErr25(e) {
|
|
|
12560
12680
|
return e;
|
|
12561
12681
|
}
|
|
12562
12682
|
|
|
12683
|
+
// src/client/types/com/atproto/repo/rebaseRepo.ts
|
|
12684
|
+
var rebaseRepo_exports = {};
|
|
12685
|
+
__export(rebaseRepo_exports, {
|
|
12686
|
+
InvalidSwapError: () => InvalidSwapError5,
|
|
12687
|
+
toKnownErr: () => toKnownErr28
|
|
12688
|
+
});
|
|
12689
|
+
var InvalidSwapError5 = class extends XRPCError {
|
|
12690
|
+
constructor(src2) {
|
|
12691
|
+
super(src2.status, src2.error, src2.message);
|
|
12692
|
+
}
|
|
12693
|
+
};
|
|
12694
|
+
function toKnownErr28(e) {
|
|
12695
|
+
if (e instanceof XRPCError) {
|
|
12696
|
+
if (e.error === "InvalidSwap")
|
|
12697
|
+
return new InvalidSwapError5(e);
|
|
12698
|
+
}
|
|
12699
|
+
return e;
|
|
12700
|
+
}
|
|
12701
|
+
|
|
12563
12702
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
12564
12703
|
var uploadBlob_exports = {};
|
|
12565
12704
|
__export(uploadBlob_exports, {
|
|
12566
|
-
toKnownErr: () =>
|
|
12705
|
+
toKnownErr: () => toKnownErr29
|
|
12567
12706
|
});
|
|
12568
|
-
function
|
|
12707
|
+
function toKnownErr29(e) {
|
|
12569
12708
|
if (e instanceof XRPCError) {
|
|
12570
12709
|
}
|
|
12571
12710
|
return e;
|
|
@@ -12579,7 +12718,7 @@ __export(createAccount_exports, {
|
|
|
12579
12718
|
InvalidInviteCodeError: () => InvalidInviteCodeError,
|
|
12580
12719
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
12581
12720
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
12582
|
-
toKnownErr: () =>
|
|
12721
|
+
toKnownErr: () => toKnownErr30
|
|
12583
12722
|
});
|
|
12584
12723
|
var InvalidHandleError2 = class extends XRPCError {
|
|
12585
12724
|
constructor(src2) {
|
|
@@ -12606,7 +12745,7 @@ var UnsupportedDomainError = class extends XRPCError {
|
|
|
12606
12745
|
super(src2.status, src2.error, src2.message);
|
|
12607
12746
|
}
|
|
12608
12747
|
};
|
|
12609
|
-
function
|
|
12748
|
+
function toKnownErr30(e) {
|
|
12610
12749
|
if (e instanceof XRPCError) {
|
|
12611
12750
|
if (e.error === "InvalidHandle")
|
|
12612
12751
|
return new InvalidHandleError2(e);
|
|
@@ -12627,7 +12766,7 @@ var createAppPassword_exports = {};
|
|
|
12627
12766
|
__export(createAppPassword_exports, {
|
|
12628
12767
|
AccountTakedownError: () => AccountTakedownError,
|
|
12629
12768
|
isAppPassword: () => isAppPassword,
|
|
12630
|
-
toKnownErr: () =>
|
|
12769
|
+
toKnownErr: () => toKnownErr31,
|
|
12631
12770
|
validateAppPassword: () => validateAppPassword
|
|
12632
12771
|
});
|
|
12633
12772
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -12635,7 +12774,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
12635
12774
|
super(src2.status, src2.error, src2.message);
|
|
12636
12775
|
}
|
|
12637
12776
|
};
|
|
12638
|
-
function
|
|
12777
|
+
function toKnownErr31(e) {
|
|
12639
12778
|
if (e instanceof XRPCError) {
|
|
12640
12779
|
if (e.error === "AccountTakedown")
|
|
12641
12780
|
return new AccountTakedownError(e);
|
|
@@ -12655,9 +12794,9 @@ function validateAppPassword(v) {
|
|
|
12655
12794
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
12656
12795
|
var createInviteCode_exports = {};
|
|
12657
12796
|
__export(createInviteCode_exports, {
|
|
12658
|
-
toKnownErr: () =>
|
|
12797
|
+
toKnownErr: () => toKnownErr32
|
|
12659
12798
|
});
|
|
12660
|
-
function
|
|
12799
|
+
function toKnownErr32(e) {
|
|
12661
12800
|
if (e instanceof XRPCError) {
|
|
12662
12801
|
}
|
|
12663
12802
|
return e;
|
|
@@ -12667,10 +12806,10 @@ function toKnownErr29(e) {
|
|
|
12667
12806
|
var createInviteCodes_exports = {};
|
|
12668
12807
|
__export(createInviteCodes_exports, {
|
|
12669
12808
|
isAccountCodes: () => isAccountCodes,
|
|
12670
|
-
toKnownErr: () =>
|
|
12809
|
+
toKnownErr: () => toKnownErr33,
|
|
12671
12810
|
validateAccountCodes: () => validateAccountCodes
|
|
12672
12811
|
});
|
|
12673
|
-
function
|
|
12812
|
+
function toKnownErr33(e) {
|
|
12674
12813
|
if (e instanceof XRPCError) {
|
|
12675
12814
|
}
|
|
12676
12815
|
return e;
|
|
@@ -12689,14 +12828,14 @@ function validateAccountCodes(v) {
|
|
|
12689
12828
|
var createSession_exports = {};
|
|
12690
12829
|
__export(createSession_exports, {
|
|
12691
12830
|
AccountTakedownError: () => AccountTakedownError2,
|
|
12692
|
-
toKnownErr: () =>
|
|
12831
|
+
toKnownErr: () => toKnownErr34
|
|
12693
12832
|
});
|
|
12694
12833
|
var AccountTakedownError2 = class extends XRPCError {
|
|
12695
12834
|
constructor(src2) {
|
|
12696
12835
|
super(src2.status, src2.error, src2.message);
|
|
12697
12836
|
}
|
|
12698
12837
|
};
|
|
12699
|
-
function
|
|
12838
|
+
function toKnownErr34(e) {
|
|
12700
12839
|
if (e instanceof XRPCError) {
|
|
12701
12840
|
if (e.error === "AccountTakedown")
|
|
12702
12841
|
return new AccountTakedownError2(e);
|
|
@@ -12709,7 +12848,7 @@ var deleteAccount_exports = {};
|
|
|
12709
12848
|
__export(deleteAccount_exports, {
|
|
12710
12849
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
12711
12850
|
InvalidTokenError: () => InvalidTokenError,
|
|
12712
|
-
toKnownErr: () =>
|
|
12851
|
+
toKnownErr: () => toKnownErr35
|
|
12713
12852
|
});
|
|
12714
12853
|
var ExpiredTokenError = class extends XRPCError {
|
|
12715
12854
|
constructor(src2) {
|
|
@@ -12721,7 +12860,7 @@ var InvalidTokenError = class extends XRPCError {
|
|
|
12721
12860
|
super(src2.status, src2.error, src2.message);
|
|
12722
12861
|
}
|
|
12723
12862
|
};
|
|
12724
|
-
function
|
|
12863
|
+
function toKnownErr35(e) {
|
|
12725
12864
|
if (e instanceof XRPCError) {
|
|
12726
12865
|
if (e.error === "ExpiredToken")
|
|
12727
12866
|
return new ExpiredTokenError(e);
|
|
@@ -12734,9 +12873,9 @@ function toKnownErr32(e) {
|
|
|
12734
12873
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
12735
12874
|
var deleteSession_exports = {};
|
|
12736
12875
|
__export(deleteSession_exports, {
|
|
12737
|
-
toKnownErr: () =>
|
|
12876
|
+
toKnownErr: () => toKnownErr36
|
|
12738
12877
|
});
|
|
12739
|
-
function
|
|
12878
|
+
function toKnownErr36(e) {
|
|
12740
12879
|
if (e instanceof XRPCError) {
|
|
12741
12880
|
}
|
|
12742
12881
|
return e;
|
|
@@ -12746,10 +12885,10 @@ function toKnownErr33(e) {
|
|
|
12746
12885
|
var describeServer_exports = {};
|
|
12747
12886
|
__export(describeServer_exports, {
|
|
12748
12887
|
isLinks: () => isLinks,
|
|
12749
|
-
toKnownErr: () =>
|
|
12888
|
+
toKnownErr: () => toKnownErr37,
|
|
12750
12889
|
validateLinks: () => validateLinks
|
|
12751
12890
|
});
|
|
12752
|
-
function
|
|
12891
|
+
function toKnownErr37(e) {
|
|
12753
12892
|
if (e instanceof XRPCError) {
|
|
12754
12893
|
}
|
|
12755
12894
|
return e;
|
|
@@ -12765,14 +12904,14 @@ function validateLinks(v) {
|
|
|
12765
12904
|
var getAccountInviteCodes_exports = {};
|
|
12766
12905
|
__export(getAccountInviteCodes_exports, {
|
|
12767
12906
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
12768
|
-
toKnownErr: () =>
|
|
12907
|
+
toKnownErr: () => toKnownErr38
|
|
12769
12908
|
});
|
|
12770
12909
|
var DuplicateCreateError = class extends XRPCError {
|
|
12771
12910
|
constructor(src2) {
|
|
12772
12911
|
super(src2.status, src2.error, src2.message);
|
|
12773
12912
|
}
|
|
12774
12913
|
};
|
|
12775
|
-
function
|
|
12914
|
+
function toKnownErr38(e) {
|
|
12776
12915
|
if (e instanceof XRPCError) {
|
|
12777
12916
|
if (e.error === "DuplicateCreate")
|
|
12778
12917
|
return new DuplicateCreateError(e);
|
|
@@ -12783,9 +12922,9 @@ function toKnownErr35(e) {
|
|
|
12783
12922
|
// src/client/types/com/atproto/server/getSession.ts
|
|
12784
12923
|
var getSession_exports = {};
|
|
12785
12924
|
__export(getSession_exports, {
|
|
12786
|
-
toKnownErr: () =>
|
|
12925
|
+
toKnownErr: () => toKnownErr39
|
|
12787
12926
|
});
|
|
12788
|
-
function
|
|
12927
|
+
function toKnownErr39(e) {
|
|
12789
12928
|
if (e instanceof XRPCError) {
|
|
12790
12929
|
}
|
|
12791
12930
|
return e;
|
|
@@ -12796,7 +12935,7 @@ var listAppPasswords_exports = {};
|
|
|
12796
12935
|
__export(listAppPasswords_exports, {
|
|
12797
12936
|
AccountTakedownError: () => AccountTakedownError3,
|
|
12798
12937
|
isAppPassword: () => isAppPassword2,
|
|
12799
|
-
toKnownErr: () =>
|
|
12938
|
+
toKnownErr: () => toKnownErr40,
|
|
12800
12939
|
validateAppPassword: () => validateAppPassword2
|
|
12801
12940
|
});
|
|
12802
12941
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -12804,7 +12943,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
12804
12943
|
super(src2.status, src2.error, src2.message);
|
|
12805
12944
|
}
|
|
12806
12945
|
};
|
|
12807
|
-
function
|
|
12946
|
+
function toKnownErr40(e) {
|
|
12808
12947
|
if (e instanceof XRPCError) {
|
|
12809
12948
|
if (e.error === "AccountTakedown")
|
|
12810
12949
|
return new AccountTakedownError3(e);
|
|
@@ -12822,14 +12961,14 @@ function validateAppPassword2(v) {
|
|
|
12822
12961
|
var refreshSession_exports = {};
|
|
12823
12962
|
__export(refreshSession_exports, {
|
|
12824
12963
|
AccountTakedownError: () => AccountTakedownError4,
|
|
12825
|
-
toKnownErr: () =>
|
|
12964
|
+
toKnownErr: () => toKnownErr41
|
|
12826
12965
|
});
|
|
12827
12966
|
var AccountTakedownError4 = class extends XRPCError {
|
|
12828
12967
|
constructor(src2) {
|
|
12829
12968
|
super(src2.status, src2.error, src2.message);
|
|
12830
12969
|
}
|
|
12831
12970
|
};
|
|
12832
|
-
function
|
|
12971
|
+
function toKnownErr41(e) {
|
|
12833
12972
|
if (e instanceof XRPCError) {
|
|
12834
12973
|
if (e.error === "AccountTakedown")
|
|
12835
12974
|
return new AccountTakedownError4(e);
|
|
@@ -12840,9 +12979,9 @@ function toKnownErr38(e) {
|
|
|
12840
12979
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
12841
12980
|
var requestAccountDelete_exports = {};
|
|
12842
12981
|
__export(requestAccountDelete_exports, {
|
|
12843
|
-
toKnownErr: () =>
|
|
12982
|
+
toKnownErr: () => toKnownErr42
|
|
12844
12983
|
});
|
|
12845
|
-
function
|
|
12984
|
+
function toKnownErr42(e) {
|
|
12846
12985
|
if (e instanceof XRPCError) {
|
|
12847
12986
|
}
|
|
12848
12987
|
return e;
|
|
@@ -12851,9 +12990,9 @@ function toKnownErr39(e) {
|
|
|
12851
12990
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
12852
12991
|
var requestPasswordReset_exports = {};
|
|
12853
12992
|
__export(requestPasswordReset_exports, {
|
|
12854
|
-
toKnownErr: () =>
|
|
12993
|
+
toKnownErr: () => toKnownErr43
|
|
12855
12994
|
});
|
|
12856
|
-
function
|
|
12995
|
+
function toKnownErr43(e) {
|
|
12857
12996
|
if (e instanceof XRPCError) {
|
|
12858
12997
|
}
|
|
12859
12998
|
return e;
|
|
@@ -12864,7 +13003,7 @@ var resetPassword_exports = {};
|
|
|
12864
13003
|
__export(resetPassword_exports, {
|
|
12865
13004
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
12866
13005
|
InvalidTokenError: () => InvalidTokenError2,
|
|
12867
|
-
toKnownErr: () =>
|
|
13006
|
+
toKnownErr: () => toKnownErr44
|
|
12868
13007
|
});
|
|
12869
13008
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
12870
13009
|
constructor(src2) {
|
|
@@ -12876,7 +13015,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
12876
13015
|
super(src2.status, src2.error, src2.message);
|
|
12877
13016
|
}
|
|
12878
13017
|
};
|
|
12879
|
-
function
|
|
13018
|
+
function toKnownErr44(e) {
|
|
12880
13019
|
if (e instanceof XRPCError) {
|
|
12881
13020
|
if (e.error === "ExpiredToken")
|
|
12882
13021
|
return new ExpiredTokenError2(e);
|
|
@@ -12889,9 +13028,9 @@ function toKnownErr41(e) {
|
|
|
12889
13028
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
12890
13029
|
var revokeAppPassword_exports = {};
|
|
12891
13030
|
__export(revokeAppPassword_exports, {
|
|
12892
|
-
toKnownErr: () =>
|
|
13031
|
+
toKnownErr: () => toKnownErr45
|
|
12893
13032
|
});
|
|
12894
|
-
function
|
|
13033
|
+
function toKnownErr45(e) {
|
|
12895
13034
|
if (e instanceof XRPCError) {
|
|
12896
13035
|
}
|
|
12897
13036
|
return e;
|
|
@@ -12900,9 +13039,9 @@ function toKnownErr42(e) {
|
|
|
12900
13039
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
12901
13040
|
var getBlob_exports = {};
|
|
12902
13041
|
__export(getBlob_exports, {
|
|
12903
|
-
toKnownErr: () =>
|
|
13042
|
+
toKnownErr: () => toKnownErr46
|
|
12904
13043
|
});
|
|
12905
|
-
function
|
|
13044
|
+
function toKnownErr46(e) {
|
|
12906
13045
|
if (e instanceof XRPCError) {
|
|
12907
13046
|
}
|
|
12908
13047
|
return e;
|
|
@@ -12911,9 +13050,9 @@ function toKnownErr43(e) {
|
|
|
12911
13050
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
12912
13051
|
var getBlocks_exports = {};
|
|
12913
13052
|
__export(getBlocks_exports, {
|
|
12914
|
-
toKnownErr: () =>
|
|
13053
|
+
toKnownErr: () => toKnownErr47
|
|
12915
13054
|
});
|
|
12916
|
-
function
|
|
13055
|
+
function toKnownErr47(e) {
|
|
12917
13056
|
if (e instanceof XRPCError) {
|
|
12918
13057
|
}
|
|
12919
13058
|
return e;
|
|
@@ -12922,9 +13061,9 @@ function toKnownErr44(e) {
|
|
|
12922
13061
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
12923
13062
|
var getCheckout_exports = {};
|
|
12924
13063
|
__export(getCheckout_exports, {
|
|
12925
|
-
toKnownErr: () =>
|
|
13064
|
+
toKnownErr: () => toKnownErr48
|
|
12926
13065
|
});
|
|
12927
|
-
function
|
|
13066
|
+
function toKnownErr48(e) {
|
|
12928
13067
|
if (e instanceof XRPCError) {
|
|
12929
13068
|
}
|
|
12930
13069
|
return e;
|
|
@@ -12933,9 +13072,9 @@ function toKnownErr45(e) {
|
|
|
12933
13072
|
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
12934
13073
|
var getCommitPath_exports = {};
|
|
12935
13074
|
__export(getCommitPath_exports, {
|
|
12936
|
-
toKnownErr: () =>
|
|
13075
|
+
toKnownErr: () => toKnownErr49
|
|
12937
13076
|
});
|
|
12938
|
-
function
|
|
13077
|
+
function toKnownErr49(e) {
|
|
12939
13078
|
if (e instanceof XRPCError) {
|
|
12940
13079
|
}
|
|
12941
13080
|
return e;
|
|
@@ -12944,9 +13083,9 @@ function toKnownErr46(e) {
|
|
|
12944
13083
|
// src/client/types/com/atproto/sync/getHead.ts
|
|
12945
13084
|
var getHead_exports = {};
|
|
12946
13085
|
__export(getHead_exports, {
|
|
12947
|
-
toKnownErr: () =>
|
|
13086
|
+
toKnownErr: () => toKnownErr50
|
|
12948
13087
|
});
|
|
12949
|
-
function
|
|
13088
|
+
function toKnownErr50(e) {
|
|
12950
13089
|
if (e instanceof XRPCError) {
|
|
12951
13090
|
}
|
|
12952
13091
|
return e;
|
|
@@ -12955,9 +13094,9 @@ function toKnownErr47(e) {
|
|
|
12955
13094
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
12956
13095
|
var getRecord_exports3 = {};
|
|
12957
13096
|
__export(getRecord_exports3, {
|
|
12958
|
-
toKnownErr: () =>
|
|
13097
|
+
toKnownErr: () => toKnownErr51
|
|
12959
13098
|
});
|
|
12960
|
-
function
|
|
13099
|
+
function toKnownErr51(e) {
|
|
12961
13100
|
if (e instanceof XRPCError) {
|
|
12962
13101
|
}
|
|
12963
13102
|
return e;
|
|
@@ -12966,9 +13105,9 @@ function toKnownErr48(e) {
|
|
|
12966
13105
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
12967
13106
|
var getRepo_exports2 = {};
|
|
12968
13107
|
__export(getRepo_exports2, {
|
|
12969
|
-
toKnownErr: () =>
|
|
13108
|
+
toKnownErr: () => toKnownErr52
|
|
12970
13109
|
});
|
|
12971
|
-
function
|
|
13110
|
+
function toKnownErr52(e) {
|
|
12972
13111
|
if (e instanceof XRPCError) {
|
|
12973
13112
|
}
|
|
12974
13113
|
return e;
|
|
@@ -12977,9 +13116,9 @@ function toKnownErr49(e) {
|
|
|
12977
13116
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
12978
13117
|
var listBlobs_exports = {};
|
|
12979
13118
|
__export(listBlobs_exports, {
|
|
12980
|
-
toKnownErr: () =>
|
|
13119
|
+
toKnownErr: () => toKnownErr53
|
|
12981
13120
|
});
|
|
12982
|
-
function
|
|
13121
|
+
function toKnownErr53(e) {
|
|
12983
13122
|
if (e instanceof XRPCError) {
|
|
12984
13123
|
}
|
|
12985
13124
|
return e;
|
|
@@ -12989,10 +13128,10 @@ function toKnownErr50(e) {
|
|
|
12989
13128
|
var listRepos_exports = {};
|
|
12990
13129
|
__export(listRepos_exports, {
|
|
12991
13130
|
isRepo: () => isRepo,
|
|
12992
|
-
toKnownErr: () =>
|
|
13131
|
+
toKnownErr: () => toKnownErr54,
|
|
12993
13132
|
validateRepo: () => validateRepo
|
|
12994
13133
|
});
|
|
12995
|
-
function
|
|
13134
|
+
function toKnownErr54(e) {
|
|
12996
13135
|
if (e instanceof XRPCError) {
|
|
12997
13136
|
}
|
|
12998
13137
|
return e;
|
|
@@ -13007,9 +13146,9 @@ function validateRepo(v) {
|
|
|
13007
13146
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
13008
13147
|
var notifyOfUpdate_exports = {};
|
|
13009
13148
|
__export(notifyOfUpdate_exports, {
|
|
13010
|
-
toKnownErr: () =>
|
|
13149
|
+
toKnownErr: () => toKnownErr55
|
|
13011
13150
|
});
|
|
13012
|
-
function
|
|
13151
|
+
function toKnownErr55(e) {
|
|
13013
13152
|
if (e instanceof XRPCError) {
|
|
13014
13153
|
}
|
|
13015
13154
|
return e;
|
|
@@ -13018,9 +13157,9 @@ function toKnownErr52(e) {
|
|
|
13018
13157
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
13019
13158
|
var requestCrawl_exports = {};
|
|
13020
13159
|
__export(requestCrawl_exports, {
|
|
13021
|
-
toKnownErr: () =>
|
|
13160
|
+
toKnownErr: () => toKnownErr56
|
|
13022
13161
|
});
|
|
13023
|
-
function
|
|
13162
|
+
function toKnownErr56(e) {
|
|
13024
13163
|
if (e instanceof XRPCError) {
|
|
13025
13164
|
}
|
|
13026
13165
|
return e;
|
|
@@ -13029,9 +13168,9 @@ function toKnownErr53(e) {
|
|
|
13029
13168
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
13030
13169
|
var getProfile_exports = {};
|
|
13031
13170
|
__export(getProfile_exports, {
|
|
13032
|
-
toKnownErr: () =>
|
|
13171
|
+
toKnownErr: () => toKnownErr57
|
|
13033
13172
|
});
|
|
13034
|
-
function
|
|
13173
|
+
function toKnownErr57(e) {
|
|
13035
13174
|
if (e instanceof XRPCError) {
|
|
13036
13175
|
}
|
|
13037
13176
|
return e;
|
|
@@ -13040,9 +13179,9 @@ function toKnownErr54(e) {
|
|
|
13040
13179
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
13041
13180
|
var getProfiles_exports = {};
|
|
13042
13181
|
__export(getProfiles_exports, {
|
|
13043
|
-
toKnownErr: () =>
|
|
13182
|
+
toKnownErr: () => toKnownErr58
|
|
13044
13183
|
});
|
|
13045
|
-
function
|
|
13184
|
+
function toKnownErr58(e) {
|
|
13046
13185
|
if (e instanceof XRPCError) {
|
|
13047
13186
|
}
|
|
13048
13187
|
return e;
|
|
@@ -13051,9 +13190,9 @@ function toKnownErr55(e) {
|
|
|
13051
13190
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
13052
13191
|
var getSuggestions_exports = {};
|
|
13053
13192
|
__export(getSuggestions_exports, {
|
|
13054
|
-
toKnownErr: () =>
|
|
13193
|
+
toKnownErr: () => toKnownErr59
|
|
13055
13194
|
});
|
|
13056
|
-
function
|
|
13195
|
+
function toKnownErr59(e) {
|
|
13057
13196
|
if (e instanceof XRPCError) {
|
|
13058
13197
|
}
|
|
13059
13198
|
return e;
|
|
@@ -13062,9 +13201,9 @@ function toKnownErr56(e) {
|
|
|
13062
13201
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
13063
13202
|
var searchActors_exports = {};
|
|
13064
13203
|
__export(searchActors_exports, {
|
|
13065
|
-
toKnownErr: () =>
|
|
13204
|
+
toKnownErr: () => toKnownErr60
|
|
13066
13205
|
});
|
|
13067
|
-
function
|
|
13206
|
+
function toKnownErr60(e) {
|
|
13068
13207
|
if (e instanceof XRPCError) {
|
|
13069
13208
|
}
|
|
13070
13209
|
return e;
|
|
@@ -13073,9 +13212,9 @@ function toKnownErr57(e) {
|
|
|
13073
13212
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
13074
13213
|
var searchActorsTypeahead_exports = {};
|
|
13075
13214
|
__export(searchActorsTypeahead_exports, {
|
|
13076
|
-
toKnownErr: () =>
|
|
13215
|
+
toKnownErr: () => toKnownErr61
|
|
13077
13216
|
});
|
|
13078
|
-
function
|
|
13217
|
+
function toKnownErr61(e) {
|
|
13079
13218
|
if (e instanceof XRPCError) {
|
|
13080
13219
|
}
|
|
13081
13220
|
return e;
|
|
@@ -13086,7 +13225,7 @@ var getAuthorFeed_exports = {};
|
|
|
13086
13225
|
__export(getAuthorFeed_exports, {
|
|
13087
13226
|
BlockedActorError: () => BlockedActorError,
|
|
13088
13227
|
BlockedByActorError: () => BlockedByActorError,
|
|
13089
|
-
toKnownErr: () =>
|
|
13228
|
+
toKnownErr: () => toKnownErr62
|
|
13090
13229
|
});
|
|
13091
13230
|
var BlockedActorError = class extends XRPCError {
|
|
13092
13231
|
constructor(src2) {
|
|
@@ -13098,7 +13237,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
13098
13237
|
super(src2.status, src2.error, src2.message);
|
|
13099
13238
|
}
|
|
13100
13239
|
};
|
|
13101
|
-
function
|
|
13240
|
+
function toKnownErr62(e) {
|
|
13102
13241
|
if (e instanceof XRPCError) {
|
|
13103
13242
|
if (e.error === "BlockedActor")
|
|
13104
13243
|
return new BlockedActorError(e);
|
|
@@ -13112,10 +13251,10 @@ function toKnownErr59(e) {
|
|
|
13112
13251
|
var getLikes_exports = {};
|
|
13113
13252
|
__export(getLikes_exports, {
|
|
13114
13253
|
isLike: () => isLike,
|
|
13115
|
-
toKnownErr: () =>
|
|
13254
|
+
toKnownErr: () => toKnownErr63,
|
|
13116
13255
|
validateLike: () => validateLike
|
|
13117
13256
|
});
|
|
13118
|
-
function
|
|
13257
|
+
function toKnownErr63(e) {
|
|
13119
13258
|
if (e instanceof XRPCError) {
|
|
13120
13259
|
}
|
|
13121
13260
|
return e;
|
|
@@ -13131,14 +13270,14 @@ function validateLike(v) {
|
|
|
13131
13270
|
var getPostThread_exports = {};
|
|
13132
13271
|
__export(getPostThread_exports, {
|
|
13133
13272
|
NotFoundError: () => NotFoundError,
|
|
13134
|
-
toKnownErr: () =>
|
|
13273
|
+
toKnownErr: () => toKnownErr64
|
|
13135
13274
|
});
|
|
13136
13275
|
var NotFoundError = class extends XRPCError {
|
|
13137
13276
|
constructor(src2) {
|
|
13138
13277
|
super(src2.status, src2.error, src2.message);
|
|
13139
13278
|
}
|
|
13140
13279
|
};
|
|
13141
|
-
function
|
|
13280
|
+
function toKnownErr64(e) {
|
|
13142
13281
|
if (e instanceof XRPCError) {
|
|
13143
13282
|
if (e.error === "NotFound")
|
|
13144
13283
|
return new NotFoundError(e);
|
|
@@ -13149,9 +13288,9 @@ function toKnownErr61(e) {
|
|
|
13149
13288
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
13150
13289
|
var getPosts_exports = {};
|
|
13151
13290
|
__export(getPosts_exports, {
|
|
13152
|
-
toKnownErr: () =>
|
|
13291
|
+
toKnownErr: () => toKnownErr65
|
|
13153
13292
|
});
|
|
13154
|
-
function
|
|
13293
|
+
function toKnownErr65(e) {
|
|
13155
13294
|
if (e instanceof XRPCError) {
|
|
13156
13295
|
}
|
|
13157
13296
|
return e;
|
|
@@ -13160,9 +13299,9 @@ function toKnownErr62(e) {
|
|
|
13160
13299
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
13161
13300
|
var getRepostedBy_exports = {};
|
|
13162
13301
|
__export(getRepostedBy_exports, {
|
|
13163
|
-
toKnownErr: () =>
|
|
13302
|
+
toKnownErr: () => toKnownErr66
|
|
13164
13303
|
});
|
|
13165
|
-
function
|
|
13304
|
+
function toKnownErr66(e) {
|
|
13166
13305
|
if (e instanceof XRPCError) {
|
|
13167
13306
|
}
|
|
13168
13307
|
return e;
|
|
@@ -13171,9 +13310,9 @@ function toKnownErr63(e) {
|
|
|
13171
13310
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
13172
13311
|
var getTimeline_exports = {};
|
|
13173
13312
|
__export(getTimeline_exports, {
|
|
13174
|
-
toKnownErr: () =>
|
|
13313
|
+
toKnownErr: () => toKnownErr67
|
|
13175
13314
|
});
|
|
13176
|
-
function
|
|
13315
|
+
function toKnownErr67(e) {
|
|
13177
13316
|
if (e instanceof XRPCError) {
|
|
13178
13317
|
}
|
|
13179
13318
|
return e;
|
|
@@ -13182,9 +13321,9 @@ function toKnownErr64(e) {
|
|
|
13182
13321
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
13183
13322
|
var getBlocks_exports2 = {};
|
|
13184
13323
|
__export(getBlocks_exports2, {
|
|
13185
|
-
toKnownErr: () =>
|
|
13324
|
+
toKnownErr: () => toKnownErr68
|
|
13186
13325
|
});
|
|
13187
|
-
function
|
|
13326
|
+
function toKnownErr68(e) {
|
|
13188
13327
|
if (e instanceof XRPCError) {
|
|
13189
13328
|
}
|
|
13190
13329
|
return e;
|
|
@@ -13193,9 +13332,9 @@ function toKnownErr65(e) {
|
|
|
13193
13332
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
13194
13333
|
var getFollowers_exports = {};
|
|
13195
13334
|
__export(getFollowers_exports, {
|
|
13196
|
-
toKnownErr: () =>
|
|
13335
|
+
toKnownErr: () => toKnownErr69
|
|
13197
13336
|
});
|
|
13198
|
-
function
|
|
13337
|
+
function toKnownErr69(e) {
|
|
13199
13338
|
if (e instanceof XRPCError) {
|
|
13200
13339
|
}
|
|
13201
13340
|
return e;
|
|
@@ -13204,9 +13343,9 @@ function toKnownErr66(e) {
|
|
|
13204
13343
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
13205
13344
|
var getFollows_exports = {};
|
|
13206
13345
|
__export(getFollows_exports, {
|
|
13207
|
-
toKnownErr: () =>
|
|
13346
|
+
toKnownErr: () => toKnownErr70
|
|
13208
13347
|
});
|
|
13209
|
-
function
|
|
13348
|
+
function toKnownErr70(e) {
|
|
13210
13349
|
if (e instanceof XRPCError) {
|
|
13211
13350
|
}
|
|
13212
13351
|
return e;
|
|
@@ -13215,9 +13354,9 @@ function toKnownErr67(e) {
|
|
|
13215
13354
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
13216
13355
|
var getMutes_exports = {};
|
|
13217
13356
|
__export(getMutes_exports, {
|
|
13218
|
-
toKnownErr: () =>
|
|
13357
|
+
toKnownErr: () => toKnownErr71
|
|
13219
13358
|
});
|
|
13220
|
-
function
|
|
13359
|
+
function toKnownErr71(e) {
|
|
13221
13360
|
if (e instanceof XRPCError) {
|
|
13222
13361
|
}
|
|
13223
13362
|
return e;
|
|
@@ -13226,9 +13365,9 @@ function toKnownErr68(e) {
|
|
|
13226
13365
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
13227
13366
|
var muteActor_exports = {};
|
|
13228
13367
|
__export(muteActor_exports, {
|
|
13229
|
-
toKnownErr: () =>
|
|
13368
|
+
toKnownErr: () => toKnownErr72
|
|
13230
13369
|
});
|
|
13231
|
-
function
|
|
13370
|
+
function toKnownErr72(e) {
|
|
13232
13371
|
if (e instanceof XRPCError) {
|
|
13233
13372
|
}
|
|
13234
13373
|
return e;
|
|
@@ -13237,9 +13376,9 @@ function toKnownErr69(e) {
|
|
|
13237
13376
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
13238
13377
|
var unmuteActor_exports = {};
|
|
13239
13378
|
__export(unmuteActor_exports, {
|
|
13240
|
-
toKnownErr: () =>
|
|
13379
|
+
toKnownErr: () => toKnownErr73
|
|
13241
13380
|
});
|
|
13242
|
-
function
|
|
13381
|
+
function toKnownErr73(e) {
|
|
13243
13382
|
if (e instanceof XRPCError) {
|
|
13244
13383
|
}
|
|
13245
13384
|
return e;
|
|
@@ -13248,9 +13387,9 @@ function toKnownErr70(e) {
|
|
|
13248
13387
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
13249
13388
|
var getUnreadCount_exports = {};
|
|
13250
13389
|
__export(getUnreadCount_exports, {
|
|
13251
|
-
toKnownErr: () =>
|
|
13390
|
+
toKnownErr: () => toKnownErr74
|
|
13252
13391
|
});
|
|
13253
|
-
function
|
|
13392
|
+
function toKnownErr74(e) {
|
|
13254
13393
|
if (e instanceof XRPCError) {
|
|
13255
13394
|
}
|
|
13256
13395
|
return e;
|
|
@@ -13260,10 +13399,10 @@ function toKnownErr71(e) {
|
|
|
13260
13399
|
var listNotifications_exports = {};
|
|
13261
13400
|
__export(listNotifications_exports, {
|
|
13262
13401
|
isNotification: () => isNotification,
|
|
13263
|
-
toKnownErr: () =>
|
|
13402
|
+
toKnownErr: () => toKnownErr75,
|
|
13264
13403
|
validateNotification: () => validateNotification
|
|
13265
13404
|
});
|
|
13266
|
-
function
|
|
13405
|
+
function toKnownErr75(e) {
|
|
13267
13406
|
if (e instanceof XRPCError) {
|
|
13268
13407
|
}
|
|
13269
13408
|
return e;
|
|
@@ -13281,9 +13420,9 @@ function validateNotification(v) {
|
|
|
13281
13420
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
13282
13421
|
var updateSeen_exports = {};
|
|
13283
13422
|
__export(updateSeen_exports, {
|
|
13284
|
-
toKnownErr: () =>
|
|
13423
|
+
toKnownErr: () => toKnownErr76
|
|
13285
13424
|
});
|
|
13286
|
-
function
|
|
13425
|
+
function toKnownErr76(e) {
|
|
13287
13426
|
if (e instanceof XRPCError) {
|
|
13288
13427
|
}
|
|
13289
13428
|
return e;
|
|
@@ -13292,9 +13431,9 @@ function toKnownErr73(e) {
|
|
|
13292
13431
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
13293
13432
|
var getPopular_exports = {};
|
|
13294
13433
|
__export(getPopular_exports, {
|
|
13295
|
-
toKnownErr: () =>
|
|
13434
|
+
toKnownErr: () => toKnownErr77
|
|
13296
13435
|
});
|
|
13297
|
-
function
|
|
13436
|
+
function toKnownErr77(e) {
|
|
13298
13437
|
if (e instanceof XRPCError) {
|
|
13299
13438
|
}
|
|
13300
13439
|
return e;
|
|
@@ -13304,6 +13443,7 @@ function toKnownErr74(e) {
|
|
|
13304
13443
|
var defs_exports = {};
|
|
13305
13444
|
__export(defs_exports, {
|
|
13306
13445
|
ACKNOWLEDGE: () => ACKNOWLEDGE,
|
|
13446
|
+
ESCALATE: () => ESCALATE,
|
|
13307
13447
|
FLAG: () => FLAG,
|
|
13308
13448
|
TAKEDOWN: () => TAKEDOWN,
|
|
13309
13449
|
isActionReversal: () => isActionReversal,
|
|
@@ -13366,6 +13506,7 @@ function validateActionReversal(v) {
|
|
|
13366
13506
|
var TAKEDOWN = "com.atproto.admin.defs#takedown";
|
|
13367
13507
|
var FLAG = "com.atproto.admin.defs#flag";
|
|
13368
13508
|
var ACKNOWLEDGE = "com.atproto.admin.defs#acknowledge";
|
|
13509
|
+
var ESCALATE = "com.atproto.admin.defs#escalate";
|
|
13369
13510
|
function isReportView(v) {
|
|
13370
13511
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#reportView";
|
|
13371
13512
|
}
|
|
@@ -13966,7 +14107,8 @@ function validateByteSlice(v) {
|
|
|
13966
14107
|
var COM_ATPROTO_ADMIN = {
|
|
13967
14108
|
DefsTakedown: "com.atproto.admin.defs#takedown",
|
|
13968
14109
|
DefsFlag: "com.atproto.admin.defs#flag",
|
|
13969
|
-
DefsAcknowledge: "com.atproto.admin.defs#acknowledge"
|
|
14110
|
+
DefsAcknowledge: "com.atproto.admin.defs#acknowledge",
|
|
14111
|
+
DefsEscalate: "com.atproto.admin.defs#escalate"
|
|
13970
14112
|
};
|
|
13971
14113
|
var COM_ATPROTO_MODERATION = {
|
|
13972
14114
|
DefsReasonSpam: "com.atproto.moderation.defs#reasonSpam",
|
|
@@ -14018,74 +14160,84 @@ var AdminNS = class {
|
|
|
14018
14160
|
constructor(service) {
|
|
14019
14161
|
this._service = service;
|
|
14020
14162
|
}
|
|
14163
|
+
disableAccountInvites(data, opts) {
|
|
14164
|
+
return this._service.xrpc.call("com.atproto.admin.disableAccountInvites", opts?.qp, data, opts).catch((e) => {
|
|
14165
|
+
throw toKnownErr(e);
|
|
14166
|
+
});
|
|
14167
|
+
}
|
|
14021
14168
|
disableInviteCodes(data, opts) {
|
|
14022
14169
|
return this._service.xrpc.call("com.atproto.admin.disableInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
14023
|
-
throw
|
|
14170
|
+
throw toKnownErr2(e);
|
|
14171
|
+
});
|
|
14172
|
+
}
|
|
14173
|
+
enableAccountInvites(data, opts) {
|
|
14174
|
+
return this._service.xrpc.call("com.atproto.admin.enableAccountInvites", opts?.qp, data, opts).catch((e) => {
|
|
14175
|
+
throw toKnownErr3(e);
|
|
14024
14176
|
});
|
|
14025
14177
|
}
|
|
14026
14178
|
getInviteCodes(params2, opts) {
|
|
14027
14179
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
14028
|
-
throw
|
|
14180
|
+
throw toKnownErr4(e);
|
|
14029
14181
|
});
|
|
14030
14182
|
}
|
|
14031
14183
|
getModerationAction(params2, opts) {
|
|
14032
14184
|
return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
|
|
14033
|
-
throw
|
|
14185
|
+
throw toKnownErr5(e);
|
|
14034
14186
|
});
|
|
14035
14187
|
}
|
|
14036
14188
|
getModerationActions(params2, opts) {
|
|
14037
14189
|
return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
|
|
14038
|
-
throw
|
|
14190
|
+
throw toKnownErr6(e);
|
|
14039
14191
|
});
|
|
14040
14192
|
}
|
|
14041
14193
|
getModerationReport(params2, opts) {
|
|
14042
14194
|
return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
|
|
14043
|
-
throw
|
|
14195
|
+
throw toKnownErr7(e);
|
|
14044
14196
|
});
|
|
14045
14197
|
}
|
|
14046
14198
|
getModerationReports(params2, opts) {
|
|
14047
14199
|
return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
|
|
14048
|
-
throw
|
|
14200
|
+
throw toKnownErr8(e);
|
|
14049
14201
|
});
|
|
14050
14202
|
}
|
|
14051
14203
|
getRecord(params2, opts) {
|
|
14052
14204
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
14053
|
-
throw
|
|
14205
|
+
throw toKnownErr9(e);
|
|
14054
14206
|
});
|
|
14055
14207
|
}
|
|
14056
14208
|
getRepo(params2, opts) {
|
|
14057
14209
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
14058
|
-
throw
|
|
14210
|
+
throw toKnownErr10(e);
|
|
14059
14211
|
});
|
|
14060
14212
|
}
|
|
14061
14213
|
resolveModerationReports(data, opts) {
|
|
14062
14214
|
return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
|
|
14063
|
-
throw
|
|
14215
|
+
throw toKnownErr11(e);
|
|
14064
14216
|
});
|
|
14065
14217
|
}
|
|
14066
14218
|
reverseModerationAction(data, opts) {
|
|
14067
14219
|
return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
14068
|
-
throw
|
|
14220
|
+
throw toKnownErr12(e);
|
|
14069
14221
|
});
|
|
14070
14222
|
}
|
|
14071
14223
|
searchRepos(params2, opts) {
|
|
14072
14224
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
14073
|
-
throw
|
|
14225
|
+
throw toKnownErr13(e);
|
|
14074
14226
|
});
|
|
14075
14227
|
}
|
|
14076
14228
|
takeModerationAction(data, opts) {
|
|
14077
14229
|
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
14078
|
-
throw
|
|
14230
|
+
throw toKnownErr14(e);
|
|
14079
14231
|
});
|
|
14080
14232
|
}
|
|
14081
14233
|
updateAccountEmail(data, opts) {
|
|
14082
14234
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
14083
|
-
throw
|
|
14235
|
+
throw toKnownErr15(e);
|
|
14084
14236
|
});
|
|
14085
14237
|
}
|
|
14086
14238
|
updateAccountHandle(data, opts) {
|
|
14087
14239
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
14088
|
-
throw
|
|
14240
|
+
throw toKnownErr16(e);
|
|
14089
14241
|
});
|
|
14090
14242
|
}
|
|
14091
14243
|
};
|
|
@@ -14095,12 +14247,12 @@ var IdentityNS = class {
|
|
|
14095
14247
|
}
|
|
14096
14248
|
resolveHandle(params2, opts) {
|
|
14097
14249
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
14098
|
-
throw
|
|
14250
|
+
throw toKnownErr17(e);
|
|
14099
14251
|
});
|
|
14100
14252
|
}
|
|
14101
14253
|
updateHandle(data, opts) {
|
|
14102
14254
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
14103
|
-
throw
|
|
14255
|
+
throw toKnownErr18(e);
|
|
14104
14256
|
});
|
|
14105
14257
|
}
|
|
14106
14258
|
};
|
|
@@ -14110,7 +14262,7 @@ var LabelNS = class {
|
|
|
14110
14262
|
}
|
|
14111
14263
|
queryLabels(params2, opts) {
|
|
14112
14264
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
14113
|
-
throw
|
|
14265
|
+
throw toKnownErr19(e);
|
|
14114
14266
|
});
|
|
14115
14267
|
}
|
|
14116
14268
|
};
|
|
@@ -14120,7 +14272,7 @@ var ModerationNS = class {
|
|
|
14120
14272
|
}
|
|
14121
14273
|
createReport(data, opts) {
|
|
14122
14274
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
14123
|
-
throw
|
|
14275
|
+
throw toKnownErr20(e);
|
|
14124
14276
|
});
|
|
14125
14277
|
}
|
|
14126
14278
|
};
|
|
@@ -14130,42 +14282,47 @@ var RepoNS = class {
|
|
|
14130
14282
|
}
|
|
14131
14283
|
applyWrites(data, opts) {
|
|
14132
14284
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
14133
|
-
throw
|
|
14285
|
+
throw toKnownErr21(e);
|
|
14134
14286
|
});
|
|
14135
14287
|
}
|
|
14136
14288
|
createRecord(data, opts) {
|
|
14137
14289
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
14138
|
-
throw
|
|
14290
|
+
throw toKnownErr22(e);
|
|
14139
14291
|
});
|
|
14140
14292
|
}
|
|
14141
14293
|
deleteRecord(data, opts) {
|
|
14142
14294
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
14143
|
-
throw
|
|
14295
|
+
throw toKnownErr23(e);
|
|
14144
14296
|
});
|
|
14145
14297
|
}
|
|
14146
14298
|
describeRepo(params2, opts) {
|
|
14147
14299
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
14148
|
-
throw
|
|
14300
|
+
throw toKnownErr24(e);
|
|
14149
14301
|
});
|
|
14150
14302
|
}
|
|
14151
14303
|
getRecord(params2, opts) {
|
|
14152
14304
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
14153
|
-
throw
|
|
14305
|
+
throw toKnownErr25(e);
|
|
14154
14306
|
});
|
|
14155
14307
|
}
|
|
14156
14308
|
listRecords(params2, opts) {
|
|
14157
14309
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
14158
|
-
throw
|
|
14310
|
+
throw toKnownErr26(e);
|
|
14159
14311
|
});
|
|
14160
14312
|
}
|
|
14161
14313
|
putRecord(data, opts) {
|
|
14162
14314
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
14163
|
-
throw
|
|
14315
|
+
throw toKnownErr27(e);
|
|
14316
|
+
});
|
|
14317
|
+
}
|
|
14318
|
+
rebaseRepo(data, opts) {
|
|
14319
|
+
return this._service.xrpc.call("com.atproto.repo.rebaseRepo", opts?.qp, data, opts).catch((e) => {
|
|
14320
|
+
throw toKnownErr28(e);
|
|
14164
14321
|
});
|
|
14165
14322
|
}
|
|
14166
14323
|
uploadBlob(data, opts) {
|
|
14167
14324
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
14168
|
-
throw
|
|
14325
|
+
throw toKnownErr29(e);
|
|
14169
14326
|
});
|
|
14170
14327
|
}
|
|
14171
14328
|
};
|
|
@@ -14175,82 +14332,82 @@ var ServerNS = class {
|
|
|
14175
14332
|
}
|
|
14176
14333
|
createAccount(data, opts) {
|
|
14177
14334
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
14178
|
-
throw
|
|
14335
|
+
throw toKnownErr30(e);
|
|
14179
14336
|
});
|
|
14180
14337
|
}
|
|
14181
14338
|
createAppPassword(data, opts) {
|
|
14182
14339
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
14183
|
-
throw
|
|
14340
|
+
throw toKnownErr31(e);
|
|
14184
14341
|
});
|
|
14185
14342
|
}
|
|
14186
14343
|
createInviteCode(data, opts) {
|
|
14187
14344
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
14188
|
-
throw
|
|
14345
|
+
throw toKnownErr32(e);
|
|
14189
14346
|
});
|
|
14190
14347
|
}
|
|
14191
14348
|
createInviteCodes(data, opts) {
|
|
14192
14349
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
14193
|
-
throw
|
|
14350
|
+
throw toKnownErr33(e);
|
|
14194
14351
|
});
|
|
14195
14352
|
}
|
|
14196
14353
|
createSession(data, opts) {
|
|
14197
14354
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
14198
|
-
throw
|
|
14355
|
+
throw toKnownErr34(e);
|
|
14199
14356
|
});
|
|
14200
14357
|
}
|
|
14201
14358
|
deleteAccount(data, opts) {
|
|
14202
14359
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
14203
|
-
throw
|
|
14360
|
+
throw toKnownErr35(e);
|
|
14204
14361
|
});
|
|
14205
14362
|
}
|
|
14206
14363
|
deleteSession(data, opts) {
|
|
14207
14364
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
14208
|
-
throw
|
|
14365
|
+
throw toKnownErr36(e);
|
|
14209
14366
|
});
|
|
14210
14367
|
}
|
|
14211
14368
|
describeServer(params2, opts) {
|
|
14212
14369
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
14213
|
-
throw
|
|
14370
|
+
throw toKnownErr37(e);
|
|
14214
14371
|
});
|
|
14215
14372
|
}
|
|
14216
14373
|
getAccountInviteCodes(params2, opts) {
|
|
14217
14374
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
14218
|
-
throw
|
|
14375
|
+
throw toKnownErr38(e);
|
|
14219
14376
|
});
|
|
14220
14377
|
}
|
|
14221
14378
|
getSession(params2, opts) {
|
|
14222
14379
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
14223
|
-
throw
|
|
14380
|
+
throw toKnownErr39(e);
|
|
14224
14381
|
});
|
|
14225
14382
|
}
|
|
14226
14383
|
listAppPasswords(params2, opts) {
|
|
14227
14384
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
14228
|
-
throw
|
|
14385
|
+
throw toKnownErr40(e);
|
|
14229
14386
|
});
|
|
14230
14387
|
}
|
|
14231
14388
|
refreshSession(data, opts) {
|
|
14232
14389
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
14233
|
-
throw
|
|
14390
|
+
throw toKnownErr41(e);
|
|
14234
14391
|
});
|
|
14235
14392
|
}
|
|
14236
14393
|
requestAccountDelete(data, opts) {
|
|
14237
14394
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
14238
|
-
throw
|
|
14395
|
+
throw toKnownErr42(e);
|
|
14239
14396
|
});
|
|
14240
14397
|
}
|
|
14241
14398
|
requestPasswordReset(data, opts) {
|
|
14242
14399
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
14243
|
-
throw
|
|
14400
|
+
throw toKnownErr43(e);
|
|
14244
14401
|
});
|
|
14245
14402
|
}
|
|
14246
14403
|
resetPassword(data, opts) {
|
|
14247
14404
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
14248
|
-
throw
|
|
14405
|
+
throw toKnownErr44(e);
|
|
14249
14406
|
});
|
|
14250
14407
|
}
|
|
14251
14408
|
revokeAppPassword(data, opts) {
|
|
14252
14409
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
14253
|
-
throw
|
|
14410
|
+
throw toKnownErr45(e);
|
|
14254
14411
|
});
|
|
14255
14412
|
}
|
|
14256
14413
|
};
|
|
@@ -14260,57 +14417,57 @@ var SyncNS = class {
|
|
|
14260
14417
|
}
|
|
14261
14418
|
getBlob(params2, opts) {
|
|
14262
14419
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
14263
|
-
throw
|
|
14420
|
+
throw toKnownErr46(e);
|
|
14264
14421
|
});
|
|
14265
14422
|
}
|
|
14266
14423
|
getBlocks(params2, opts) {
|
|
14267
14424
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
14268
|
-
throw
|
|
14425
|
+
throw toKnownErr47(e);
|
|
14269
14426
|
});
|
|
14270
14427
|
}
|
|
14271
14428
|
getCheckout(params2, opts) {
|
|
14272
14429
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
14273
|
-
throw
|
|
14430
|
+
throw toKnownErr48(e);
|
|
14274
14431
|
});
|
|
14275
14432
|
}
|
|
14276
14433
|
getCommitPath(params2, opts) {
|
|
14277
14434
|
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
14278
|
-
throw
|
|
14435
|
+
throw toKnownErr49(e);
|
|
14279
14436
|
});
|
|
14280
14437
|
}
|
|
14281
14438
|
getHead(params2, opts) {
|
|
14282
14439
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
14283
|
-
throw
|
|
14440
|
+
throw toKnownErr50(e);
|
|
14284
14441
|
});
|
|
14285
14442
|
}
|
|
14286
14443
|
getRecord(params2, opts) {
|
|
14287
14444
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
14288
|
-
throw
|
|
14445
|
+
throw toKnownErr51(e);
|
|
14289
14446
|
});
|
|
14290
14447
|
}
|
|
14291
14448
|
getRepo(params2, opts) {
|
|
14292
14449
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
14293
|
-
throw
|
|
14450
|
+
throw toKnownErr52(e);
|
|
14294
14451
|
});
|
|
14295
14452
|
}
|
|
14296
14453
|
listBlobs(params2, opts) {
|
|
14297
14454
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
14298
|
-
throw
|
|
14455
|
+
throw toKnownErr53(e);
|
|
14299
14456
|
});
|
|
14300
14457
|
}
|
|
14301
14458
|
listRepos(params2, opts) {
|
|
14302
14459
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
14303
|
-
throw
|
|
14460
|
+
throw toKnownErr54(e);
|
|
14304
14461
|
});
|
|
14305
14462
|
}
|
|
14306
14463
|
notifyOfUpdate(params2, opts) {
|
|
14307
14464
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", params2, void 0, opts).catch((e) => {
|
|
14308
|
-
throw
|
|
14465
|
+
throw toKnownErr55(e);
|
|
14309
14466
|
});
|
|
14310
14467
|
}
|
|
14311
14468
|
requestCrawl(params2, opts) {
|
|
14312
14469
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", params2, void 0, opts).catch((e) => {
|
|
14313
|
-
throw
|
|
14470
|
+
throw toKnownErr56(e);
|
|
14314
14471
|
});
|
|
14315
14472
|
}
|
|
14316
14473
|
};
|
|
@@ -14339,27 +14496,27 @@ var ActorNS = class {
|
|
|
14339
14496
|
}
|
|
14340
14497
|
getProfile(params2, opts) {
|
|
14341
14498
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
14342
|
-
throw
|
|
14499
|
+
throw toKnownErr57(e);
|
|
14343
14500
|
});
|
|
14344
14501
|
}
|
|
14345
14502
|
getProfiles(params2, opts) {
|
|
14346
14503
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
14347
|
-
throw
|
|
14504
|
+
throw toKnownErr58(e);
|
|
14348
14505
|
});
|
|
14349
14506
|
}
|
|
14350
14507
|
getSuggestions(params2, opts) {
|
|
14351
14508
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
14352
|
-
throw
|
|
14509
|
+
throw toKnownErr59(e);
|
|
14353
14510
|
});
|
|
14354
14511
|
}
|
|
14355
14512
|
searchActors(params2, opts) {
|
|
14356
14513
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
14357
|
-
throw
|
|
14514
|
+
throw toKnownErr60(e);
|
|
14358
14515
|
});
|
|
14359
14516
|
}
|
|
14360
14517
|
searchActorsTypeahead(params2, opts) {
|
|
14361
14518
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
14362
|
-
throw
|
|
14519
|
+
throw toKnownErr61(e);
|
|
14363
14520
|
});
|
|
14364
14521
|
}
|
|
14365
14522
|
};
|
|
@@ -14414,32 +14571,32 @@ var FeedNS = class {
|
|
|
14414
14571
|
}
|
|
14415
14572
|
getAuthorFeed(params2, opts) {
|
|
14416
14573
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
14417
|
-
throw
|
|
14574
|
+
throw toKnownErr62(e);
|
|
14418
14575
|
});
|
|
14419
14576
|
}
|
|
14420
14577
|
getLikes(params2, opts) {
|
|
14421
14578
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
14422
|
-
throw
|
|
14579
|
+
throw toKnownErr63(e);
|
|
14423
14580
|
});
|
|
14424
14581
|
}
|
|
14425
14582
|
getPostThread(params2, opts) {
|
|
14426
14583
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
14427
|
-
throw
|
|
14584
|
+
throw toKnownErr64(e);
|
|
14428
14585
|
});
|
|
14429
14586
|
}
|
|
14430
14587
|
getPosts(params2, opts) {
|
|
14431
14588
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
14432
|
-
throw
|
|
14589
|
+
throw toKnownErr65(e);
|
|
14433
14590
|
});
|
|
14434
14591
|
}
|
|
14435
14592
|
getRepostedBy(params2, opts) {
|
|
14436
14593
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
14437
|
-
throw
|
|
14594
|
+
throw toKnownErr66(e);
|
|
14438
14595
|
});
|
|
14439
14596
|
}
|
|
14440
14597
|
getTimeline(params2, opts) {
|
|
14441
14598
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
14442
|
-
throw
|
|
14599
|
+
throw toKnownErr67(e);
|
|
14443
14600
|
});
|
|
14444
14601
|
}
|
|
14445
14602
|
};
|
|
@@ -14562,32 +14719,32 @@ var GraphNS = class {
|
|
|
14562
14719
|
}
|
|
14563
14720
|
getBlocks(params2, opts) {
|
|
14564
14721
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
14565
|
-
throw
|
|
14722
|
+
throw toKnownErr68(e);
|
|
14566
14723
|
});
|
|
14567
14724
|
}
|
|
14568
14725
|
getFollowers(params2, opts) {
|
|
14569
14726
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
14570
|
-
throw
|
|
14727
|
+
throw toKnownErr69(e);
|
|
14571
14728
|
});
|
|
14572
14729
|
}
|
|
14573
14730
|
getFollows(params2, opts) {
|
|
14574
14731
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
14575
|
-
throw
|
|
14732
|
+
throw toKnownErr70(e);
|
|
14576
14733
|
});
|
|
14577
14734
|
}
|
|
14578
14735
|
getMutes(params2, opts) {
|
|
14579
14736
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
14580
|
-
throw
|
|
14737
|
+
throw toKnownErr71(e);
|
|
14581
14738
|
});
|
|
14582
14739
|
}
|
|
14583
14740
|
muteActor(data, opts) {
|
|
14584
14741
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
14585
|
-
throw
|
|
14742
|
+
throw toKnownErr72(e);
|
|
14586
14743
|
});
|
|
14587
14744
|
}
|
|
14588
14745
|
unmuteActor(data, opts) {
|
|
14589
14746
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
14590
|
-
throw
|
|
14747
|
+
throw toKnownErr73(e);
|
|
14591
14748
|
});
|
|
14592
14749
|
}
|
|
14593
14750
|
};
|
|
@@ -14671,17 +14828,17 @@ var NotificationNS = class {
|
|
|
14671
14828
|
}
|
|
14672
14829
|
getUnreadCount(params2, opts) {
|
|
14673
14830
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
14674
|
-
throw
|
|
14831
|
+
throw toKnownErr74(e);
|
|
14675
14832
|
});
|
|
14676
14833
|
}
|
|
14677
14834
|
listNotifications(params2, opts) {
|
|
14678
14835
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
14679
|
-
throw
|
|
14836
|
+
throw toKnownErr75(e);
|
|
14680
14837
|
});
|
|
14681
14838
|
}
|
|
14682
14839
|
updateSeen(data, opts) {
|
|
14683
14840
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
14684
|
-
throw
|
|
14841
|
+
throw toKnownErr76(e);
|
|
14685
14842
|
});
|
|
14686
14843
|
}
|
|
14687
14844
|
};
|
|
@@ -14696,7 +14853,7 @@ var UnspeccedNS = class {
|
|
|
14696
14853
|
}
|
|
14697
14854
|
getPopular(params2, opts) {
|
|
14698
14855
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
14699
|
-
throw
|
|
14856
|
+
throw toKnownErr77(e);
|
|
14700
14857
|
});
|
|
14701
14858
|
}
|
|
14702
14859
|
};
|