@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
@@ -5,6 +5,16 @@ import * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
5
5
  import * as ComAtprotoAccountGet from './types/com/atproto/account/get';
6
6
  import * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
7
7
  import * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
8
+ import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
9
+ import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
10
+ import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
11
+ import * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
12
+ import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
13
+ import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
14
+ import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
15
+ import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
16
+ import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
17
+ import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
8
18
  import * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
9
19
  import * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
10
20
  import * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
@@ -14,15 +24,17 @@ import * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
14
24
  import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
15
25
  import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
16
26
  import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
27
+ import * as ComAtprotoReportCreate from './types/com/atproto/report/create';
17
28
  import * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
18
29
  import * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
19
30
  import * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
20
31
  import * as ComAtprotoSessionGet from './types/com/atproto/session/get';
21
32
  import * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
33
+ import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
34
+ import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
35
+ import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
36
+ import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
22
37
  import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
23
- import * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
24
- import * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
25
- import * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
26
38
  import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
27
39
  import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
28
40
  import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
@@ -37,16 +49,12 @@ import * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
37
49
  import * as AppBskyFeedPost from './types/app/bsky/feed/post';
38
50
  import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
39
51
  import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
40
- import * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
41
52
  import * as AppBskyFeedVote from './types/app/bsky/feed/vote';
42
53
  import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
43
54
  import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
44
55
  import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
45
- import * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
46
56
  import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
47
57
  import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
48
- import * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
49
- import * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
50
58
  import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
51
59
  import * as AppBskyGraphMute from './types/app/bsky/graph/mute';
52
60
  import * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
@@ -60,6 +68,20 @@ export * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
60
68
  export * as ComAtprotoAccountGet from './types/com/atproto/account/get';
61
69
  export * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
62
70
  export * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
71
+ export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
72
+ export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
73
+ export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
74
+ export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
75
+ export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
76
+ export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
77
+ export * as ComAtprotoAdminModerationAction from './types/com/atproto/admin/moderationAction';
78
+ export * as ComAtprotoAdminModerationReport from './types/com/atproto/admin/moderationReport';
79
+ export * as ComAtprotoAdminRecord from './types/com/atproto/admin/record';
80
+ export * as ComAtprotoAdminRepo from './types/com/atproto/admin/repo';
81
+ export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
82
+ export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
83
+ export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
84
+ export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
63
85
  export * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
64
86
  export * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
65
87
  export * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
@@ -69,16 +91,22 @@ export * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
69
91
  export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
70
92
  export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
71
93
  export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
94
+ export * as ComAtprotoRepoRecordRef from './types/com/atproto/repo/recordRef';
95
+ export * as ComAtprotoRepoRepoRef from './types/com/atproto/repo/repoRef';
72
96
  export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
97
+ export * as ComAtprotoReportCreate from './types/com/atproto/report/create';
98
+ export * as ComAtprotoReportReasonType from './types/com/atproto/report/reasonType';
99
+ export * as ComAtprotoReportSubject from './types/com/atproto/report/subject';
73
100
  export * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
74
101
  export * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
75
102
  export * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
76
103
  export * as ComAtprotoSessionGet from './types/com/atproto/session/get';
77
104
  export * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
105
+ export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
106
+ export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
107
+ export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
108
+ export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
78
109
  export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
79
- export * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
80
- export * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
81
- export * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
82
110
  export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
83
111
  export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
84
112
  export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
@@ -97,34 +125,37 @@ export * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
97
125
  export * as AppBskyFeedPost from './types/app/bsky/feed/post';
98
126
  export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
99
127
  export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
100
- export * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
101
128
  export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
102
129
  export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
103
130
  export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
104
131
  export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
105
132
  export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
106
133
  export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
107
- export * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
108
134
  export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
109
135
  export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
110
- export * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
111
- export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
112
136
  export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
113
137
  export * as AppBskyGraphMute from './types/app/bsky/graph/mute';
114
138
  export * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
115
139
  export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
116
140
  export * as AppBskyNotificationList from './types/app/bsky/notification/list';
117
141
  export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
118
- export * as AppBskySystemActorScene from './types/app/bsky/system/actorScene';
119
142
  export * as AppBskySystemActorUser from './types/app/bsky/system/actorUser';
120
143
  export * as AppBskySystemDeclRef from './types/app/bsky/system/declRef';
121
144
  export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
145
+ export declare const COM_ATPROTO_ADMIN: {
146
+ ModerationActionTakedown: string;
147
+ ModerationActionFlag: string;
148
+ ModerationActionAcknowledge: string;
149
+ };
150
+ export declare const COM_ATPROTO_REPORT: {
151
+ ReasonTypeSpam: string;
152
+ ReasonTypeOther: string;
153
+ };
122
154
  export declare const APP_BSKY_GRAPH: {
123
155
  AssertCreator: string;
124
156
  AssertMember: string;
125
157
  };
126
158
  export declare const APP_BSKY_SYSTEM: {
127
- ActorScene: string;
128
159
  ActorUser: string;
129
160
  };
130
161
  export declare class Client {
@@ -150,9 +181,11 @@ export declare class ComNS {
150
181
  export declare class AtprotoNS {
151
182
  _service: ServiceClient;
152
183
  account: AccountNS;
184
+ admin: AdminNS;
153
185
  blob: BlobNS;
154
186
  handle: HandleNS;
155
187
  repo: RepoNS;
188
+ report: ReportNS;
156
189
  server: ServerNS;
157
190
  session: SessionNS;
158
191
  sync: SyncNS;
@@ -168,6 +201,20 @@ export declare class AccountNS {
168
201
  requestPasswordReset(data?: ComAtprotoAccountRequestPasswordReset.InputSchema, opts?: ComAtprotoAccountRequestPasswordReset.CallOptions): Promise<ComAtprotoAccountRequestPasswordReset.Response>;
169
202
  resetPassword(data?: ComAtprotoAccountResetPassword.InputSchema, opts?: ComAtprotoAccountResetPassword.CallOptions): Promise<ComAtprotoAccountResetPassword.Response>;
170
203
  }
204
+ export declare class AdminNS {
205
+ _service: ServiceClient;
206
+ constructor(service: ServiceClient);
207
+ getModerationAction(params?: ComAtprotoAdminGetModerationAction.QueryParams, opts?: ComAtprotoAdminGetModerationAction.CallOptions): Promise<ComAtprotoAdminGetModerationAction.Response>;
208
+ getModerationActions(params?: ComAtprotoAdminGetModerationActions.QueryParams, opts?: ComAtprotoAdminGetModerationActions.CallOptions): Promise<ComAtprotoAdminGetModerationActions.Response>;
209
+ getModerationReport(params?: ComAtprotoAdminGetModerationReport.QueryParams, opts?: ComAtprotoAdminGetModerationReport.CallOptions): Promise<ComAtprotoAdminGetModerationReport.Response>;
210
+ getModerationReports(params?: ComAtprotoAdminGetModerationReports.QueryParams, opts?: ComAtprotoAdminGetModerationReports.CallOptions): Promise<ComAtprotoAdminGetModerationReports.Response>;
211
+ getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
212
+ getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
213
+ resolveModerationReports(data?: ComAtprotoAdminResolveModerationReports.InputSchema, opts?: ComAtprotoAdminResolveModerationReports.CallOptions): Promise<ComAtprotoAdminResolveModerationReports.Response>;
214
+ reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>;
215
+ searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
216
+ takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
217
+ }
171
218
  export declare class BlobNS {
172
219
  _service: ServiceClient;
173
220
  constructor(service: ServiceClient);
@@ -189,6 +236,11 @@ export declare class RepoNS {
189
236
  listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
190
237
  putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
191
238
  }
239
+ export declare class ReportNS {
240
+ _service: ServiceClient;
241
+ constructor(service: ServiceClient);
242
+ create(data?: ComAtprotoReportCreate.InputSchema, opts?: ComAtprotoReportCreate.CallOptions): Promise<ComAtprotoReportCreate.Response>;
243
+ }
192
244
  export declare class ServerNS {
193
245
  _service: ServiceClient;
194
246
  constructor(service: ServiceClient);
@@ -205,9 +257,11 @@ export declare class SessionNS {
205
257
  export declare class SyncNS {
206
258
  _service: ServiceClient;
207
259
  constructor(service: ServiceClient);
260
+ getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>;
261
+ getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>;
262
+ getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>;
263
+ getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
208
264
  getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
209
- getRoot(params?: ComAtprotoSyncGetRoot.QueryParams, opts?: ComAtprotoSyncGetRoot.CallOptions): Promise<ComAtprotoSyncGetRoot.Response>;
210
- updateRepo(data?: ComAtprotoSyncUpdateRepo.InputSchema, opts?: ComAtprotoSyncUpdateRepo.CallOptions): Promise<ComAtprotoSyncUpdateRepo.Response>;
211
265
  }
212
266
  export declare class AppNS {
213
267
  _service: ServiceClient;
@@ -228,7 +282,6 @@ export declare class ActorNS {
228
282
  _service: ServiceClient;
229
283
  profile: ProfileRecord;
230
284
  constructor(service: ServiceClient);
231
- createScene(data?: AppBskyActorCreateScene.InputSchema, opts?: AppBskyActorCreateScene.CallOptions): Promise<AppBskyActorCreateScene.Response>;
232
285
  getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
233
286
  getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
234
287
  search(params?: AppBskyActorSearch.QueryParams, opts?: AppBskyActorSearch.CallOptions): Promise<AppBskyActorSearch.Response>;
@@ -264,7 +317,6 @@ export declare class FeedNS {
264
317
  _service: ServiceClient;
265
318
  post: PostRecord;
266
319
  repost: RepostRecord;
267
- trend: TrendRecord;
268
320
  vote: VoteRecord;
269
321
  constructor(service: ServiceClient);
270
322
  getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
@@ -316,27 +368,6 @@ export declare class RepostRecord {
316
368
  }>;
317
369
  delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
318
370
  }
319
- export declare class TrendRecord {
320
- _service: ServiceClient;
321
- constructor(service: ServiceClient);
322
- list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
323
- cursor?: string;
324
- records: {
325
- uri: string;
326
- value: AppBskyFeedTrend.Record;
327
- }[];
328
- }>;
329
- get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
330
- uri: string;
331
- cid: string;
332
- value: AppBskyFeedTrend.Record;
333
- }>;
334
- create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedTrend.Record, headers?: Record<string, string>): Promise<{
335
- uri: string;
336
- cid: string;
337
- }>;
338
- delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
339
- }
340
371
  export declare class VoteRecord {
341
372
  _service: ServiceClient;
342
373
  constructor(service: ServiceClient);
@@ -364,11 +395,8 @@ export declare class GraphNS {
364
395
  confirmation: ConfirmationRecord;
365
396
  follow: FollowRecord;
366
397
  constructor(service: ServiceClient);
367
- getAssertions(params?: AppBskyGraphGetAssertions.QueryParams, opts?: AppBskyGraphGetAssertions.CallOptions): Promise<AppBskyGraphGetAssertions.Response>;
368
398
  getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
369
399
  getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
370
- getMembers(params?: AppBskyGraphGetMembers.QueryParams, opts?: AppBskyGraphGetMembers.CallOptions): Promise<AppBskyGraphGetMembers.Response>;
371
- getMemberships(params?: AppBskyGraphGetMemberships.QueryParams, opts?: AppBskyGraphGetMemberships.CallOptions): Promise<AppBskyGraphGetMemberships.Response>;
372
400
  getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
373
401
  mute(data?: AppBskyGraphMute.InputSchema, opts?: AppBskyGraphMute.CallOptions): Promise<AppBskyGraphMute.Response>;
374
402
  unmute(data?: AppBskyGraphUnmute.InputSchema, opts?: AppBskyGraphUnmute.CallOptions): Promise<AppBskyGraphUnmute.Response>;