@atproto/api 0.2.10 → 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.
Files changed (263) hide show
  1. package/README.md +2 -2
  2. package/dist/client/index.d.ts +37 -0
  3. package/dist/client/lexicons.d.ts +199 -0
  4. package/dist/client/types/app/bsky/actor/defs.d.ts +2 -0
  5. package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
  6. package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
  7. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +10 -3
  8. package/dist/client/types/app/bsky/embed/record.d.ts +7 -1
  9. package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
  10. package/dist/client/types/app/bsky/feed/defs.d.ts +9 -2
  11. package/dist/client/types/app/bsky/feed/generator.d.ts +12 -0
  12. package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +22 -0
  13. package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +7 -1
  14. package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
  15. package/dist/client/types/app/bsky/feed/getFeed.d.ts +22 -0
  16. package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +22 -0
  17. package/dist/client/types/app/bsky/feed/getPostThread.d.ts +1 -1
  18. package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
  19. package/dist/client/types/app/bsky/graph/block.d.ts +8 -0
  20. package/dist/client/types/app/bsky/graph/getBlocks.d.ts +21 -0
  21. package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +1 -0
  22. package/dist/client/types/com/atproto/admin/defs.d.ts +4 -1
  23. package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +17 -0
  24. package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +17 -0
  25. package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
  26. package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
  27. package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +21 -0
  28. package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
  29. package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
  30. package/dist/index.js +605 -235
  31. package/dist/index.js.map +4 -4
  32. package/dist/src/client/index.d.ts +462 -0
  33. package/dist/src/client/lexicons.d.ts +2910 -0
  34. package/dist/src/client/schemas.d.ts +17 -0
  35. package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
  36. package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
  37. package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
  38. package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
  39. package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
  40. package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
  41. package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
  42. package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
  43. package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
  44. package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
  45. package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
  46. package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
  47. package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
  48. package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
  49. package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
  50. package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
  51. package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
  52. package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
  53. package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
  54. package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
  55. package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
  56. package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
  57. package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
  58. package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
  59. package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
  60. package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
  61. package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
  62. package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
  63. package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
  64. package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
  65. package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
  66. package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
  67. package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
  68. package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
  69. package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
  70. package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
  71. package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
  72. package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
  73. package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
  74. package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
  75. package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
  76. package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
  77. package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
  78. package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
  79. package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
  80. package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
  81. package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
  82. package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
  83. package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
  84. package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
  85. package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
  86. package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
  87. package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
  88. package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
  89. package/dist/src/client/types/app/bsky/like.d.ts +10 -0
  90. package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
  91. package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
  92. package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
  93. package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
  94. package/dist/src/client/types/app/bsky/post.d.ts +23 -0
  95. package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
  96. package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
  97. package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
  98. package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
  99. package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
  100. package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
  101. package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
  102. package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
  103. package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
  104. package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
  105. package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
  106. package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
  107. package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
  108. package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
  109. package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
  110. package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
  111. package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
  112. package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
  113. package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
  114. package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
  115. package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
  116. package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
  117. package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
  118. package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
  119. package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
  120. package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
  121. package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
  122. package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
  123. package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
  124. package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
  125. package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
  126. package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
  127. package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
  128. package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
  129. package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
  130. package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
  131. package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
  132. package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
  133. package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
  134. package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
  135. package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
  136. package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
  137. package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
  138. package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
  139. package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
  140. package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
  141. package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
  142. package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
  143. package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
  144. package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
  145. package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
  146. package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
  147. package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
  148. package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
  149. package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
  150. package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
  151. package/dist/src/index.d.ts +4 -0
  152. package/dist/src/schemas.d.ts +19 -0
  153. package/dist/src/session.d.ts +42 -0
  154. package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
  155. package/dist/src/types/app/bsky/badge.d.ts +22 -0
  156. package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
  157. package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
  158. package/dist/src/types/app/bsky/declaration.d.ts +6 -0
  159. package/dist/src/types/app/bsky/follow.d.ts +9 -0
  160. package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
  161. package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
  162. package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
  163. package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
  164. package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
  165. package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
  166. package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
  167. package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
  168. package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
  169. package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
  170. package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
  171. package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
  172. package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
  173. package/dist/src/types/app/bsky/invite.d.ts +10 -0
  174. package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
  175. package/dist/src/types/app/bsky/like.d.ts +10 -0
  176. package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
  177. package/dist/src/types/app/bsky/post.d.ts +23 -0
  178. package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
  179. package/dist/src/types/app/bsky/profile.d.ts +11 -0
  180. package/dist/src/types/app/bsky/repost.d.ts +10 -0
  181. package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
  182. package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
  183. package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
  184. package/dist/src/types/com/atproto/createSession.d.ts +23 -0
  185. package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
  186. package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
  187. package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
  188. package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
  189. package/dist/src/types/com/atproto/getSession.d.ts +17 -0
  190. package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
  191. package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
  192. package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
  193. package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
  194. package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
  195. package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
  196. package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
  197. package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
  198. package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
  199. package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
  200. package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
  201. package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
  202. package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
  203. package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
  204. package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
  205. package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
  206. package/dist/src/types/todo/adx/createSession.d.ts +22 -0
  207. package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
  208. package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
  209. package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
  210. package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
  211. package/dist/src/types/todo/adx/getSession.d.ts +17 -0
  212. package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
  213. package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
  214. package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
  215. package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
  216. package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
  217. package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
  218. package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
  219. package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
  220. package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
  221. package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
  222. package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
  223. package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
  224. package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
  225. package/dist/src/types/todo/social/badge.d.ts +23 -0
  226. package/dist/src/types/todo/social/follow.d.ts +5 -0
  227. package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
  228. package/dist/src/types/todo/social/getFeed.d.ts +55 -0
  229. package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
  230. package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
  231. package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
  232. package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
  233. package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
  234. package/dist/src/types/todo/social/getProfile.d.ts +40 -0
  235. package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
  236. package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
  237. package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
  238. package/dist/src/types/todo/social/like.d.ts +5 -0
  239. package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
  240. package/dist/src/types/todo/social/post.d.ts +18 -0
  241. package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
  242. package/dist/src/types/todo/social/profile.d.ts +10 -0
  243. package/dist/src/types/todo/social/repost.d.ts +5 -0
  244. package/dist/tsconfig.build.tsbuildinfo +1 -0
  245. package/package.json +6 -1
  246. package/src/client/index.ts +118 -0
  247. package/src/client/lexicons.ts +215 -0
  248. package/src/client/types/app/bsky/actor/defs.ts +2 -0
  249. package/src/client/types/app/bsky/embed/record.ts +22 -1
  250. package/src/client/types/app/bsky/feed/defs.ts +20 -0
  251. package/src/client/types/app/bsky/feed/getAuthorFeed.ts +14 -0
  252. package/src/client/types/app/bsky/feed/getPostThread.ts +1 -0
  253. package/src/client/types/app/bsky/graph/block.ts +26 -0
  254. package/src/client/types/app/bsky/graph/getBlocks.ts +38 -0
  255. package/src/client/types/app/bsky/unspecced/getPopular.ts +1 -0
  256. package/src/client/types/com/atproto/admin/defs.ts +5 -0
  257. package/src/client/types/com/atproto/admin/disableAccountInvites.ts +32 -0
  258. package/src/client/types/com/atproto/admin/enableAccountInvites.ts +32 -0
  259. package/src/client/types/com/atproto/repo/rebaseRepo.ts +42 -0
  260. package/tsconfig.build.tsbuildinfo +1 -1
  261. package/dist/helpers/bsky.d.ts +0 -20
  262. package/dist/mixins/bsky.d.ts +0 -23
  263. package/dist/rich-text/sanitize.d.ts +0 -4
package/dist/index.js CHANGED
@@ -101,7 +101,9 @@ __export(src_exports4, {
101
101
  AppBskyFeedLike: () => like_exports,
102
102
  AppBskyFeedPost: () => post_exports,
103
103
  AppBskyFeedRepost: () => repost_exports,
104
+ AppBskyGraphBlock: () => block_exports,
104
105
  AppBskyGraphFollow: () => follow_exports,
106
+ AppBskyGraphGetBlocks: () => getBlocks_exports2,
105
107
  AppBskyGraphGetFollowers: () => getFollowers_exports,
106
108
  AppBskyGraphGetFollows: () => getFollows_exports,
107
109
  AppBskyGraphGetMutes: () => getMutes_exports,
@@ -119,12 +121,15 @@ __export(src_exports4, {
119
121
  AtpServiceClient: () => AtpServiceClient,
120
122
  AtprotoNS: () => AtprotoNS,
121
123
  BlobRef: () => BlobRef,
124
+ BlockRecord: () => BlockRecord,
122
125
  BskyAgent: () => BskyAgent,
123
126
  BskyNS: () => BskyNS,
124
127
  COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
125
128
  COM_ATPROTO_MODERATION: () => COM_ATPROTO_MODERATION,
126
129
  ComAtprotoAdminDefs: () => defs_exports,
130
+ ComAtprotoAdminDisableAccountInvites: () => disableAccountInvites_exports,
127
131
  ComAtprotoAdminDisableInviteCodes: () => disableInviteCodes_exports,
132
+ ComAtprotoAdminEnableAccountInvites: () => enableAccountInvites_exports,
128
133
  ComAtprotoAdminGetInviteCodes: () => getInviteCodes_exports,
129
134
  ComAtprotoAdminGetModerationAction: () => getModerationAction_exports,
130
135
  ComAtprotoAdminGetModerationActions: () => getModerationActions_exports,
@@ -152,6 +157,7 @@ __export(src_exports4, {
152
157
  ComAtprotoRepoGetRecord: () => getRecord_exports2,
153
158
  ComAtprotoRepoListRecords: () => listRecords_exports,
154
159
  ComAtprotoRepoPutRecord: () => putRecord_exports,
160
+ ComAtprotoRepoRebaseRepo: () => rebaseRepo_exports,
155
161
  ComAtprotoRepoStrongRef: () => strongRef_exports,
156
162
  ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
157
163
  ComAtprotoServerCreateAccount: () => createAccount_exports,
@@ -5528,7 +5534,7 @@ var ensureValidNsid = (nsid2) => {
5528
5534
  throw new InvalidNsidError("NSID domain part too long (max 63 chars)");
5529
5535
  }
5530
5536
  if (l.length > 128 && i + 1 == labels.length) {
5531
- throw new InvalidNsidError("NSID name part too long (max 127 chars)");
5537
+ throw new InvalidNsidError("NSID name part too long (max 128 chars)");
5532
5538
  }
5533
5539
  if (l.endsWith("-")) {
5534
5540
  throw new InvalidNsidError("NSID parts can not end with hyphen");
@@ -5767,7 +5773,7 @@ var lexUnknown = mod.object({
5767
5773
  type: mod.literal("unknown"),
5768
5774
  description: mod.string().optional()
5769
5775
  });
5770
- var lexPrimitive = mod.union([
5776
+ var lexPrimitive = mod.discriminatedUnion("type", [
5771
5777
  lexBoolean,
5772
5778
  lexInteger,
5773
5779
  lexString,
@@ -5783,7 +5789,7 @@ var lexCidLink = mod.object({
5783
5789
  type: mod.literal("cid-link"),
5784
5790
  description: mod.string().optional()
5785
5791
  });
5786
- var lexIpldType = mod.union([lexBytes, lexCidLink]);
5792
+ var lexIpldType = mod.discriminatedUnion("type", [lexBytes, lexCidLink]);
5787
5793
  var lexRef = mod.object({
5788
5794
  type: mod.literal("ref"),
5789
5795
  description: mod.string().optional(),
@@ -5795,7 +5801,7 @@ var lexRefUnion = mod.object({
5795
5801
  refs: mod.string().array(),
5796
5802
  closed: mod.boolean().optional()
5797
5803
  });
5798
- var lexRefVariant = mod.union([lexRef, lexRefUnion]);
5804
+ var lexRefVariant = mod.discriminatedUnion("type", [lexRef, lexRefUnion]);
5799
5805
  var lexBlob = mod.object({
5800
5806
  type: mod.literal("blob"),
5801
5807
  description: mod.string().optional(),
@@ -5875,7 +5881,7 @@ var lexRecord = mod.object({
5875
5881
  key: mod.string().optional(),
5876
5882
  record: lexObject
5877
5883
  });
5878
- var lexUserType = mod.union([
5884
+ var lexUserType = mod.discriminatedUnion("type", [
5879
5885
  lexRecord,
5880
5886
  lexXrpcQuery,
5881
5887
  lexXrpcProcedure,
@@ -7305,7 +7311,8 @@ var schemaDict = {
7305
7311
  knownValues: [
7306
7312
  "lex:com.atproto.admin.defs#takedown",
7307
7313
  "lex:com.atproto.admin.defs#flag",
7308
- "lex:com.atproto.admin.defs#acknowledge"
7314
+ "lex:com.atproto.admin.defs#acknowledge",
7315
+ "lex:com.atproto.admin.defs#escalate"
7309
7316
  ]
7310
7317
  },
7311
7318
  takedown: {
@@ -7320,6 +7327,10 @@ var schemaDict = {
7320
7327
  type: "token",
7321
7328
  description: "Moderation action type: Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules."
7322
7329
  },
7330
+ escalate: {
7331
+ type: "token",
7332
+ description: "Moderation action type: Escalate. Indicates that the content has been flagged for additional review."
7333
+ },
7323
7334
  reportView: {
7324
7335
  type: "object",
7325
7336
  required: [
@@ -7447,6 +7458,9 @@ var schemaDict = {
7447
7458
  invitedBy: {
7448
7459
  type: "ref",
7449
7460
  ref: "lex:com.atproto.server.defs#inviteCode"
7461
+ },
7462
+ invitesDisabled: {
7463
+ type: "boolean"
7450
7464
  }
7451
7465
  }
7452
7466
  },
@@ -7502,6 +7516,9 @@ var schemaDict = {
7502
7516
  type: "ref",
7503
7517
  ref: "lex:com.atproto.server.defs#inviteCode"
7504
7518
  }
7519
+ },
7520
+ invitesDisabled: {
7521
+ type: "boolean"
7505
7522
  }
7506
7523
  }
7507
7524
  },
@@ -7704,6 +7721,29 @@ var schemaDict = {
7704
7721
  }
7705
7722
  }
7706
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
+ },
7707
7747
  ComAtprotoAdminDisableInviteCodes: {
7708
7748
  lexicon: 1,
7709
7749
  id: "com.atproto.admin.disableInviteCodes",
@@ -7734,6 +7774,29 @@ var schemaDict = {
7734
7774
  }
7735
7775
  }
7736
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
+ },
7737
7800
  ComAtprotoAdminGetInviteCodes: {
7738
7801
  lexicon: 1,
7739
7802
  id: "com.atproto.admin.getInviteCodes",
@@ -9056,6 +9119,40 @@ var schemaDict = {
9056
9119
  }
9057
9120
  }
9058
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
+ },
9059
9156
  ComAtprotoRepoStrongRef: {
9060
9157
  lexicon: 1,
9061
9158
  id: "com.atproto.repo.strongRef",
@@ -10488,6 +10585,13 @@ var schemaDict = {
10488
10585
  muted: {
10489
10586
  type: "boolean"
10490
10587
  },
10588
+ blockedBy: {
10589
+ type: "boolean"
10590
+ },
10591
+ blocking: {
10592
+ type: "string",
10593
+ format: "at-uri"
10594
+ },
10491
10595
  following: {
10492
10596
  type: "string",
10493
10597
  format: "at-uri"
@@ -10883,7 +10987,8 @@ var schemaDict = {
10883
10987
  type: "union",
10884
10988
  refs: [
10885
10989
  "lex:app.bsky.embed.record#viewRecord",
10886
- "lex:app.bsky.embed.record#viewNotFound"
10990
+ "lex:app.bsky.embed.record#viewNotFound",
10991
+ "lex:app.bsky.embed.record#viewBlocked"
10887
10992
  ]
10888
10993
  }
10889
10994
  }
@@ -10941,6 +11046,16 @@ var schemaDict = {
10941
11046
  format: "at-uri"
10942
11047
  }
10943
11048
  }
11049
+ },
11050
+ viewBlocked: {
11051
+ type: "object",
11052
+ required: ["uri"],
11053
+ properties: {
11054
+ uri: {
11055
+ type: "string",
11056
+ format: "at-uri"
11057
+ }
11058
+ }
10944
11059
  }
10945
11060
  }
10946
11061
  },
@@ -11111,7 +11226,8 @@ var schemaDict = {
11111
11226
  type: "union",
11112
11227
  refs: [
11113
11228
  "lex:app.bsky.feed.defs#threadViewPost",
11114
- "lex:app.bsky.feed.defs#notFoundPost"
11229
+ "lex:app.bsky.feed.defs#notFoundPost",
11230
+ "lex:app.bsky.feed.defs#blockedPost"
11115
11231
  ]
11116
11232
  },
11117
11233
  replies: {
@@ -11120,7 +11236,8 @@ var schemaDict = {
11120
11236
  type: "union",
11121
11237
  refs: [
11122
11238
  "lex:app.bsky.feed.defs#threadViewPost",
11123
- "lex:app.bsky.feed.defs#notFoundPost"
11239
+ "lex:app.bsky.feed.defs#notFoundPost",
11240
+ "lex:app.bsky.feed.defs#blockedPost"
11124
11241
  ]
11125
11242
  }
11126
11243
  }
@@ -11139,6 +11256,20 @@ var schemaDict = {
11139
11256
  const: true
11140
11257
  }
11141
11258
  }
11259
+ },
11260
+ blockedPost: {
11261
+ type: "object",
11262
+ required: ["uri", "blocked"],
11263
+ properties: {
11264
+ uri: {
11265
+ type: "string",
11266
+ format: "at-uri"
11267
+ },
11268
+ blocked: {
11269
+ type: "boolean",
11270
+ const: true
11271
+ }
11272
+ }
11142
11273
  }
11143
11274
  }
11144
11275
  },
@@ -11186,7 +11317,15 @@ var schemaDict = {
11186
11317
  }
11187
11318
  }
11188
11319
  }
11189
- }
11320
+ },
11321
+ errors: [
11322
+ {
11323
+ name: "BlockedActor"
11324
+ },
11325
+ {
11326
+ name: "BlockedByActor"
11327
+ }
11328
+ ]
11190
11329
  }
11191
11330
  }
11192
11331
  },
@@ -11296,7 +11435,8 @@ var schemaDict = {
11296
11435
  type: "union",
11297
11436
  refs: [
11298
11437
  "lex:app.bsky.feed.defs#threadViewPost",
11299
- "lex:app.bsky.feed.defs#notFoundPost"
11438
+ "lex:app.bsky.feed.defs#notFoundPost",
11439
+ "lex:app.bsky.feed.defs#blockedPost"
11300
11440
  ]
11301
11441
  }
11302
11442
  }
@@ -11603,6 +11743,31 @@ var schemaDict = {
11603
11743
  }
11604
11744
  }
11605
11745
  },
11746
+ AppBskyGraphBlock: {
11747
+ lexicon: 1,
11748
+ id: "app.bsky.graph.block",
11749
+ defs: {
11750
+ main: {
11751
+ type: "record",
11752
+ description: "A block.",
11753
+ key: "tid",
11754
+ record: {
11755
+ type: "object",
11756
+ required: ["subject", "createdAt"],
11757
+ properties: {
11758
+ subject: {
11759
+ type: "string",
11760
+ format: "did"
11761
+ },
11762
+ createdAt: {
11763
+ type: "string",
11764
+ format: "datetime"
11765
+ }
11766
+ }
11767
+ }
11768
+ }
11769
+ }
11770
+ },
11606
11771
  AppBskyGraphFollow: {
11607
11772
  lexicon: 1,
11608
11773
  id: "app.bsky.graph.follow",
@@ -11628,6 +11793,49 @@ var schemaDict = {
11628
11793
  }
11629
11794
  }
11630
11795
  },
11796
+ AppBskyGraphGetBlocks: {
11797
+ lexicon: 1,
11798
+ id: "app.bsky.graph.getBlocks",
11799
+ defs: {
11800
+ main: {
11801
+ type: "query",
11802
+ description: "Who is the requester's account blocking?",
11803
+ parameters: {
11804
+ type: "params",
11805
+ properties: {
11806
+ limit: {
11807
+ type: "integer",
11808
+ minimum: 1,
11809
+ maximum: 100,
11810
+ default: 50
11811
+ },
11812
+ cursor: {
11813
+ type: "string"
11814
+ }
11815
+ }
11816
+ },
11817
+ output: {
11818
+ encoding: "application/json",
11819
+ schema: {
11820
+ type: "object",
11821
+ required: ["blocks"],
11822
+ properties: {
11823
+ cursor: {
11824
+ type: "string"
11825
+ },
11826
+ blocks: {
11827
+ type: "array",
11828
+ items: {
11829
+ type: "ref",
11830
+ ref: "lex:app.bsky.actor.defs#profileView"
11831
+ }
11832
+ }
11833
+ }
11834
+ }
11835
+ }
11836
+ }
11837
+ }
11838
+ },
11631
11839
  AppBskyGraphGetFollowers: {
11632
11840
  lexicon: 1,
11633
11841
  id: "app.bsky.graph.getFollowers",
@@ -12052,6 +12260,10 @@ var schemaDict = {
12052
12260
  parameters: {
12053
12261
  type: "params",
12054
12262
  properties: {
12263
+ includeNsfw: {
12264
+ type: "boolean",
12265
+ default: false
12266
+ },
12055
12267
  limit: {
12056
12268
  type: "integer",
12057
12269
  minimum: 1,
@@ -12089,12 +12301,34 @@ var schemaDict = {
12089
12301
  var schemas = Object.values(schemaDict);
12090
12302
  var lexicons = new Lexicons(schemas);
12091
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
+
12092
12315
  // src/client/types/com/atproto/admin/disableInviteCodes.ts
12093
12316
  var disableInviteCodes_exports = {};
12094
12317
  __export(disableInviteCodes_exports, {
12095
- toKnownErr: () => toKnownErr
12318
+ toKnownErr: () => toKnownErr2
12096
12319
  });
12097
- function toKnownErr(e) {
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) {
12098
12332
  if (e instanceof XRPCError) {
12099
12333
  }
12100
12334
  return e;
@@ -12103,9 +12337,9 @@ function toKnownErr(e) {
12103
12337
  // src/client/types/com/atproto/admin/getInviteCodes.ts
12104
12338
  var getInviteCodes_exports = {};
12105
12339
  __export(getInviteCodes_exports, {
12106
- toKnownErr: () => toKnownErr2
12340
+ toKnownErr: () => toKnownErr4
12107
12341
  });
12108
- function toKnownErr2(e) {
12342
+ function toKnownErr4(e) {
12109
12343
  if (e instanceof XRPCError) {
12110
12344
  }
12111
12345
  return e;
@@ -12114,9 +12348,9 @@ function toKnownErr2(e) {
12114
12348
  // src/client/types/com/atproto/admin/getModerationAction.ts
12115
12349
  var getModerationAction_exports = {};
12116
12350
  __export(getModerationAction_exports, {
12117
- toKnownErr: () => toKnownErr3
12351
+ toKnownErr: () => toKnownErr5
12118
12352
  });
12119
- function toKnownErr3(e) {
12353
+ function toKnownErr5(e) {
12120
12354
  if (e instanceof XRPCError) {
12121
12355
  }
12122
12356
  return e;
@@ -12125,9 +12359,9 @@ function toKnownErr3(e) {
12125
12359
  // src/client/types/com/atproto/admin/getModerationActions.ts
12126
12360
  var getModerationActions_exports = {};
12127
12361
  __export(getModerationActions_exports, {
12128
- toKnownErr: () => toKnownErr4
12362
+ toKnownErr: () => toKnownErr6
12129
12363
  });
12130
- function toKnownErr4(e) {
12364
+ function toKnownErr6(e) {
12131
12365
  if (e instanceof XRPCError) {
12132
12366
  }
12133
12367
  return e;
@@ -12136,9 +12370,9 @@ function toKnownErr4(e) {
12136
12370
  // src/client/types/com/atproto/admin/getModerationReport.ts
12137
12371
  var getModerationReport_exports = {};
12138
12372
  __export(getModerationReport_exports, {
12139
- toKnownErr: () => toKnownErr5
12373
+ toKnownErr: () => toKnownErr7
12140
12374
  });
12141
- function toKnownErr5(e) {
12375
+ function toKnownErr7(e) {
12142
12376
  if (e instanceof XRPCError) {
12143
12377
  }
12144
12378
  return e;
@@ -12147,9 +12381,9 @@ function toKnownErr5(e) {
12147
12381
  // src/client/types/com/atproto/admin/getModerationReports.ts
12148
12382
  var getModerationReports_exports = {};
12149
12383
  __export(getModerationReports_exports, {
12150
- toKnownErr: () => toKnownErr6
12384
+ toKnownErr: () => toKnownErr8
12151
12385
  });
12152
- function toKnownErr6(e) {
12386
+ function toKnownErr8(e) {
12153
12387
  if (e instanceof XRPCError) {
12154
12388
  }
12155
12389
  return e;
@@ -12158,9 +12392,9 @@ function toKnownErr6(e) {
12158
12392
  // src/client/types/com/atproto/admin/getRecord.ts
12159
12393
  var getRecord_exports = {};
12160
12394
  __export(getRecord_exports, {
12161
- toKnownErr: () => toKnownErr7
12395
+ toKnownErr: () => toKnownErr9
12162
12396
  });
12163
- function toKnownErr7(e) {
12397
+ function toKnownErr9(e) {
12164
12398
  if (e instanceof XRPCError) {
12165
12399
  }
12166
12400
  return e;
@@ -12169,9 +12403,9 @@ function toKnownErr7(e) {
12169
12403
  // src/client/types/com/atproto/admin/getRepo.ts
12170
12404
  var getRepo_exports = {};
12171
12405
  __export(getRepo_exports, {
12172
- toKnownErr: () => toKnownErr8
12406
+ toKnownErr: () => toKnownErr10
12173
12407
  });
12174
- function toKnownErr8(e) {
12408
+ function toKnownErr10(e) {
12175
12409
  if (e instanceof XRPCError) {
12176
12410
  }
12177
12411
  return e;
@@ -12180,9 +12414,9 @@ function toKnownErr8(e) {
12180
12414
  // src/client/types/com/atproto/admin/resolveModerationReports.ts
12181
12415
  var resolveModerationReports_exports = {};
12182
12416
  __export(resolveModerationReports_exports, {
12183
- toKnownErr: () => toKnownErr9
12417
+ toKnownErr: () => toKnownErr11
12184
12418
  });
12185
- function toKnownErr9(e) {
12419
+ function toKnownErr11(e) {
12186
12420
  if (e instanceof XRPCError) {
12187
12421
  }
12188
12422
  return e;
@@ -12191,9 +12425,9 @@ function toKnownErr9(e) {
12191
12425
  // src/client/types/com/atproto/admin/reverseModerationAction.ts
12192
12426
  var reverseModerationAction_exports = {};
12193
12427
  __export(reverseModerationAction_exports, {
12194
- toKnownErr: () => toKnownErr10
12428
+ toKnownErr: () => toKnownErr12
12195
12429
  });
12196
- function toKnownErr10(e) {
12430
+ function toKnownErr12(e) {
12197
12431
  if (e instanceof XRPCError) {
12198
12432
  }
12199
12433
  return e;
@@ -12202,9 +12436,9 @@ function toKnownErr10(e) {
12202
12436
  // src/client/types/com/atproto/admin/searchRepos.ts
12203
12437
  var searchRepos_exports = {};
12204
12438
  __export(searchRepos_exports, {
12205
- toKnownErr: () => toKnownErr11
12439
+ toKnownErr: () => toKnownErr13
12206
12440
  });
12207
- function toKnownErr11(e) {
12441
+ function toKnownErr13(e) {
12208
12442
  if (e instanceof XRPCError) {
12209
12443
  }
12210
12444
  return e;
@@ -12214,14 +12448,14 @@ function toKnownErr11(e) {
12214
12448
  var takeModerationAction_exports = {};
12215
12449
  __export(takeModerationAction_exports, {
12216
12450
  SubjectHasActionError: () => SubjectHasActionError,
12217
- toKnownErr: () => toKnownErr12
12451
+ toKnownErr: () => toKnownErr14
12218
12452
  });
12219
12453
  var SubjectHasActionError = class extends XRPCError {
12220
12454
  constructor(src2) {
12221
12455
  super(src2.status, src2.error, src2.message);
12222
12456
  }
12223
12457
  };
12224
- function toKnownErr12(e) {
12458
+ function toKnownErr14(e) {
12225
12459
  if (e instanceof XRPCError) {
12226
12460
  if (e.error === "SubjectHasAction")
12227
12461
  return new SubjectHasActionError(e);
@@ -12232,9 +12466,9 @@ function toKnownErr12(e) {
12232
12466
  // src/client/types/com/atproto/admin/updateAccountEmail.ts
12233
12467
  var updateAccountEmail_exports = {};
12234
12468
  __export(updateAccountEmail_exports, {
12235
- toKnownErr: () => toKnownErr13
12469
+ toKnownErr: () => toKnownErr15
12236
12470
  });
12237
- function toKnownErr13(e) {
12471
+ function toKnownErr15(e) {
12238
12472
  if (e instanceof XRPCError) {
12239
12473
  }
12240
12474
  return e;
@@ -12243,9 +12477,9 @@ function toKnownErr13(e) {
12243
12477
  // src/client/types/com/atproto/admin/updateAccountHandle.ts
12244
12478
  var updateAccountHandle_exports = {};
12245
12479
  __export(updateAccountHandle_exports, {
12246
- toKnownErr: () => toKnownErr14
12480
+ toKnownErr: () => toKnownErr16
12247
12481
  });
12248
- function toKnownErr14(e) {
12482
+ function toKnownErr16(e) {
12249
12483
  if (e instanceof XRPCError) {
12250
12484
  }
12251
12485
  return e;
@@ -12254,9 +12488,9 @@ function toKnownErr14(e) {
12254
12488
  // src/client/types/com/atproto/identity/resolveHandle.ts
12255
12489
  var resolveHandle_exports = {};
12256
12490
  __export(resolveHandle_exports, {
12257
- toKnownErr: () => toKnownErr15
12491
+ toKnownErr: () => toKnownErr17
12258
12492
  });
12259
- function toKnownErr15(e) {
12493
+ function toKnownErr17(e) {
12260
12494
  if (e instanceof XRPCError) {
12261
12495
  }
12262
12496
  return e;
@@ -12265,9 +12499,9 @@ function toKnownErr15(e) {
12265
12499
  // src/client/types/com/atproto/identity/updateHandle.ts
12266
12500
  var updateHandle_exports = {};
12267
12501
  __export(updateHandle_exports, {
12268
- toKnownErr: () => toKnownErr16
12502
+ toKnownErr: () => toKnownErr18
12269
12503
  });
12270
- function toKnownErr16(e) {
12504
+ function toKnownErr18(e) {
12271
12505
  if (e instanceof XRPCError) {
12272
12506
  }
12273
12507
  return e;
@@ -12276,9 +12510,9 @@ function toKnownErr16(e) {
12276
12510
  // src/client/types/com/atproto/label/queryLabels.ts
12277
12511
  var queryLabels_exports = {};
12278
12512
  __export(queryLabels_exports, {
12279
- toKnownErr: () => toKnownErr17
12513
+ toKnownErr: () => toKnownErr19
12280
12514
  });
12281
- function toKnownErr17(e) {
12515
+ function toKnownErr19(e) {
12282
12516
  if (e instanceof XRPCError) {
12283
12517
  }
12284
12518
  return e;
@@ -12287,9 +12521,9 @@ function toKnownErr17(e) {
12287
12521
  // src/client/types/com/atproto/moderation/createReport.ts
12288
12522
  var createReport_exports = {};
12289
12523
  __export(createReport_exports, {
12290
- toKnownErr: () => toKnownErr18
12524
+ toKnownErr: () => toKnownErr20
12291
12525
  });
12292
- function toKnownErr18(e) {
12526
+ function toKnownErr20(e) {
12293
12527
  if (e instanceof XRPCError) {
12294
12528
  }
12295
12529
  return e;
@@ -12302,7 +12536,7 @@ __export(applyWrites_exports, {
12302
12536
  isCreate: () => isCreate,
12303
12537
  isDelete: () => isDelete,
12304
12538
  isUpdate: () => isUpdate,
12305
- toKnownErr: () => toKnownErr19,
12539
+ toKnownErr: () => toKnownErr21,
12306
12540
  validateCreate: () => validateCreate,
12307
12541
  validateDelete: () => validateDelete,
12308
12542
  validateUpdate: () => validateUpdate
@@ -12322,7 +12556,7 @@ var InvalidSwapError = class extends XRPCError {
12322
12556
  super(src2.status, src2.error, src2.message);
12323
12557
  }
12324
12558
  };
12325
- function toKnownErr19(e) {
12559
+ function toKnownErr21(e) {
12326
12560
  if (e instanceof XRPCError) {
12327
12561
  if (e.error === "InvalidSwap")
12328
12562
  return new InvalidSwapError(e);
@@ -12352,14 +12586,14 @@ function validateDelete(v) {
12352
12586
  var createRecord_exports = {};
12353
12587
  __export(createRecord_exports, {
12354
12588
  InvalidSwapError: () => InvalidSwapError2,
12355
- toKnownErr: () => toKnownErr20
12589
+ toKnownErr: () => toKnownErr22
12356
12590
  });
12357
12591
  var InvalidSwapError2 = class extends XRPCError {
12358
12592
  constructor(src2) {
12359
12593
  super(src2.status, src2.error, src2.message);
12360
12594
  }
12361
12595
  };
12362
- function toKnownErr20(e) {
12596
+ function toKnownErr22(e) {
12363
12597
  if (e instanceof XRPCError) {
12364
12598
  if (e.error === "InvalidSwap")
12365
12599
  return new InvalidSwapError2(e);
@@ -12371,14 +12605,14 @@ function toKnownErr20(e) {
12371
12605
  var deleteRecord_exports = {};
12372
12606
  __export(deleteRecord_exports, {
12373
12607
  InvalidSwapError: () => InvalidSwapError3,
12374
- toKnownErr: () => toKnownErr21
12608
+ toKnownErr: () => toKnownErr23
12375
12609
  });
12376
12610
  var InvalidSwapError3 = class extends XRPCError {
12377
12611
  constructor(src2) {
12378
12612
  super(src2.status, src2.error, src2.message);
12379
12613
  }
12380
12614
  };
12381
- function toKnownErr21(e) {
12615
+ function toKnownErr23(e) {
12382
12616
  if (e instanceof XRPCError) {
12383
12617
  if (e.error === "InvalidSwap")
12384
12618
  return new InvalidSwapError3(e);
@@ -12389,9 +12623,9 @@ function toKnownErr21(e) {
12389
12623
  // src/client/types/com/atproto/repo/describeRepo.ts
12390
12624
  var describeRepo_exports = {};
12391
12625
  __export(describeRepo_exports, {
12392
- toKnownErr: () => toKnownErr22
12626
+ toKnownErr: () => toKnownErr24
12393
12627
  });
12394
- function toKnownErr22(e) {
12628
+ function toKnownErr24(e) {
12395
12629
  if (e instanceof XRPCError) {
12396
12630
  }
12397
12631
  return e;
@@ -12400,9 +12634,9 @@ function toKnownErr22(e) {
12400
12634
  // src/client/types/com/atproto/repo/getRecord.ts
12401
12635
  var getRecord_exports2 = {};
12402
12636
  __export(getRecord_exports2, {
12403
- toKnownErr: () => toKnownErr23
12637
+ toKnownErr: () => toKnownErr25
12404
12638
  });
12405
- function toKnownErr23(e) {
12639
+ function toKnownErr25(e) {
12406
12640
  if (e instanceof XRPCError) {
12407
12641
  }
12408
12642
  return e;
@@ -12412,10 +12646,10 @@ function toKnownErr23(e) {
12412
12646
  var listRecords_exports = {};
12413
12647
  __export(listRecords_exports, {
12414
12648
  isRecord: () => isRecord,
12415
- toKnownErr: () => toKnownErr24,
12649
+ toKnownErr: () => toKnownErr26,
12416
12650
  validateRecord: () => validateRecord
12417
12651
  });
12418
- function toKnownErr24(e) {
12652
+ function toKnownErr26(e) {
12419
12653
  if (e instanceof XRPCError) {
12420
12654
  }
12421
12655
  return e;
@@ -12431,14 +12665,14 @@ function validateRecord(v) {
12431
12665
  var putRecord_exports = {};
12432
12666
  __export(putRecord_exports, {
12433
12667
  InvalidSwapError: () => InvalidSwapError4,
12434
- toKnownErr: () => toKnownErr25
12668
+ toKnownErr: () => toKnownErr27
12435
12669
  });
12436
12670
  var InvalidSwapError4 = class extends XRPCError {
12437
12671
  constructor(src2) {
12438
12672
  super(src2.status, src2.error, src2.message);
12439
12673
  }
12440
12674
  };
12441
- function toKnownErr25(e) {
12675
+ function toKnownErr27(e) {
12442
12676
  if (e instanceof XRPCError) {
12443
12677
  if (e.error === "InvalidSwap")
12444
12678
  return new InvalidSwapError4(e);
@@ -12446,12 +12680,31 @@ function toKnownErr25(e) {
12446
12680
  return e;
12447
12681
  }
12448
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
+
12449
12702
  // src/client/types/com/atproto/repo/uploadBlob.ts
12450
12703
  var uploadBlob_exports = {};
12451
12704
  __export(uploadBlob_exports, {
12452
- toKnownErr: () => toKnownErr26
12705
+ toKnownErr: () => toKnownErr29
12453
12706
  });
12454
- function toKnownErr26(e) {
12707
+ function toKnownErr29(e) {
12455
12708
  if (e instanceof XRPCError) {
12456
12709
  }
12457
12710
  return e;
@@ -12465,7 +12718,7 @@ __export(createAccount_exports, {
12465
12718
  InvalidInviteCodeError: () => InvalidInviteCodeError,
12466
12719
  InvalidPasswordError: () => InvalidPasswordError,
12467
12720
  UnsupportedDomainError: () => UnsupportedDomainError,
12468
- toKnownErr: () => toKnownErr27
12721
+ toKnownErr: () => toKnownErr30
12469
12722
  });
12470
12723
  var InvalidHandleError2 = class extends XRPCError {
12471
12724
  constructor(src2) {
@@ -12492,7 +12745,7 @@ var UnsupportedDomainError = class extends XRPCError {
12492
12745
  super(src2.status, src2.error, src2.message);
12493
12746
  }
12494
12747
  };
12495
- function toKnownErr27(e) {
12748
+ function toKnownErr30(e) {
12496
12749
  if (e instanceof XRPCError) {
12497
12750
  if (e.error === "InvalidHandle")
12498
12751
  return new InvalidHandleError2(e);
@@ -12513,7 +12766,7 @@ var createAppPassword_exports = {};
12513
12766
  __export(createAppPassword_exports, {
12514
12767
  AccountTakedownError: () => AccountTakedownError,
12515
12768
  isAppPassword: () => isAppPassword,
12516
- toKnownErr: () => toKnownErr28,
12769
+ toKnownErr: () => toKnownErr31,
12517
12770
  validateAppPassword: () => validateAppPassword
12518
12771
  });
12519
12772
  var AccountTakedownError = class extends XRPCError {
@@ -12521,7 +12774,7 @@ var AccountTakedownError = class extends XRPCError {
12521
12774
  super(src2.status, src2.error, src2.message);
12522
12775
  }
12523
12776
  };
12524
- function toKnownErr28(e) {
12777
+ function toKnownErr31(e) {
12525
12778
  if (e instanceof XRPCError) {
12526
12779
  if (e.error === "AccountTakedown")
12527
12780
  return new AccountTakedownError(e);
@@ -12541,9 +12794,9 @@ function validateAppPassword(v) {
12541
12794
  // src/client/types/com/atproto/server/createInviteCode.ts
12542
12795
  var createInviteCode_exports = {};
12543
12796
  __export(createInviteCode_exports, {
12544
- toKnownErr: () => toKnownErr29
12797
+ toKnownErr: () => toKnownErr32
12545
12798
  });
12546
- function toKnownErr29(e) {
12799
+ function toKnownErr32(e) {
12547
12800
  if (e instanceof XRPCError) {
12548
12801
  }
12549
12802
  return e;
@@ -12553,10 +12806,10 @@ function toKnownErr29(e) {
12553
12806
  var createInviteCodes_exports = {};
12554
12807
  __export(createInviteCodes_exports, {
12555
12808
  isAccountCodes: () => isAccountCodes,
12556
- toKnownErr: () => toKnownErr30,
12809
+ toKnownErr: () => toKnownErr33,
12557
12810
  validateAccountCodes: () => validateAccountCodes
12558
12811
  });
12559
- function toKnownErr30(e) {
12812
+ function toKnownErr33(e) {
12560
12813
  if (e instanceof XRPCError) {
12561
12814
  }
12562
12815
  return e;
@@ -12575,14 +12828,14 @@ function validateAccountCodes(v) {
12575
12828
  var createSession_exports = {};
12576
12829
  __export(createSession_exports, {
12577
12830
  AccountTakedownError: () => AccountTakedownError2,
12578
- toKnownErr: () => toKnownErr31
12831
+ toKnownErr: () => toKnownErr34
12579
12832
  });
12580
12833
  var AccountTakedownError2 = class extends XRPCError {
12581
12834
  constructor(src2) {
12582
12835
  super(src2.status, src2.error, src2.message);
12583
12836
  }
12584
12837
  };
12585
- function toKnownErr31(e) {
12838
+ function toKnownErr34(e) {
12586
12839
  if (e instanceof XRPCError) {
12587
12840
  if (e.error === "AccountTakedown")
12588
12841
  return new AccountTakedownError2(e);
@@ -12595,7 +12848,7 @@ var deleteAccount_exports = {};
12595
12848
  __export(deleteAccount_exports, {
12596
12849
  ExpiredTokenError: () => ExpiredTokenError,
12597
12850
  InvalidTokenError: () => InvalidTokenError,
12598
- toKnownErr: () => toKnownErr32
12851
+ toKnownErr: () => toKnownErr35
12599
12852
  });
12600
12853
  var ExpiredTokenError = class extends XRPCError {
12601
12854
  constructor(src2) {
@@ -12607,7 +12860,7 @@ var InvalidTokenError = class extends XRPCError {
12607
12860
  super(src2.status, src2.error, src2.message);
12608
12861
  }
12609
12862
  };
12610
- function toKnownErr32(e) {
12863
+ function toKnownErr35(e) {
12611
12864
  if (e instanceof XRPCError) {
12612
12865
  if (e.error === "ExpiredToken")
12613
12866
  return new ExpiredTokenError(e);
@@ -12620,9 +12873,9 @@ function toKnownErr32(e) {
12620
12873
  // src/client/types/com/atproto/server/deleteSession.ts
12621
12874
  var deleteSession_exports = {};
12622
12875
  __export(deleteSession_exports, {
12623
- toKnownErr: () => toKnownErr33
12876
+ toKnownErr: () => toKnownErr36
12624
12877
  });
12625
- function toKnownErr33(e) {
12878
+ function toKnownErr36(e) {
12626
12879
  if (e instanceof XRPCError) {
12627
12880
  }
12628
12881
  return e;
@@ -12632,10 +12885,10 @@ function toKnownErr33(e) {
12632
12885
  var describeServer_exports = {};
12633
12886
  __export(describeServer_exports, {
12634
12887
  isLinks: () => isLinks,
12635
- toKnownErr: () => toKnownErr34,
12888
+ toKnownErr: () => toKnownErr37,
12636
12889
  validateLinks: () => validateLinks
12637
12890
  });
12638
- function toKnownErr34(e) {
12891
+ function toKnownErr37(e) {
12639
12892
  if (e instanceof XRPCError) {
12640
12893
  }
12641
12894
  return e;
@@ -12651,14 +12904,14 @@ function validateLinks(v) {
12651
12904
  var getAccountInviteCodes_exports = {};
12652
12905
  __export(getAccountInviteCodes_exports, {
12653
12906
  DuplicateCreateError: () => DuplicateCreateError,
12654
- toKnownErr: () => toKnownErr35
12907
+ toKnownErr: () => toKnownErr38
12655
12908
  });
12656
12909
  var DuplicateCreateError = class extends XRPCError {
12657
12910
  constructor(src2) {
12658
12911
  super(src2.status, src2.error, src2.message);
12659
12912
  }
12660
12913
  };
12661
- function toKnownErr35(e) {
12914
+ function toKnownErr38(e) {
12662
12915
  if (e instanceof XRPCError) {
12663
12916
  if (e.error === "DuplicateCreate")
12664
12917
  return new DuplicateCreateError(e);
@@ -12669,9 +12922,9 @@ function toKnownErr35(e) {
12669
12922
  // src/client/types/com/atproto/server/getSession.ts
12670
12923
  var getSession_exports = {};
12671
12924
  __export(getSession_exports, {
12672
- toKnownErr: () => toKnownErr36
12925
+ toKnownErr: () => toKnownErr39
12673
12926
  });
12674
- function toKnownErr36(e) {
12927
+ function toKnownErr39(e) {
12675
12928
  if (e instanceof XRPCError) {
12676
12929
  }
12677
12930
  return e;
@@ -12682,7 +12935,7 @@ var listAppPasswords_exports = {};
12682
12935
  __export(listAppPasswords_exports, {
12683
12936
  AccountTakedownError: () => AccountTakedownError3,
12684
12937
  isAppPassword: () => isAppPassword2,
12685
- toKnownErr: () => toKnownErr37,
12938
+ toKnownErr: () => toKnownErr40,
12686
12939
  validateAppPassword: () => validateAppPassword2
12687
12940
  });
12688
12941
  var AccountTakedownError3 = class extends XRPCError {
@@ -12690,7 +12943,7 @@ var AccountTakedownError3 = class extends XRPCError {
12690
12943
  super(src2.status, src2.error, src2.message);
12691
12944
  }
12692
12945
  };
12693
- function toKnownErr37(e) {
12946
+ function toKnownErr40(e) {
12694
12947
  if (e instanceof XRPCError) {
12695
12948
  if (e.error === "AccountTakedown")
12696
12949
  return new AccountTakedownError3(e);
@@ -12708,14 +12961,14 @@ function validateAppPassword2(v) {
12708
12961
  var refreshSession_exports = {};
12709
12962
  __export(refreshSession_exports, {
12710
12963
  AccountTakedownError: () => AccountTakedownError4,
12711
- toKnownErr: () => toKnownErr38
12964
+ toKnownErr: () => toKnownErr41
12712
12965
  });
12713
12966
  var AccountTakedownError4 = class extends XRPCError {
12714
12967
  constructor(src2) {
12715
12968
  super(src2.status, src2.error, src2.message);
12716
12969
  }
12717
12970
  };
12718
- function toKnownErr38(e) {
12971
+ function toKnownErr41(e) {
12719
12972
  if (e instanceof XRPCError) {
12720
12973
  if (e.error === "AccountTakedown")
12721
12974
  return new AccountTakedownError4(e);
@@ -12726,9 +12979,9 @@ function toKnownErr38(e) {
12726
12979
  // src/client/types/com/atproto/server/requestAccountDelete.ts
12727
12980
  var requestAccountDelete_exports = {};
12728
12981
  __export(requestAccountDelete_exports, {
12729
- toKnownErr: () => toKnownErr39
12982
+ toKnownErr: () => toKnownErr42
12730
12983
  });
12731
- function toKnownErr39(e) {
12984
+ function toKnownErr42(e) {
12732
12985
  if (e instanceof XRPCError) {
12733
12986
  }
12734
12987
  return e;
@@ -12737,9 +12990,9 @@ function toKnownErr39(e) {
12737
12990
  // src/client/types/com/atproto/server/requestPasswordReset.ts
12738
12991
  var requestPasswordReset_exports = {};
12739
12992
  __export(requestPasswordReset_exports, {
12740
- toKnownErr: () => toKnownErr40
12993
+ toKnownErr: () => toKnownErr43
12741
12994
  });
12742
- function toKnownErr40(e) {
12995
+ function toKnownErr43(e) {
12743
12996
  if (e instanceof XRPCError) {
12744
12997
  }
12745
12998
  return e;
@@ -12750,7 +13003,7 @@ var resetPassword_exports = {};
12750
13003
  __export(resetPassword_exports, {
12751
13004
  ExpiredTokenError: () => ExpiredTokenError2,
12752
13005
  InvalidTokenError: () => InvalidTokenError2,
12753
- toKnownErr: () => toKnownErr41
13006
+ toKnownErr: () => toKnownErr44
12754
13007
  });
12755
13008
  var ExpiredTokenError2 = class extends XRPCError {
12756
13009
  constructor(src2) {
@@ -12762,7 +13015,7 @@ var InvalidTokenError2 = class extends XRPCError {
12762
13015
  super(src2.status, src2.error, src2.message);
12763
13016
  }
12764
13017
  };
12765
- function toKnownErr41(e) {
13018
+ function toKnownErr44(e) {
12766
13019
  if (e instanceof XRPCError) {
12767
13020
  if (e.error === "ExpiredToken")
12768
13021
  return new ExpiredTokenError2(e);
@@ -12775,9 +13028,9 @@ function toKnownErr41(e) {
12775
13028
  // src/client/types/com/atproto/server/revokeAppPassword.ts
12776
13029
  var revokeAppPassword_exports = {};
12777
13030
  __export(revokeAppPassword_exports, {
12778
- toKnownErr: () => toKnownErr42
13031
+ toKnownErr: () => toKnownErr45
12779
13032
  });
12780
- function toKnownErr42(e) {
13033
+ function toKnownErr45(e) {
12781
13034
  if (e instanceof XRPCError) {
12782
13035
  }
12783
13036
  return e;
@@ -12786,9 +13039,9 @@ function toKnownErr42(e) {
12786
13039
  // src/client/types/com/atproto/sync/getBlob.ts
12787
13040
  var getBlob_exports = {};
12788
13041
  __export(getBlob_exports, {
12789
- toKnownErr: () => toKnownErr43
13042
+ toKnownErr: () => toKnownErr46
12790
13043
  });
12791
- function toKnownErr43(e) {
13044
+ function toKnownErr46(e) {
12792
13045
  if (e instanceof XRPCError) {
12793
13046
  }
12794
13047
  return e;
@@ -12797,9 +13050,9 @@ function toKnownErr43(e) {
12797
13050
  // src/client/types/com/atproto/sync/getBlocks.ts
12798
13051
  var getBlocks_exports = {};
12799
13052
  __export(getBlocks_exports, {
12800
- toKnownErr: () => toKnownErr44
13053
+ toKnownErr: () => toKnownErr47
12801
13054
  });
12802
- function toKnownErr44(e) {
13055
+ function toKnownErr47(e) {
12803
13056
  if (e instanceof XRPCError) {
12804
13057
  }
12805
13058
  return e;
@@ -12808,9 +13061,9 @@ function toKnownErr44(e) {
12808
13061
  // src/client/types/com/atproto/sync/getCheckout.ts
12809
13062
  var getCheckout_exports = {};
12810
13063
  __export(getCheckout_exports, {
12811
- toKnownErr: () => toKnownErr45
13064
+ toKnownErr: () => toKnownErr48
12812
13065
  });
12813
- function toKnownErr45(e) {
13066
+ function toKnownErr48(e) {
12814
13067
  if (e instanceof XRPCError) {
12815
13068
  }
12816
13069
  return e;
@@ -12819,9 +13072,9 @@ function toKnownErr45(e) {
12819
13072
  // src/client/types/com/atproto/sync/getCommitPath.ts
12820
13073
  var getCommitPath_exports = {};
12821
13074
  __export(getCommitPath_exports, {
12822
- toKnownErr: () => toKnownErr46
13075
+ toKnownErr: () => toKnownErr49
12823
13076
  });
12824
- function toKnownErr46(e) {
13077
+ function toKnownErr49(e) {
12825
13078
  if (e instanceof XRPCError) {
12826
13079
  }
12827
13080
  return e;
@@ -12830,9 +13083,9 @@ function toKnownErr46(e) {
12830
13083
  // src/client/types/com/atproto/sync/getHead.ts
12831
13084
  var getHead_exports = {};
12832
13085
  __export(getHead_exports, {
12833
- toKnownErr: () => toKnownErr47
13086
+ toKnownErr: () => toKnownErr50
12834
13087
  });
12835
- function toKnownErr47(e) {
13088
+ function toKnownErr50(e) {
12836
13089
  if (e instanceof XRPCError) {
12837
13090
  }
12838
13091
  return e;
@@ -12841,9 +13094,9 @@ function toKnownErr47(e) {
12841
13094
  // src/client/types/com/atproto/sync/getRecord.ts
12842
13095
  var getRecord_exports3 = {};
12843
13096
  __export(getRecord_exports3, {
12844
- toKnownErr: () => toKnownErr48
13097
+ toKnownErr: () => toKnownErr51
12845
13098
  });
12846
- function toKnownErr48(e) {
13099
+ function toKnownErr51(e) {
12847
13100
  if (e instanceof XRPCError) {
12848
13101
  }
12849
13102
  return e;
@@ -12852,9 +13105,9 @@ function toKnownErr48(e) {
12852
13105
  // src/client/types/com/atproto/sync/getRepo.ts
12853
13106
  var getRepo_exports2 = {};
12854
13107
  __export(getRepo_exports2, {
12855
- toKnownErr: () => toKnownErr49
13108
+ toKnownErr: () => toKnownErr52
12856
13109
  });
12857
- function toKnownErr49(e) {
13110
+ function toKnownErr52(e) {
12858
13111
  if (e instanceof XRPCError) {
12859
13112
  }
12860
13113
  return e;
@@ -12863,9 +13116,9 @@ function toKnownErr49(e) {
12863
13116
  // src/client/types/com/atproto/sync/listBlobs.ts
12864
13117
  var listBlobs_exports = {};
12865
13118
  __export(listBlobs_exports, {
12866
- toKnownErr: () => toKnownErr50
13119
+ toKnownErr: () => toKnownErr53
12867
13120
  });
12868
- function toKnownErr50(e) {
13121
+ function toKnownErr53(e) {
12869
13122
  if (e instanceof XRPCError) {
12870
13123
  }
12871
13124
  return e;
@@ -12875,10 +13128,10 @@ function toKnownErr50(e) {
12875
13128
  var listRepos_exports = {};
12876
13129
  __export(listRepos_exports, {
12877
13130
  isRepo: () => isRepo,
12878
- toKnownErr: () => toKnownErr51,
13131
+ toKnownErr: () => toKnownErr54,
12879
13132
  validateRepo: () => validateRepo
12880
13133
  });
12881
- function toKnownErr51(e) {
13134
+ function toKnownErr54(e) {
12882
13135
  if (e instanceof XRPCError) {
12883
13136
  }
12884
13137
  return e;
@@ -12893,9 +13146,9 @@ function validateRepo(v) {
12893
13146
  // src/client/types/com/atproto/sync/notifyOfUpdate.ts
12894
13147
  var notifyOfUpdate_exports = {};
12895
13148
  __export(notifyOfUpdate_exports, {
12896
- toKnownErr: () => toKnownErr52
13149
+ toKnownErr: () => toKnownErr55
12897
13150
  });
12898
- function toKnownErr52(e) {
13151
+ function toKnownErr55(e) {
12899
13152
  if (e instanceof XRPCError) {
12900
13153
  }
12901
13154
  return e;
@@ -12904,9 +13157,9 @@ function toKnownErr52(e) {
12904
13157
  // src/client/types/com/atproto/sync/requestCrawl.ts
12905
13158
  var requestCrawl_exports = {};
12906
13159
  __export(requestCrawl_exports, {
12907
- toKnownErr: () => toKnownErr53
13160
+ toKnownErr: () => toKnownErr56
12908
13161
  });
12909
- function toKnownErr53(e) {
13162
+ function toKnownErr56(e) {
12910
13163
  if (e instanceof XRPCError) {
12911
13164
  }
12912
13165
  return e;
@@ -12915,9 +13168,9 @@ function toKnownErr53(e) {
12915
13168
  // src/client/types/app/bsky/actor/getProfile.ts
12916
13169
  var getProfile_exports = {};
12917
13170
  __export(getProfile_exports, {
12918
- toKnownErr: () => toKnownErr54
13171
+ toKnownErr: () => toKnownErr57
12919
13172
  });
12920
- function toKnownErr54(e) {
13173
+ function toKnownErr57(e) {
12921
13174
  if (e instanceof XRPCError) {
12922
13175
  }
12923
13176
  return e;
@@ -12926,9 +13179,9 @@ function toKnownErr54(e) {
12926
13179
  // src/client/types/app/bsky/actor/getProfiles.ts
12927
13180
  var getProfiles_exports = {};
12928
13181
  __export(getProfiles_exports, {
12929
- toKnownErr: () => toKnownErr55
13182
+ toKnownErr: () => toKnownErr58
12930
13183
  });
12931
- function toKnownErr55(e) {
13184
+ function toKnownErr58(e) {
12932
13185
  if (e instanceof XRPCError) {
12933
13186
  }
12934
13187
  return e;
@@ -12937,9 +13190,9 @@ function toKnownErr55(e) {
12937
13190
  // src/client/types/app/bsky/actor/getSuggestions.ts
12938
13191
  var getSuggestions_exports = {};
12939
13192
  __export(getSuggestions_exports, {
12940
- toKnownErr: () => toKnownErr56
13193
+ toKnownErr: () => toKnownErr59
12941
13194
  });
12942
- function toKnownErr56(e) {
13195
+ function toKnownErr59(e) {
12943
13196
  if (e instanceof XRPCError) {
12944
13197
  }
12945
13198
  return e;
@@ -12948,9 +13201,9 @@ function toKnownErr56(e) {
12948
13201
  // src/client/types/app/bsky/actor/searchActors.ts
12949
13202
  var searchActors_exports = {};
12950
13203
  __export(searchActors_exports, {
12951
- toKnownErr: () => toKnownErr57
13204
+ toKnownErr: () => toKnownErr60
12952
13205
  });
12953
- function toKnownErr57(e) {
13206
+ function toKnownErr60(e) {
12954
13207
  if (e instanceof XRPCError) {
12955
13208
  }
12956
13209
  return e;
@@ -12959,9 +13212,9 @@ function toKnownErr57(e) {
12959
13212
  // src/client/types/app/bsky/actor/searchActorsTypeahead.ts
12960
13213
  var searchActorsTypeahead_exports = {};
12961
13214
  __export(searchActorsTypeahead_exports, {
12962
- toKnownErr: () => toKnownErr58
13215
+ toKnownErr: () => toKnownErr61
12963
13216
  });
12964
- function toKnownErr58(e) {
13217
+ function toKnownErr61(e) {
12965
13218
  if (e instanceof XRPCError) {
12966
13219
  }
12967
13220
  return e;
@@ -12970,10 +13223,26 @@ function toKnownErr58(e) {
12970
13223
  // src/client/types/app/bsky/feed/getAuthorFeed.ts
12971
13224
  var getAuthorFeed_exports = {};
12972
13225
  __export(getAuthorFeed_exports, {
12973
- toKnownErr: () => toKnownErr59
13226
+ BlockedActorError: () => BlockedActorError,
13227
+ BlockedByActorError: () => BlockedByActorError,
13228
+ toKnownErr: () => toKnownErr62
12974
13229
  });
12975
- function toKnownErr59(e) {
13230
+ var BlockedActorError = class extends XRPCError {
13231
+ constructor(src2) {
13232
+ super(src2.status, src2.error, src2.message);
13233
+ }
13234
+ };
13235
+ var BlockedByActorError = class extends XRPCError {
13236
+ constructor(src2) {
13237
+ super(src2.status, src2.error, src2.message);
13238
+ }
13239
+ };
13240
+ function toKnownErr62(e) {
12976
13241
  if (e instanceof XRPCError) {
13242
+ if (e.error === "BlockedActor")
13243
+ return new BlockedActorError(e);
13244
+ if (e.error === "BlockedByActor")
13245
+ return new BlockedByActorError(e);
12977
13246
  }
12978
13247
  return e;
12979
13248
  }
@@ -12982,10 +13251,10 @@ function toKnownErr59(e) {
12982
13251
  var getLikes_exports = {};
12983
13252
  __export(getLikes_exports, {
12984
13253
  isLike: () => isLike,
12985
- toKnownErr: () => toKnownErr60,
13254
+ toKnownErr: () => toKnownErr63,
12986
13255
  validateLike: () => validateLike
12987
13256
  });
12988
- function toKnownErr60(e) {
13257
+ function toKnownErr63(e) {
12989
13258
  if (e instanceof XRPCError) {
12990
13259
  }
12991
13260
  return e;
@@ -13001,14 +13270,14 @@ function validateLike(v) {
13001
13270
  var getPostThread_exports = {};
13002
13271
  __export(getPostThread_exports, {
13003
13272
  NotFoundError: () => NotFoundError,
13004
- toKnownErr: () => toKnownErr61
13273
+ toKnownErr: () => toKnownErr64
13005
13274
  });
13006
13275
  var NotFoundError = class extends XRPCError {
13007
13276
  constructor(src2) {
13008
13277
  super(src2.status, src2.error, src2.message);
13009
13278
  }
13010
13279
  };
13011
- function toKnownErr61(e) {
13280
+ function toKnownErr64(e) {
13012
13281
  if (e instanceof XRPCError) {
13013
13282
  if (e.error === "NotFound")
13014
13283
  return new NotFoundError(e);
@@ -13019,9 +13288,9 @@ function toKnownErr61(e) {
13019
13288
  // src/client/types/app/bsky/feed/getPosts.ts
13020
13289
  var getPosts_exports = {};
13021
13290
  __export(getPosts_exports, {
13022
- toKnownErr: () => toKnownErr62
13291
+ toKnownErr: () => toKnownErr65
13023
13292
  });
13024
- function toKnownErr62(e) {
13293
+ function toKnownErr65(e) {
13025
13294
  if (e instanceof XRPCError) {
13026
13295
  }
13027
13296
  return e;
@@ -13030,9 +13299,9 @@ function toKnownErr62(e) {
13030
13299
  // src/client/types/app/bsky/feed/getRepostedBy.ts
13031
13300
  var getRepostedBy_exports = {};
13032
13301
  __export(getRepostedBy_exports, {
13033
- toKnownErr: () => toKnownErr63
13302
+ toKnownErr: () => toKnownErr66
13034
13303
  });
13035
- function toKnownErr63(e) {
13304
+ function toKnownErr66(e) {
13036
13305
  if (e instanceof XRPCError) {
13037
13306
  }
13038
13307
  return e;
@@ -13041,9 +13310,20 @@ function toKnownErr63(e) {
13041
13310
  // src/client/types/app/bsky/feed/getTimeline.ts
13042
13311
  var getTimeline_exports = {};
13043
13312
  __export(getTimeline_exports, {
13044
- toKnownErr: () => toKnownErr64
13313
+ toKnownErr: () => toKnownErr67
13045
13314
  });
13046
- function toKnownErr64(e) {
13315
+ function toKnownErr67(e) {
13316
+ if (e instanceof XRPCError) {
13317
+ }
13318
+ return e;
13319
+ }
13320
+
13321
+ // src/client/types/app/bsky/graph/getBlocks.ts
13322
+ var getBlocks_exports2 = {};
13323
+ __export(getBlocks_exports2, {
13324
+ toKnownErr: () => toKnownErr68
13325
+ });
13326
+ function toKnownErr68(e) {
13047
13327
  if (e instanceof XRPCError) {
13048
13328
  }
13049
13329
  return e;
@@ -13052,9 +13332,9 @@ function toKnownErr64(e) {
13052
13332
  // src/client/types/app/bsky/graph/getFollowers.ts
13053
13333
  var getFollowers_exports = {};
13054
13334
  __export(getFollowers_exports, {
13055
- toKnownErr: () => toKnownErr65
13335
+ toKnownErr: () => toKnownErr69
13056
13336
  });
13057
- function toKnownErr65(e) {
13337
+ function toKnownErr69(e) {
13058
13338
  if (e instanceof XRPCError) {
13059
13339
  }
13060
13340
  return e;
@@ -13063,9 +13343,9 @@ function toKnownErr65(e) {
13063
13343
  // src/client/types/app/bsky/graph/getFollows.ts
13064
13344
  var getFollows_exports = {};
13065
13345
  __export(getFollows_exports, {
13066
- toKnownErr: () => toKnownErr66
13346
+ toKnownErr: () => toKnownErr70
13067
13347
  });
13068
- function toKnownErr66(e) {
13348
+ function toKnownErr70(e) {
13069
13349
  if (e instanceof XRPCError) {
13070
13350
  }
13071
13351
  return e;
@@ -13074,9 +13354,9 @@ function toKnownErr66(e) {
13074
13354
  // src/client/types/app/bsky/graph/getMutes.ts
13075
13355
  var getMutes_exports = {};
13076
13356
  __export(getMutes_exports, {
13077
- toKnownErr: () => toKnownErr67
13357
+ toKnownErr: () => toKnownErr71
13078
13358
  });
13079
- function toKnownErr67(e) {
13359
+ function toKnownErr71(e) {
13080
13360
  if (e instanceof XRPCError) {
13081
13361
  }
13082
13362
  return e;
@@ -13085,9 +13365,9 @@ function toKnownErr67(e) {
13085
13365
  // src/client/types/app/bsky/graph/muteActor.ts
13086
13366
  var muteActor_exports = {};
13087
13367
  __export(muteActor_exports, {
13088
- toKnownErr: () => toKnownErr68
13368
+ toKnownErr: () => toKnownErr72
13089
13369
  });
13090
- function toKnownErr68(e) {
13370
+ function toKnownErr72(e) {
13091
13371
  if (e instanceof XRPCError) {
13092
13372
  }
13093
13373
  return e;
@@ -13096,9 +13376,9 @@ function toKnownErr68(e) {
13096
13376
  // src/client/types/app/bsky/graph/unmuteActor.ts
13097
13377
  var unmuteActor_exports = {};
13098
13378
  __export(unmuteActor_exports, {
13099
- toKnownErr: () => toKnownErr69
13379
+ toKnownErr: () => toKnownErr73
13100
13380
  });
13101
- function toKnownErr69(e) {
13381
+ function toKnownErr73(e) {
13102
13382
  if (e instanceof XRPCError) {
13103
13383
  }
13104
13384
  return e;
@@ -13107,9 +13387,9 @@ function toKnownErr69(e) {
13107
13387
  // src/client/types/app/bsky/notification/getUnreadCount.ts
13108
13388
  var getUnreadCount_exports = {};
13109
13389
  __export(getUnreadCount_exports, {
13110
- toKnownErr: () => toKnownErr70
13390
+ toKnownErr: () => toKnownErr74
13111
13391
  });
13112
- function toKnownErr70(e) {
13392
+ function toKnownErr74(e) {
13113
13393
  if (e instanceof XRPCError) {
13114
13394
  }
13115
13395
  return e;
@@ -13119,10 +13399,10 @@ function toKnownErr70(e) {
13119
13399
  var listNotifications_exports = {};
13120
13400
  __export(listNotifications_exports, {
13121
13401
  isNotification: () => isNotification,
13122
- toKnownErr: () => toKnownErr71,
13402
+ toKnownErr: () => toKnownErr75,
13123
13403
  validateNotification: () => validateNotification
13124
13404
  });
13125
- function toKnownErr71(e) {
13405
+ function toKnownErr75(e) {
13126
13406
  if (e instanceof XRPCError) {
13127
13407
  }
13128
13408
  return e;
@@ -13140,9 +13420,9 @@ function validateNotification(v) {
13140
13420
  // src/client/types/app/bsky/notification/updateSeen.ts
13141
13421
  var updateSeen_exports = {};
13142
13422
  __export(updateSeen_exports, {
13143
- toKnownErr: () => toKnownErr72
13423
+ toKnownErr: () => toKnownErr76
13144
13424
  });
13145
- function toKnownErr72(e) {
13425
+ function toKnownErr76(e) {
13146
13426
  if (e instanceof XRPCError) {
13147
13427
  }
13148
13428
  return e;
@@ -13151,9 +13431,9 @@ function toKnownErr72(e) {
13151
13431
  // src/client/types/app/bsky/unspecced/getPopular.ts
13152
13432
  var getPopular_exports = {};
13153
13433
  __export(getPopular_exports, {
13154
- toKnownErr: () => toKnownErr73
13434
+ toKnownErr: () => toKnownErr77
13155
13435
  });
13156
- function toKnownErr73(e) {
13436
+ function toKnownErr77(e) {
13157
13437
  if (e instanceof XRPCError) {
13158
13438
  }
13159
13439
  return e;
@@ -13163,6 +13443,7 @@ function toKnownErr73(e) {
13163
13443
  var defs_exports = {};
13164
13444
  __export(defs_exports, {
13165
13445
  ACKNOWLEDGE: () => ACKNOWLEDGE,
13446
+ ESCALATE: () => ESCALATE,
13166
13447
  FLAG: () => FLAG,
13167
13448
  TAKEDOWN: () => TAKEDOWN,
13168
13449
  isActionReversal: () => isActionReversal,
@@ -13225,6 +13506,7 @@ function validateActionReversal(v) {
13225
13506
  var TAKEDOWN = "com.atproto.admin.defs#takedown";
13226
13507
  var FLAG = "com.atproto.admin.defs#flag";
13227
13508
  var ACKNOWLEDGE = "com.atproto.admin.defs#acknowledge";
13509
+ var ESCALATE = "com.atproto.admin.defs#escalate";
13228
13510
  function isReportView(v) {
13229
13511
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#reportView";
13230
13512
  }
@@ -13565,10 +13847,12 @@ var record_exports = {};
13565
13847
  __export(record_exports, {
13566
13848
  isMain: () => isMain4,
13567
13849
  isView: () => isView3,
13850
+ isViewBlocked: () => isViewBlocked,
13568
13851
  isViewNotFound: () => isViewNotFound,
13569
13852
  isViewRecord: () => isViewRecord,
13570
13853
  validateMain: () => validateMain4,
13571
13854
  validateView: () => validateView3,
13855
+ validateViewBlocked: () => validateViewBlocked,
13572
13856
  validateViewNotFound: () => validateViewNotFound,
13573
13857
  validateViewRecord: () => validateViewRecord
13574
13858
  });
@@ -13596,6 +13880,12 @@ function isViewNotFound(v) {
13596
13880
  function validateViewNotFound(v) {
13597
13881
  return lexicons.validate("app.bsky.embed.record#viewNotFound", v);
13598
13882
  }
13883
+ function isViewBlocked(v) {
13884
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.embed.record#viewBlocked";
13885
+ }
13886
+ function validateViewBlocked(v) {
13887
+ return lexicons.validate("app.bsky.embed.record#viewBlocked", v);
13888
+ }
13599
13889
 
13600
13890
  // src/client/types/app/bsky/embed/recordWithMedia.ts
13601
13891
  var recordWithMedia_exports = {};
@@ -13621,6 +13911,7 @@ function validateView4(v) {
13621
13911
  // src/client/types/app/bsky/feed/defs.ts
13622
13912
  var defs_exports6 = {};
13623
13913
  __export(defs_exports6, {
13914
+ isBlockedPost: () => isBlockedPost,
13624
13915
  isFeedViewPost: () => isFeedViewPost,
13625
13916
  isNotFoundPost: () => isNotFoundPost,
13626
13917
  isPostView: () => isPostView,
@@ -13628,6 +13919,7 @@ __export(defs_exports6, {
13628
13919
  isReplyRef: () => isReplyRef,
13629
13920
  isThreadViewPost: () => isThreadViewPost,
13630
13921
  isViewerState: () => isViewerState2,
13922
+ validateBlockedPost: () => validateBlockedPost,
13631
13923
  validateFeedViewPost: () => validateFeedViewPost,
13632
13924
  validateNotFoundPost: () => validateNotFoundPost,
13633
13925
  validatePostView: () => validatePostView,
@@ -13678,6 +13970,12 @@ function isNotFoundPost(v) {
13678
13970
  function validateNotFoundPost(v) {
13679
13971
  return lexicons.validate("app.bsky.feed.defs#notFoundPost", v);
13680
13972
  }
13973
+ function isBlockedPost(v) {
13974
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#blockedPost";
13975
+ }
13976
+ function validateBlockedPost(v) {
13977
+ return lexicons.validate("app.bsky.feed.defs#blockedPost", v);
13978
+ }
13681
13979
 
13682
13980
  // src/client/types/app/bsky/feed/like.ts
13683
13981
  var like_exports = {};
@@ -13742,16 +14040,29 @@ function validateRecord5(v) {
13742
14040
  return lexicons.validate("app.bsky.feed.repost#main", v);
13743
14041
  }
13744
14042
 
13745
- // src/client/types/app/bsky/graph/follow.ts
13746
- var follow_exports = {};
13747
- __export(follow_exports, {
14043
+ // src/client/types/app/bsky/graph/block.ts
14044
+ var block_exports = {};
14045
+ __export(block_exports, {
13748
14046
  isRecord: () => isRecord6,
13749
14047
  validateRecord: () => validateRecord6
13750
14048
  });
13751
14049
  function isRecord6(v) {
13752
- return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.follow#main" || v.$type === "app.bsky.graph.follow");
14050
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.block#main" || v.$type === "app.bsky.graph.block");
13753
14051
  }
13754
14052
  function validateRecord6(v) {
14053
+ return lexicons.validate("app.bsky.graph.block#main", v);
14054
+ }
14055
+
14056
+ // src/client/types/app/bsky/graph/follow.ts
14057
+ var follow_exports = {};
14058
+ __export(follow_exports, {
14059
+ isRecord: () => isRecord7,
14060
+ validateRecord: () => validateRecord7
14061
+ });
14062
+ function isRecord7(v) {
14063
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.follow#main" || v.$type === "app.bsky.graph.follow");
14064
+ }
14065
+ function validateRecord7(v) {
13755
14066
  return lexicons.validate("app.bsky.graph.follow#main", v);
13756
14067
  }
13757
14068
 
@@ -13796,7 +14107,8 @@ function validateByteSlice(v) {
13796
14107
  var COM_ATPROTO_ADMIN = {
13797
14108
  DefsTakedown: "com.atproto.admin.defs#takedown",
13798
14109
  DefsFlag: "com.atproto.admin.defs#flag",
13799
- DefsAcknowledge: "com.atproto.admin.defs#acknowledge"
14110
+ DefsAcknowledge: "com.atproto.admin.defs#acknowledge",
14111
+ DefsEscalate: "com.atproto.admin.defs#escalate"
13800
14112
  };
13801
14113
  var COM_ATPROTO_MODERATION = {
13802
14114
  DefsReasonSpam: "com.atproto.moderation.defs#reasonSpam",
@@ -13848,74 +14160,84 @@ var AdminNS = class {
13848
14160
  constructor(service) {
13849
14161
  this._service = service;
13850
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
+ }
13851
14168
  disableInviteCodes(data, opts) {
13852
14169
  return this._service.xrpc.call("com.atproto.admin.disableInviteCodes", opts?.qp, data, opts).catch((e) => {
13853
- throw toKnownErr(e);
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);
13854
14176
  });
13855
14177
  }
13856
14178
  getInviteCodes(params2, opts) {
13857
14179
  return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
13858
- throw toKnownErr2(e);
14180
+ throw toKnownErr4(e);
13859
14181
  });
13860
14182
  }
13861
14183
  getModerationAction(params2, opts) {
13862
14184
  return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
13863
- throw toKnownErr3(e);
14185
+ throw toKnownErr5(e);
13864
14186
  });
13865
14187
  }
13866
14188
  getModerationActions(params2, opts) {
13867
14189
  return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
13868
- throw toKnownErr4(e);
14190
+ throw toKnownErr6(e);
13869
14191
  });
13870
14192
  }
13871
14193
  getModerationReport(params2, opts) {
13872
14194
  return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
13873
- throw toKnownErr5(e);
14195
+ throw toKnownErr7(e);
13874
14196
  });
13875
14197
  }
13876
14198
  getModerationReports(params2, opts) {
13877
14199
  return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
13878
- throw toKnownErr6(e);
14200
+ throw toKnownErr8(e);
13879
14201
  });
13880
14202
  }
13881
14203
  getRecord(params2, opts) {
13882
14204
  return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
13883
- throw toKnownErr7(e);
14205
+ throw toKnownErr9(e);
13884
14206
  });
13885
14207
  }
13886
14208
  getRepo(params2, opts) {
13887
14209
  return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
13888
- throw toKnownErr8(e);
14210
+ throw toKnownErr10(e);
13889
14211
  });
13890
14212
  }
13891
14213
  resolveModerationReports(data, opts) {
13892
14214
  return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
13893
- throw toKnownErr9(e);
14215
+ throw toKnownErr11(e);
13894
14216
  });
13895
14217
  }
13896
14218
  reverseModerationAction(data, opts) {
13897
14219
  return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
13898
- throw toKnownErr10(e);
14220
+ throw toKnownErr12(e);
13899
14221
  });
13900
14222
  }
13901
14223
  searchRepos(params2, opts) {
13902
14224
  return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
13903
- throw toKnownErr11(e);
14225
+ throw toKnownErr13(e);
13904
14226
  });
13905
14227
  }
13906
14228
  takeModerationAction(data, opts) {
13907
14229
  return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
13908
- throw toKnownErr12(e);
14230
+ throw toKnownErr14(e);
13909
14231
  });
13910
14232
  }
13911
14233
  updateAccountEmail(data, opts) {
13912
14234
  return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
13913
- throw toKnownErr13(e);
14235
+ throw toKnownErr15(e);
13914
14236
  });
13915
14237
  }
13916
14238
  updateAccountHandle(data, opts) {
13917
14239
  return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
13918
- throw toKnownErr14(e);
14240
+ throw toKnownErr16(e);
13919
14241
  });
13920
14242
  }
13921
14243
  };
@@ -13925,12 +14247,12 @@ var IdentityNS = class {
13925
14247
  }
13926
14248
  resolveHandle(params2, opts) {
13927
14249
  return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
13928
- throw toKnownErr15(e);
14250
+ throw toKnownErr17(e);
13929
14251
  });
13930
14252
  }
13931
14253
  updateHandle(data, opts) {
13932
14254
  return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
13933
- throw toKnownErr16(e);
14255
+ throw toKnownErr18(e);
13934
14256
  });
13935
14257
  }
13936
14258
  };
@@ -13940,7 +14262,7 @@ var LabelNS = class {
13940
14262
  }
13941
14263
  queryLabels(params2, opts) {
13942
14264
  return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
13943
- throw toKnownErr17(e);
14265
+ throw toKnownErr19(e);
13944
14266
  });
13945
14267
  }
13946
14268
  };
@@ -13950,7 +14272,7 @@ var ModerationNS = class {
13950
14272
  }
13951
14273
  createReport(data, opts) {
13952
14274
  return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
13953
- throw toKnownErr18(e);
14275
+ throw toKnownErr20(e);
13954
14276
  });
13955
14277
  }
13956
14278
  };
@@ -13960,42 +14282,47 @@ var RepoNS = class {
13960
14282
  }
13961
14283
  applyWrites(data, opts) {
13962
14284
  return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
13963
- throw toKnownErr19(e);
14285
+ throw toKnownErr21(e);
13964
14286
  });
13965
14287
  }
13966
14288
  createRecord(data, opts) {
13967
14289
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
13968
- throw toKnownErr20(e);
14290
+ throw toKnownErr22(e);
13969
14291
  });
13970
14292
  }
13971
14293
  deleteRecord(data, opts) {
13972
14294
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
13973
- throw toKnownErr21(e);
14295
+ throw toKnownErr23(e);
13974
14296
  });
13975
14297
  }
13976
14298
  describeRepo(params2, opts) {
13977
14299
  return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
13978
- throw toKnownErr22(e);
14300
+ throw toKnownErr24(e);
13979
14301
  });
13980
14302
  }
13981
14303
  getRecord(params2, opts) {
13982
14304
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
13983
- throw toKnownErr23(e);
14305
+ throw toKnownErr25(e);
13984
14306
  });
13985
14307
  }
13986
14308
  listRecords(params2, opts) {
13987
14309
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
13988
- throw toKnownErr24(e);
14310
+ throw toKnownErr26(e);
13989
14311
  });
13990
14312
  }
13991
14313
  putRecord(data, opts) {
13992
14314
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
13993
- throw toKnownErr25(e);
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);
13994
14321
  });
13995
14322
  }
13996
14323
  uploadBlob(data, opts) {
13997
14324
  return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
13998
- throw toKnownErr26(e);
14325
+ throw toKnownErr29(e);
13999
14326
  });
14000
14327
  }
14001
14328
  };
@@ -14005,82 +14332,82 @@ var ServerNS = class {
14005
14332
  }
14006
14333
  createAccount(data, opts) {
14007
14334
  return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
14008
- throw toKnownErr27(e);
14335
+ throw toKnownErr30(e);
14009
14336
  });
14010
14337
  }
14011
14338
  createAppPassword(data, opts) {
14012
14339
  return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
14013
- throw toKnownErr28(e);
14340
+ throw toKnownErr31(e);
14014
14341
  });
14015
14342
  }
14016
14343
  createInviteCode(data, opts) {
14017
14344
  return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
14018
- throw toKnownErr29(e);
14345
+ throw toKnownErr32(e);
14019
14346
  });
14020
14347
  }
14021
14348
  createInviteCodes(data, opts) {
14022
14349
  return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
14023
- throw toKnownErr30(e);
14350
+ throw toKnownErr33(e);
14024
14351
  });
14025
14352
  }
14026
14353
  createSession(data, opts) {
14027
14354
  return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
14028
- throw toKnownErr31(e);
14355
+ throw toKnownErr34(e);
14029
14356
  });
14030
14357
  }
14031
14358
  deleteAccount(data, opts) {
14032
14359
  return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
14033
- throw toKnownErr32(e);
14360
+ throw toKnownErr35(e);
14034
14361
  });
14035
14362
  }
14036
14363
  deleteSession(data, opts) {
14037
14364
  return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
14038
- throw toKnownErr33(e);
14365
+ throw toKnownErr36(e);
14039
14366
  });
14040
14367
  }
14041
14368
  describeServer(params2, opts) {
14042
14369
  return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
14043
- throw toKnownErr34(e);
14370
+ throw toKnownErr37(e);
14044
14371
  });
14045
14372
  }
14046
14373
  getAccountInviteCodes(params2, opts) {
14047
14374
  return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
14048
- throw toKnownErr35(e);
14375
+ throw toKnownErr38(e);
14049
14376
  });
14050
14377
  }
14051
14378
  getSession(params2, opts) {
14052
14379
  return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
14053
- throw toKnownErr36(e);
14380
+ throw toKnownErr39(e);
14054
14381
  });
14055
14382
  }
14056
14383
  listAppPasswords(params2, opts) {
14057
14384
  return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
14058
- throw toKnownErr37(e);
14385
+ throw toKnownErr40(e);
14059
14386
  });
14060
14387
  }
14061
14388
  refreshSession(data, opts) {
14062
14389
  return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
14063
- throw toKnownErr38(e);
14390
+ throw toKnownErr41(e);
14064
14391
  });
14065
14392
  }
14066
14393
  requestAccountDelete(data, opts) {
14067
14394
  return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
14068
- throw toKnownErr39(e);
14395
+ throw toKnownErr42(e);
14069
14396
  });
14070
14397
  }
14071
14398
  requestPasswordReset(data, opts) {
14072
14399
  return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
14073
- throw toKnownErr40(e);
14400
+ throw toKnownErr43(e);
14074
14401
  });
14075
14402
  }
14076
14403
  resetPassword(data, opts) {
14077
14404
  return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
14078
- throw toKnownErr41(e);
14405
+ throw toKnownErr44(e);
14079
14406
  });
14080
14407
  }
14081
14408
  revokeAppPassword(data, opts) {
14082
14409
  return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
14083
- throw toKnownErr42(e);
14410
+ throw toKnownErr45(e);
14084
14411
  });
14085
14412
  }
14086
14413
  };
@@ -14090,57 +14417,57 @@ var SyncNS = class {
14090
14417
  }
14091
14418
  getBlob(params2, opts) {
14092
14419
  return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
14093
- throw toKnownErr43(e);
14420
+ throw toKnownErr46(e);
14094
14421
  });
14095
14422
  }
14096
14423
  getBlocks(params2, opts) {
14097
14424
  return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
14098
- throw toKnownErr44(e);
14425
+ throw toKnownErr47(e);
14099
14426
  });
14100
14427
  }
14101
14428
  getCheckout(params2, opts) {
14102
14429
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
14103
- throw toKnownErr45(e);
14430
+ throw toKnownErr48(e);
14104
14431
  });
14105
14432
  }
14106
14433
  getCommitPath(params2, opts) {
14107
14434
  return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
14108
- throw toKnownErr46(e);
14435
+ throw toKnownErr49(e);
14109
14436
  });
14110
14437
  }
14111
14438
  getHead(params2, opts) {
14112
14439
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
14113
- throw toKnownErr47(e);
14440
+ throw toKnownErr50(e);
14114
14441
  });
14115
14442
  }
14116
14443
  getRecord(params2, opts) {
14117
14444
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
14118
- throw toKnownErr48(e);
14445
+ throw toKnownErr51(e);
14119
14446
  });
14120
14447
  }
14121
14448
  getRepo(params2, opts) {
14122
14449
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
14123
- throw toKnownErr49(e);
14450
+ throw toKnownErr52(e);
14124
14451
  });
14125
14452
  }
14126
14453
  listBlobs(params2, opts) {
14127
14454
  return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
14128
- throw toKnownErr50(e);
14455
+ throw toKnownErr53(e);
14129
14456
  });
14130
14457
  }
14131
14458
  listRepos(params2, opts) {
14132
14459
  return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
14133
- throw toKnownErr51(e);
14460
+ throw toKnownErr54(e);
14134
14461
  });
14135
14462
  }
14136
14463
  notifyOfUpdate(params2, opts) {
14137
14464
  return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", params2, void 0, opts).catch((e) => {
14138
- throw toKnownErr52(e);
14465
+ throw toKnownErr55(e);
14139
14466
  });
14140
14467
  }
14141
14468
  requestCrawl(params2, opts) {
14142
14469
  return this._service.xrpc.call("com.atproto.sync.requestCrawl", params2, void 0, opts).catch((e) => {
14143
- throw toKnownErr53(e);
14470
+ throw toKnownErr56(e);
14144
14471
  });
14145
14472
  }
14146
14473
  };
@@ -14169,27 +14496,27 @@ var ActorNS = class {
14169
14496
  }
14170
14497
  getProfile(params2, opts) {
14171
14498
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
14172
- throw toKnownErr54(e);
14499
+ throw toKnownErr57(e);
14173
14500
  });
14174
14501
  }
14175
14502
  getProfiles(params2, opts) {
14176
14503
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
14177
- throw toKnownErr55(e);
14504
+ throw toKnownErr58(e);
14178
14505
  });
14179
14506
  }
14180
14507
  getSuggestions(params2, opts) {
14181
14508
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
14182
- throw toKnownErr56(e);
14509
+ throw toKnownErr59(e);
14183
14510
  });
14184
14511
  }
14185
14512
  searchActors(params2, opts) {
14186
14513
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
14187
- throw toKnownErr57(e);
14514
+ throw toKnownErr60(e);
14188
14515
  });
14189
14516
  }
14190
14517
  searchActorsTypeahead(params2, opts) {
14191
14518
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
14192
- throw toKnownErr58(e);
14519
+ throw toKnownErr61(e);
14193
14520
  });
14194
14521
  }
14195
14522
  };
@@ -14244,32 +14571,32 @@ var FeedNS = class {
14244
14571
  }
14245
14572
  getAuthorFeed(params2, opts) {
14246
14573
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
14247
- throw toKnownErr59(e);
14574
+ throw toKnownErr62(e);
14248
14575
  });
14249
14576
  }
14250
14577
  getLikes(params2, opts) {
14251
14578
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
14252
- throw toKnownErr60(e);
14579
+ throw toKnownErr63(e);
14253
14580
  });
14254
14581
  }
14255
14582
  getPostThread(params2, opts) {
14256
14583
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
14257
- throw toKnownErr61(e);
14584
+ throw toKnownErr64(e);
14258
14585
  });
14259
14586
  }
14260
14587
  getPosts(params2, opts) {
14261
14588
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
14262
- throw toKnownErr62(e);
14589
+ throw toKnownErr65(e);
14263
14590
  });
14264
14591
  }
14265
14592
  getRepostedBy(params2, opts) {
14266
14593
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
14267
- throw toKnownErr63(e);
14594
+ throw toKnownErr66(e);
14268
14595
  });
14269
14596
  }
14270
14597
  getTimeline(params2, opts) {
14271
14598
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
14272
- throw toKnownErr64(e);
14599
+ throw toKnownErr67(e);
14273
14600
  });
14274
14601
  }
14275
14602
  };
@@ -14387,34 +14714,77 @@ var RepostRecord = class {
14387
14714
  var GraphNS = class {
14388
14715
  constructor(service) {
14389
14716
  this._service = service;
14717
+ this.block = new BlockRecord(service);
14390
14718
  this.follow = new FollowRecord(service);
14391
14719
  }
14720
+ getBlocks(params2, opts) {
14721
+ return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
14722
+ throw toKnownErr68(e);
14723
+ });
14724
+ }
14392
14725
  getFollowers(params2, opts) {
14393
14726
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
14394
- throw toKnownErr65(e);
14727
+ throw toKnownErr69(e);
14395
14728
  });
14396
14729
  }
14397
14730
  getFollows(params2, opts) {
14398
14731
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
14399
- throw toKnownErr66(e);
14732
+ throw toKnownErr70(e);
14400
14733
  });
14401
14734
  }
14402
14735
  getMutes(params2, opts) {
14403
14736
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
14404
- throw toKnownErr67(e);
14737
+ throw toKnownErr71(e);
14405
14738
  });
14406
14739
  }
14407
14740
  muteActor(data, opts) {
14408
14741
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
14409
- throw toKnownErr68(e);
14742
+ throw toKnownErr72(e);
14410
14743
  });
14411
14744
  }
14412
14745
  unmuteActor(data, opts) {
14413
14746
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
14414
- throw toKnownErr69(e);
14747
+ throw toKnownErr73(e);
14415
14748
  });
14416
14749
  }
14417
14750
  };
14751
+ var BlockRecord = class {
14752
+ constructor(service) {
14753
+ this._service = service;
14754
+ }
14755
+ async list(params2) {
14756
+ const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
14757
+ collection: "app.bsky.graph.block",
14758
+ ...params2
14759
+ });
14760
+ return res.data;
14761
+ }
14762
+ async get(params2) {
14763
+ const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
14764
+ collection: "app.bsky.graph.block",
14765
+ ...params2
14766
+ });
14767
+ return res.data;
14768
+ }
14769
+ async create(params2, record, headers) {
14770
+ record.$type = "app.bsky.graph.block";
14771
+ const res = await this._service.xrpc.call(
14772
+ "com.atproto.repo.createRecord",
14773
+ void 0,
14774
+ { collection: "app.bsky.graph.block", ...params2, record },
14775
+ { encoding: "application/json", headers }
14776
+ );
14777
+ return res.data;
14778
+ }
14779
+ async delete(params2, headers) {
14780
+ await this._service.xrpc.call(
14781
+ "com.atproto.repo.deleteRecord",
14782
+ void 0,
14783
+ { collection: "app.bsky.graph.block", ...params2 },
14784
+ { headers }
14785
+ );
14786
+ }
14787
+ };
14418
14788
  var FollowRecord = class {
14419
14789
  constructor(service) {
14420
14790
  this._service = service;
@@ -14458,17 +14828,17 @@ var NotificationNS = class {
14458
14828
  }
14459
14829
  getUnreadCount(params2, opts) {
14460
14830
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
14461
- throw toKnownErr70(e);
14831
+ throw toKnownErr74(e);
14462
14832
  });
14463
14833
  }
14464
14834
  listNotifications(params2, opts) {
14465
14835
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
14466
- throw toKnownErr71(e);
14836
+ throw toKnownErr75(e);
14467
14837
  });
14468
14838
  }
14469
14839
  updateSeen(data, opts) {
14470
14840
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
14471
- throw toKnownErr72(e);
14841
+ throw toKnownErr76(e);
14472
14842
  });
14473
14843
  }
14474
14844
  };
@@ -14483,7 +14853,7 @@ var UnspeccedNS = class {
14483
14853
  }
14484
14854
  getPopular(params2, opts) {
14485
14855
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
14486
- throw toKnownErr73(e);
14856
+ throw toKnownErr77(e);
14487
14857
  });
14488
14858
  }
14489
14859
  };