@atproto/api 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/agent.d.ts +2 -2
  3. package/dist/client/index.d.ts +12 -0
  4. package/dist/client/lexicons.d.ts +182 -0
  5. package/dist/client/types/com/atproto/admin/{resolveModerationReports.d.ts → createCommunicationTemplate.d.ts} +5 -4
  6. package/dist/client/types/com/atproto/admin/defs.d.ts +13 -0
  7. package/dist/client/types/{app/bsky/feed/unbookmarkFeed.d.ts → com/atproto/admin/deleteCommunicationTemplate.d.ts} +1 -1
  8. package/dist/client/types/{app/bsky/moderation/getServices.d.ts → com/atproto/admin/listCommunicationTemplates.d.ts} +2 -3
  9. package/dist/client/types/com/atproto/admin/{reverseModerationAction.d.ts → updateCommunicationTemplate.d.ts} +7 -4
  10. package/dist/index.js +599 -342
  11. package/dist/index.js.map +3 -3
  12. package/dist/types.d.ts +0 -6
  13. package/package.json +5 -5
  14. package/src/agent.ts +2 -8
  15. package/src/client/index.ts +72 -0
  16. package/src/client/lexicons.ts +199 -0
  17. package/src/client/types/com/atproto/admin/createCommunicationTemplate.ts +43 -0
  18. package/src/client/types/com/atproto/admin/defs.ts +35 -0
  19. package/src/client/types/com/atproto/admin/deleteCommunicationTemplate.ts +32 -0
  20. package/src/client/types/com/atproto/admin/listCommunicationTemplates.ts +34 -0
  21. package/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts +46 -0
  22. package/src/types.ts +0 -10
  23. package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
  24. package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
  25. package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
  26. package/dist/client/types/app/bsky/actor/searchActor.d.ts +0 -22
  27. package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +0 -20
  28. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
  29. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -47
  30. package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +0 -17
  31. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
  32. package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +0 -21
  33. package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +0 -21
  34. package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
  35. package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
  36. package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
  37. package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
  38. package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
  39. package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
  40. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  41. package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  42. package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
  43. package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
  44. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
  45. package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
  46. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
  47. package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
  48. package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
  49. package/dist/client/types/app/bsky/moderation/defs.d.ts +0 -49
  50. package/dist/client/types/app/bsky/moderation/getService.d.ts +0 -16
  51. package/dist/client/types/app/bsky/moderation/service.d.ts +0 -17
  52. package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
  53. package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
  54. package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
  55. package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
  56. package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
  57. package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
  58. package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +0 -18
  59. package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -22
  60. package/dist/client/types/com/atproto/account/create.d.ts +0 -41
  61. package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  62. package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
  63. package/dist/client/types/com/atproto/account/get.d.ts +0 -12
  64. package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
  65. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  66. package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  67. package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
  68. package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +0 -29
  69. package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
  70. package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
  71. package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
  72. package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -28
  73. package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +0 -26
  74. package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +0 -16
  75. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
  76. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
  77. package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
  78. package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
  79. package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
  80. package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +0 -34
  81. package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +0 -32
  82. package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
  83. package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
  84. package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
  85. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
  86. package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
  87. package/dist/client/types/com/atproto/repo/importRepo.d.ts +0 -19
  88. package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
  89. package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
  90. package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
  91. package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +0 -19
  92. package/dist/client/types/com/atproto/report/create.d.ts +0 -39
  93. package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
  94. package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
  95. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
  96. package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +0 -31
  97. package/dist/client/types/com/atproto/session/create.d.ts +0 -29
  98. package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
  99. package/dist/client/types/com/atproto/session/get.d.ts +0 -18
  100. package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
  101. package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
  102. package/dist/client/types/com/atproto/sync/getCurrent.d.ts +0 -22
  103. package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -21
  104. package/dist/client/types/com/atproto/sync/importRepo.d.ts +0 -16
  105. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
  106. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  107. package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
  108. package/dist/session.d.ts +0 -42
  109. package/dist/src/client/index.d.ts +0 -462
  110. package/dist/src/client/lexicons.d.ts +0 -2910
  111. package/dist/src/client/schemas.d.ts +0 -17
  112. package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
  113. package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
  114. package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
  115. package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
  116. package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
  117. package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
  118. package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
  119. package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
  120. package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
  121. package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
  122. package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
  123. package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
  124. package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
  125. package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
  126. package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
  127. package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
  128. package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
  129. package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
  130. package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
  131. package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
  132. package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
  133. package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
  134. package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
  135. package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
  136. package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
  137. package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
  138. package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
  139. package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
  140. package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
  141. package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
  142. package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
  143. package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
  144. package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
  145. package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
  146. package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
  147. package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
  148. package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
  149. package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
  150. package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
  151. package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
  152. package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
  153. package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
  154. package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  155. package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  156. package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
  157. package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
  158. package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
  159. package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
  160. package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
  161. package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
  162. package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
  163. package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
  164. package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
  165. package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
  166. package/dist/src/client/types/app/bsky/like.d.ts +0 -10
  167. package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
  168. package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
  169. package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
  170. package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
  171. package/dist/src/client/types/app/bsky/post.d.ts +0 -23
  172. package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
  173. package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
  174. package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
  175. package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
  176. package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
  177. package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
  178. package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
  179. package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
  180. package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
  181. package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  182. package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
  183. package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
  184. package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  185. package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  186. package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
  187. package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
  188. package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
  189. package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
  190. package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
  191. package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
  192. package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
  193. package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
  194. package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
  195. package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
  196. package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
  197. package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
  198. package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
  199. package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
  200. package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
  201. package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
  202. package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
  203. package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
  204. package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
  205. package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
  206. package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
  207. package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
  208. package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
  209. package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
  210. package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
  211. package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
  212. package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
  213. package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
  214. package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
  215. package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
  216. package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
  217. package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
  218. package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
  219. package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
  220. package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
  221. package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
  222. package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
  223. package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
  224. package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  225. package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
  226. package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
  227. package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
  228. package/dist/src/index.d.ts +0 -4
  229. package/dist/src/schemas.d.ts +0 -19
  230. package/dist/src/session.d.ts +0 -42
  231. package/dist/src/types/app/bsky/acceptedBadge.d.ts +0 -10
  232. package/dist/src/types/app/bsky/badge.d.ts +0 -22
  233. package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
  234. package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
  235. package/dist/src/types/app/bsky/declaration.d.ts +0 -6
  236. package/dist/src/types/app/bsky/follow.d.ts +0 -9
  237. package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
  238. package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
  239. package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
  240. package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
  241. package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
  242. package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
  243. package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
  244. package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
  245. package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
  246. package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
  247. package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
  248. package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
  249. package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
  250. package/dist/src/types/app/bsky/invite.d.ts +0 -10
  251. package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
  252. package/dist/src/types/app/bsky/like.d.ts +0 -10
  253. package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
  254. package/dist/src/types/app/bsky/post.d.ts +0 -23
  255. package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
  256. package/dist/src/types/app/bsky/profile.d.ts +0 -11
  257. package/dist/src/types/app/bsky/repost.d.ts +0 -10
  258. package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
  259. package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
  260. package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
  261. package/dist/src/types/com/atproto/createSession.d.ts +0 -23
  262. package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
  263. package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
  264. package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
  265. package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
  266. package/dist/src/types/com/atproto/getSession.d.ts +0 -17
  267. package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
  268. package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
  269. package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
  270. package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
  271. package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
  272. package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
  273. package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
  274. package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
  275. package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
  276. package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
  277. package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
  278. package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
  279. package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
  280. package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
  281. package/dist/src/types/todo/adx/createAccount.d.ts +0 -36
  282. package/dist/src/types/todo/adx/createInviteCode.d.ts +0 -19
  283. package/dist/src/types/todo/adx/createSession.d.ts +0 -22
  284. package/dist/src/types/todo/adx/deleteAccount.d.ts +0 -19
  285. package/dist/src/types/todo/adx/deleteSession.d.ts +0 -19
  286. package/dist/src/types/todo/adx/getAccount.d.ts +0 -19
  287. package/dist/src/types/todo/adx/getAccountsConfig.d.ts +0 -17
  288. package/dist/src/types/todo/adx/getSession.d.ts +0 -17
  289. package/dist/src/types/todo/adx/repoBatchWrite.d.ts +0 -34
  290. package/dist/src/types/todo/adx/repoCreateRecord.d.ts +0 -22
  291. package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +0 -15
  292. package/dist/src/types/todo/adx/repoDescribe.d.ts +0 -21
  293. package/dist/src/types/todo/adx/repoGetRecord.d.ts +0 -20
  294. package/dist/src/types/todo/adx/repoListRecords.d.ts +0 -25
  295. package/dist/src/types/todo/adx/repoPutRecord.d.ts +0 -23
  296. package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +0 -18
  297. package/dist/src/types/todo/adx/resetAccountPassword.d.ts +0 -25
  298. package/dist/src/types/todo/adx/resolveName.d.ts +0 -17
  299. package/dist/src/types/todo/adx/syncGetRepo.d.ts +0 -15
  300. package/dist/src/types/todo/adx/syncGetRoot.d.ts +0 -17
  301. package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +0 -14
  302. package/dist/src/types/todo/social/badge.d.ts +0 -23
  303. package/dist/src/types/todo/social/follow.d.ts +0 -5
  304. package/dist/src/types/todo/social/getAuthorFeed.d.ts +0 -55
  305. package/dist/src/types/todo/social/getFeed.d.ts +0 -55
  306. package/dist/src/types/todo/social/getHomeFeed.d.ts +0 -55
  307. package/dist/src/types/todo/social/getLikedBy.d.ts +0 -26
  308. package/dist/src/types/todo/social/getNotificationCount.d.ts +0 -16
  309. package/dist/src/types/todo/social/getNotifications.d.ts +0 -31
  310. package/dist/src/types/todo/social/getPostThread.d.ts +0 -54
  311. package/dist/src/types/todo/social/getProfile.d.ts +0 -40
  312. package/dist/src/types/todo/social/getRepostedBy.d.ts +0 -26
  313. package/dist/src/types/todo/social/getUserFollowers.d.ts +0 -30
  314. package/dist/src/types/todo/social/getUserFollows.d.ts +0 -30
  315. package/dist/src/types/todo/social/like.d.ts +0 -5
  316. package/dist/src/types/todo/social/mediaEmbed.d.ts +0 -15
  317. package/dist/src/types/todo/social/post.d.ts +0 -18
  318. package/dist/src/types/todo/social/postNotificationsSeen.d.ts +0 -19
  319. package/dist/src/types/todo/social/profile.d.ts +0 -10
  320. package/dist/src/types/todo/social/repost.d.ts +0 -5
@@ -1,17 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as AppBskyRichtextFacet from '../richtext/facet';
3
- import * as AppBskyModerationDefs from './defs';
4
- import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
5
- export interface Record {
6
- description?: string;
7
- descriptionFacets?: AppBskyRichtextFacet.Main[];
8
- policies: AppBskyModerationDefs.ModServicePolicies;
9
- labels?: ComAtprotoLabelDefs.SelfLabels | {
10
- $type: string;
11
- [k: string]: unknown;
12
- };
13
- createdAt: string;
14
- [k: string]: unknown;
15
- }
16
- export declare function isRecord(v: unknown): v is Record;
17
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export declare type InputSchema = undefined;
5
- export interface OutputSchema {
6
- count: number;
7
- [k: string]: unknown;
8
- }
9
- export interface CallOptions {
10
- headers?: Headers;
11
- }
12
- export interface Response {
13
- success: boolean;
14
- headers: Headers;
15
- data: OutputSchema;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,35 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- import * as AppBskyActorRef from '../actor/ref';
4
- export interface QueryParams {
5
- limit?: number;
6
- before?: string;
7
- }
8
- export declare type InputSchema = undefined;
9
- export interface OutputSchema {
10
- cursor?: string;
11
- notifications: Notification[];
12
- [k: string]: unknown;
13
- }
14
- export interface CallOptions {
15
- headers?: Headers;
16
- }
17
- export interface Response {
18
- success: boolean;
19
- headers: Headers;
20
- data: OutputSchema;
21
- }
22
- export declare function toKnownErr(e: any): any;
23
- export interface Notification {
24
- uri: string;
25
- cid: string;
26
- author: AppBskyActorRef.WithInfo;
27
- reason: 'vote' | 'repost' | 'follow' | 'invite' | 'mention' | 'reply' | (string & {});
28
- reasonSubject?: string;
29
- record: {};
30
- isRead: boolean;
31
- indexedAt: string;
32
- [k: string]: unknown;
33
- }
34
- export declare function isNotification(v: unknown): v is Notification;
35
- export declare function validateNotification(v: unknown): ValidationResult;
@@ -1 +0,0 @@
1
- export declare const MAIN = "app.bsky.system.actorScene#main";
@@ -1 +0,0 @@
1
- export declare const MAIN = "app.bsky.system.actorUser#main";
@@ -1,8 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- export interface Main {
3
- cid: string;
4
- actorType: 'app.bsky.system.actorUser' | (string & {});
5
- [k: string]: unknown;
6
- }
7
- export declare function isMain(v: unknown): v is Main;
8
- export declare function validateMain(v: unknown): ValidationResult;
@@ -1,7 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- export interface Record {
3
- actorType: 'app.bsky.system.actorUser' | (string & {});
4
- [k: string]: unknown;
5
- }
6
- export declare function isRecord(v: unknown): v is Record;
7
- export declare function validateRecord(v: unknown): ValidationResult;
@@ -1,18 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
3
- export interface QueryParams {
4
- }
5
- export interface InputSchema {
6
- labels: ComAtprotoLabelDefs.Label[];
7
- [k: string]: unknown;
8
- }
9
- export interface CallOptions {
10
- headers?: Headers;
11
- qp?: QueryParams;
12
- encoding: 'application/json';
13
- }
14
- export interface Response {
15
- success: boolean;
16
- headers: Headers;
17
- }
18
- export declare function toKnownErr(e: any): any;
@@ -1,22 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as AppBskyFeedDefs from '../feed/defs';
3
- export interface QueryParams {
4
- includeNsfw?: boolean;
5
- limit?: number;
6
- cursor?: string;
7
- }
8
- export type InputSchema = undefined;
9
- export interface OutputSchema {
10
- cursor?: string;
11
- feed: AppBskyFeedDefs.FeedViewPost[];
12
- [k: string]: unknown;
13
- }
14
- export interface CallOptions {
15
- headers?: Headers;
16
- }
17
- export interface Response {
18
- success: boolean;
19
- headers: Headers;
20
- data: OutputSchema;
21
- }
22
- export declare function toKnownErr(e: any): any;
@@ -1,41 +0,0 @@
1
- import { Headers, XRPCError } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- email: string;
6
- handle: string;
7
- inviteCode?: string;
8
- password: string;
9
- recoveryKey?: string;
10
- [k: string]: unknown;
11
- }
12
- export interface OutputSchema {
13
- accessJwt: string;
14
- refreshJwt: string;
15
- handle: string;
16
- did: string;
17
- [k: string]: unknown;
18
- }
19
- export interface CallOptions {
20
- headers?: Headers;
21
- qp?: QueryParams;
22
- encoding: 'application/json';
23
- }
24
- export interface Response {
25
- success: boolean;
26
- headers: Headers;
27
- data: OutputSchema;
28
- }
29
- export declare class InvalidHandleError extends XRPCError {
30
- constructor(src: XRPCError);
31
- }
32
- export declare class InvalidPasswordError extends XRPCError {
33
- constructor(src: XRPCError);
34
- }
35
- export declare class InvalidInviteCodeError extends XRPCError {
36
- constructor(src: XRPCError);
37
- }
38
- export declare class HandleNotAvailableError extends XRPCError {
39
- constructor(src: XRPCError);
40
- }
41
- export declare function toKnownErr(e: any): any;
@@ -1,22 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- useCount: number;
6
- [k: string]: unknown;
7
- }
8
- export interface OutputSchema {
9
- code: string;
10
- [k: string]: unknown;
11
- }
12
- export interface CallOptions {
13
- headers?: Headers;
14
- qp?: QueryParams;
15
- encoding: 'application/json';
16
- }
17
- export interface Response {
18
- success: boolean;
19
- headers: Headers;
20
- data: OutputSchema;
21
- }
22
- export declare function toKnownErr(e: any): any;
@@ -1,25 +0,0 @@
1
- import { Headers, XRPCError } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- did: string;
6
- password: string;
7
- token: string;
8
- [k: string]: unknown;
9
- }
10
- export interface CallOptions {
11
- headers?: Headers;
12
- qp?: QueryParams;
13
- encoding: 'application/json';
14
- }
15
- export interface Response {
16
- success: boolean;
17
- headers: Headers;
18
- }
19
- export declare class ExpiredTokenError extends XRPCError {
20
- constructor(src: XRPCError);
21
- }
22
- export declare class InvalidTokenError extends XRPCError {
23
- constructor(src: XRPCError);
24
- }
25
- export declare function toKnownErr(e: any): any;
@@ -1,12 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export declare type InputSchema = undefined;
5
- export interface CallOptions {
6
- headers?: Headers;
7
- }
8
- export interface Response {
9
- success: boolean;
10
- headers: Headers;
11
- }
12
- export declare function toKnownErr(e: any): any;
@@ -1,13 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export declare type InputSchema = undefined;
5
- export interface CallOptions {
6
- headers?: Headers;
7
- qp?: QueryParams;
8
- }
9
- export interface Response {
10
- success: boolean;
11
- headers: Headers;
12
- }
13
- export declare function toKnownErr(e: any): any;
@@ -1,17 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- email: string;
6
- [k: string]: unknown;
7
- }
8
- export interface CallOptions {
9
- headers?: Headers;
10
- qp?: QueryParams;
11
- encoding: 'application/json';
12
- }
13
- export interface Response {
14
- success: boolean;
15
- headers: Headers;
16
- }
17
- export declare function toKnownErr(e: any): any;
@@ -1,24 +0,0 @@
1
- import { Headers, XRPCError } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- token: string;
6
- password: string;
7
- [k: string]: unknown;
8
- }
9
- export interface CallOptions {
10
- headers?: Headers;
11
- qp?: QueryParams;
12
- encoding: 'application/json';
13
- }
14
- export interface Response {
15
- success: boolean;
16
- headers: Headers;
17
- }
18
- export declare class ExpiredTokenError extends XRPCError {
19
- constructor(src: XRPCError);
20
- }
21
- export declare class InvalidTokenError extends XRPCError {
22
- constructor(src: XRPCError);
23
- }
24
- export declare function toKnownErr(e: any): any;
@@ -1,37 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as ComAtprotoAdminModerationAction from './moderationAction';
3
- export interface View {
4
- cid: string;
5
- mimeType: string;
6
- size: number;
7
- createdAt: string;
8
- details?: ImageDetails | VideoDetails | {
9
- $type: string;
10
- [k: string]: unknown;
11
- };
12
- moderation?: Moderation;
13
- [k: string]: unknown;
14
- }
15
- export declare function isView(v: unknown): v is View;
16
- export declare function validateView(v: unknown): ValidationResult;
17
- export interface ImageDetails {
18
- width: number;
19
- height: number;
20
- [k: string]: unknown;
21
- }
22
- export declare function isImageDetails(v: unknown): v is ImageDetails;
23
- export declare function validateImageDetails(v: unknown): ValidationResult;
24
- export interface VideoDetails {
25
- width: number;
26
- height: number;
27
- length: number;
28
- [k: string]: unknown;
29
- }
30
- export declare function isVideoDetails(v: unknown): v is VideoDetails;
31
- export declare function validateVideoDetails(v: unknown): ValidationResult;
32
- export interface Moderation {
33
- currentAction?: ComAtprotoAdminModerationAction.ViewCurrent;
34
- [k: string]: unknown;
35
- }
36
- export declare function isModeration(v: unknown): v is Moderation;
37
- export declare function validateModeration(v: unknown): ValidationResult;
@@ -1,29 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import { ValidationResult } from '@atproto/lexicon';
3
- export interface QueryParams {
4
- }
5
- export declare type InputSchema = undefined;
6
- export interface OutputSchema {
7
- total: CodesDetail;
8
- user: CodesDetail;
9
- admin: CodesDetail;
10
- [k: string]: unknown;
11
- }
12
- export interface CallOptions {
13
- headers?: Headers;
14
- }
15
- export interface Response {
16
- success: boolean;
17
- headers: Headers;
18
- data: OutputSchema;
19
- }
20
- export declare function toKnownErr(e: any): any;
21
- export interface CodesDetail {
22
- count: number;
23
- available: number;
24
- used: number;
25
- disabled: number;
26
- [k: string]: unknown;
27
- }
28
- export declare function isCodesDetail(v: unknown): v is CodesDetail;
29
- export declare function validateCodesDetail(v: unknown): ValidationResult;
@@ -1,16 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoAdminDefs from './defs';
3
- export interface QueryParams {
4
- id: number;
5
- }
6
- export declare type InputSchema = undefined;
7
- export declare type OutputSchema = ComAtprotoAdminDefs.ActionViewDetail;
8
- export interface CallOptions {
9
- headers?: Headers;
10
- }
11
- export interface Response {
12
- success: boolean;
13
- headers: Headers;
14
- data: OutputSchema;
15
- }
16
- export declare function toKnownErr(e: any): any;
@@ -1,22 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoAdminDefs from './defs';
3
- export interface QueryParams {
4
- subject?: string;
5
- limit?: number;
6
- cursor?: string;
7
- }
8
- export declare type InputSchema = undefined;
9
- export interface OutputSchema {
10
- cursor?: string;
11
- actions: ComAtprotoAdminDefs.ActionView[];
12
- [k: string]: unknown;
13
- }
14
- export interface CallOptions {
15
- headers?: Headers;
16
- }
17
- export interface Response {
18
- success: boolean;
19
- headers: Headers;
20
- data: OutputSchema;
21
- }
22
- export declare function toKnownErr(e: any): any;
@@ -1,16 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoAdminDefs from './defs';
3
- export interface QueryParams {
4
- id: number;
5
- }
6
- export declare type InputSchema = undefined;
7
- export declare type OutputSchema = ComAtprotoAdminDefs.ReportViewDetail;
8
- export interface CallOptions {
9
- headers?: Headers;
10
- }
11
- export interface Response {
12
- success: boolean;
13
- headers: Headers;
14
- data: OutputSchema;
15
- }
16
- export declare function toKnownErr(e: any): any;
@@ -1,28 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoAdminDefs from './defs';
3
- export interface QueryParams {
4
- subject?: string;
5
- ignoreSubjects?: string[];
6
- actionedBy?: string;
7
- reporters?: string[];
8
- resolved?: boolean;
9
- actionType?: 'com.atproto.admin.defs#takedown' | 'com.atproto.admin.defs#flag' | 'com.atproto.admin.defs#acknowledge' | 'com.atproto.admin.defs#escalate' | (string & {});
10
- limit?: number;
11
- cursor?: string;
12
- reverse?: boolean;
13
- }
14
- export declare type InputSchema = undefined;
15
- export interface OutputSchema {
16
- cursor?: string;
17
- reports: ComAtprotoAdminDefs.ReportView[];
18
- [k: string]: unknown;
19
- }
20
- export interface CallOptions {
21
- headers?: Headers;
22
- }
23
- export interface Response {
24
- success: boolean;
25
- headers: Headers;
26
- data: OutputSchema;
27
- }
28
- export declare function toKnownErr(e: any): any;
@@ -1,26 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoAdminDefs from './defs';
3
- import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
4
- export interface QueryParams {
5
- did?: string;
6
- uri?: string;
7
- blob?: string;
8
- }
9
- export declare type InputSchema = undefined;
10
- export interface OutputSchema {
11
- subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
12
- $type: string;
13
- [k: string]: unknown;
14
- };
15
- takedown?: ComAtprotoAdminDefs.SubjectState;
16
- [k: string]: unknown;
17
- }
18
- export interface CallOptions {
19
- headers?: Headers;
20
- }
21
- export interface Response {
22
- success: boolean;
23
- headers: Headers;
24
- data: OutputSchema;
25
- }
26
- export declare function toKnownErr(e: any): any;
@@ -1,16 +0,0 @@
1
- import { Headers } from '@atproto/xrpc';
2
- import * as ComAtprotoAdminDefs from './defs';
3
- export interface QueryParams {
4
- did: string;
5
- }
6
- export declare type InputSchema = undefined;
7
- export declare type OutputSchema = ComAtprotoAdminDefs.UserAccountView;
8
- export interface CallOptions {
9
- headers?: Headers;
10
- }
11
- export interface Response {
12
- success: boolean;
13
- headers: Headers;
14
- data: OutputSchema;
15
- }
16
- export declare function toKnownErr(e: any): any;
@@ -1,60 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as ComAtprotoRepoRepoRef from '../repo/repoRef';
3
- import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
4
- import * as ComAtprotoAdminRepo from './repo';
5
- import * as ComAtprotoAdminRecord from './record';
6
- import * as ComAtprotoAdminBlob from './blob';
7
- import * as ComAtprotoAdminModerationReport from './moderationReport';
8
- export interface View {
9
- id: number;
10
- action: ActionType;
11
- subject: ComAtprotoRepoRepoRef.Main | ComAtprotoRepoStrongRef.Main | {
12
- $type: string;
13
- [k: string]: unknown;
14
- };
15
- subjectBlobCids: string[];
16
- reason: string;
17
- createdBy: string;
18
- createdAt: string;
19
- reversal?: Reversal;
20
- resolvedReportIds: number[];
21
- [k: string]: unknown;
22
- }
23
- export declare function isView(v: unknown): v is View;
24
- export declare function validateView(v: unknown): ValidationResult;
25
- export interface ViewDetail {
26
- id: number;
27
- action: ActionType;
28
- subject: ComAtprotoAdminRepo.View | ComAtprotoAdminRecord.View | {
29
- $type: string;
30
- [k: string]: unknown;
31
- };
32
- subjectBlobs: ComAtprotoAdminBlob.View[];
33
- reason: string;
34
- createdBy: string;
35
- createdAt: string;
36
- reversal?: Reversal;
37
- resolvedReports: ComAtprotoAdminModerationReport.View[];
38
- [k: string]: unknown;
39
- }
40
- export declare function isViewDetail(v: unknown): v is ViewDetail;
41
- export declare function validateViewDetail(v: unknown): ValidationResult;
42
- export interface ViewCurrent {
43
- id: number;
44
- action: ActionType;
45
- [k: string]: unknown;
46
- }
47
- export declare function isViewCurrent(v: unknown): v is ViewCurrent;
48
- export declare function validateViewCurrent(v: unknown): ValidationResult;
49
- export interface Reversal {
50
- reason: string;
51
- createdBy: string;
52
- createdAt: string;
53
- [k: string]: unknown;
54
- }
55
- export declare function isReversal(v: unknown): v is Reversal;
56
- export declare function validateReversal(v: unknown): ValidationResult;
57
- export declare type ActionType = 'com.atproto.admin.moderationAction#takedown' | 'com.atproto.admin.moderationAction#flag' | 'com.atproto.admin.moderationAction#acknowledge' | (string & {});
58
- export declare const TAKEDOWN = "com.atproto.admin.moderationAction#takedown";
59
- export declare const FLAG = "com.atproto.admin.moderationAction#flag";
60
- export declare const ACKNOWLEDGE = "com.atproto.admin.moderationAction#acknowledge";
@@ -1,37 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as ComAtprotoReportReasonType from '../report/reasonType';
3
- import * as ComAtprotoRepoRepoRef from '../repo/repoRef';
4
- import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
5
- import * as ComAtprotoAdminRepo from './repo';
6
- import * as ComAtprotoAdminRecord from './record';
7
- import * as ComAtprotoAdminModerationAction from './moderationAction';
8
- export interface View {
9
- id: number;
10
- reasonType: ComAtprotoReportReasonType.Main;
11
- reason?: string;
12
- subject: ComAtprotoRepoRepoRef.Main | ComAtprotoRepoStrongRef.Main | {
13
- $type: string;
14
- [k: string]: unknown;
15
- };
16
- reportedByDid: string;
17
- createdAt: string;
18
- resolvedByActionIds: number[];
19
- [k: string]: unknown;
20
- }
21
- export declare function isView(v: unknown): v is View;
22
- export declare function validateView(v: unknown): ValidationResult;
23
- export interface ViewDetail {
24
- id: number;
25
- reasonType: ComAtprotoReportReasonType.Main;
26
- reason?: string;
27
- subject: ComAtprotoAdminRepo.View | ComAtprotoAdminRecord.View | {
28
- $type: string;
29
- [k: string]: unknown;
30
- };
31
- reportedByDid: string;
32
- createdAt: string;
33
- resolvedByActions: ComAtprotoAdminModerationAction.View[];
34
- [k: string]: unknown;
35
- }
36
- export declare function isViewDetail(v: unknown): v is ViewDetail;
37
- export declare function validateViewDetail(v: unknown): ValidationResult;
@@ -1,24 +0,0 @@
1
- import { Headers, XRPCError } from '@atproto/xrpc';
2
- export interface QueryParams {
3
- }
4
- export interface InputSchema {
5
- repo: string;
6
- swapCommit?: string;
7
- [k: string]: unknown;
8
- }
9
- export interface CallOptions {
10
- headers?: Headers;
11
- qp?: QueryParams;
12
- encoding: 'application/json';
13
- }
14
- export interface Response {
15
- success: boolean;
16
- headers: Headers;
17
- }
18
- export declare class InvalidSwapError extends XRPCError {
19
- constructor(src: XRPCError);
20
- }
21
- export declare class ConcurrentWritesError extends XRPCError {
22
- constructor(src: XRPCError);
23
- }
24
- export declare function toKnownErr(e: any): any;
@@ -1,43 +0,0 @@
1
- import { ValidationResult } from '@atproto/lexicon';
2
- import * as ComAtprotoAdminRepo from './repo';
3
- import * as ComAtprotoAdminBlob from './blob';
4
- import * as ComAtprotoAdminModerationAction from './moderationAction';
5
- import * as ComAtprotoAdminModerationReport from './moderationReport';
6
- export interface View {
7
- uri: string;
8
- cid: string;
9
- value: {};
10
- blobCids: string[];
11
- indexedAt: string;
12
- moderation: Moderation;
13
- repo: ComAtprotoAdminRepo.View;
14
- [k: string]: unknown;
15
- }
16
- export declare function isView(v: unknown): v is View;
17
- export declare function validateView(v: unknown): ValidationResult;
18
- export interface ViewDetail {
19
- uri: string;
20
- cid: string;
21
- value: {};
22
- blobs: ComAtprotoAdminBlob.View[];
23
- indexedAt: string;
24
- moderation: ModerationDetail;
25
- repo: ComAtprotoAdminRepo.View;
26
- [k: string]: unknown;
27
- }
28
- export declare function isViewDetail(v: unknown): v is ViewDetail;
29
- export declare function validateViewDetail(v: unknown): ValidationResult;
30
- export interface Moderation {
31
- currentAction?: ComAtprotoAdminModerationAction.ViewCurrent;
32
- [k: string]: unknown;
33
- }
34
- export declare function isModeration(v: unknown): v is Moderation;
35
- export declare function validateModeration(v: unknown): ValidationResult;
36
- export interface ModerationDetail {
37
- currentAction?: ComAtprotoAdminModerationAction.ViewCurrent;
38
- actions: ComAtprotoAdminModerationAction.View[];
39
- reports: ComAtprotoAdminModerationReport.View[];
40
- [k: string]: unknown;
41
- }
42
- export declare function isModerationDetail(v: unknown): v is ModerationDetail;
43
- export declare function validateModerationDetail(v: unknown): ValidationResult;