@atproto/api 0.3.4 → 0.3.5

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 (293) hide show
  1. package/dist/client/lexicons.d.ts +4 -0
  2. package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
  3. package/dist/client/types/app/bsky/actor/ref.d.ts +28 -0
  4. package/dist/client/types/app/bsky/actor/search.d.ts +22 -0
  5. package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
  6. package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
  7. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +20 -0
  8. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +47 -0
  9. package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
  10. package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts +33 -0
  11. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
  12. package/dist/client/types/app/bsky/feed/generator.d.ts +13 -0
  13. package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +22 -0
  14. package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
  15. package/dist/client/types/app/bsky/feed/getFeed.d.ts +25 -0
  16. package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +21 -0
  17. package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +25 -0
  18. package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
  19. package/dist/client/types/app/bsky/feed/getVotes.d.ts +36 -0
  20. package/dist/client/types/app/bsky/feed/saveFeed.d.ts +17 -0
  21. package/dist/client/types/app/bsky/feed/setVote.d.ts +25 -0
  22. package/dist/client/types/app/bsky/feed/trend.d.ts +9 -0
  23. package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
  24. package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +17 -0
  25. package/dist/client/types/app/bsky/feed/vote.d.ts +10 -0
  26. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
  27. package/dist/client/types/app/bsky/graph/assertMember.d.ts +1 -0
  28. package/dist/client/types/app/bsky/graph/assertion.d.ts +10 -0
  29. package/dist/client/types/app/bsky/graph/confirmation.d.ts +11 -0
  30. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
  31. package/dist/client/types/app/bsky/graph/getMembers.d.ts +36 -0
  32. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +36 -0
  33. package/dist/client/types/app/bsky/graph/mute.d.ts +17 -0
  34. package/dist/client/types/app/bsky/graph/unmute.d.ts +17 -0
  35. package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
  36. package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
  37. package/dist/client/types/app/bsky/system/actorScene.d.ts +1 -0
  38. package/dist/client/types/app/bsky/system/actorUser.d.ts +1 -0
  39. package/dist/client/types/app/bsky/system/declRef.d.ts +8 -0
  40. package/dist/client/types/app/bsky/system/declaration.d.ts +7 -0
  41. package/dist/client/types/com/atproto/account/create.d.ts +41 -0
  42. package/dist/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
  43. package/dist/client/types/com/atproto/account/delete.d.ts +25 -0
  44. package/dist/client/types/com/atproto/account/get.d.ts +12 -0
  45. package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
  46. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
  47. package/dist/client/types/com/atproto/account/resetPassword.d.ts +24 -0
  48. package/dist/client/types/com/atproto/admin/blob.d.ts +37 -0
  49. package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
  50. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +60 -0
  51. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
  52. package/dist/client/types/com/atproto/admin/record.d.ts +43 -0
  53. package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
  54. package/dist/client/types/com/atproto/blob/upload.d.ts +19 -0
  55. package/dist/client/types/com/atproto/handle/resolve.d.ts +18 -0
  56. package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
  57. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +46 -0
  58. package/dist/client/types/com/atproto/repo/describe.d.ts +22 -0
  59. package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
  60. package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
  61. package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
  62. package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
  63. package/dist/client/types/com/atproto/report/create.d.ts +39 -0
  64. package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
  65. package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
  66. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +27 -0
  67. package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
  68. package/dist/client/types/com/atproto/session/create.d.ts +29 -0
  69. package/dist/client/types/com/atproto/session/delete.d.ts +13 -0
  70. package/dist/client/types/com/atproto/session/get.d.ts +18 -0
  71. package/dist/client/types/com/atproto/session/refresh.d.ts +24 -0
  72. package/dist/client/types/com/atproto/sync/getRoot.d.ts +18 -0
  73. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +9 -0
  74. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
  75. package/dist/index.js +8 -4
  76. package/dist/index.js.map +2 -2
  77. package/dist/session.d.ts +42 -0
  78. package/dist/src/client/index.d.ts +462 -0
  79. package/dist/src/client/lexicons.d.ts +2910 -0
  80. package/dist/src/client/schemas.d.ts +17 -0
  81. package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
  82. package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
  83. package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
  84. package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
  85. package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
  86. package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
  87. package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
  88. package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
  89. package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
  90. package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
  91. package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
  92. package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
  93. package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
  94. package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
  95. package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
  96. package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
  97. package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
  98. package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
  99. package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
  100. package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
  101. package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
  102. package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
  103. package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
  104. package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
  105. package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
  106. package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
  107. package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
  108. package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
  109. package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
  110. package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
  111. package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
  112. package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
  113. package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
  114. package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
  115. package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
  116. package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
  117. package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
  118. package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
  119. package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
  120. package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
  121. package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
  122. package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
  123. package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
  124. package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
  125. package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
  126. package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
  127. package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
  128. package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
  129. package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
  130. package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
  131. package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
  132. package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
  133. package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
  134. package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
  135. package/dist/src/client/types/app/bsky/like.d.ts +10 -0
  136. package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
  137. package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
  138. package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
  139. package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
  140. package/dist/src/client/types/app/bsky/post.d.ts +23 -0
  141. package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
  142. package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
  143. package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
  144. package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
  145. package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
  146. package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
  147. package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
  148. package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
  149. package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
  150. package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
  151. package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
  152. package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
  153. package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
  154. package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
  155. package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
  156. package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
  157. package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
  158. package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
  159. package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
  160. package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
  161. package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
  162. package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
  163. package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
  164. package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
  165. package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
  166. package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
  167. package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
  168. package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
  169. package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
  170. package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
  171. package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
  172. package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
  173. package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
  174. package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
  175. package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
  176. package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
  177. package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
  178. package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
  179. package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
  180. package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
  181. package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
  182. package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
  183. package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
  184. package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
  185. package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
  186. package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
  187. package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
  188. package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
  189. package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
  190. package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
  191. package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
  192. package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
  193. package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
  194. package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
  195. package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
  196. package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
  197. package/dist/src/index.d.ts +4 -0
  198. package/dist/src/schemas.d.ts +19 -0
  199. package/dist/src/session.d.ts +42 -0
  200. package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
  201. package/dist/src/types/app/bsky/badge.d.ts +22 -0
  202. package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
  203. package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
  204. package/dist/src/types/app/bsky/declaration.d.ts +6 -0
  205. package/dist/src/types/app/bsky/follow.d.ts +9 -0
  206. package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
  207. package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
  208. package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
  209. package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
  210. package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
  211. package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
  212. package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
  213. package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
  214. package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
  215. package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
  216. package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
  217. package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
  218. package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
  219. package/dist/src/types/app/bsky/invite.d.ts +10 -0
  220. package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
  221. package/dist/src/types/app/bsky/like.d.ts +10 -0
  222. package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
  223. package/dist/src/types/app/bsky/post.d.ts +23 -0
  224. package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
  225. package/dist/src/types/app/bsky/profile.d.ts +11 -0
  226. package/dist/src/types/app/bsky/repost.d.ts +10 -0
  227. package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
  228. package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
  229. package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
  230. package/dist/src/types/com/atproto/createSession.d.ts +23 -0
  231. package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
  232. package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
  233. package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
  234. package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
  235. package/dist/src/types/com/atproto/getSession.d.ts +17 -0
  236. package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
  237. package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
  238. package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
  239. package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
  240. package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
  241. package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
  242. package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
  243. package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
  244. package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
  245. package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
  246. package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
  247. package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
  248. package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
  249. package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
  250. package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
  251. package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
  252. package/dist/src/types/todo/adx/createSession.d.ts +22 -0
  253. package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
  254. package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
  255. package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
  256. package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
  257. package/dist/src/types/todo/adx/getSession.d.ts +17 -0
  258. package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
  259. package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
  260. package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
  261. package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
  262. package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
  263. package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
  264. package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
  265. package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
  266. package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
  267. package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
  268. package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
  269. package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
  270. package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
  271. package/dist/src/types/todo/social/badge.d.ts +23 -0
  272. package/dist/src/types/todo/social/follow.d.ts +5 -0
  273. package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
  274. package/dist/src/types/todo/social/getFeed.d.ts +55 -0
  275. package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
  276. package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
  277. package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
  278. package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
  279. package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
  280. package/dist/src/types/todo/social/getProfile.d.ts +40 -0
  281. package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
  282. package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
  283. package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
  284. package/dist/src/types/todo/social/like.d.ts +5 -0
  285. package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
  286. package/dist/src/types/todo/social/post.d.ts +18 -0
  287. package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
  288. package/dist/src/types/todo/social/profile.d.ts +10 -0
  289. package/dist/src/types/todo/social/repost.d.ts +5 -0
  290. package/dist/tsconfig.build.tsbuildinfo +1 -0
  291. package/package.json +1 -1
  292. package/src/client/lexicons.ts +3 -0
  293. package/tsconfig.build.tsbuildinfo +1 -1
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ handle?: string;
4
+ }
5
+ export declare type InputSchema = undefined;
6
+ export interface OutputSchema {
7
+ did: string;
8
+ [k: string]: unknown;
9
+ }
10
+ export interface CallOptions {
11
+ headers?: Headers;
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ data: OutputSchema;
17
+ }
18
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,17 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export interface InputSchema {
5
+ handle: 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;
@@ -0,0 +1,46 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ import { ValidationResult } from '@atproto/lexicon';
3
+ export interface QueryParams {
4
+ }
5
+ export interface InputSchema {
6
+ did: string;
7
+ validate?: boolean;
8
+ writes: (Create | Update | Delete)[];
9
+ [k: string]: unknown;
10
+ }
11
+ export interface CallOptions {
12
+ headers?: Headers;
13
+ qp?: QueryParams;
14
+ encoding: 'application/json';
15
+ }
16
+ export interface Response {
17
+ success: boolean;
18
+ headers: Headers;
19
+ }
20
+ export declare function toKnownErr(e: any): any;
21
+ export interface Create {
22
+ action: 'create';
23
+ collection: string;
24
+ rkey?: string;
25
+ value: {};
26
+ [k: string]: unknown;
27
+ }
28
+ export declare function isCreate(v: unknown): v is Create;
29
+ export declare function validateCreate(v: unknown): ValidationResult;
30
+ export interface Update {
31
+ action: 'update';
32
+ collection: string;
33
+ rkey: string;
34
+ value: {};
35
+ [k: string]: unknown;
36
+ }
37
+ export declare function isUpdate(v: unknown): v is Update;
38
+ export declare function validateUpdate(v: unknown): ValidationResult;
39
+ export interface Delete {
40
+ action: 'delete';
41
+ collection: string;
42
+ rkey: string;
43
+ [k: string]: unknown;
44
+ }
45
+ export declare function isDelete(v: unknown): v is Delete;
46
+ export declare function validateDelete(v: unknown): ValidationResult;
@@ -0,0 +1,22 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ user: string;
4
+ }
5
+ export declare type InputSchema = undefined;
6
+ export interface OutputSchema {
7
+ handle: string;
8
+ did: string;
9
+ didDoc: {};
10
+ collections: string[];
11
+ handleIsCorrect: boolean;
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;
@@ -0,0 +1,19 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = string | Uint8Array;
5
+ export interface OutputSchema {
6
+ head: string;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ encoding: 'application/vnd.ipld.car';
13
+ }
14
+ export interface Response {
15
+ success: boolean;
16
+ headers: Headers;
17
+ data: OutputSchema;
18
+ }
19
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,8 @@
1
+ import { ValidationResult } from '@atproto/lexicon';
2
+ export interface Main {
3
+ uri: string;
4
+ cid?: string;
5
+ [k: string]: unknown;
6
+ }
7
+ export declare function isMain(v: unknown): v is Main;
8
+ export declare function validateMain(v: unknown): ValidationResult;
@@ -0,0 +1,7 @@
1
+ import { ValidationResult } from '@atproto/lexicon';
2
+ export interface Main {
3
+ did: string;
4
+ [k: string]: unknown;
5
+ }
6
+ export declare function isMain(v: unknown): v is Main;
7
+ export declare function validateMain(v: unknown): ValidationResult;
@@ -0,0 +1,19 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = string | Uint8Array;
5
+ export interface OutputSchema {
6
+ head: string;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ encoding: 'application/vnd.ipld.car';
13
+ }
14
+ export interface Response {
15
+ success: boolean;
16
+ headers: Headers;
17
+ data: OutputSchema;
18
+ }
19
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,39 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ import * as ComAtprotoReportReasonType from './reasonType';
3
+ import * as ComAtprotoRepoRepoRef from '../repo/repoRef';
4
+ import * as ComAtprotoRepoRecordRef from '../repo/recordRef';
5
+ import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
6
+ export interface QueryParams {
7
+ }
8
+ export interface InputSchema {
9
+ reasonType: ComAtprotoReportReasonType.Main;
10
+ reason?: string;
11
+ subject: ComAtprotoRepoRepoRef.Main | ComAtprotoRepoRecordRef.Main | {
12
+ $type: string;
13
+ [k: string]: unknown;
14
+ };
15
+ [k: string]: unknown;
16
+ }
17
+ export interface OutputSchema {
18
+ id: number;
19
+ reasonType: ComAtprotoReportReasonType.Main;
20
+ reason?: string;
21
+ subject: ComAtprotoRepoRepoRef.Main | ComAtprotoRepoStrongRef.Main | {
22
+ $type: string;
23
+ [k: string]: unknown;
24
+ };
25
+ reportedByDid: string;
26
+ createdAt: string;
27
+ [k: string]: unknown;
28
+ }
29
+ export interface CallOptions {
30
+ headers?: Headers;
31
+ qp?: QueryParams;
32
+ encoding: 'application/json';
33
+ }
34
+ export interface Response {
35
+ success: boolean;
36
+ headers: Headers;
37
+ data: OutputSchema;
38
+ }
39
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,3 @@
1
+ export declare type Main = 'com.atproto.report.reasonType#spam' | 'com.atproto.report.reasonType#other' | (string & {});
2
+ export declare const SPAM = "com.atproto.report.reasonType#spam";
3
+ export declare const OTHER = "com.atproto.report.reasonType#other";
@@ -0,0 +1,23 @@
1
+ import { ValidationResult } from '@atproto/lexicon';
2
+ export interface Repo {
3
+ did: string;
4
+ [k: string]: unknown;
5
+ }
6
+ export declare function isRepo(v: unknown): v is Repo;
7
+ export declare function validateRepo(v: unknown): ValidationResult;
8
+ export interface Record {
9
+ did: string;
10
+ collection: string;
11
+ rkey: string;
12
+ cid?: string;
13
+ [k: string]: unknown;
14
+ }
15
+ export declare function isRecord(v: unknown): v is Record;
16
+ export declare function validateRecord(v: unknown): ValidationResult;
17
+ export interface RecordRef {
18
+ uri: string;
19
+ cid: string;
20
+ [k: string]: unknown;
21
+ }
22
+ export declare function isRecordRef(v: unknown): v is RecordRef;
23
+ export declare function validateRecordRef(v: unknown): ValidationResult;
@@ -0,0 +1,27 @@
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
+ inviteCodeRequired?: boolean;
8
+ availableUserDomains: string[];
9
+ links?: Links;
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 Links {
22
+ privacyPolicy?: string;
23
+ termsOfService?: string;
24
+ [k: string]: unknown;
25
+ }
26
+ export declare function isLinks(v: unknown): v is Links;
27
+ export declare function validateLinks(v: unknown): ValidationResult;
@@ -0,0 +1,31 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ import { ValidationResult } from '@atproto/lexicon';
3
+ export interface QueryParams {
4
+ includeUsed?: boolean;
5
+ createAvailable?: boolean;
6
+ }
7
+ export declare type InputSchema = undefined;
8
+ export interface OutputSchema {
9
+ codes: Invite[];
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 class DuplicateCreateError extends XRPCError {
21
+ constructor(src: XRPCError);
22
+ }
23
+ export declare function toKnownErr(e: any): any;
24
+ export interface Invite {
25
+ code: string;
26
+ available: number;
27
+ uses: number;
28
+ [k: string]: unknown;
29
+ }
30
+ export declare function isInvite(v: unknown): v is Invite;
31
+ export declare function validateInvite(v: unknown): ValidationResult;
@@ -0,0 +1,29 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export interface InputSchema {
5
+ identifier?: string;
6
+ password: string;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface OutputSchema {
10
+ accessJwt: string;
11
+ refreshJwt: string;
12
+ handle: string;
13
+ did: string;
14
+ [k: string]: unknown;
15
+ }
16
+ export interface CallOptions {
17
+ headers?: Headers;
18
+ qp?: QueryParams;
19
+ encoding: 'application/json';
20
+ }
21
+ export interface Response {
22
+ success: boolean;
23
+ headers: Headers;
24
+ data: OutputSchema;
25
+ }
26
+ export declare class AccountTakedownError extends XRPCError {
27
+ constructor(src: XRPCError);
28
+ }
29
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,13 @@
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;
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = undefined;
5
+ export interface OutputSchema {
6
+ handle: string;
7
+ did: string;
8
+ [k: string]: unknown;
9
+ }
10
+ export interface CallOptions {
11
+ headers?: Headers;
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ data: OutputSchema;
17
+ }
18
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,24 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = undefined;
5
+ export interface OutputSchema {
6
+ accessJwt: string;
7
+ refreshJwt: string;
8
+ handle: string;
9
+ did: string;
10
+ [k: string]: unknown;
11
+ }
12
+ export interface CallOptions {
13
+ headers?: Headers;
14
+ qp?: QueryParams;
15
+ }
16
+ export interface Response {
17
+ success: boolean;
18
+ headers: Headers;
19
+ data: OutputSchema;
20
+ }
21
+ export declare class AccountTakedownError extends XRPCError {
22
+ constructor(src: XRPCError);
23
+ }
24
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ did: string;
4
+ }
5
+ export declare type InputSchema = undefined;
6
+ export interface OutputSchema {
7
+ root: string;
8
+ [k: string]: unknown;
9
+ }
10
+ export interface CallOptions {
11
+ headers?: Headers;
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ data: OutputSchema;
17
+ }
18
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,9 @@
1
+ import { ValidationResult } from '@atproto/lexicon';
2
+ export interface RepoOp {
3
+ action: 'create' | 'update' | 'delete' | (string & {});
4
+ path: string;
5
+ cid: string | null;
6
+ [k: string]: unknown;
7
+ }
8
+ export declare function isRepoOp(v: unknown): v is RepoOp;
9
+ export declare function validateRepoOp(v: unknown): ValidationResult;
@@ -0,0 +1,15 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ did: string;
4
+ }
5
+ export declare type InputSchema = string | Uint8Array;
6
+ export interface CallOptions {
7
+ headers?: Headers;
8
+ qp?: QueryParams;
9
+ encoding: 'application/cbor';
10
+ }
11
+ export interface Response {
12
+ success: boolean;
13
+ headers: Headers;
14
+ }
15
+ export declare function toKnownErr(e: any): any;
package/dist/index.js CHANGED
@@ -18210,7 +18210,8 @@ var schemaDict = {
18210
18210
  format: "nsid"
18211
18211
  },
18212
18212
  rkey: {
18213
- type: "string"
18213
+ type: "string",
18214
+ maxLength: 15
18214
18215
  },
18215
18216
  value: {
18216
18217
  type: "unknown"
@@ -18227,7 +18228,8 @@ var schemaDict = {
18227
18228
  format: "nsid"
18228
18229
  },
18229
18230
  rkey: {
18230
- type: "string"
18231
+ type: "string",
18232
+ maxLength: 15
18231
18233
  },
18232
18234
  value: {
18233
18235
  type: "unknown"
@@ -18275,7 +18277,8 @@ var schemaDict = {
18275
18277
  },
18276
18278
  rkey: {
18277
18279
  type: "string",
18278
- description: "The key of the record."
18280
+ description: "The key of the record.",
18281
+ maxLength: 15
18279
18282
  },
18280
18283
  validate: {
18281
18284
  type: "boolean",
@@ -18589,7 +18592,8 @@ var schemaDict = {
18589
18592
  },
18590
18593
  rkey: {
18591
18594
  type: "string",
18592
- description: "The key of the record."
18595
+ description: "The key of the record.",
18596
+ maxLength: 15
18593
18597
  },
18594
18598
  validate: {
18595
18599
  type: "boolean",