@atproto/api 0.0.6 → 0.0.7

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 (257) hide show
  1. package/dist/client/index.d.ts +72 -44
  2. package/dist/client/lexicons.d.ts +1034 -398
  3. package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -2
  4. package/dist/client/types/app/bsky/actor/search.d.ts +1 -1
  5. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +1 -1
  6. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -1
  7. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +1 -8
  8. package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -0
  9. package/dist/client/types/app/bsky/notification/list.d.ts +1 -1
  10. package/dist/client/types/app/bsky/system/declRef.d.ts +1 -1
  11. package/dist/client/types/app/bsky/system/declaration.d.ts +1 -1
  12. package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
  13. package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
  14. package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
  15. package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +23 -0
  16. package/dist/client/types/com/atproto/admin/getRecord.d.ts +17 -0
  17. package/dist/client/types/com/atproto/admin/getRepo.d.ts +16 -0
  18. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +49 -0
  19. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
  20. package/dist/client/types/com/atproto/admin/record.d.ts +40 -0
  21. package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
  22. package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +22 -0
  23. package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
  24. package/dist/client/types/com/atproto/admin/searchRepos.d.ts +22 -0
  25. package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +28 -0
  26. package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
  27. package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
  28. package/dist/client/types/com/atproto/report/create.d.ts +39 -0
  29. package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
  30. package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
  31. package/dist/client/types/com/atproto/session/create.d.ts +5 -2
  32. package/dist/client/types/com/atproto/session/refresh.d.ts +4 -1
  33. package/dist/client/types/com/atproto/sync/getCheckout.d.ts +15 -0
  34. package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
  35. package/dist/client/types/com/atproto/sync/getHead.d.ts +18 -0
  36. package/dist/client/types/com/atproto/sync/getRecord.d.ts +17 -0
  37. package/dist/index.js +1990 -990
  38. package/dist/index.js.map +4 -4
  39. package/dist/src/client/index.d.ts +474 -0
  40. package/dist/src/client/lexicons.d.ts +3036 -0
  41. package/dist/src/client/schemas.d.ts +17 -0
  42. package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
  43. package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
  44. package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
  45. package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
  46. package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
  47. package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
  48. package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
  49. package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
  50. package/dist/src/client/types/app/bsky/administration/moderationAction.d.ts +16 -0
  51. package/dist/src/client/types/app/bsky/administration/reverseModerationAction.d.ts +22 -0
  52. package/dist/src/client/types/app/bsky/administration/takeModerationAction.d.ts +27 -0
  53. package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
  54. package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
  55. package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
  56. package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
  57. package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
  58. package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
  59. package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
  60. package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
  61. package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
  62. package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
  63. package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
  64. package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
  65. package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
  66. package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +15 -0
  67. package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
  68. package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
  69. package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
  70. package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
  71. package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
  72. package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
  73. package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
  74. package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
  75. package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
  76. package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
  77. package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
  78. package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
  79. package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
  80. package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
  81. package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
  82. package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
  83. package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
  84. package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
  85. package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
  86. package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
  87. package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
  88. package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
  89. package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
  90. package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
  91. package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
  92. package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
  93. package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
  94. package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
  95. package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
  96. package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
  97. package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
  98. package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
  99. package/dist/src/client/types/app/bsky/like.d.ts +10 -0
  100. package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
  101. package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
  102. package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
  103. package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
  104. package/dist/src/client/types/app/bsky/post.d.ts +23 -0
  105. package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
  106. package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
  107. package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
  108. package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
  109. package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
  110. package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
  111. package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
  112. package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
  113. package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
  114. package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
  115. package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
  116. package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
  117. package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
  118. package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
  119. package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
  120. package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
  121. package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
  122. package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
  123. package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
  124. package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
  125. package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
  126. package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
  127. package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
  128. package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
  129. package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
  130. package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
  131. package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
  132. package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
  133. package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
  134. package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
  135. package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
  136. package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
  137. package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
  138. package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
  139. package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
  140. package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
  141. package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
  142. package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
  143. package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
  144. package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
  145. package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
  146. package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
  147. package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
  148. package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
  149. package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
  150. package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
  151. package/dist/src/client/types/com/atproto/session/create.d.ts +29 -0
  152. package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
  153. package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
  154. package/dist/src/client/types/com/atproto/session/refresh.d.ts +24 -0
  155. package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
  156. package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
  157. package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
  158. package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
  159. package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
  160. package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
  161. package/dist/src/index.d.ts +4 -0
  162. package/dist/src/schemas.d.ts +19 -0
  163. package/dist/src/session.d.ts +42 -0
  164. package/dist/src/types/app/bsky/badge.d.ts +22 -0
  165. package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
  166. package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
  167. package/dist/src/types/app/bsky/declaration.d.ts +6 -0
  168. package/dist/src/types/app/bsky/follow.d.ts +9 -0
  169. package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
  170. package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
  171. package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
  172. package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
  173. package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
  174. package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
  175. package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
  176. package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
  177. package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
  178. package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
  179. package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
  180. package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
  181. package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
  182. package/dist/src/types/app/bsky/invite.d.ts +10 -0
  183. package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
  184. package/dist/src/types/app/bsky/like.d.ts +10 -0
  185. package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
  186. package/dist/src/types/app/bsky/post.d.ts +23 -0
  187. package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
  188. package/dist/src/types/app/bsky/profile.d.ts +11 -0
  189. package/dist/src/types/app/bsky/repost.d.ts +10 -0
  190. package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
  191. package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
  192. package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
  193. package/dist/src/types/com/atproto/createSession.d.ts +23 -0
  194. package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
  195. package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
  196. package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
  197. package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
  198. package/dist/src/types/com/atproto/getSession.d.ts +17 -0
  199. package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
  200. package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
  201. package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
  202. package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
  203. package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
  204. package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
  205. package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
  206. package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
  207. package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
  208. package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
  209. package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
  210. package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
  211. package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
  212. package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
  213. package/dist/tsconfig.build.tsbuildinfo +1 -0
  214. package/package.json +1 -1
  215. package/src/client/index.ts +236 -142
  216. package/src/client/lexicons.ts +1151 -443
  217. package/src/client/types/app/bsky/actor/getProfile.ts +0 -2
  218. package/src/client/types/app/bsky/actor/search.ts +1 -1
  219. package/src/client/types/app/bsky/actor/searchTypeahead.ts +1 -1
  220. package/src/client/types/app/bsky/actor/updateProfile.ts +0 -1
  221. package/src/client/types/app/bsky/feed/feedViewPost.ts +1 -19
  222. package/src/client/types/app/bsky/graph/getFollows.ts +1 -0
  223. package/src/client/types/app/bsky/notification/list.ts +1 -2
  224. package/src/client/types/app/bsky/system/declRef.ts +1 -4
  225. package/src/client/types/app/bsky/system/declaration.ts +1 -4
  226. package/src/client/types/com/atproto/admin/getModerationAction.ts +31 -0
  227. package/src/client/types/com/atproto/admin/getModerationActions.ts +38 -0
  228. package/src/client/types/com/atproto/admin/getModerationReport.ts +31 -0
  229. package/src/client/types/com/atproto/admin/getModerationReports.ts +39 -0
  230. package/src/client/types/com/atproto/admin/getRecord.ts +32 -0
  231. package/src/client/types/com/atproto/admin/getRepo.ts +31 -0
  232. package/src/client/types/com/atproto/admin/moderationAction.ts +99 -0
  233. package/src/client/types/com/atproto/admin/moderationReport.ts +64 -0
  234. package/src/client/types/com/atproto/admin/record.ts +89 -0
  235. package/src/client/types/com/atproto/admin/repo.ts +103 -0
  236. package/src/client/types/com/atproto/admin/resolveModerationReports.ts +37 -0
  237. package/src/client/types/com/atproto/admin/reverseModerationAction.ts +37 -0
  238. package/src/client/types/com/atproto/admin/searchRepos.ts +38 -0
  239. package/src/client/types/com/atproto/admin/takeModerationAction.ts +47 -0
  240. package/src/client/types/com/atproto/repo/recordRef.ts +25 -0
  241. package/src/client/types/com/atproto/repo/repoRef.ts +24 -0
  242. package/src/client/types/com/atproto/report/create.ts +54 -0
  243. package/src/client/types/com/atproto/report/reasonType.ts +16 -0
  244. package/src/client/types/com/atproto/report/subject.ts +66 -0
  245. package/src/client/types/com/atproto/session/create.ts +9 -1
  246. package/src/client/types/com/atproto/session/refresh.ts +7 -0
  247. package/src/client/types/com/atproto/sync/{updateRepo.ts → getCheckout.ts} +4 -3
  248. package/src/client/types/com/atproto/sync/getCommitPath.ts +39 -0
  249. package/src/client/types/com/atproto/sync/{getRoot.ts → getHead.ts} +0 -0
  250. package/src/client/types/com/atproto/sync/getRecord.ts +34 -0
  251. package/tsconfig.build.tsbuildinfo +1 -1
  252. package/src/client/types/app/bsky/actor/createScene.ts +0 -55
  253. package/src/client/types/app/bsky/feed/trend.ts +0 -26
  254. package/src/client/types/app/bsky/graph/getAssertions.ts +0 -85
  255. package/src/client/types/app/bsky/graph/getMembers.ts +0 -62
  256. package/src/client/types/app/bsky/graph/getMemberships.ts +0 -62
  257. package/src/client/types/app/bsky/system/actorScene.ts +0 -9
@@ -182,6 +182,811 @@ export const schemaDict = {
182
182
  },
183
183
  },
184
184
  },
185
+ ComAtprotoAdminGetModerationAction: {
186
+ lexicon: 1,
187
+ id: 'com.atproto.admin.getModerationAction',
188
+ defs: {
189
+ main: {
190
+ type: 'query',
191
+ description: 'View details about a moderation action.',
192
+ parameters: {
193
+ type: 'params',
194
+ required: ['id'],
195
+ properties: {
196
+ id: {
197
+ type: 'number',
198
+ },
199
+ },
200
+ },
201
+ output: {
202
+ encoding: 'application/json',
203
+ schema: {
204
+ type: 'ref',
205
+ ref: 'lex:com.atproto.admin.moderationAction#viewDetail',
206
+ },
207
+ },
208
+ },
209
+ },
210
+ },
211
+ ComAtprotoAdminGetModerationActions: {
212
+ lexicon: 1,
213
+ id: 'com.atproto.admin.getModerationActions',
214
+ defs: {
215
+ main: {
216
+ type: 'query',
217
+ description: 'List moderation actions related to a subject.',
218
+ parameters: {
219
+ type: 'params',
220
+ properties: {
221
+ subject: {
222
+ type: 'string',
223
+ },
224
+ limit: {
225
+ type: 'integer',
226
+ minimum: 1,
227
+ maximum: 100,
228
+ default: 50,
229
+ },
230
+ before: {
231
+ type: 'string',
232
+ },
233
+ },
234
+ },
235
+ output: {
236
+ encoding: 'application/json',
237
+ schema: {
238
+ type: 'object',
239
+ required: ['actions'],
240
+ properties: {
241
+ cursor: {
242
+ type: 'string',
243
+ },
244
+ actions: {
245
+ type: 'array',
246
+ items: {
247
+ type: 'ref',
248
+ ref: 'lex:com.atproto.admin.moderationAction#view',
249
+ },
250
+ },
251
+ },
252
+ },
253
+ },
254
+ },
255
+ },
256
+ },
257
+ ComAtprotoAdminGetModerationReport: {
258
+ lexicon: 1,
259
+ id: 'com.atproto.admin.getModerationReport',
260
+ defs: {
261
+ main: {
262
+ type: 'query',
263
+ description: 'View details about a moderation report.',
264
+ parameters: {
265
+ type: 'params',
266
+ required: ['id'],
267
+ properties: {
268
+ id: {
269
+ type: 'number',
270
+ },
271
+ },
272
+ },
273
+ output: {
274
+ encoding: 'application/json',
275
+ schema: {
276
+ type: 'ref',
277
+ ref: 'lex:com.atproto.admin.moderationReport#viewDetail',
278
+ },
279
+ },
280
+ },
281
+ },
282
+ },
283
+ ComAtprotoAdminGetModerationReports: {
284
+ lexicon: 1,
285
+ id: 'com.atproto.admin.getModerationReports',
286
+ defs: {
287
+ main: {
288
+ type: 'query',
289
+ description: 'List moderation reports related to a subject.',
290
+ parameters: {
291
+ type: 'params',
292
+ properties: {
293
+ subject: {
294
+ type: 'string',
295
+ },
296
+ resolved: {
297
+ type: 'boolean',
298
+ },
299
+ limit: {
300
+ type: 'integer',
301
+ minimum: 1,
302
+ maximum: 100,
303
+ default: 50,
304
+ },
305
+ before: {
306
+ type: 'string',
307
+ },
308
+ },
309
+ },
310
+ output: {
311
+ encoding: 'application/json',
312
+ schema: {
313
+ type: 'object',
314
+ required: ['reports'],
315
+ properties: {
316
+ cursor: {
317
+ type: 'string',
318
+ },
319
+ reports: {
320
+ type: 'array',
321
+ items: {
322
+ type: 'ref',
323
+ ref: 'lex:com.atproto.admin.moderationReport#view',
324
+ },
325
+ },
326
+ },
327
+ },
328
+ },
329
+ },
330
+ },
331
+ },
332
+ ComAtprotoAdminGetRecord: {
333
+ lexicon: 1,
334
+ id: 'com.atproto.admin.getRecord',
335
+ defs: {
336
+ main: {
337
+ type: 'query',
338
+ description: 'View details about a record.',
339
+ parameters: {
340
+ type: 'params',
341
+ required: ['uri'],
342
+ properties: {
343
+ uri: {
344
+ type: 'string',
345
+ },
346
+ cid: {
347
+ type: 'string',
348
+ },
349
+ },
350
+ },
351
+ output: {
352
+ encoding: 'application/json',
353
+ schema: {
354
+ type: 'ref',
355
+ ref: 'lex:com.atproto.admin.record#viewDetail',
356
+ },
357
+ },
358
+ },
359
+ },
360
+ },
361
+ ComAtprotoAdminGetRepo: {
362
+ lexicon: 1,
363
+ id: 'com.atproto.admin.getRepo',
364
+ defs: {
365
+ main: {
366
+ type: 'query',
367
+ description: 'View details about a repository.',
368
+ parameters: {
369
+ type: 'params',
370
+ required: ['did'],
371
+ properties: {
372
+ did: {
373
+ type: 'string',
374
+ },
375
+ },
376
+ },
377
+ output: {
378
+ encoding: 'application/json',
379
+ schema: {
380
+ type: 'ref',
381
+ ref: 'lex:com.atproto.admin.repo#viewDetail',
382
+ },
383
+ },
384
+ },
385
+ },
386
+ },
387
+ ComAtprotoAdminModerationAction: {
388
+ lexicon: 1,
389
+ id: 'com.atproto.admin.moderationAction',
390
+ defs: {
391
+ view: {
392
+ type: 'object',
393
+ required: [
394
+ 'id',
395
+ 'action',
396
+ 'subject',
397
+ 'reason',
398
+ 'createdBy',
399
+ 'createdAt',
400
+ 'resolvedReportIds',
401
+ ],
402
+ properties: {
403
+ id: {
404
+ type: 'integer',
405
+ },
406
+ action: {
407
+ type: 'string',
408
+ knownValues: [
409
+ 'com.atproto.admin.moderationAction#takedown',
410
+ 'com.atproto.admin.moderationAction#flag',
411
+ 'com.atproto.admin.moderationAction#acknowledge',
412
+ ],
413
+ },
414
+ subject: {
415
+ type: 'union',
416
+ refs: [
417
+ 'lex:com.atproto.repo.repoRef',
418
+ 'lex:com.atproto.repo.strongRef',
419
+ ],
420
+ },
421
+ reason: {
422
+ type: 'string',
423
+ },
424
+ createdBy: {
425
+ type: 'string',
426
+ },
427
+ createdAt: {
428
+ type: 'string',
429
+ },
430
+ reversal: {
431
+ type: 'ref',
432
+ ref: 'lex:com.atproto.admin.moderationAction#reversal',
433
+ },
434
+ resolvedReportIds: {
435
+ type: 'array',
436
+ items: {
437
+ type: 'integer',
438
+ },
439
+ },
440
+ },
441
+ },
442
+ viewDetail: {
443
+ type: 'object',
444
+ required: [
445
+ 'id',
446
+ 'action',
447
+ 'subject',
448
+ 'reason',
449
+ 'createdBy',
450
+ 'createdAt',
451
+ 'resolvedReports',
452
+ ],
453
+ properties: {
454
+ id: {
455
+ type: 'integer',
456
+ },
457
+ action: {
458
+ type: 'string',
459
+ knownValues: [
460
+ 'com.atproto.admin.moderationAction#takedown',
461
+ 'com.atproto.admin.moderationAction#flag',
462
+ 'com.atproto.admin.moderationAction#acknowledge',
463
+ ],
464
+ },
465
+ subject: {
466
+ type: 'union',
467
+ refs: [
468
+ 'lex:com.atproto.admin.repo#view',
469
+ 'lex:com.atproto.admin.record#view',
470
+ ],
471
+ },
472
+ reason: {
473
+ type: 'string',
474
+ },
475
+ createdBy: {
476
+ type: 'string',
477
+ },
478
+ createdAt: {
479
+ type: 'string',
480
+ },
481
+ reversal: {
482
+ type: 'ref',
483
+ ref: 'lex:com.atproto.admin.moderationAction#reversal',
484
+ },
485
+ resolvedReports: {
486
+ type: 'array',
487
+ items: {
488
+ type: 'ref',
489
+ ref: 'lex:com.atproto.admin.moderationReport#view',
490
+ },
491
+ },
492
+ },
493
+ },
494
+ reversal: {
495
+ type: 'object',
496
+ required: ['reason', 'createdBy', 'createdAt'],
497
+ properties: {
498
+ reason: {
499
+ type: 'string',
500
+ },
501
+ createdBy: {
502
+ type: 'string',
503
+ },
504
+ createdAt: {
505
+ type: 'string',
506
+ },
507
+ },
508
+ },
509
+ takedown: {
510
+ type: 'token',
511
+ description:
512
+ 'Moderation action type: Takedown. Indicates that content should not be served by the PDS.',
513
+ },
514
+ flag: {
515
+ type: 'token',
516
+ description:
517
+ 'Moderation action type: Flag. Indicates that the content was reviewed and considered to violate PDS rules, but may still be served.',
518
+ },
519
+ acknowledge: {
520
+ type: 'token',
521
+ description:
522
+ 'Moderation action type: Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules.',
523
+ },
524
+ },
525
+ },
526
+ ComAtprotoAdminModerationReport: {
527
+ lexicon: 1,
528
+ id: 'com.atproto.admin.moderationReport',
529
+ defs: {
530
+ view: {
531
+ type: 'object',
532
+ required: [
533
+ 'id',
534
+ 'reasonType',
535
+ 'subject',
536
+ 'reportedByDid',
537
+ 'createdAt',
538
+ 'resolvedByActionIds',
539
+ ],
540
+ properties: {
541
+ id: {
542
+ type: 'integer',
543
+ },
544
+ reasonType: {
545
+ type: 'ref',
546
+ ref: 'lex:com.atproto.report.reasonType',
547
+ },
548
+ reason: {
549
+ type: 'string',
550
+ },
551
+ subject: {
552
+ type: 'union',
553
+ refs: [
554
+ 'lex:com.atproto.repo.repoRef',
555
+ 'lex:com.atproto.repo.strongRef',
556
+ ],
557
+ },
558
+ reportedByDid: {
559
+ type: 'string',
560
+ },
561
+ createdAt: {
562
+ type: 'datetime',
563
+ },
564
+ resolvedByActionIds: {
565
+ type: 'array',
566
+ items: {
567
+ type: 'integer',
568
+ },
569
+ },
570
+ },
571
+ },
572
+ viewDetail: {
573
+ type: 'object',
574
+ required: [
575
+ 'id',
576
+ 'reasonType',
577
+ 'subject',
578
+ 'reportedByDid',
579
+ 'createdAt',
580
+ 'resolvedByActions',
581
+ ],
582
+ properties: {
583
+ id: {
584
+ type: 'integer',
585
+ },
586
+ reasonType: {
587
+ type: 'ref',
588
+ ref: 'lex:com.atproto.report.reasonType',
589
+ },
590
+ reason: {
591
+ type: 'string',
592
+ },
593
+ subject: {
594
+ type: 'union',
595
+ refs: [
596
+ 'lex:com.atproto.admin.repo#view',
597
+ 'lex:com.atproto.admin.record#view',
598
+ ],
599
+ },
600
+ reportedByDid: {
601
+ type: 'string',
602
+ },
603
+ createdAt: {
604
+ type: 'datetime',
605
+ },
606
+ resolvedByActions: {
607
+ type: 'array',
608
+ items: {
609
+ type: 'ref',
610
+ ref: 'lex:com.atproto.admin.moderationAction#view',
611
+ },
612
+ },
613
+ },
614
+ },
615
+ },
616
+ },
617
+ ComAtprotoAdminRecord: {
618
+ lexicon: 1,
619
+ id: 'com.atproto.admin.record',
620
+ defs: {
621
+ view: {
622
+ type: 'object',
623
+ required: ['uri', 'cid', 'value', 'indexedAt', 'moderation', 'repo'],
624
+ properties: {
625
+ uri: {
626
+ type: 'string',
627
+ },
628
+ cid: {
629
+ type: 'string',
630
+ },
631
+ value: {
632
+ type: 'unknown',
633
+ },
634
+ indexedAt: {
635
+ type: 'string',
636
+ },
637
+ moderation: {
638
+ type: 'ref',
639
+ ref: 'lex:com.atproto.admin.record#moderation',
640
+ },
641
+ repo: {
642
+ type: 'ref',
643
+ ref: 'lex:com.atproto.admin.repo#view',
644
+ },
645
+ },
646
+ },
647
+ viewDetail: {
648
+ type: 'object',
649
+ required: ['uri', 'cid', 'value', 'indexedAt', 'moderation', 'repo'],
650
+ properties: {
651
+ uri: {
652
+ type: 'string',
653
+ },
654
+ cid: {
655
+ type: 'string',
656
+ },
657
+ value: {
658
+ type: 'unknown',
659
+ },
660
+ indexedAt: {
661
+ type: 'string',
662
+ },
663
+ moderation: {
664
+ type: 'ref',
665
+ ref: 'lex:com.atproto.admin.record#moderationDetail',
666
+ },
667
+ repo: {
668
+ type: 'ref',
669
+ ref: 'lex:com.atproto.admin.repo#view',
670
+ },
671
+ },
672
+ },
673
+ moderation: {
674
+ type: 'object',
675
+ required: [],
676
+ properties: {
677
+ takedownId: {
678
+ type: 'integer',
679
+ },
680
+ },
681
+ },
682
+ moderationDetail: {
683
+ type: 'object',
684
+ required: ['actions', 'reports'],
685
+ properties: {
686
+ actions: {
687
+ type: 'array',
688
+ items: {
689
+ type: 'ref',
690
+ ref: 'lex:com.atproto.admin.moderationAction#view',
691
+ },
692
+ },
693
+ reports: {
694
+ type: 'array',
695
+ items: {
696
+ type: 'ref',
697
+ ref: 'lex:com.atproto.admin.moderationReport#view',
698
+ },
699
+ },
700
+ takedownId: {
701
+ type: 'integer',
702
+ },
703
+ },
704
+ },
705
+ },
706
+ },
707
+ ComAtprotoAdminRepo: {
708
+ lexicon: 1,
709
+ id: 'com.atproto.admin.repo',
710
+ defs: {
711
+ view: {
712
+ type: 'object',
713
+ required: [
714
+ 'did',
715
+ 'handle',
716
+ 'relatedRecords',
717
+ 'indexedAt',
718
+ 'moderation',
719
+ ],
720
+ properties: {
721
+ did: {
722
+ type: 'string',
723
+ },
724
+ handle: {
725
+ type: 'string',
726
+ },
727
+ account: {
728
+ type: 'ref',
729
+ ref: 'lex:com.atproto.admin.repo#account',
730
+ },
731
+ relatedRecords: {
732
+ type: 'array',
733
+ items: {
734
+ type: 'unknown',
735
+ },
736
+ },
737
+ indexedAt: {
738
+ type: 'string',
739
+ },
740
+ moderation: {
741
+ type: 'ref',
742
+ ref: 'lex:com.atproto.admin.repo#moderation',
743
+ },
744
+ },
745
+ },
746
+ viewDetail: {
747
+ type: 'object',
748
+ required: [
749
+ 'did',
750
+ 'handle',
751
+ 'relatedRecords',
752
+ 'indexedAt',
753
+ 'moderation',
754
+ ],
755
+ properties: {
756
+ did: {
757
+ type: 'string',
758
+ },
759
+ handle: {
760
+ type: 'string',
761
+ },
762
+ account: {
763
+ type: 'ref',
764
+ ref: 'lex:com.atproto.admin.repo#account',
765
+ },
766
+ relatedRecords: {
767
+ type: 'array',
768
+ items: {
769
+ type: 'unknown',
770
+ },
771
+ },
772
+ indexedAt: {
773
+ type: 'string',
774
+ },
775
+ moderation: {
776
+ type: 'ref',
777
+ ref: 'lex:com.atproto.admin.repo#moderationDetail',
778
+ },
779
+ },
780
+ },
781
+ account: {
782
+ type: 'object',
783
+ required: ['email'],
784
+ properties: {
785
+ email: {
786
+ type: 'string',
787
+ },
788
+ },
789
+ },
790
+ moderation: {
791
+ type: 'object',
792
+ required: [],
793
+ properties: {
794
+ takedownId: {
795
+ type: 'integer',
796
+ },
797
+ },
798
+ },
799
+ moderationDetail: {
800
+ type: 'object',
801
+ required: ['actions', 'reports'],
802
+ properties: {
803
+ actions: {
804
+ type: 'array',
805
+ items: {
806
+ type: 'ref',
807
+ ref: 'lex:com.atproto.admin.moderationAction#view',
808
+ },
809
+ },
810
+ reports: {
811
+ type: 'array',
812
+ items: {
813
+ type: 'ref',
814
+ ref: 'lex:com.atproto.admin.moderationReport#view',
815
+ },
816
+ },
817
+ takedownId: {
818
+ type: 'integer',
819
+ },
820
+ },
821
+ },
822
+ },
823
+ },
824
+ ComAtprotoAdminResolveModerationReports: {
825
+ lexicon: 1,
826
+ id: 'com.atproto.admin.resolveModerationReports',
827
+ defs: {
828
+ main: {
829
+ type: 'procedure',
830
+ description: 'Resolve moderation reports by an action.',
831
+ input: {
832
+ encoding: 'application/json',
833
+ schema: {
834
+ type: 'object',
835
+ required: ['actionId', 'reportIds', 'createdBy'],
836
+ properties: {
837
+ actionId: {
838
+ type: 'integer',
839
+ },
840
+ reportIds: {
841
+ type: 'array',
842
+ items: {
843
+ type: 'integer',
844
+ },
845
+ },
846
+ createdBy: {
847
+ type: 'string',
848
+ },
849
+ },
850
+ },
851
+ },
852
+ output: {
853
+ encoding: 'application/json',
854
+ schema: {
855
+ type: 'ref',
856
+ ref: 'lex:com.atproto.admin.moderationAction#view',
857
+ },
858
+ },
859
+ },
860
+ },
861
+ },
862
+ ComAtprotoAdminReverseModerationAction: {
863
+ lexicon: 1,
864
+ id: 'com.atproto.admin.reverseModerationAction',
865
+ defs: {
866
+ main: {
867
+ type: 'procedure',
868
+ description: 'Reverse a moderation action.',
869
+ input: {
870
+ encoding: 'application/json',
871
+ schema: {
872
+ type: 'object',
873
+ required: ['id', 'reason', 'createdBy'],
874
+ properties: {
875
+ id: {
876
+ type: 'integer',
877
+ },
878
+ reason: {
879
+ type: 'string',
880
+ },
881
+ createdBy: {
882
+ type: 'string',
883
+ },
884
+ },
885
+ },
886
+ },
887
+ output: {
888
+ encoding: 'application/json',
889
+ schema: {
890
+ type: 'ref',
891
+ ref: 'lex:com.atproto.admin.moderationAction#view',
892
+ },
893
+ },
894
+ },
895
+ },
896
+ },
897
+ ComAtprotoAdminSearchRepos: {
898
+ lexicon: 1,
899
+ id: 'com.atproto.admin.searchRepos',
900
+ defs: {
901
+ main: {
902
+ type: 'query',
903
+ description: 'Find repositories based on a search term.',
904
+ parameters: {
905
+ type: 'params',
906
+ properties: {
907
+ term: {
908
+ type: 'string',
909
+ },
910
+ limit: {
911
+ type: 'integer',
912
+ minimum: 1,
913
+ maximum: 100,
914
+ default: 50,
915
+ },
916
+ before: {
917
+ type: 'string',
918
+ },
919
+ },
920
+ },
921
+ output: {
922
+ encoding: 'application/json',
923
+ schema: {
924
+ type: 'object',
925
+ required: ['repos'],
926
+ properties: {
927
+ cursor: {
928
+ type: 'string',
929
+ },
930
+ repos: {
931
+ type: 'array',
932
+ items: {
933
+ type: 'ref',
934
+ ref: 'lex:com.atproto.admin.repo#view',
935
+ },
936
+ },
937
+ },
938
+ },
939
+ },
940
+ },
941
+ },
942
+ },
943
+ ComAtprotoAdminTakeModerationAction: {
944
+ lexicon: 1,
945
+ id: 'com.atproto.admin.takeModerationAction',
946
+ defs: {
947
+ main: {
948
+ type: 'procedure',
949
+ description: 'Take a moderation action on a repo.',
950
+ input: {
951
+ encoding: 'application/json',
952
+ schema: {
953
+ type: 'object',
954
+ required: ['action', 'subject', 'reason', 'createdBy'],
955
+ properties: {
956
+ action: {
957
+ type: 'string',
958
+ knownValues: [
959
+ 'com.atproto.admin.moderationAction#takedown',
960
+ 'com.atproto.admin.moderationAction#flag',
961
+ 'com.atproto.admin.moderationAction#acknowledge',
962
+ ],
963
+ },
964
+ subject: {
965
+ type: 'union',
966
+ refs: [
967
+ 'lex:com.atproto.repo.repoRef',
968
+ 'lex:com.atproto.repo.recordRef',
969
+ ],
970
+ },
971
+ reason: {
972
+ type: 'string',
973
+ },
974
+ createdBy: {
975
+ type: 'string',
976
+ },
977
+ },
978
+ },
979
+ },
980
+ output: {
981
+ encoding: 'application/json',
982
+ schema: {
983
+ type: 'ref',
984
+ ref: 'lex:com.atproto.admin.moderationAction#view',
985
+ },
986
+ },
987
+ },
988
+ },
989
+ },
185
990
  ComAtprotoBlobUpload: {
186
991
  lexicon: 1,
187
992
  id: 'com.atproto.blob.upload',
@@ -581,9 +1386,121 @@ export const schemaDict = {
581
1386
  },
582
1387
  },
583
1388
  },
584
- record: {
1389
+ record: {
1390
+ type: 'object',
1391
+ required: ['uri', 'cid', 'value'],
1392
+ properties: {
1393
+ uri: {
1394
+ type: 'string',
1395
+ },
1396
+ cid: {
1397
+ type: 'string',
1398
+ },
1399
+ value: {
1400
+ type: 'unknown',
1401
+ },
1402
+ },
1403
+ },
1404
+ },
1405
+ },
1406
+ ComAtprotoRepoPutRecord: {
1407
+ lexicon: 1,
1408
+ id: 'com.atproto.repo.putRecord',
1409
+ defs: {
1410
+ main: {
1411
+ type: 'procedure',
1412
+ description: 'Write a record.',
1413
+ input: {
1414
+ encoding: 'application/json',
1415
+ schema: {
1416
+ type: 'object',
1417
+ required: ['did', 'collection', 'rkey', 'record'],
1418
+ properties: {
1419
+ did: {
1420
+ type: 'string',
1421
+ description: 'The DID of the repo.',
1422
+ },
1423
+ collection: {
1424
+ type: 'string',
1425
+ description: 'The NSID of the record type.',
1426
+ },
1427
+ rkey: {
1428
+ type: 'string',
1429
+ description: 'The TID of the record.',
1430
+ },
1431
+ validate: {
1432
+ type: 'boolean',
1433
+ default: true,
1434
+ description: 'Validate the record?',
1435
+ },
1436
+ record: {
1437
+ type: 'unknown',
1438
+ description: 'The record to create.',
1439
+ },
1440
+ },
1441
+ },
1442
+ },
1443
+ output: {
1444
+ encoding: 'application/json',
1445
+ schema: {
1446
+ type: 'object',
1447
+ required: ['uri', 'cid'],
1448
+ properties: {
1449
+ uri: {
1450
+ type: 'string',
1451
+ },
1452
+ cid: {
1453
+ type: 'string',
1454
+ },
1455
+ },
1456
+ },
1457
+ },
1458
+ },
1459
+ },
1460
+ },
1461
+ ComAtprotoRepoRecordRef: {
1462
+ lexicon: 1,
1463
+ id: 'com.atproto.repo.recordRef',
1464
+ description: 'A URI with optional content-hash fingerprint.',
1465
+ defs: {
1466
+ main: {
1467
+ type: 'object',
1468
+ required: ['uri'],
1469
+ properties: {
1470
+ uri: {
1471
+ type: 'string',
1472
+ },
1473
+ cid: {
1474
+ type: 'string',
1475
+ },
1476
+ },
1477
+ },
1478
+ },
1479
+ },
1480
+ ComAtprotoRepoRepoRef: {
1481
+ lexicon: 1,
1482
+ id: 'com.atproto.repo.repoRef',
1483
+ description: 'A did identifying a repository.',
1484
+ defs: {
1485
+ main: {
1486
+ type: 'object',
1487
+ required: ['did'],
1488
+ properties: {
1489
+ did: {
1490
+ type: 'string',
1491
+ },
1492
+ },
1493
+ },
1494
+ },
1495
+ },
1496
+ ComAtprotoRepoStrongRef: {
1497
+ lexicon: 1,
1498
+ id: 'com.atproto.repo.strongRef',
1499
+ description: 'A URI with a content-hash fingerprint.',
1500
+ defs: {
1501
+ main: {
585
1502
  type: 'object',
586
- required: ['uri', 'cid', 'value'],
1503
+ required: ['uri', 'cid'],
587
1504
  properties: {
588
1505
  uri: {
589
1506
  type: 'string',
@@ -591,46 +1508,36 @@ export const schemaDict = {
591
1508
  cid: {
592
1509
  type: 'string',
593
1510
  },
594
- value: {
595
- type: 'unknown',
596
- },
597
1511
  },
598
1512
  },
599
1513
  },
600
1514
  },
601
- ComAtprotoRepoPutRecord: {
1515
+ ComAtprotoReportCreate: {
602
1516
  lexicon: 1,
603
- id: 'com.atproto.repo.putRecord',
1517
+ id: 'com.atproto.report.create',
604
1518
  defs: {
605
1519
  main: {
606
1520
  type: 'procedure',
607
- description: 'Write a record.',
1521
+ description: 'Report a repo or a record.',
608
1522
  input: {
609
1523
  encoding: 'application/json',
610
1524
  schema: {
611
1525
  type: 'object',
612
- required: ['did', 'collection', 'rkey', 'record'],
1526
+ required: ['reasonType', 'subject'],
613
1527
  properties: {
614
- did: {
615
- type: 'string',
616
- description: 'The DID of the repo.',
617
- },
618
- collection: {
619
- type: 'string',
620
- description: 'The NSID of the record type.',
1528
+ reasonType: {
1529
+ type: 'ref',
1530
+ ref: 'lex:com.atproto.report.reasonType',
621
1531
  },
622
- rkey: {
1532
+ reason: {
623
1533
  type: 'string',
624
- description: 'The TID of the record.',
625
- },
626
- validate: {
627
- type: 'boolean',
628
- default: true,
629
- description: 'Validate the record?',
630
1534
  },
631
- record: {
632
- type: 'unknown',
633
- description: 'The record to create.',
1535
+ subject: {
1536
+ type: 'union',
1537
+ refs: [
1538
+ 'lex:com.atproto.repo.repoRef',
1539
+ 'lex:com.atproto.repo.recordRef',
1540
+ ],
634
1541
  },
635
1542
  },
636
1543
  },
@@ -639,26 +1546,102 @@ export const schemaDict = {
639
1546
  encoding: 'application/json',
640
1547
  schema: {
641
1548
  type: 'object',
642
- required: ['uri', 'cid'],
1549
+ required: [
1550
+ 'id',
1551
+ 'reasonType',
1552
+ 'subject',
1553
+ 'reportedByDid',
1554
+ 'createdAt',
1555
+ ],
643
1556
  properties: {
644
- uri: {
1557
+ id: {
1558
+ type: 'integer',
1559
+ },
1560
+ reasonType: {
1561
+ type: 'ref',
1562
+ ref: 'lex:com.atproto.report.reasonType',
1563
+ },
1564
+ reason: {
645
1565
  type: 'string',
646
1566
  },
647
- cid: {
1567
+ subject: {
1568
+ type: 'union',
1569
+ refs: [
1570
+ 'lex:com.atproto.repo.repoRef',
1571
+ 'lex:com.atproto.repo.strongRef',
1572
+ ],
1573
+ },
1574
+ reportedByDid: {
648
1575
  type: 'string',
649
1576
  },
1577
+ createdAt: {
1578
+ type: 'datetime',
1579
+ },
650
1580
  },
651
1581
  },
652
1582
  },
653
1583
  },
654
1584
  },
655
1585
  },
656
- ComAtprotoRepoStrongRef: {
1586
+ ComAtprotoReportReasonType: {
657
1587
  lexicon: 1,
658
- id: 'com.atproto.repo.strongRef',
659
- description: 'A URI with a content-hash fingerprint.',
1588
+ id: 'com.atproto.report.reasonType',
660
1589
  defs: {
661
1590
  main: {
1591
+ type: 'string',
1592
+ knownValues: [
1593
+ 'com.atproto.report.reason#spam',
1594
+ 'com.atproto.report.reason#other',
1595
+ ],
1596
+ },
1597
+ spam: {
1598
+ type: 'token',
1599
+ description: 'Moderation report reason: Spam.',
1600
+ },
1601
+ other: {
1602
+ type: 'token',
1603
+ description: 'Moderation report reason: Other.',
1604
+ },
1605
+ },
1606
+ },
1607
+ ComAtprotoReportSubject: {
1608
+ lexicon: 1,
1609
+ id: 'com.atproto.report.subject',
1610
+ defs: {
1611
+ repo: {
1612
+ type: 'object',
1613
+ required: ['did'],
1614
+ properties: {
1615
+ did: {
1616
+ type: 'string',
1617
+ description: 'The DID of the repo.',
1618
+ },
1619
+ },
1620
+ },
1621
+ record: {
1622
+ type: 'object',
1623
+ required: ['did', 'collection', 'rkey'],
1624
+ properties: {
1625
+ did: {
1626
+ type: 'string',
1627
+ description: 'The DID of the repo.',
1628
+ },
1629
+ collection: {
1630
+ type: 'string',
1631
+ description: 'The NSID of the collection.',
1632
+ },
1633
+ rkey: {
1634
+ type: 'string',
1635
+ description: 'The key of the record.',
1636
+ },
1637
+ cid: {
1638
+ type: 'string',
1639
+ description:
1640
+ 'The CID of the version of the record. If not specified, defaults to the most recent version.',
1641
+ },
1642
+ },
1643
+ },
1644
+ recordRef: {
662
1645
  type: 'object',
663
1646
  required: ['uri', 'cid'],
664
1647
  properties: {
@@ -727,10 +1710,12 @@ export const schemaDict = {
727
1710
  encoding: 'application/json',
728
1711
  schema: {
729
1712
  type: 'object',
730
- required: ['handle', 'password'],
1713
+ required: ['password'],
731
1714
  properties: {
732
- handle: {
1715
+ identifier: {
733
1716
  type: 'string',
1717
+ description:
1718
+ 'Handle or other identifier supported by the server for the authenticating user.',
734
1719
  },
735
1720
  password: {
736
1721
  type: 'string',
@@ -759,6 +1744,11 @@ export const schemaDict = {
759
1744
  },
760
1745
  },
761
1746
  },
1747
+ errors: [
1748
+ {
1749
+ name: 'AccountTakedown',
1750
+ },
1751
+ ],
762
1752
  },
763
1753
  },
764
1754
  },
@@ -825,12 +1815,17 @@ export const schemaDict = {
825
1815
  },
826
1816
  },
827
1817
  },
1818
+ errors: [
1819
+ {
1820
+ name: 'AccountTakedown',
1821
+ },
1822
+ ],
828
1823
  },
829
1824
  },
830
1825
  },
831
- ComAtprotoSyncGetRepo: {
1826
+ ComAtprotoSyncGetCheckout: {
832
1827
  lexicon: 1,
833
- id: 'com.atproto.sync.getRepo',
1828
+ id: 'com.atproto.sync.getCheckout',
834
1829
  defs: {
835
1830
  main: {
836
1831
  type: 'query',
@@ -843,25 +1838,26 @@ export const schemaDict = {
843
1838
  type: 'string',
844
1839
  description: 'The DID of the repo.',
845
1840
  },
846
- from: {
1841
+ commit: {
847
1842
  type: 'string',
848
- description: 'A past commit CID.',
1843
+ description:
1844
+ 'The commit to get the checkout from. Defaults to current HEAD.',
849
1845
  },
850
1846
  },
851
1847
  },
852
1848
  output: {
853
- encoding: 'application/cbor',
1849
+ encoding: 'application/vnd.ipld.car',
854
1850
  },
855
1851
  },
856
1852
  },
857
1853
  },
858
- ComAtprotoSyncGetRoot: {
1854
+ ComAtprotoSyncGetCommitPath: {
859
1855
  lexicon: 1,
860
- id: 'com.atproto.sync.getRoot',
1856
+ id: 'com.atproto.sync.getCommitPath',
861
1857
  defs: {
862
1858
  main: {
863
1859
  type: 'query',
864
- description: 'Gets the current root CID of a repo.',
1860
+ description: 'Gets the path of repo commits',
865
1861
  parameters: {
866
1862
  type: 'params',
867
1863
  required: ['did'],
@@ -870,16 +1866,27 @@ export const schemaDict = {
870
1866
  type: 'string',
871
1867
  description: 'The DID of the repo.',
872
1868
  },
1869
+ latest: {
1870
+ type: 'string',
1871
+ description: 'The most recent commit',
1872
+ },
1873
+ earliest: {
1874
+ type: 'string',
1875
+ description: 'The earliest commit to start from',
1876
+ },
873
1877
  },
874
1878
  },
875
1879
  output: {
876
1880
  encoding: 'application/json',
877
1881
  schema: {
878
1882
  type: 'object',
879
- required: ['root'],
1883
+ required: ['commits'],
880
1884
  properties: {
881
- root: {
882
- type: 'string',
1885
+ commits: {
1886
+ type: 'array',
1887
+ items: {
1888
+ type: 'string',
1889
+ },
883
1890
  },
884
1891
  },
885
1892
  },
@@ -887,13 +1894,13 @@ export const schemaDict = {
887
1894
  },
888
1895
  },
889
1896
  },
890
- ComAtprotoSyncUpdateRepo: {
1897
+ ComAtprotoSyncGetHead: {
891
1898
  lexicon: 1,
892
- id: 'com.atproto.sync.updateRepo',
1899
+ id: 'com.atproto.sync.getHead',
893
1900
  defs: {
894
1901
  main: {
895
- type: 'procedure',
896
- description: 'Writes commits to a repo.',
1902
+ type: 'query',
1903
+ description: 'Gets the current HEAD CID of a repo.',
897
1904
  parameters: {
898
1905
  type: 'params',
899
1906
  required: ['did'],
@@ -904,61 +1911,79 @@ export const schemaDict = {
904
1911
  },
905
1912
  },
906
1913
  },
907
- input: {
908
- encoding: 'application/cbor',
1914
+ output: {
1915
+ encoding: 'application/json',
1916
+ schema: {
1917
+ type: 'object',
1918
+ required: ['root'],
1919
+ properties: {
1920
+ root: {
1921
+ type: 'string',
1922
+ },
1923
+ },
1924
+ },
909
1925
  },
910
1926
  },
911
1927
  },
912
1928
  },
913
- AppBskyActorCreateScene: {
1929
+ ComAtprotoSyncGetRecord: {
914
1930
  lexicon: 1,
915
- id: 'app.bsky.actor.createScene',
1931
+ id: 'com.atproto.sync.getRecord',
916
1932
  defs: {
917
1933
  main: {
918
- type: 'procedure',
919
- description: 'Create a scene.',
920
- input: {
921
- encoding: 'application/json',
922
- schema: {
923
- type: 'object',
924
- required: ['handle'],
925
- properties: {
926
- handle: {
927
- type: 'string',
928
- },
929
- recoveryKey: {
930
- type: 'string',
931
- },
1934
+ type: 'query',
1935
+ description:
1936
+ 'Gets blocks needed for existence or non-existence of record.',
1937
+ parameters: {
1938
+ type: 'params',
1939
+ required: ['did', 'collection', 'rkey'],
1940
+ properties: {
1941
+ did: {
1942
+ type: 'string',
1943
+ description: 'The DID of the repo.',
1944
+ },
1945
+ collection: {
1946
+ type: 'string',
1947
+ },
1948
+ rkey: {
1949
+ type: 'string',
1950
+ },
1951
+ commit: {
1952
+ type: 'string',
1953
+ description: 'An optional past commit CID.',
932
1954
  },
933
1955
  },
934
1956
  },
935
1957
  output: {
936
- encoding: 'application/json',
937
- schema: {
938
- type: 'object',
939
- required: ['handle', 'did', 'declaration'],
940
- properties: {
941
- handle: {
942
- type: 'string',
943
- },
944
- did: {
945
- type: 'string',
946
- },
947
- declaration: {
948
- type: 'ref',
949
- ref: 'lex:app.bsky.system.declRef',
950
- },
1958
+ encoding: 'application/vnd.ipld.car',
1959
+ },
1960
+ },
1961
+ },
1962
+ },
1963
+ ComAtprotoSyncGetRepo: {
1964
+ lexicon: 1,
1965
+ id: 'com.atproto.sync.getRepo',
1966
+ defs: {
1967
+ main: {
1968
+ type: 'query',
1969
+ description: 'Gets the repo state.',
1970
+ parameters: {
1971
+ type: 'params',
1972
+ required: ['did'],
1973
+ properties: {
1974
+ did: {
1975
+ type: 'string',
1976
+ description: 'The DID of the repo.',
1977
+ },
1978
+ from: {
1979
+ type: 'string',
1980
+ description: 'A past commit CID.',
951
1981
  },
952
1982
  },
953
1983
  },
954
- errors: [
955
- {
956
- name: 'InvalidHandle',
957
- },
958
- {
959
- name: 'HandleNotAvailable',
960
- },
961
- ],
1984
+ output: {
1985
+ encoding: 'application/vnd.ipld.car',
1986
+ },
962
1987
  },
963
1988
  },
964
1989
  },
@@ -988,7 +2013,6 @@ export const schemaDict = {
988
2013
  'creator',
989
2014
  'followersCount',
990
2015
  'followsCount',
991
- 'membersCount',
992
2016
  'postsCount',
993
2017
  ],
994
2018
  properties: {
@@ -1025,9 +2049,6 @@ export const schemaDict = {
1025
2049
  followsCount: {
1026
2050
  type: 'integer',
1027
2051
  },
1028
- membersCount: {
1029
- type: 'integer',
1030
- },
1031
2052
  postsCount: {
1032
2053
  type: 'integer',
1033
2054
  },
@@ -1045,9 +2066,6 @@ export const schemaDict = {
1045
2066
  follow: {
1046
2067
  type: 'string',
1047
2068
  },
1048
- member: {
1049
- type: 'string',
1050
- },
1051
2069
  muted: {
1052
2070
  type: 'boolean',
1053
2071
  },
@@ -1241,7 +2259,6 @@ export const schemaDict = {
1241
2259
  description: 'Find users matching search criteria.',
1242
2260
  parameters: {
1243
2261
  type: 'params',
1244
- required: ['term'],
1245
2262
  properties: {
1246
2263
  term: {
1247
2264
  type: 'string',
@@ -1317,7 +2334,6 @@ export const schemaDict = {
1317
2334
  description: 'Find user suggestions for a search term.',
1318
2335
  parameters: {
1319
2336
  type: 'params',
1320
- required: ['term'],
1321
2337
  properties: {
1322
2338
  term: {
1323
2339
  type: 'string',
@@ -1384,9 +2400,6 @@ export const schemaDict = {
1384
2400
  schema: {
1385
2401
  type: 'object',
1386
2402
  properties: {
1387
- did: {
1388
- type: 'string',
1389
- },
1390
2403
  displayName: {
1391
2404
  type: 'string',
1392
2405
  maxLength: 64,
@@ -1599,10 +2612,7 @@ export const schemaDict = {
1599
2612
  },
1600
2613
  reason: {
1601
2614
  type: 'union',
1602
- refs: [
1603
- 'lex:app.bsky.feed.feedViewPost#reasonTrend',
1604
- 'lex:app.bsky.feed.feedViewPost#reasonRepost',
1605
- ],
2615
+ refs: ['lex:app.bsky.feed.feedViewPost#reasonRepost'],
1606
2616
  },
1607
2617
  },
1608
2618
  },
@@ -1620,19 +2630,6 @@ export const schemaDict = {
1620
2630
  },
1621
2631
  },
1622
2632
  },
1623
- reasonTrend: {
1624
- type: 'object',
1625
- required: ['by', 'indexedAt'],
1626
- properties: {
1627
- by: {
1628
- type: 'ref',
1629
- ref: 'lex:app.bsky.actor.ref#withInfo',
1630
- },
1631
- indexedAt: {
1632
- type: 'datetime',
1633
- },
1634
- },
1635
- },
1636
2633
  reasonRepost: {
1637
2634
  type: 'object',
1638
2635
  required: ['by', 'indexedAt'],
@@ -2196,35 +3193,12 @@ export const schemaDict = {
2196
3193
  schema: {
2197
3194
  type: 'object',
2198
3195
  properties: {
2199
- upvote: {
2200
- type: 'string',
2201
- },
2202
- downvote: {
2203
- type: 'string',
2204
- },
2205
- },
2206
- },
2207
- },
2208
- },
2209
- },
2210
- },
2211
- AppBskyFeedTrend: {
2212
- lexicon: 1,
2213
- id: 'app.bsky.feed.trend',
2214
- defs: {
2215
- main: {
2216
- type: 'record',
2217
- key: 'tid',
2218
- record: {
2219
- type: 'object',
2220
- required: ['subject', 'createdAt'],
2221
- properties: {
2222
- subject: {
2223
- type: 'ref',
2224
- ref: 'lex:com.atproto.repo.strongRef',
2225
- },
2226
- createdAt: {
2227
- type: 'datetime',
3196
+ upvote: {
3197
+ type: 'string',
3198
+ },
3199
+ downvote: {
3200
+ type: 'string',
3201
+ },
2228
3202
  },
2229
3203
  },
2230
3204
  },
@@ -2357,120 +3331,6 @@ export const schemaDict = {
2357
3331
  },
2358
3332
  },
2359
3333
  },
2360
- AppBskyGraphGetAssertions: {
2361
- lexicon: 1,
2362
- id: 'app.bsky.graph.getAssertions',
2363
- defs: {
2364
- main: {
2365
- type: 'query',
2366
- description: 'General-purpose query for assertions.',
2367
- parameters: {
2368
- type: 'params',
2369
- properties: {
2370
- author: {
2371
- type: 'string',
2372
- },
2373
- subject: {
2374
- type: 'string',
2375
- },
2376
- assertion: {
2377
- type: 'string',
2378
- },
2379
- confirmed: {
2380
- type: 'boolean',
2381
- },
2382
- limit: {
2383
- type: 'integer',
2384
- minimum: 1,
2385
- maximum: 100,
2386
- default: 50,
2387
- },
2388
- before: {
2389
- type: 'string',
2390
- },
2391
- },
2392
- },
2393
- output: {
2394
- encoding: 'application/json',
2395
- schema: {
2396
- type: 'object',
2397
- required: ['assertions'],
2398
- properties: {
2399
- cursor: {
2400
- type: 'string',
2401
- },
2402
- assertions: {
2403
- type: 'array',
2404
- items: {
2405
- type: 'ref',
2406
- ref: 'lex:app.bsky.graph.getAssertions#assertion',
2407
- },
2408
- },
2409
- },
2410
- },
2411
- },
2412
- },
2413
- assertion: {
2414
- type: 'object',
2415
- required: [
2416
- 'uri',
2417
- 'cid',
2418
- 'assertion',
2419
- 'author',
2420
- 'subject',
2421
- 'indexedAt',
2422
- 'createdAt',
2423
- ],
2424
- properties: {
2425
- uri: {
2426
- type: 'string',
2427
- },
2428
- cid: {
2429
- type: 'string',
2430
- },
2431
- assertion: {
2432
- type: 'string',
2433
- },
2434
- confirmation: {
2435
- type: 'ref',
2436
- ref: 'lex:app.bsky.graph.getAssertions#confirmation',
2437
- },
2438
- author: {
2439
- type: 'ref',
2440
- ref: 'lex:app.bsky.actor.ref#withInfo',
2441
- },
2442
- subject: {
2443
- type: 'ref',
2444
- ref: 'lex:app.bsky.actor.ref#withInfo',
2445
- },
2446
- indexedAt: {
2447
- type: 'datetime',
2448
- },
2449
- createdAt: {
2450
- type: 'datetime',
2451
- },
2452
- },
2453
- },
2454
- confirmation: {
2455
- type: 'object',
2456
- required: ['uri', 'cid', 'indexedAt', 'createdAt'],
2457
- properties: {
2458
- uri: {
2459
- type: 'string',
2460
- },
2461
- cid: {
2462
- type: 'string',
2463
- },
2464
- indexedAt: {
2465
- type: 'datetime',
2466
- },
2467
- createdAt: {
2468
- type: 'datetime',
2469
- },
2470
- },
2471
- },
2472
- },
2473
- },
2474
3334
  AppBskyGraphGetFollowers: {
2475
3335
  lexicon: 1,
2476
3336
  id: 'app.bsky.graph.getFollowers',
@@ -2618,159 +3478,8 @@ export const schemaDict = {
2618
3478
  type: 'string',
2619
3479
  maxLength: 64,
2620
3480
  },
2621
- createdAt: {
2622
- type: 'datetime',
2623
- },
2624
- indexedAt: {
2625
- type: 'datetime',
2626
- },
2627
- },
2628
- },
2629
- },
2630
- },
2631
- AppBskyGraphGetMembers: {
2632
- lexicon: 1,
2633
- id: 'app.bsky.graph.getMembers',
2634
- defs: {
2635
- main: {
2636
- type: 'query',
2637
- description: 'Who is a member of the group?',
2638
- parameters: {
2639
- type: 'params',
2640
- required: ['actor'],
2641
- properties: {
2642
- actor: {
2643
- type: 'string',
2644
- },
2645
- limit: {
2646
- type: 'integer',
2647
- minimum: 1,
2648
- maximum: 100,
2649
- default: 50,
2650
- },
2651
- before: {
2652
- type: 'string',
2653
- },
2654
- },
2655
- },
2656
- output: {
2657
- encoding: 'application/json',
2658
- schema: {
2659
- type: 'object',
2660
- required: ['subject', 'members'],
2661
- properties: {
2662
- subject: {
2663
- type: 'ref',
2664
- ref: 'lex:app.bsky.actor.ref#withInfo',
2665
- },
2666
- cursor: {
2667
- type: 'string',
2668
- },
2669
- members: {
2670
- type: 'array',
2671
- items: {
2672
- type: 'ref',
2673
- ref: 'lex:app.bsky.graph.getMembers#member',
2674
- },
2675
- },
2676
- },
2677
- },
2678
- },
2679
- },
2680
- member: {
2681
- type: 'object',
2682
- required: ['did', 'declaration', 'handle', 'indexedAt'],
2683
- properties: {
2684
- did: {
2685
- type: 'string',
2686
- },
2687
- declaration: {
2688
- type: 'ref',
2689
- ref: 'lex:app.bsky.system.declRef',
2690
- },
2691
- handle: {
2692
- type: 'string',
2693
- },
2694
- displayName: {
2695
- type: 'string',
2696
- maxLength: 64,
2697
- },
2698
- createdAt: {
2699
- type: 'datetime',
2700
- },
2701
- indexedAt: {
2702
- type: 'datetime',
2703
- },
2704
- },
2705
- },
2706
- },
2707
- },
2708
- AppBskyGraphGetMemberships: {
2709
- lexicon: 1,
2710
- id: 'app.bsky.graph.getMemberships',
2711
- defs: {
2712
- main: {
2713
- type: 'query',
2714
- description: 'Which groups is the actor a member of?',
2715
- parameters: {
2716
- type: 'params',
2717
- required: ['actor'],
2718
- properties: {
2719
- actor: {
2720
- type: 'string',
2721
- },
2722
- limit: {
2723
- type: 'integer',
2724
- minimum: 1,
2725
- maximum: 100,
2726
- default: 50,
2727
- },
2728
- before: {
2729
- type: 'string',
2730
- },
2731
- },
2732
- },
2733
- output: {
2734
- encoding: 'application/json',
2735
- schema: {
2736
- type: 'object',
2737
- required: ['subject', 'memberships'],
2738
- properties: {
2739
- subject: {
2740
- type: 'ref',
2741
- ref: 'lex:app.bsky.actor.ref#withInfo',
2742
- },
2743
- cursor: {
2744
- type: 'string',
2745
- },
2746
- memberships: {
2747
- type: 'array',
2748
- items: {
2749
- type: 'ref',
2750
- ref: 'lex:app.bsky.graph.getMemberships#membership',
2751
- },
2752
- },
2753
- },
2754
- },
2755
- },
2756
- },
2757
- membership: {
2758
- type: 'object',
2759
- required: ['did', 'declaration', 'handle', 'indexedAt'],
2760
- properties: {
2761
- did: {
2762
- type: 'string',
2763
- },
2764
- declaration: {
2765
- type: 'ref',
2766
- ref: 'lex:app.bsky.system.declRef',
2767
- },
2768
- handle: {
2769
- type: 'string',
2770
- },
2771
- displayName: {
3481
+ avatar: {
2772
3482
  type: 'string',
2773
- maxLength: 64,
2774
3483
  },
2775
3484
  createdAt: {
2776
3485
  type: 'datetime',
@@ -2978,11 +3687,10 @@ export const schemaDict = {
2978
3687
  reason: {
2979
3688
  type: 'string',
2980
3689
  description:
2981
- "Expected values are 'vote', 'repost', 'trend', 'follow', 'invite', 'mention' and 'reply'.",
3690
+ "Expected values are 'vote', 'repost', 'follow', 'invite', 'mention' and 'reply'.",
2982
3691
  knownValues: [
2983
3692
  'vote',
2984
3693
  'repost',
2985
- 'trend',
2986
3694
  'follow',
2987
3695
  'invite',
2988
3696
  'mention',
@@ -3027,17 +3735,6 @@ export const schemaDict = {
3027
3735
  },
3028
3736
  },
3029
3737
  },
3030
- AppBskySystemActorScene: {
3031
- lexicon: 1,
3032
- id: 'app.bsky.system.actorScene',
3033
- defs: {
3034
- main: {
3035
- type: 'token',
3036
- description:
3037
- "Actor type: Scene. Defined for app.bsky.system.declaration's actorType.",
3038
- },
3039
- },
3040
- },
3041
3738
  AppBskySystemActorUser: {
3042
3739
  lexicon: 1,
3043
3740
  id: 'app.bsky.system.actorUser',
@@ -3063,10 +3760,7 @@ export const schemaDict = {
3063
3760
  },
3064
3761
  actorType: {
3065
3762
  type: 'string',
3066
- knownValues: [
3067
- 'app.bsky.system.actorUser',
3068
- 'app.bsky.system.actorScene',
3069
- ],
3763
+ knownValues: ['app.bsky.system.actorUser'],
3070
3764
  },
3071
3765
  },
3072
3766
  },
@@ -3087,10 +3781,7 @@ export const schemaDict = {
3087
3781
  properties: {
3088
3782
  actorType: {
3089
3783
  type: 'string',
3090
- knownValues: [
3091
- 'app.bsky.system.actorUser',
3092
- 'app.bsky.system.actorScene',
3093
- ],
3784
+ knownValues: ['app.bsky.system.actorUser'],
3094
3785
  },
3095
3786
  },
3096
3787
  },
@@ -3108,6 +3799,22 @@ export const ids = {
3108
3799
  ComAtprotoAccountRequestPasswordReset:
3109
3800
  'com.atproto.account.requestPasswordReset',
3110
3801
  ComAtprotoAccountResetPassword: 'com.atproto.account.resetPassword',
3802
+ ComAtprotoAdminGetModerationAction: 'com.atproto.admin.getModerationAction',
3803
+ ComAtprotoAdminGetModerationActions: 'com.atproto.admin.getModerationActions',
3804
+ ComAtprotoAdminGetModerationReport: 'com.atproto.admin.getModerationReport',
3805
+ ComAtprotoAdminGetModerationReports: 'com.atproto.admin.getModerationReports',
3806
+ ComAtprotoAdminGetRecord: 'com.atproto.admin.getRecord',
3807
+ ComAtprotoAdminGetRepo: 'com.atproto.admin.getRepo',
3808
+ ComAtprotoAdminModerationAction: 'com.atproto.admin.moderationAction',
3809
+ ComAtprotoAdminModerationReport: 'com.atproto.admin.moderationReport',
3810
+ ComAtprotoAdminRecord: 'com.atproto.admin.record',
3811
+ ComAtprotoAdminRepo: 'com.atproto.admin.repo',
3812
+ ComAtprotoAdminResolveModerationReports:
3813
+ 'com.atproto.admin.resolveModerationReports',
3814
+ ComAtprotoAdminReverseModerationAction:
3815
+ 'com.atproto.admin.reverseModerationAction',
3816
+ ComAtprotoAdminSearchRepos: 'com.atproto.admin.searchRepos',
3817
+ ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction',
3111
3818
  ComAtprotoBlobUpload: 'com.atproto.blob.upload',
3112
3819
  ComAtprotoHandleResolve: 'com.atproto.handle.resolve',
3113
3820
  ComAtprotoRepoBatchWrite: 'com.atproto.repo.batchWrite',
@@ -3117,16 +3824,22 @@ export const ids = {
3117
3824
  ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord',
3118
3825
  ComAtprotoRepoListRecords: 'com.atproto.repo.listRecords',
3119
3826
  ComAtprotoRepoPutRecord: 'com.atproto.repo.putRecord',
3827
+ ComAtprotoRepoRecordRef: 'com.atproto.repo.recordRef',
3828
+ ComAtprotoRepoRepoRef: 'com.atproto.repo.repoRef',
3120
3829
  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
3830
+ ComAtprotoReportCreate: 'com.atproto.report.create',
3831
+ ComAtprotoReportReasonType: 'com.atproto.report.reasonType',
3832
+ ComAtprotoReportSubject: 'com.atproto.report.subject',
3121
3833
  ComAtprotoServerGetAccountsConfig: 'com.atproto.server.getAccountsConfig',
3122
3834
  ComAtprotoSessionCreate: 'com.atproto.session.create',
3123
3835
  ComAtprotoSessionDelete: 'com.atproto.session.delete',
3124
3836
  ComAtprotoSessionGet: 'com.atproto.session.get',
3125
3837
  ComAtprotoSessionRefresh: 'com.atproto.session.refresh',
3838
+ ComAtprotoSyncGetCheckout: 'com.atproto.sync.getCheckout',
3839
+ ComAtprotoSyncGetCommitPath: 'com.atproto.sync.getCommitPath',
3840
+ ComAtprotoSyncGetHead: 'com.atproto.sync.getHead',
3841
+ ComAtprotoSyncGetRecord: 'com.atproto.sync.getRecord',
3126
3842
  ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo',
3127
- ComAtprotoSyncGetRoot: 'com.atproto.sync.getRoot',
3128
- ComAtprotoSyncUpdateRepo: 'com.atproto.sync.updateRepo',
3129
- AppBskyActorCreateScene: 'app.bsky.actor.createScene',
3130
3843
  AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
3131
3844
  AppBskyActorGetSuggestions: 'app.bsky.actor.getSuggestions',
3132
3845
  AppBskyActorProfile: 'app.bsky.actor.profile',
@@ -3145,25 +3858,20 @@ export const ids = {
3145
3858
  AppBskyFeedPost: 'app.bsky.feed.post',
3146
3859
  AppBskyFeedRepost: 'app.bsky.feed.repost',
3147
3860
  AppBskyFeedSetVote: 'app.bsky.feed.setVote',
3148
- AppBskyFeedTrend: 'app.bsky.feed.trend',
3149
3861
  AppBskyFeedVote: 'app.bsky.feed.vote',
3150
3862
  AppBskyGraphAssertCreator: 'app.bsky.graph.assertCreator',
3151
3863
  AppBskyGraphAssertMember: 'app.bsky.graph.assertMember',
3152
3864
  AppBskyGraphAssertion: 'app.bsky.graph.assertion',
3153
3865
  AppBskyGraphConfirmation: 'app.bsky.graph.confirmation',
3154
3866
  AppBskyGraphFollow: 'app.bsky.graph.follow',
3155
- AppBskyGraphGetAssertions: 'app.bsky.graph.getAssertions',
3156
3867
  AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
3157
3868
  AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
3158
- AppBskyGraphGetMembers: 'app.bsky.graph.getMembers',
3159
- AppBskyGraphGetMemberships: 'app.bsky.graph.getMemberships',
3160
3869
  AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
3161
3870
  AppBskyGraphMute: 'app.bsky.graph.mute',
3162
3871
  AppBskyGraphUnmute: 'app.bsky.graph.unmute',
3163
3872
  AppBskyNotificationGetCount: 'app.bsky.notification.getCount',
3164
3873
  AppBskyNotificationList: 'app.bsky.notification.list',
3165
3874
  AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
3166
- AppBskySystemActorScene: 'app.bsky.system.actorScene',
3167
3875
  AppBskySystemActorUser: 'app.bsky.system.actorUser',
3168
3876
  AppBskySystemDeclRef: 'app.bsky.system.declRef',
3169
3877
  AppBskySystemDeclaration: 'app.bsky.system.declaration',