@atproto/api 0.20.0 → 0.20.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 (401) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/client/index.d.ts +9 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +12 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +488 -12
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +249 -6
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/embed/external.d.ts +45 -2
  11. package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/embed/external.js +21 -0
  13. package/dist/client/types/app/bsky/embed/external.js.map +1 -1
  14. package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +32 -0
  15. package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -0
  16. package/dist/client/types/app/bsky/embed/getEmbedExternalView.js +8 -0
  17. package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -0
  18. package/dist/client/types/chat/bsky/actor/getStatus.d.ts +23 -0
  19. package/dist/client/types/chat/bsky/actor/getStatus.d.ts.map +1 -0
  20. package/dist/client/types/chat/bsky/actor/getStatus.js +8 -0
  21. package/dist/client/types/chat/bsky/actor/getStatus.js.map +1 -0
  22. package/dist/client/types/chat/bsky/group/addMembers.d.ts +3 -3
  23. package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  24. package/dist/client/types/chat/bsky/group/addMembers.js +7 -7
  25. package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
  26. package/dist/client/types/chat/bsky/group/createGroup.d.ts +4 -1
  27. package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  28. package/dist/client/types/chat/bsky/group/createGroup.js +10 -3
  29. package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
  30. package/dist/client/types/chat/bsky/group/listMutualGroups.d.ts +26 -0
  31. package/dist/client/types/chat/bsky/group/listMutualGroups.d.ts.map +1 -0
  32. package/dist/client/types/chat/bsky/group/listMutualGroups.js +8 -0
  33. package/dist/client/types/chat/bsky/group/listMutualGroups.js.map +1 -0
  34. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +1 -1
  35. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  36. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  37. package/package.json +6 -5
  38. package/tsconfig.build.tsbuildinfo +1 -1
  39. package/src/client/index.ts +0 -6408
  40. package/src/client/lexicons.ts +0 -25781
  41. package/src/client/types/app/bsky/actor/defs.ts +0 -716
  42. package/src/client/types/app/bsky/actor/getPreferences.ts +0 -39
  43. package/src/client/types/app/bsky/actor/getProfile.ts +0 -39
  44. package/src/client/types/app/bsky/actor/getProfiles.ts +0 -41
  45. package/src/client/types/app/bsky/actor/getSuggestions.ts +0 -47
  46. package/src/client/types/app/bsky/actor/profile.ts +0 -52
  47. package/src/client/types/app/bsky/actor/putPreferences.ts +0 -39
  48. package/src/client/types/app/bsky/actor/searchActors.ts +0 -47
  49. package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +0 -45
  50. package/src/client/types/app/bsky/actor/status.ts +0 -46
  51. package/src/client/types/app/bsky/ageassurance/begin.ts +0 -80
  52. package/src/client/types/app/bsky/ageassurance/defs.ts +0 -303
  53. package/src/client/types/app/bsky/ageassurance/getConfig.ts +0 -36
  54. package/src/client/types/app/bsky/ageassurance/getState.ts +0 -43
  55. package/src/client/types/app/bsky/bookmark/createBookmark.ts +0 -50
  56. package/src/client/types/app/bsky/bookmark/defs.ts +0 -54
  57. package/src/client/types/app/bsky/bookmark/deleteBookmark.ts +0 -49
  58. package/src/client/types/app/bsky/bookmark/getBookmarks.ts +0 -43
  59. package/src/client/types/app/bsky/contact/defs.ts +0 -71
  60. package/src/client/types/app/bsky/contact/dismissMatch.ts +0 -59
  61. package/src/client/types/app/bsky/contact/getMatches.ts +0 -74
  62. package/src/client/types/app/bsky/contact/getSyncStatus.ts +0 -56
  63. package/src/client/types/app/bsky/contact/importContacts.ts +0 -86
  64. package/src/client/types/app/bsky/contact/removeData.ts +0 -56
  65. package/src/client/types/app/bsky/contact/sendNotification.ts +0 -44
  66. package/src/client/types/app/bsky/contact/startPhoneVerification.ts +0 -73
  67. package/src/client/types/app/bsky/contact/verifyPhone.ts +0 -85
  68. package/src/client/types/app/bsky/draft/createDraft.ts +0 -55
  69. package/src/client/types/app/bsky/draft/defs.ts +0 -212
  70. package/src/client/types/app/bsky/draft/deleteDraft.ts +0 -38
  71. package/src/client/types/app/bsky/draft/getDrafts.ts +0 -43
  72. package/src/client/types/app/bsky/draft/updateDraft.ts +0 -39
  73. package/src/client/types/app/bsky/embed/defs.ts +0 -32
  74. package/src/client/types/app/bsky/embed/external.ts +0 -85
  75. package/src/client/types/app/bsky/embed/images.ts +0 -86
  76. package/src/client/types/app/bsky/embed/record.ts +0 -146
  77. package/src/client/types/app/bsky/embed/recordWithMedia.ts +0 -59
  78. package/src/client/types/app/bsky/embed/video.ts +0 -75
  79. package/src/client/types/app/bsky/feed/defs.ts +0 -428
  80. package/src/client/types/app/bsky/feed/describeFeedGenerator.ts +0 -71
  81. package/src/client/types/app/bsky/feed/generator.ts +0 -51
  82. package/src/client/types/app/bsky/feed/getActorFeeds.ts +0 -44
  83. package/src/client/types/app/bsky/feed/getActorLikes.ts +0 -61
  84. package/src/client/types/app/bsky/feed/getAuthorFeed.ts +0 -70
  85. package/src/client/types/app/bsky/feed/getFeed.ts +0 -54
  86. package/src/client/types/app/bsky/feed/getFeedGenerator.ts +0 -46
  87. package/src/client/types/app/bsky/feed/getFeedGenerators.ts +0 -41
  88. package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +0 -57
  89. package/src/client/types/app/bsky/feed/getLikes.ts +0 -66
  90. package/src/client/types/app/bsky/feed/getListFeed.ts +0 -55
  91. package/src/client/types/app/bsky/feed/getPostThread.ts +0 -61
  92. package/src/client/types/app/bsky/feed/getPosts.ts +0 -42
  93. package/src/client/types/app/bsky/feed/getQuotes.ts +0 -49
  94. package/src/client/types/app/bsky/feed/getRepostedBy.ts +0 -49
  95. package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +0 -43
  96. package/src/client/types/app/bsky/feed/getTimeline.ts +0 -45
  97. package/src/client/types/app/bsky/feed/like.ts +0 -40
  98. package/src/client/types/app/bsky/feed/post.ts +0 -117
  99. package/src/client/types/app/bsky/feed/postgate.ts +0 -58
  100. package/src/client/types/app/bsky/feed/repost.ts +0 -40
  101. package/src/client/types/app/bsky/feed/searchPosts.ts +0 -76
  102. package/src/client/types/app/bsky/feed/sendInteractions.ts +0 -43
  103. package/src/client/types/app/bsky/feed/threadgate.ts +0 -110
  104. package/src/client/types/app/bsky/graph/block.ts +0 -39
  105. package/src/client/types/app/bsky/graph/defs.ts +0 -206
  106. package/src/client/types/app/bsky/graph/follow.ts +0 -40
  107. package/src/client/types/app/bsky/graph/getActorStarterPacks.ts +0 -44
  108. package/src/client/types/app/bsky/graph/getBlocks.ts +0 -43
  109. package/src/client/types/app/bsky/graph/getFollowers.ts +0 -45
  110. package/src/client/types/app/bsky/graph/getFollows.ts +0 -45
  111. package/src/client/types/app/bsky/graph/getKnownFollowers.ts +0 -45
  112. package/src/client/types/app/bsky/graph/getList.ts +0 -46
  113. package/src/client/types/app/bsky/graph/getListBlocks.ts +0 -43
  114. package/src/client/types/app/bsky/graph/getListMutes.ts +0 -43
  115. package/src/client/types/app/bsky/graph/getLists.ts +0 -47
  116. package/src/client/types/app/bsky/graph/getListsWithMembership.ts +0 -64
  117. package/src/client/types/app/bsky/graph/getMutes.ts +0 -43
  118. package/src/client/types/app/bsky/graph/getRelationships.ts +0 -59
  119. package/src/client/types/app/bsky/graph/getStarterPack.ts +0 -42
  120. package/src/client/types/app/bsky/graph/getStarterPacks.ts +0 -41
  121. package/src/client/types/app/bsky/graph/getStarterPacksWithMembership.ts +0 -66
  122. package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -47
  123. package/src/client/types/app/bsky/graph/list.ts +0 -47
  124. package/src/client/types/app/bsky/graph/listblock.ts +0 -39
  125. package/src/client/types/app/bsky/graph/listitem.ts +0 -41
  126. package/src/client/types/app/bsky/graph/muteActor.ts +0 -38
  127. package/src/client/types/app/bsky/graph/muteActorList.ts +0 -38
  128. package/src/client/types/app/bsky/graph/muteThread.ts +0 -38
  129. package/src/client/types/app/bsky/graph/searchStarterPacks.ts +0 -45
  130. package/src/client/types/app/bsky/graph/starterpack.ts +0 -60
  131. package/src/client/types/app/bsky/graph/unmuteActor.ts +0 -38
  132. package/src/client/types/app/bsky/graph/unmuteActorList.ts +0 -38
  133. package/src/client/types/app/bsky/graph/unmuteThread.ts +0 -38
  134. package/src/client/types/app/bsky/graph/verification.ts +0 -44
  135. package/src/client/types/app/bsky/labeler/defs.ts +0 -100
  136. package/src/client/types/app/bsky/labeler/getServices.ts +0 -46
  137. package/src/client/types/app/bsky/labeler/service.ts +0 -48
  138. package/src/client/types/app/bsky/notification/declaration.ts +0 -38
  139. package/src/client/types/app/bsky/notification/defs.ts +0 -142
  140. package/src/client/types/app/bsky/notification/getPreferences.ts +0 -39
  141. package/src/client/types/app/bsky/notification/getUnreadCount.ts +0 -41
  142. package/src/client/types/app/bsky/notification/listActivitySubscriptions.ts +0 -43
  143. package/src/client/types/app/bsky/notification/listNotifications.ts +0 -88
  144. package/src/client/types/app/bsky/notification/putActivitySubscription.ts +0 -46
  145. package/src/client/types/app/bsky/notification/putPreferences.ts +0 -38
  146. package/src/client/types/app/bsky/notification/putPreferencesV2.ts +0 -56
  147. package/src/client/types/app/bsky/notification/registerPush.ts +0 -43
  148. package/src/client/types/app/bsky/notification/unregisterPush.ts +0 -41
  149. package/src/client/types/app/bsky/notification/updateSeen.ts +0 -38
  150. package/src/client/types/app/bsky/richtext/facet.ts +0 -97
  151. package/src/client/types/app/bsky/unspecced/defs.ts +0 -250
  152. package/src/client/types/app/bsky/unspecced/getAgeAssuranceState.ts +0 -36
  153. package/src/client/types/app/bsky/unspecced/getConfig.ts +0 -55
  154. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts +0 -41
  155. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts +0 -42
  156. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +0 -48
  157. package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -44
  158. package/src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts +0 -61
  159. package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +0 -78
  160. package/src/client/types/app/bsky/unspecced/getSuggestedFeeds.ts +0 -41
  161. package/src/client/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +0 -42
  162. package/src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +0 -47
  163. package/src/client/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +0 -41
  164. package/src/client/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +0 -42
  165. package/src/client/types/app/bsky/unspecced/getSuggestedUsers.ts +0 -47
  166. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +0 -43
  167. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +0 -44
  168. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +0 -45
  169. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +0 -46
  170. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +0 -45
  171. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +0 -46
  172. package/src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +0 -48
  173. package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +0 -53
  174. package/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts +0 -55
  175. package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +0 -44
  176. package/src/client/types/app/bsky/unspecced/getTrends.ts +0 -41
  177. package/src/client/types/app/bsky/unspecced/getTrendsSkeleton.ts +0 -43
  178. package/src/client/types/app/bsky/unspecced/initAgeAssurance.ts +0 -71
  179. package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +0 -62
  180. package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +0 -78
  181. package/src/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +0 -60
  182. package/src/client/types/app/bsky/video/defs.ts +0 -38
  183. package/src/client/types/app/bsky/video/getJobStatus.ts +0 -41
  184. package/src/client/types/app/bsky/video/getUploadLimits.ts +0 -42
  185. package/src/client/types/app/bsky/video/uploadVideo.ts +0 -41
  186. package/src/client/types/chat/bsky/actor/declaration.ts +0 -39
  187. package/src/client/types/chat/bsky/actor/defs.ts +0 -96
  188. package/src/client/types/chat/bsky/actor/deleteAccount.ts +0 -37
  189. package/src/client/types/chat/bsky/actor/exportAccountData.ts +0 -34
  190. package/src/client/types/chat/bsky/convo/acceptConvo.ts +0 -54
  191. package/src/client/types/chat/bsky/convo/addReaction.ts +0 -87
  192. package/src/client/types/chat/bsky/convo/defs.ts +0 -1058
  193. package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +0 -61
  194. package/src/client/types/chat/bsky/convo/getConvo.ts +0 -51
  195. package/src/client/types/chat/bsky/convo/getConvoAvailability.ts +0 -42
  196. package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +0 -80
  197. package/src/client/types/chat/bsky/convo/getConvoMembers.ts +0 -54
  198. package/src/client/types/chat/bsky/convo/getLog.ts +0 -71
  199. package/src/client/types/chat/bsky/convo/getMessages.ts +0 -62
  200. package/src/client/types/chat/bsky/convo/leaveConvo.ts +0 -61
  201. package/src/client/types/chat/bsky/convo/listConvoRequests.ts +0 -48
  202. package/src/client/types/chat/bsky/convo/listConvos.ts +0 -50
  203. package/src/client/types/chat/bsky/convo/lockConvo.ts +0 -68
  204. package/src/client/types/chat/bsky/convo/muteConvo.ts +0 -54
  205. package/src/client/types/chat/bsky/convo/removeReaction.ts +0 -79
  206. package/src/client/types/chat/bsky/convo/sendMessage.ts +0 -60
  207. package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +0 -77
  208. package/src/client/types/chat/bsky/convo/unlockConvo.ts +0 -61
  209. package/src/client/types/chat/bsky/convo/unmuteConvo.ts +0 -54
  210. package/src/client/types/chat/bsky/convo/updateAllRead.ts +0 -44
  211. package/src/client/types/chat/bsky/convo/updateRead.ts +0 -55
  212. package/src/client/types/chat/bsky/group/addMembers.ts +0 -114
  213. package/src/client/types/chat/bsky/group/approveJoinRequest.ts +0 -69
  214. package/src/client/types/chat/bsky/group/createGroup.ts +0 -84
  215. package/src/client/types/chat/bsky/group/createJoinLink.ts +0 -71
  216. package/src/client/types/chat/bsky/group/defs.ts +0 -75
  217. package/src/client/types/chat/bsky/group/disableJoinLink.ts +0 -68
  218. package/src/client/types/chat/bsky/group/editGroup.ts +0 -69
  219. package/src/client/types/chat/bsky/group/editJoinLink.ts +0 -70
  220. package/src/client/types/chat/bsky/group/enableJoinLink.ts +0 -75
  221. package/src/client/types/chat/bsky/group/getJoinLinkPreview.ts +0 -51
  222. package/src/client/types/chat/bsky/group/listJoinRequests.ts +0 -61
  223. package/src/client/types/chat/bsky/group/rejectJoinRequest.ts +0 -59
  224. package/src/client/types/chat/bsky/group/removeMembers.ts +0 -62
  225. package/src/client/types/chat/bsky/group/requestJoin.ts +0 -90
  226. package/src/client/types/chat/bsky/moderation/getActorMetadata.ts +0 -60
  227. package/src/client/types/chat/bsky/moderation/getMessageContext.ts +0 -53
  228. package/src/client/types/chat/bsky/moderation/subscribeModEvents.ts +0 -366
  229. package/src/client/types/chat/bsky/moderation/updateActorAccess.ts +0 -40
  230. package/src/client/types/com/atproto/admin/defs.ts +0 -106
  231. package/src/client/types/com/atproto/admin/deleteAccount.ts +0 -38
  232. package/src/client/types/com/atproto/admin/disableAccountInvites.ts +0 -40
  233. package/src/client/types/com/atproto/admin/disableInviteCodes.ts +0 -39
  234. package/src/client/types/com/atproto/admin/enableAccountInvites.ts +0 -40
  235. package/src/client/types/com/atproto/admin/getAccountInfo.ts +0 -38
  236. package/src/client/types/com/atproto/admin/getAccountInfos.ts +0 -41
  237. package/src/client/types/com/atproto/admin/getInviteCodes.ts +0 -44
  238. package/src/client/types/com/atproto/admin/getSubjectStatus.ts +0 -50
  239. package/src/client/types/com/atproto/admin/searchAccounts.ts +0 -44
  240. package/src/client/types/com/atproto/admin/sendEmail.ts +0 -48
  241. package/src/client/types/com/atproto/admin/updateAccountEmail.ts +0 -40
  242. package/src/client/types/com/atproto/admin/updateAccountHandle.ts +0 -39
  243. package/src/client/types/com/atproto/admin/updateAccountPassword.ts +0 -39
  244. package/src/client/types/com/atproto/admin/updateAccountSigningKey.ts +0 -40
  245. package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +0 -56
  246. package/src/client/types/com/atproto/identity/defs.ts +0 -34
  247. package/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts +0 -42
  248. package/src/client/types/com/atproto/identity/refreshIdentity.ts +0 -66
  249. package/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts +0 -34
  250. package/src/client/types/com/atproto/identity/resolveDid.ts +0 -59
  251. package/src/client/types/com/atproto/identity/resolveHandle.ts +0 -51
  252. package/src/client/types/com/atproto/identity/resolveIdentity.ts +0 -63
  253. package/src/client/types/com/atproto/identity/signPlcOperation.ts +0 -49
  254. package/src/client/types/com/atproto/identity/submitPlcOperation.ts +0 -38
  255. package/src/client/types/com/atproto/identity/updateHandle.ts +0 -39
  256. package/src/client/types/com/atproto/label/defs.ts +0 -143
  257. package/src/client/types/com/atproto/label/queryLabels.ts +0 -47
  258. package/src/client/types/com/atproto/label/subscribeLabels.ts +0 -49
  259. package/src/client/types/com/atproto/lexicon/resolveLexicon.ts +0 -56
  260. package/src/client/types/com/atproto/lexicon/schema.ts +0 -38
  261. package/src/client/types/com/atproto/moderation/createReport.ts +0 -80
  262. package/src/client/types/com/atproto/moderation/defs.ts +0 -83
  263. package/src/client/types/com/atproto/repo/applyWrites.ts +0 -167
  264. package/src/client/types/com/atproto/repo/createRecord.ts +0 -68
  265. package/src/client/types/com/atproto/repo/defs.ts +0 -31
  266. package/src/client/types/com/atproto/repo/deleteRecord.ts +0 -63
  267. package/src/client/types/com/atproto/repo/describeRepo.ts +0 -48
  268. package/src/client/types/com/atproto/repo/getRecord.ts +0 -59
  269. package/src/client/types/com/atproto/repo/importRepo.ts +0 -35
  270. package/src/client/types/com/atproto/repo/listMissingBlobs.ts +0 -58
  271. package/src/client/types/com/atproto/repo/listRecords.ts +0 -66
  272. package/src/client/types/com/atproto/repo/putRecord.ts +0 -70
  273. package/src/client/types/com/atproto/repo/strongRef.ts +0 -31
  274. package/src/client/types/com/atproto/repo/uploadBlob.ts +0 -40
  275. package/src/client/types/com/atproto/server/activateAccount.ts +0 -34
  276. package/src/client/types/com/atproto/server/checkAccountStatus.ts +0 -46
  277. package/src/client/types/com/atproto/server/confirmEmail.ts +0 -70
  278. package/src/client/types/com/atproto/server/createAccount.ts +0 -115
  279. package/src/client/types/com/atproto/server/createAppPassword.ts +0 -72
  280. package/src/client/types/com/atproto/server/createInviteCode.ts +0 -44
  281. package/src/client/types/com/atproto/server/createInviteCodes.ts +0 -61
  282. package/src/client/types/com/atproto/server/createSession.ts +0 -76
  283. package/src/client/types/com/atproto/server/deactivateAccount.ts +0 -39
  284. package/src/client/types/com/atproto/server/defs.ts +0 -52
  285. package/src/client/types/com/atproto/server/deleteAccount.ts +0 -57
  286. package/src/client/types/com/atproto/server/deleteSession.ts +0 -51
  287. package/src/client/types/com/atproto/server/describeServer.ts +0 -77
  288. package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +0 -53
  289. package/src/client/types/com/atproto/server/getServiceAuth.ts +0 -55
  290. package/src/client/types/com/atproto/server/getSession.ts +0 -46
  291. package/src/client/types/com/atproto/server/listAppPasswords.ts +0 -65
  292. package/src/client/types/com/atproto/server/refreshSession.ts +0 -73
  293. package/src/client/types/com/atproto/server/requestAccountDelete.ts +0 -34
  294. package/src/client/types/com/atproto/server/requestEmailConfirmation.ts +0 -34
  295. package/src/client/types/com/atproto/server/requestEmailUpdate.ts +0 -39
  296. package/src/client/types/com/atproto/server/requestPasswordReset.ts +0 -38
  297. package/src/client/types/com/atproto/server/reserveSigningKey.ts +0 -45
  298. package/src/client/types/com/atproto/server/resetPassword.ts +0 -56
  299. package/src/client/types/com/atproto/server/revokeAppPassword.ts +0 -38
  300. package/src/client/types/com/atproto/server/updateEmail.ts +0 -65
  301. package/src/client/types/com/atproto/sync/defs.ts +0 -23
  302. package/src/client/types/com/atproto/sync/getBlob.ts +0 -77
  303. package/src/client/types/com/atproto/sync/getBlocks.ts +0 -76
  304. package/src/client/types/com/atproto/sync/getCheckout.ts +0 -37
  305. package/src/client/types/com/atproto/sync/getHead.ts +0 -51
  306. package/src/client/types/com/atproto/sync/getHostStatus.ts +0 -57
  307. package/src/client/types/com/atproto/sync/getLatestCommit.ts +0 -73
  308. package/src/client/types/com/atproto/sync/getRecord.ts +0 -78
  309. package/src/client/types/com/atproto/sync/getRepo.ts +0 -70
  310. package/src/client/types/com/atproto/sync/getRepoStatus.ts +0 -63
  311. package/src/client/types/com/atproto/sync/listBlobs.ts +0 -77
  312. package/src/client/types/com/atproto/sync/listHosts.ts +0 -64
  313. package/src/client/types/com/atproto/sync/listRepos.ts +0 -70
  314. package/src/client/types/com/atproto/sync/listReposByCollection.ts +0 -59
  315. package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +0 -39
  316. package/src/client/types/com/atproto/sync/requestCrawl.ts +0 -49
  317. package/src/client/types/com/atproto/sync/subscribeRepos.ts +0 -164
  318. package/src/client/types/com/atproto/temp/addReservedHandle.ts +0 -41
  319. package/src/client/types/com/atproto/temp/checkHandleAvailability.ts +0 -109
  320. package/src/client/types/com/atproto/temp/checkSignupQueue.ts +0 -40
  321. package/src/client/types/com/atproto/temp/dereferenceScope.ts +0 -53
  322. package/src/client/types/com/atproto/temp/fetchLabels.ts +0 -42
  323. package/src/client/types/com/atproto/temp/requestPhoneVerification.ts +0 -38
  324. package/src/client/types/com/atproto/temp/revokeAccountCredentials.ts +0 -38
  325. package/src/client/types/com/germnetwork/declaration.ts +0 -63
  326. package/src/client/types/tools/ozone/communication/createTemplate.ts +0 -62
  327. package/src/client/types/tools/ozone/communication/defs.ts +0 -43
  328. package/src/client/types/tools/ozone/communication/deleteTemplate.ts +0 -38
  329. package/src/client/types/tools/ozone/communication/listTemplates.ts +0 -39
  330. package/src/client/types/tools/ozone/communication/updateTemplate.ts +0 -65
  331. package/src/client/types/tools/ozone/hosting/getAccountHistory.ts +0 -148
  332. package/src/client/types/tools/ozone/moderation/cancelScheduledActions.ts +0 -79
  333. package/src/client/types/tools/ozone/moderation/defs.ts +0 -1176
  334. package/src/client/types/tools/ozone/moderation/emitEvent.ts +0 -121
  335. package/src/client/types/tools/ozone/moderation/getAccountTimeline.ts +0 -115
  336. package/src/client/types/tools/ozone/moderation/getEvent.ts +0 -38
  337. package/src/client/types/tools/ozone/moderation/getRecord.ts +0 -49
  338. package/src/client/types/tools/ozone/moderation/getRecords.ts +0 -45
  339. package/src/client/types/tools/ozone/moderation/getRepo.ts +0 -48
  340. package/src/client/types/tools/ozone/moderation/getReporterStats.ts +0 -41
  341. package/src/client/types/tools/ozone/moderation/getRepos.ts +0 -45
  342. package/src/client/types/tools/ozone/moderation/getSubjects.ts +0 -41
  343. package/src/client/types/tools/ozone/moderation/listScheduledActions.ts +0 -57
  344. package/src/client/types/tools/ozone/moderation/queryEvents.ts +0 -87
  345. package/src/client/types/tools/ozone/moderation/queryStatuses.ts +0 -122
  346. package/src/client/types/tools/ozone/moderation/scheduleAction.ts +0 -133
  347. package/src/client/types/tools/ozone/moderation/searchRepos.ts +0 -46
  348. package/src/client/types/tools/ozone/queue/assignModerator.ts +0 -55
  349. package/src/client/types/tools/ozone/queue/createQueue.ts +0 -63
  350. package/src/client/types/tools/ozone/queue/defs.ts +0 -99
  351. package/src/client/types/tools/ozone/queue/deleteQueue.ts +0 -48
  352. package/src/client/types/tools/ozone/queue/getAssignments.ts +0 -49
  353. package/src/client/types/tools/ozone/queue/listQueues.ts +0 -51
  354. package/src/client/types/tools/ozone/queue/routeReports.ts +0 -59
  355. package/src/client/types/tools/ozone/queue/unassignModerator.ts +0 -51
  356. package/src/client/types/tools/ozone/queue/updateQueue.ts +0 -51
  357. package/src/client/types/tools/ozone/report/assignModerator.ts +0 -66
  358. package/src/client/types/tools/ozone/report/createActivity.ts +0 -85
  359. package/src/client/types/tools/ozone/report/defs.ts +0 -466
  360. package/src/client/types/tools/ozone/report/getAssignments.ts +0 -49
  361. package/src/client/types/tools/ozone/report/getHistoricalStats.ts +0 -55
  362. package/src/client/types/tools/ozone/report/getLatestReport.ts +0 -49
  363. package/src/client/types/tools/ozone/report/getLiveStats.ts +0 -46
  364. package/src/client/types/tools/ozone/report/getReport.ts +0 -49
  365. package/src/client/types/tools/ozone/report/listActivities.ts +0 -45
  366. package/src/client/types/tools/ozone/report/queryReports.ts +0 -73
  367. package/src/client/types/tools/ozone/report/reassignQueue.ts +0 -88
  368. package/src/client/types/tools/ozone/report/refreshStats.ts +0 -46
  369. package/src/client/types/tools/ozone/report/unassignModerator.ts +0 -53
  370. package/src/client/types/tools/ozone/safelink/addRule.ts +0 -67
  371. package/src/client/types/tools/ozone/safelink/defs.ts +0 -76
  372. package/src/client/types/tools/ozone/safelink/queryEvents.ts +0 -55
  373. package/src/client/types/tools/ozone/safelink/queryRules.ts +0 -61
  374. package/src/client/types/tools/ozone/safelink/removeRule.ts +0 -58
  375. package/src/client/types/tools/ozone/safelink/updateRule.ts +0 -60
  376. package/src/client/types/tools/ozone/server/getConfig.ts +0 -79
  377. package/src/client/types/tools/ozone/set/addValues.ts +0 -41
  378. package/src/client/types/tools/ozone/set/defs.ts +0 -50
  379. package/src/client/types/tools/ozone/set/deleteSet.ts +0 -52
  380. package/src/client/types/tools/ozone/set/deleteValues.ts +0 -51
  381. package/src/client/types/tools/ozone/set/getValues.ts +0 -55
  382. package/src/client/types/tools/ozone/set/querySets.ts +0 -47
  383. package/src/client/types/tools/ozone/set/upsertSet.ts +0 -38
  384. package/src/client/types/tools/ozone/setting/defs.ts +0 -44
  385. package/src/client/types/tools/ozone/setting/listOptions.ts +0 -48
  386. package/src/client/types/tools/ozone/setting/removeOptions.ts +0 -42
  387. package/src/client/types/tools/ozone/setting/upsertOption.ts +0 -53
  388. package/src/client/types/tools/ozone/signature/defs.ts +0 -31
  389. package/src/client/types/tools/ozone/signature/findCorrelation.ts +0 -41
  390. package/src/client/types/tools/ozone/signature/findRelatedAccounts.ts +0 -61
  391. package/src/client/types/tools/ozone/signature/searchAccounts.ts +0 -44
  392. package/src/client/types/tools/ozone/team/addMember.ts +0 -59
  393. package/src/client/types/tools/ozone/team/defs.ts +0 -51
  394. package/src/client/types/tools/ozone/team/deleteMember.ts +0 -55
  395. package/src/client/types/tools/ozone/team/listMembers.ts +0 -46
  396. package/src/client/types/tools/ozone/team/updateMember.ts +0 -59
  397. package/src/client/types/tools/ozone/verification/defs.ts +0 -59
  398. package/src/client/types/tools/ozone/verification/grantVerifications.ts +0 -87
  399. package/src/client/types/tools/ozone/verification/listVerifications.ts +0 -57
  400. package/src/client/types/tools/ozone/verification/revokeVerifications.ts +0 -68
  401. package/src/client/util.ts +0 -82
@@ -1,42 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'
17
-
18
- export type QueryParams = {
19
- /** DID of the account making the request (not included for public/unauthenticated queries). */
20
- viewer?: string
21
- limit?: number
22
- }
23
- export type InputSchema = undefined
24
-
25
- export interface OutputSchema {
26
- feeds: string[]
27
- }
28
-
29
- export interface CallOptions {
30
- signal?: AbortSignal
31
- headers?: HeadersMap
32
- }
33
-
34
- export interface Response {
35
- success: boolean
36
- headers: HeadersMap
37
- data: OutputSchema
38
- }
39
-
40
- export function toKnownErr(e: any) {
41
- return e
42
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyActorDefs from '../actor/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestedOnboardingUsers'
18
-
19
- export type QueryParams = {
20
- /** Category of users to get suggestions for. */
21
- category?: string
22
- limit?: number
23
- }
24
- export type InputSchema = undefined
25
-
26
- export interface OutputSchema {
27
- actors: AppBskyActorDefs.ProfileView[]
28
- /** DEPRECATED: use recIdStr instead. */
29
- recId?: string
30
- /** Snowflake for this recommendation, use when submitting recommendation events. */
31
- recIdStr?: string
32
- }
33
-
34
- export interface CallOptions {
35
- signal?: AbortSignal
36
- headers?: HeadersMap
37
- }
38
-
39
- export interface Response {
40
- success: boolean
41
- headers: HeadersMap
42
- data: OutputSchema
43
- }
44
-
45
- export function toKnownErr(e: any) {
46
- return e
47
- }
@@ -1,41 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyGraphDefs from '../graph/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestedStarterPacks'
18
-
19
- export type QueryParams = {
20
- limit?: number
21
- }
22
- export type InputSchema = undefined
23
-
24
- export interface OutputSchema {
25
- starterPacks: AppBskyGraphDefs.StarterPackView[]
26
- }
27
-
28
- export interface CallOptions {
29
- signal?: AbortSignal
30
- headers?: HeadersMap
31
- }
32
-
33
- export interface Response {
34
- success: boolean
35
- headers: HeadersMap
36
- data: OutputSchema
37
- }
38
-
39
- export function toKnownErr(e: any) {
40
- return e
41
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'
17
-
18
- export type QueryParams = {
19
- /** DID of the account making the request (not included for public/unauthenticated queries). */
20
- viewer?: string
21
- limit?: number
22
- }
23
- export type InputSchema = undefined
24
-
25
- export interface OutputSchema {
26
- starterPacks: string[]
27
- }
28
-
29
- export interface CallOptions {
30
- signal?: AbortSignal
31
- headers?: HeadersMap
32
- }
33
-
34
- export interface Response {
35
- success: boolean
36
- headers: HeadersMap
37
- data: OutputSchema
38
- }
39
-
40
- export function toKnownErr(e: any) {
41
- return e
42
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyActorDefs from '../actor/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestedUsers'
18
-
19
- export type QueryParams = {
20
- /** Category of users to get suggestions for. */
21
- category?: string
22
- limit?: number
23
- }
24
- export type InputSchema = undefined
25
-
26
- export interface OutputSchema {
27
- actors: AppBskyActorDefs.ProfileView[]
28
- /** DEPRECATED: use recIdStr instead. */
29
- recId?: string
30
- /** Snowflake for this recommendation, use when submitting recommendation events. */
31
- recIdStr?: string
32
- }
33
-
34
- export interface CallOptions {
35
- signal?: AbortSignal
36
- headers?: HeadersMap
37
- }
38
-
39
- export interface Response {
40
- success: boolean
41
- headers: HeadersMap
42
- data: OutputSchema
43
- }
44
-
45
- export function toKnownErr(e: any) {
46
- return e
47
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyActorDefs from '../actor/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestedUsersForDiscover'
18
-
19
- export type QueryParams = {
20
- limit?: number
21
- }
22
- export type InputSchema = undefined
23
-
24
- export interface OutputSchema {
25
- actors: AppBskyActorDefs.ProfileView[]
26
- /** Snowflake for this recommendation, use when submitting recommendation events. */
27
- recIdStr?: string
28
- }
29
-
30
- export interface CallOptions {
31
- signal?: AbortSignal
32
- headers?: HeadersMap
33
- }
34
-
35
- export interface Response {
36
- success: boolean
37
- headers: HeadersMap
38
- data: OutputSchema
39
- }
40
-
41
- export function toKnownErr(e: any) {
42
- return e
43
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton'
17
-
18
- export type QueryParams = {
19
- /** DID of the account making the request (not included for public/unauthenticated queries). */
20
- viewer?: string
21
- limit?: number
22
- }
23
- export type InputSchema = undefined
24
-
25
- export interface OutputSchema {
26
- dids: string[]
27
- /** Snowflake for this recommendation, use when submitting recommendation events. */
28
- recIdStr?: string
29
- }
30
-
31
- export interface CallOptions {
32
- signal?: AbortSignal
33
- headers?: HeadersMap
34
- }
35
-
36
- export interface Response {
37
- success: boolean
38
- headers: HeadersMap
39
- data: OutputSchema
40
- }
41
-
42
- export function toKnownErr(e: any) {
43
- return e
44
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyActorDefs from '../actor/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestedUsersForExplore'
18
-
19
- export type QueryParams = {
20
- /** Category of users to get suggestions for. */
21
- category?: string
22
- limit?: number
23
- }
24
- export type InputSchema = undefined
25
-
26
- export interface OutputSchema {
27
- actors: AppBskyActorDefs.ProfileView[]
28
- /** Snowflake for this recommendation, use when submitting recommendation events. */
29
- recIdStr?: string
30
- }
31
-
32
- export interface CallOptions {
33
- signal?: AbortSignal
34
- headers?: HeadersMap
35
- }
36
-
37
- export interface Response {
38
- success: boolean
39
- headers: HeadersMap
40
- data: OutputSchema
41
- }
42
-
43
- export function toKnownErr(e: any) {
44
- return e
45
- }
@@ -1,46 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton'
17
-
18
- export type QueryParams = {
19
- /** DID of the account making the request (not included for public/unauthenticated queries). */
20
- viewer?: string
21
- /** Category of users to get suggestions for. */
22
- category?: string
23
- limit?: number
24
- }
25
- export type InputSchema = undefined
26
-
27
- export interface OutputSchema {
28
- dids: string[]
29
- /** Snowflake for this recommendation, use when submitting recommendation events. */
30
- recIdStr?: string
31
- }
32
-
33
- export interface CallOptions {
34
- signal?: AbortSignal
35
- headers?: HeadersMap
36
- }
37
-
38
- export interface Response {
39
- success: boolean
40
- headers: HeadersMap
41
- data: OutputSchema
42
- }
43
-
44
- export function toKnownErr(e: any) {
45
- return e
46
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyActorDefs from '../actor/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMore'
18
-
19
- export type QueryParams = {
20
- /** Category of users to get suggestions for. */
21
- category?: string
22
- limit?: number
23
- }
24
- export type InputSchema = undefined
25
-
26
- export interface OutputSchema {
27
- actors: AppBskyActorDefs.ProfileView[]
28
- /** Snowflake for this recommendation, use when submitting recommendation events. */
29
- recIdStr?: string
30
- }
31
-
32
- export interface CallOptions {
33
- signal?: AbortSignal
34
- headers?: HeadersMap
35
- }
36
-
37
- export interface Response {
38
- success: boolean
39
- headers: HeadersMap
40
- data: OutputSchema
41
- }
42
-
43
- export function toKnownErr(e: any) {
44
- return e
45
- }
@@ -1,46 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton'
17
-
18
- export type QueryParams = {
19
- /** DID of the account making the request (not included for public/unauthenticated queries). */
20
- viewer?: string
21
- /** Category of users to get suggestions for. */
22
- category?: string
23
- limit?: number
24
- }
25
- export type InputSchema = undefined
26
-
27
- export interface OutputSchema {
28
- dids: string[]
29
- /** Snowflake for this recommendation, use when submitting recommendation events. */
30
- recIdStr?: string
31
- }
32
-
33
- export interface CallOptions {
34
- signal?: AbortSignal
35
- headers?: HeadersMap
36
- }
37
-
38
- export interface Response {
39
- success: boolean
40
- headers: HeadersMap
41
- data: OutputSchema
42
- }
43
-
44
- export function toKnownErr(e: any) {
45
- return e
46
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getSuggestedUsersSkeleton'
17
-
18
- export type QueryParams = {
19
- /** DID of the account making the request (not included for public/unauthenticated queries). */
20
- viewer?: string
21
- /** Category of users to get suggestions for. */
22
- category?: string
23
- limit?: number
24
- }
25
- export type InputSchema = undefined
26
-
27
- export interface OutputSchema {
28
- dids: string[]
29
- /** DEPRECATED: use recIdStr instead. */
30
- recId?: string
31
- /** Snowflake for this recommendation, use when submitting recommendation events. */
32
- recIdStr?: string
33
- }
34
-
35
- export interface CallOptions {
36
- signal?: AbortSignal
37
- headers?: HeadersMap
38
- }
39
-
40
- export interface Response {
41
- success: boolean
42
- headers: HeadersMap
43
- data: OutputSchema
44
- }
45
-
46
- export function toKnownErr(e: any) {
47
- return e
48
- }
@@ -1,53 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyUnspeccedDefs from './defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getSuggestionsSkeleton'
18
-
19
- export type QueryParams = {
20
- /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
21
- viewer?: string
22
- limit?: number
23
- cursor?: string
24
- /** DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer. */
25
- relativeToDid?: string
26
- }
27
- export type InputSchema = undefined
28
-
29
- export interface OutputSchema {
30
- cursor?: string
31
- actors: AppBskyUnspeccedDefs.SkeletonSearchActor[]
32
- /** DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer. */
33
- relativeToDid?: string
34
- /** DEPRECATED: use recIdStr instead. */
35
- recId?: number
36
- /** Snowflake for this recommendation, use when submitting recommendation events. */
37
- recIdStr?: string
38
- }
39
-
40
- export interface CallOptions {
41
- signal?: AbortSignal
42
- headers?: HeadersMap
43
- }
44
-
45
- export interface Response {
46
- success: boolean
47
- headers: HeadersMap
48
- data: OutputSchema
49
- }
50
-
51
- export function toKnownErr(e: any) {
52
- return e
53
- }
@@ -1,55 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'app.bsky.unspecced.getTaggedSuggestions'
17
-
18
- export type QueryParams = {}
19
- export type InputSchema = undefined
20
-
21
- export interface OutputSchema {
22
- suggestions: Suggestion[]
23
- }
24
-
25
- export interface CallOptions {
26
- signal?: AbortSignal
27
- headers?: HeadersMap
28
- }
29
-
30
- export interface Response {
31
- success: boolean
32
- headers: HeadersMap
33
- data: OutputSchema
34
- }
35
-
36
- export function toKnownErr(e: any) {
37
- return e
38
- }
39
-
40
- export interface Suggestion {
41
- $type?: 'app.bsky.unspecced.getTaggedSuggestions#suggestion'
42
- tag: string
43
- subjectType: 'actor' | 'feed' | (string & {})
44
- subject: string
45
- }
46
-
47
- const hashSuggestion = 'suggestion'
48
-
49
- export function isSuggestion<V>(v: V) {
50
- return is$typed(v, id, hashSuggestion)
51
- }
52
-
53
- export function validateSuggestion<V>(v: V) {
54
- return validate<Suggestion & V>(v, id, hashSuggestion)
55
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { HeadersMap, XRPCError } from '@atproto/xrpc'
5
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
6
- import { CID } from 'multiformats/cid'
7
- import { validate as _validate } from '../../../../lexicons.js'
8
- import {
9
- type $Typed,
10
- is$typed as _is$typed,
11
- type OmitKey,
12
- } from '../../../../util.js'
13
- import type * as AppBskyUnspeccedDefs from './defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getTrendingTopics'
18
-
19
- export type QueryParams = {
20
- /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
21
- viewer?: string
22
- limit?: number
23
- }
24
- export type InputSchema = undefined
25
-
26
- export interface OutputSchema {
27
- topics: AppBskyUnspeccedDefs.TrendingTopic[]
28
- suggested: AppBskyUnspeccedDefs.TrendingTopic[]
29
- }
30
-
31
- export interface CallOptions {
32
- signal?: AbortSignal
33
- headers?: HeadersMap
34
- }
35
-
36
- export interface Response {
37
- success: boolean
38
- headers: HeadersMap
39
- data: OutputSchema
40
- }
41
-
42
- export function toKnownErr(e: any) {
43
- return e
44
- }