@atproto/api 0.20.0 → 0.20.1

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 (381) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +4 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +98 -2
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +50 -0
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/chat/bsky/group/listMutualGroups.d.ts +26 -0
  11. package/dist/client/types/chat/bsky/group/listMutualGroups.d.ts.map +1 -0
  12. package/dist/client/types/chat/bsky/group/listMutualGroups.js +8 -0
  13. package/dist/client/types/chat/bsky/group/listMutualGroups.js.map +1 -0
  14. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +1 -1
  15. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  16. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  17. package/package.json +6 -5
  18. package/tsconfig.build.tsbuildinfo +1 -1
  19. package/src/client/index.ts +0 -6408
  20. package/src/client/lexicons.ts +0 -25781
  21. package/src/client/types/app/bsky/actor/defs.ts +0 -716
  22. package/src/client/types/app/bsky/actor/getPreferences.ts +0 -39
  23. package/src/client/types/app/bsky/actor/getProfile.ts +0 -39
  24. package/src/client/types/app/bsky/actor/getProfiles.ts +0 -41
  25. package/src/client/types/app/bsky/actor/getSuggestions.ts +0 -47
  26. package/src/client/types/app/bsky/actor/profile.ts +0 -52
  27. package/src/client/types/app/bsky/actor/putPreferences.ts +0 -39
  28. package/src/client/types/app/bsky/actor/searchActors.ts +0 -47
  29. package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +0 -45
  30. package/src/client/types/app/bsky/actor/status.ts +0 -46
  31. package/src/client/types/app/bsky/ageassurance/begin.ts +0 -80
  32. package/src/client/types/app/bsky/ageassurance/defs.ts +0 -303
  33. package/src/client/types/app/bsky/ageassurance/getConfig.ts +0 -36
  34. package/src/client/types/app/bsky/ageassurance/getState.ts +0 -43
  35. package/src/client/types/app/bsky/bookmark/createBookmark.ts +0 -50
  36. package/src/client/types/app/bsky/bookmark/defs.ts +0 -54
  37. package/src/client/types/app/bsky/bookmark/deleteBookmark.ts +0 -49
  38. package/src/client/types/app/bsky/bookmark/getBookmarks.ts +0 -43
  39. package/src/client/types/app/bsky/contact/defs.ts +0 -71
  40. package/src/client/types/app/bsky/contact/dismissMatch.ts +0 -59
  41. package/src/client/types/app/bsky/contact/getMatches.ts +0 -74
  42. package/src/client/types/app/bsky/contact/getSyncStatus.ts +0 -56
  43. package/src/client/types/app/bsky/contact/importContacts.ts +0 -86
  44. package/src/client/types/app/bsky/contact/removeData.ts +0 -56
  45. package/src/client/types/app/bsky/contact/sendNotification.ts +0 -44
  46. package/src/client/types/app/bsky/contact/startPhoneVerification.ts +0 -73
  47. package/src/client/types/app/bsky/contact/verifyPhone.ts +0 -85
  48. package/src/client/types/app/bsky/draft/createDraft.ts +0 -55
  49. package/src/client/types/app/bsky/draft/defs.ts +0 -212
  50. package/src/client/types/app/bsky/draft/deleteDraft.ts +0 -38
  51. package/src/client/types/app/bsky/draft/getDrafts.ts +0 -43
  52. package/src/client/types/app/bsky/draft/updateDraft.ts +0 -39
  53. package/src/client/types/app/bsky/embed/defs.ts +0 -32
  54. package/src/client/types/app/bsky/embed/external.ts +0 -85
  55. package/src/client/types/app/bsky/embed/images.ts +0 -86
  56. package/src/client/types/app/bsky/embed/record.ts +0 -146
  57. package/src/client/types/app/bsky/embed/recordWithMedia.ts +0 -59
  58. package/src/client/types/app/bsky/embed/video.ts +0 -75
  59. package/src/client/types/app/bsky/feed/defs.ts +0 -428
  60. package/src/client/types/app/bsky/feed/describeFeedGenerator.ts +0 -71
  61. package/src/client/types/app/bsky/feed/generator.ts +0 -51
  62. package/src/client/types/app/bsky/feed/getActorFeeds.ts +0 -44
  63. package/src/client/types/app/bsky/feed/getActorLikes.ts +0 -61
  64. package/src/client/types/app/bsky/feed/getAuthorFeed.ts +0 -70
  65. package/src/client/types/app/bsky/feed/getFeed.ts +0 -54
  66. package/src/client/types/app/bsky/feed/getFeedGenerator.ts +0 -46
  67. package/src/client/types/app/bsky/feed/getFeedGenerators.ts +0 -41
  68. package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +0 -57
  69. package/src/client/types/app/bsky/feed/getLikes.ts +0 -66
  70. package/src/client/types/app/bsky/feed/getListFeed.ts +0 -55
  71. package/src/client/types/app/bsky/feed/getPostThread.ts +0 -61
  72. package/src/client/types/app/bsky/feed/getPosts.ts +0 -42
  73. package/src/client/types/app/bsky/feed/getQuotes.ts +0 -49
  74. package/src/client/types/app/bsky/feed/getRepostedBy.ts +0 -49
  75. package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +0 -43
  76. package/src/client/types/app/bsky/feed/getTimeline.ts +0 -45
  77. package/src/client/types/app/bsky/feed/like.ts +0 -40
  78. package/src/client/types/app/bsky/feed/post.ts +0 -117
  79. package/src/client/types/app/bsky/feed/postgate.ts +0 -58
  80. package/src/client/types/app/bsky/feed/repost.ts +0 -40
  81. package/src/client/types/app/bsky/feed/searchPosts.ts +0 -76
  82. package/src/client/types/app/bsky/feed/sendInteractions.ts +0 -43
  83. package/src/client/types/app/bsky/feed/threadgate.ts +0 -110
  84. package/src/client/types/app/bsky/graph/block.ts +0 -39
  85. package/src/client/types/app/bsky/graph/defs.ts +0 -206
  86. package/src/client/types/app/bsky/graph/follow.ts +0 -40
  87. package/src/client/types/app/bsky/graph/getActorStarterPacks.ts +0 -44
  88. package/src/client/types/app/bsky/graph/getBlocks.ts +0 -43
  89. package/src/client/types/app/bsky/graph/getFollowers.ts +0 -45
  90. package/src/client/types/app/bsky/graph/getFollows.ts +0 -45
  91. package/src/client/types/app/bsky/graph/getKnownFollowers.ts +0 -45
  92. package/src/client/types/app/bsky/graph/getList.ts +0 -46
  93. package/src/client/types/app/bsky/graph/getListBlocks.ts +0 -43
  94. package/src/client/types/app/bsky/graph/getListMutes.ts +0 -43
  95. package/src/client/types/app/bsky/graph/getLists.ts +0 -47
  96. package/src/client/types/app/bsky/graph/getListsWithMembership.ts +0 -64
  97. package/src/client/types/app/bsky/graph/getMutes.ts +0 -43
  98. package/src/client/types/app/bsky/graph/getRelationships.ts +0 -59
  99. package/src/client/types/app/bsky/graph/getStarterPack.ts +0 -42
  100. package/src/client/types/app/bsky/graph/getStarterPacks.ts +0 -41
  101. package/src/client/types/app/bsky/graph/getStarterPacksWithMembership.ts +0 -66
  102. package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -47
  103. package/src/client/types/app/bsky/graph/list.ts +0 -47
  104. package/src/client/types/app/bsky/graph/listblock.ts +0 -39
  105. package/src/client/types/app/bsky/graph/listitem.ts +0 -41
  106. package/src/client/types/app/bsky/graph/muteActor.ts +0 -38
  107. package/src/client/types/app/bsky/graph/muteActorList.ts +0 -38
  108. package/src/client/types/app/bsky/graph/muteThread.ts +0 -38
  109. package/src/client/types/app/bsky/graph/searchStarterPacks.ts +0 -45
  110. package/src/client/types/app/bsky/graph/starterpack.ts +0 -60
  111. package/src/client/types/app/bsky/graph/unmuteActor.ts +0 -38
  112. package/src/client/types/app/bsky/graph/unmuteActorList.ts +0 -38
  113. package/src/client/types/app/bsky/graph/unmuteThread.ts +0 -38
  114. package/src/client/types/app/bsky/graph/verification.ts +0 -44
  115. package/src/client/types/app/bsky/labeler/defs.ts +0 -100
  116. package/src/client/types/app/bsky/labeler/getServices.ts +0 -46
  117. package/src/client/types/app/bsky/labeler/service.ts +0 -48
  118. package/src/client/types/app/bsky/notification/declaration.ts +0 -38
  119. package/src/client/types/app/bsky/notification/defs.ts +0 -142
  120. package/src/client/types/app/bsky/notification/getPreferences.ts +0 -39
  121. package/src/client/types/app/bsky/notification/getUnreadCount.ts +0 -41
  122. package/src/client/types/app/bsky/notification/listActivitySubscriptions.ts +0 -43
  123. package/src/client/types/app/bsky/notification/listNotifications.ts +0 -88
  124. package/src/client/types/app/bsky/notification/putActivitySubscription.ts +0 -46
  125. package/src/client/types/app/bsky/notification/putPreferences.ts +0 -38
  126. package/src/client/types/app/bsky/notification/putPreferencesV2.ts +0 -56
  127. package/src/client/types/app/bsky/notification/registerPush.ts +0 -43
  128. package/src/client/types/app/bsky/notification/unregisterPush.ts +0 -41
  129. package/src/client/types/app/bsky/notification/updateSeen.ts +0 -38
  130. package/src/client/types/app/bsky/richtext/facet.ts +0 -97
  131. package/src/client/types/app/bsky/unspecced/defs.ts +0 -250
  132. package/src/client/types/app/bsky/unspecced/getAgeAssuranceState.ts +0 -36
  133. package/src/client/types/app/bsky/unspecced/getConfig.ts +0 -55
  134. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts +0 -41
  135. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts +0 -42
  136. package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +0 -48
  137. package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -44
  138. package/src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts +0 -61
  139. package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +0 -78
  140. package/src/client/types/app/bsky/unspecced/getSuggestedFeeds.ts +0 -41
  141. package/src/client/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +0 -42
  142. package/src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +0 -47
  143. package/src/client/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +0 -41
  144. package/src/client/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +0 -42
  145. package/src/client/types/app/bsky/unspecced/getSuggestedUsers.ts +0 -47
  146. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +0 -43
  147. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +0 -44
  148. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +0 -45
  149. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +0 -46
  150. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +0 -45
  151. package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +0 -46
  152. package/src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +0 -48
  153. package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +0 -53
  154. package/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts +0 -55
  155. package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +0 -44
  156. package/src/client/types/app/bsky/unspecced/getTrends.ts +0 -41
  157. package/src/client/types/app/bsky/unspecced/getTrendsSkeleton.ts +0 -43
  158. package/src/client/types/app/bsky/unspecced/initAgeAssurance.ts +0 -71
  159. package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +0 -62
  160. package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +0 -78
  161. package/src/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +0 -60
  162. package/src/client/types/app/bsky/video/defs.ts +0 -38
  163. package/src/client/types/app/bsky/video/getJobStatus.ts +0 -41
  164. package/src/client/types/app/bsky/video/getUploadLimits.ts +0 -42
  165. package/src/client/types/app/bsky/video/uploadVideo.ts +0 -41
  166. package/src/client/types/chat/bsky/actor/declaration.ts +0 -39
  167. package/src/client/types/chat/bsky/actor/defs.ts +0 -96
  168. package/src/client/types/chat/bsky/actor/deleteAccount.ts +0 -37
  169. package/src/client/types/chat/bsky/actor/exportAccountData.ts +0 -34
  170. package/src/client/types/chat/bsky/convo/acceptConvo.ts +0 -54
  171. package/src/client/types/chat/bsky/convo/addReaction.ts +0 -87
  172. package/src/client/types/chat/bsky/convo/defs.ts +0 -1058
  173. package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +0 -61
  174. package/src/client/types/chat/bsky/convo/getConvo.ts +0 -51
  175. package/src/client/types/chat/bsky/convo/getConvoAvailability.ts +0 -42
  176. package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +0 -80
  177. package/src/client/types/chat/bsky/convo/getConvoMembers.ts +0 -54
  178. package/src/client/types/chat/bsky/convo/getLog.ts +0 -71
  179. package/src/client/types/chat/bsky/convo/getMessages.ts +0 -62
  180. package/src/client/types/chat/bsky/convo/leaveConvo.ts +0 -61
  181. package/src/client/types/chat/bsky/convo/listConvoRequests.ts +0 -48
  182. package/src/client/types/chat/bsky/convo/listConvos.ts +0 -50
  183. package/src/client/types/chat/bsky/convo/lockConvo.ts +0 -68
  184. package/src/client/types/chat/bsky/convo/muteConvo.ts +0 -54
  185. package/src/client/types/chat/bsky/convo/removeReaction.ts +0 -79
  186. package/src/client/types/chat/bsky/convo/sendMessage.ts +0 -60
  187. package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +0 -77
  188. package/src/client/types/chat/bsky/convo/unlockConvo.ts +0 -61
  189. package/src/client/types/chat/bsky/convo/unmuteConvo.ts +0 -54
  190. package/src/client/types/chat/bsky/convo/updateAllRead.ts +0 -44
  191. package/src/client/types/chat/bsky/convo/updateRead.ts +0 -55
  192. package/src/client/types/chat/bsky/group/addMembers.ts +0 -114
  193. package/src/client/types/chat/bsky/group/approveJoinRequest.ts +0 -69
  194. package/src/client/types/chat/bsky/group/createGroup.ts +0 -84
  195. package/src/client/types/chat/bsky/group/createJoinLink.ts +0 -71
  196. package/src/client/types/chat/bsky/group/defs.ts +0 -75
  197. package/src/client/types/chat/bsky/group/disableJoinLink.ts +0 -68
  198. package/src/client/types/chat/bsky/group/editGroup.ts +0 -69
  199. package/src/client/types/chat/bsky/group/editJoinLink.ts +0 -70
  200. package/src/client/types/chat/bsky/group/enableJoinLink.ts +0 -75
  201. package/src/client/types/chat/bsky/group/getJoinLinkPreview.ts +0 -51
  202. package/src/client/types/chat/bsky/group/listJoinRequests.ts +0 -61
  203. package/src/client/types/chat/bsky/group/rejectJoinRequest.ts +0 -59
  204. package/src/client/types/chat/bsky/group/removeMembers.ts +0 -62
  205. package/src/client/types/chat/bsky/group/requestJoin.ts +0 -90
  206. package/src/client/types/chat/bsky/moderation/getActorMetadata.ts +0 -60
  207. package/src/client/types/chat/bsky/moderation/getMessageContext.ts +0 -53
  208. package/src/client/types/chat/bsky/moderation/subscribeModEvents.ts +0 -366
  209. package/src/client/types/chat/bsky/moderation/updateActorAccess.ts +0 -40
  210. package/src/client/types/com/atproto/admin/defs.ts +0 -106
  211. package/src/client/types/com/atproto/admin/deleteAccount.ts +0 -38
  212. package/src/client/types/com/atproto/admin/disableAccountInvites.ts +0 -40
  213. package/src/client/types/com/atproto/admin/disableInviteCodes.ts +0 -39
  214. package/src/client/types/com/atproto/admin/enableAccountInvites.ts +0 -40
  215. package/src/client/types/com/atproto/admin/getAccountInfo.ts +0 -38
  216. package/src/client/types/com/atproto/admin/getAccountInfos.ts +0 -41
  217. package/src/client/types/com/atproto/admin/getInviteCodes.ts +0 -44
  218. package/src/client/types/com/atproto/admin/getSubjectStatus.ts +0 -50
  219. package/src/client/types/com/atproto/admin/searchAccounts.ts +0 -44
  220. package/src/client/types/com/atproto/admin/sendEmail.ts +0 -48
  221. package/src/client/types/com/atproto/admin/updateAccountEmail.ts +0 -40
  222. package/src/client/types/com/atproto/admin/updateAccountHandle.ts +0 -39
  223. package/src/client/types/com/atproto/admin/updateAccountPassword.ts +0 -39
  224. package/src/client/types/com/atproto/admin/updateAccountSigningKey.ts +0 -40
  225. package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +0 -56
  226. package/src/client/types/com/atproto/identity/defs.ts +0 -34
  227. package/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts +0 -42
  228. package/src/client/types/com/atproto/identity/refreshIdentity.ts +0 -66
  229. package/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts +0 -34
  230. package/src/client/types/com/atproto/identity/resolveDid.ts +0 -59
  231. package/src/client/types/com/atproto/identity/resolveHandle.ts +0 -51
  232. package/src/client/types/com/atproto/identity/resolveIdentity.ts +0 -63
  233. package/src/client/types/com/atproto/identity/signPlcOperation.ts +0 -49
  234. package/src/client/types/com/atproto/identity/submitPlcOperation.ts +0 -38
  235. package/src/client/types/com/atproto/identity/updateHandle.ts +0 -39
  236. package/src/client/types/com/atproto/label/defs.ts +0 -143
  237. package/src/client/types/com/atproto/label/queryLabels.ts +0 -47
  238. package/src/client/types/com/atproto/label/subscribeLabels.ts +0 -49
  239. package/src/client/types/com/atproto/lexicon/resolveLexicon.ts +0 -56
  240. package/src/client/types/com/atproto/lexicon/schema.ts +0 -38
  241. package/src/client/types/com/atproto/moderation/createReport.ts +0 -80
  242. package/src/client/types/com/atproto/moderation/defs.ts +0 -83
  243. package/src/client/types/com/atproto/repo/applyWrites.ts +0 -167
  244. package/src/client/types/com/atproto/repo/createRecord.ts +0 -68
  245. package/src/client/types/com/atproto/repo/defs.ts +0 -31
  246. package/src/client/types/com/atproto/repo/deleteRecord.ts +0 -63
  247. package/src/client/types/com/atproto/repo/describeRepo.ts +0 -48
  248. package/src/client/types/com/atproto/repo/getRecord.ts +0 -59
  249. package/src/client/types/com/atproto/repo/importRepo.ts +0 -35
  250. package/src/client/types/com/atproto/repo/listMissingBlobs.ts +0 -58
  251. package/src/client/types/com/atproto/repo/listRecords.ts +0 -66
  252. package/src/client/types/com/atproto/repo/putRecord.ts +0 -70
  253. package/src/client/types/com/atproto/repo/strongRef.ts +0 -31
  254. package/src/client/types/com/atproto/repo/uploadBlob.ts +0 -40
  255. package/src/client/types/com/atproto/server/activateAccount.ts +0 -34
  256. package/src/client/types/com/atproto/server/checkAccountStatus.ts +0 -46
  257. package/src/client/types/com/atproto/server/confirmEmail.ts +0 -70
  258. package/src/client/types/com/atproto/server/createAccount.ts +0 -115
  259. package/src/client/types/com/atproto/server/createAppPassword.ts +0 -72
  260. package/src/client/types/com/atproto/server/createInviteCode.ts +0 -44
  261. package/src/client/types/com/atproto/server/createInviteCodes.ts +0 -61
  262. package/src/client/types/com/atproto/server/createSession.ts +0 -76
  263. package/src/client/types/com/atproto/server/deactivateAccount.ts +0 -39
  264. package/src/client/types/com/atproto/server/defs.ts +0 -52
  265. package/src/client/types/com/atproto/server/deleteAccount.ts +0 -57
  266. package/src/client/types/com/atproto/server/deleteSession.ts +0 -51
  267. package/src/client/types/com/atproto/server/describeServer.ts +0 -77
  268. package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +0 -53
  269. package/src/client/types/com/atproto/server/getServiceAuth.ts +0 -55
  270. package/src/client/types/com/atproto/server/getSession.ts +0 -46
  271. package/src/client/types/com/atproto/server/listAppPasswords.ts +0 -65
  272. package/src/client/types/com/atproto/server/refreshSession.ts +0 -73
  273. package/src/client/types/com/atproto/server/requestAccountDelete.ts +0 -34
  274. package/src/client/types/com/atproto/server/requestEmailConfirmation.ts +0 -34
  275. package/src/client/types/com/atproto/server/requestEmailUpdate.ts +0 -39
  276. package/src/client/types/com/atproto/server/requestPasswordReset.ts +0 -38
  277. package/src/client/types/com/atproto/server/reserveSigningKey.ts +0 -45
  278. package/src/client/types/com/atproto/server/resetPassword.ts +0 -56
  279. package/src/client/types/com/atproto/server/revokeAppPassword.ts +0 -38
  280. package/src/client/types/com/atproto/server/updateEmail.ts +0 -65
  281. package/src/client/types/com/atproto/sync/defs.ts +0 -23
  282. package/src/client/types/com/atproto/sync/getBlob.ts +0 -77
  283. package/src/client/types/com/atproto/sync/getBlocks.ts +0 -76
  284. package/src/client/types/com/atproto/sync/getCheckout.ts +0 -37
  285. package/src/client/types/com/atproto/sync/getHead.ts +0 -51
  286. package/src/client/types/com/atproto/sync/getHostStatus.ts +0 -57
  287. package/src/client/types/com/atproto/sync/getLatestCommit.ts +0 -73
  288. package/src/client/types/com/atproto/sync/getRecord.ts +0 -78
  289. package/src/client/types/com/atproto/sync/getRepo.ts +0 -70
  290. package/src/client/types/com/atproto/sync/getRepoStatus.ts +0 -63
  291. package/src/client/types/com/atproto/sync/listBlobs.ts +0 -77
  292. package/src/client/types/com/atproto/sync/listHosts.ts +0 -64
  293. package/src/client/types/com/atproto/sync/listRepos.ts +0 -70
  294. package/src/client/types/com/atproto/sync/listReposByCollection.ts +0 -59
  295. package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +0 -39
  296. package/src/client/types/com/atproto/sync/requestCrawl.ts +0 -49
  297. package/src/client/types/com/atproto/sync/subscribeRepos.ts +0 -164
  298. package/src/client/types/com/atproto/temp/addReservedHandle.ts +0 -41
  299. package/src/client/types/com/atproto/temp/checkHandleAvailability.ts +0 -109
  300. package/src/client/types/com/atproto/temp/checkSignupQueue.ts +0 -40
  301. package/src/client/types/com/atproto/temp/dereferenceScope.ts +0 -53
  302. package/src/client/types/com/atproto/temp/fetchLabels.ts +0 -42
  303. package/src/client/types/com/atproto/temp/requestPhoneVerification.ts +0 -38
  304. package/src/client/types/com/atproto/temp/revokeAccountCredentials.ts +0 -38
  305. package/src/client/types/com/germnetwork/declaration.ts +0 -63
  306. package/src/client/types/tools/ozone/communication/createTemplate.ts +0 -62
  307. package/src/client/types/tools/ozone/communication/defs.ts +0 -43
  308. package/src/client/types/tools/ozone/communication/deleteTemplate.ts +0 -38
  309. package/src/client/types/tools/ozone/communication/listTemplates.ts +0 -39
  310. package/src/client/types/tools/ozone/communication/updateTemplate.ts +0 -65
  311. package/src/client/types/tools/ozone/hosting/getAccountHistory.ts +0 -148
  312. package/src/client/types/tools/ozone/moderation/cancelScheduledActions.ts +0 -79
  313. package/src/client/types/tools/ozone/moderation/defs.ts +0 -1176
  314. package/src/client/types/tools/ozone/moderation/emitEvent.ts +0 -121
  315. package/src/client/types/tools/ozone/moderation/getAccountTimeline.ts +0 -115
  316. package/src/client/types/tools/ozone/moderation/getEvent.ts +0 -38
  317. package/src/client/types/tools/ozone/moderation/getRecord.ts +0 -49
  318. package/src/client/types/tools/ozone/moderation/getRecords.ts +0 -45
  319. package/src/client/types/tools/ozone/moderation/getRepo.ts +0 -48
  320. package/src/client/types/tools/ozone/moderation/getReporterStats.ts +0 -41
  321. package/src/client/types/tools/ozone/moderation/getRepos.ts +0 -45
  322. package/src/client/types/tools/ozone/moderation/getSubjects.ts +0 -41
  323. package/src/client/types/tools/ozone/moderation/listScheduledActions.ts +0 -57
  324. package/src/client/types/tools/ozone/moderation/queryEvents.ts +0 -87
  325. package/src/client/types/tools/ozone/moderation/queryStatuses.ts +0 -122
  326. package/src/client/types/tools/ozone/moderation/scheduleAction.ts +0 -133
  327. package/src/client/types/tools/ozone/moderation/searchRepos.ts +0 -46
  328. package/src/client/types/tools/ozone/queue/assignModerator.ts +0 -55
  329. package/src/client/types/tools/ozone/queue/createQueue.ts +0 -63
  330. package/src/client/types/tools/ozone/queue/defs.ts +0 -99
  331. package/src/client/types/tools/ozone/queue/deleteQueue.ts +0 -48
  332. package/src/client/types/tools/ozone/queue/getAssignments.ts +0 -49
  333. package/src/client/types/tools/ozone/queue/listQueues.ts +0 -51
  334. package/src/client/types/tools/ozone/queue/routeReports.ts +0 -59
  335. package/src/client/types/tools/ozone/queue/unassignModerator.ts +0 -51
  336. package/src/client/types/tools/ozone/queue/updateQueue.ts +0 -51
  337. package/src/client/types/tools/ozone/report/assignModerator.ts +0 -66
  338. package/src/client/types/tools/ozone/report/createActivity.ts +0 -85
  339. package/src/client/types/tools/ozone/report/defs.ts +0 -466
  340. package/src/client/types/tools/ozone/report/getAssignments.ts +0 -49
  341. package/src/client/types/tools/ozone/report/getHistoricalStats.ts +0 -55
  342. package/src/client/types/tools/ozone/report/getLatestReport.ts +0 -49
  343. package/src/client/types/tools/ozone/report/getLiveStats.ts +0 -46
  344. package/src/client/types/tools/ozone/report/getReport.ts +0 -49
  345. package/src/client/types/tools/ozone/report/listActivities.ts +0 -45
  346. package/src/client/types/tools/ozone/report/queryReports.ts +0 -73
  347. package/src/client/types/tools/ozone/report/reassignQueue.ts +0 -88
  348. package/src/client/types/tools/ozone/report/refreshStats.ts +0 -46
  349. package/src/client/types/tools/ozone/report/unassignModerator.ts +0 -53
  350. package/src/client/types/tools/ozone/safelink/addRule.ts +0 -67
  351. package/src/client/types/tools/ozone/safelink/defs.ts +0 -76
  352. package/src/client/types/tools/ozone/safelink/queryEvents.ts +0 -55
  353. package/src/client/types/tools/ozone/safelink/queryRules.ts +0 -61
  354. package/src/client/types/tools/ozone/safelink/removeRule.ts +0 -58
  355. package/src/client/types/tools/ozone/safelink/updateRule.ts +0 -60
  356. package/src/client/types/tools/ozone/server/getConfig.ts +0 -79
  357. package/src/client/types/tools/ozone/set/addValues.ts +0 -41
  358. package/src/client/types/tools/ozone/set/defs.ts +0 -50
  359. package/src/client/types/tools/ozone/set/deleteSet.ts +0 -52
  360. package/src/client/types/tools/ozone/set/deleteValues.ts +0 -51
  361. package/src/client/types/tools/ozone/set/getValues.ts +0 -55
  362. package/src/client/types/tools/ozone/set/querySets.ts +0 -47
  363. package/src/client/types/tools/ozone/set/upsertSet.ts +0 -38
  364. package/src/client/types/tools/ozone/setting/defs.ts +0 -44
  365. package/src/client/types/tools/ozone/setting/listOptions.ts +0 -48
  366. package/src/client/types/tools/ozone/setting/removeOptions.ts +0 -42
  367. package/src/client/types/tools/ozone/setting/upsertOption.ts +0 -53
  368. package/src/client/types/tools/ozone/signature/defs.ts +0 -31
  369. package/src/client/types/tools/ozone/signature/findCorrelation.ts +0 -41
  370. package/src/client/types/tools/ozone/signature/findRelatedAccounts.ts +0 -61
  371. package/src/client/types/tools/ozone/signature/searchAccounts.ts +0 -44
  372. package/src/client/types/tools/ozone/team/addMember.ts +0 -59
  373. package/src/client/types/tools/ozone/team/defs.ts +0 -51
  374. package/src/client/types/tools/ozone/team/deleteMember.ts +0 -55
  375. package/src/client/types/tools/ozone/team/listMembers.ts +0 -46
  376. package/src/client/types/tools/ozone/team/updateMember.ts +0 -59
  377. package/src/client/types/tools/ozone/verification/defs.ts +0 -59
  378. package/src/client/types/tools/ozone/verification/grantVerifications.ts +0 -87
  379. package/src/client/types/tools/ozone/verification/listVerifications.ts +0 -57
  380. package/src/client/types/tools/ozone/verification/revokeVerifications.ts +0 -68
  381. package/src/client/util.ts +0 -82
@@ -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 AppBskyUnspeccedDefs from './defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getTrends'
18
-
19
- export type QueryParams = {
20
- limit?: number
21
- }
22
- export type InputSchema = undefined
23
-
24
- export interface OutputSchema {
25
- trends: AppBskyUnspeccedDefs.TrendView[]
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,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 AppBskyUnspeccedDefs from './defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.unspecced.getTrendsSkeleton'
18
-
19
- export type QueryParams = {
20
- /** DID of the account making the request (not included for public/unauthenticated queries). */
21
- viewer?: string
22
- limit?: number
23
- }
24
- export type InputSchema = undefined
25
-
26
- export interface OutputSchema {
27
- trends: AppBskyUnspeccedDefs.SkeletonTrend[]
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,71 +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.initAgeAssurance'
18
-
19
- export type QueryParams = {}
20
-
21
- export interface InputSchema {
22
- /** The user's email address to receive assurance instructions. */
23
- email: string
24
- /** The user's preferred language for communication during the assurance process. */
25
- language: string
26
- /** An ISO 3166-1 alpha-2 code of the user's location. */
27
- countryCode: string
28
- }
29
-
30
- export type OutputSchema = AppBskyUnspeccedDefs.AgeAssuranceState
31
-
32
- export interface CallOptions {
33
- signal?: AbortSignal
34
- headers?: HeadersMap
35
- qp?: QueryParams
36
- encoding?: 'application/json'
37
- }
38
-
39
- export interface Response {
40
- success: boolean
41
- headers: HeadersMap
42
- data: OutputSchema
43
- }
44
-
45
- export class InvalidEmailError extends XRPCError {
46
- constructor(src: XRPCError) {
47
- super(src.status, src.error, src.message, src.headers, { cause: src })
48
- }
49
- }
50
-
51
- export class DidTooLongError extends XRPCError {
52
- constructor(src: XRPCError) {
53
- super(src.status, src.error, src.message, src.headers, { cause: src })
54
- }
55
- }
56
-
57
- export class InvalidInitiationError extends XRPCError {
58
- constructor(src: XRPCError) {
59
- super(src.status, src.error, src.message, src.headers, { cause: src })
60
- }
61
- }
62
-
63
- export function toKnownErr(e: any) {
64
- if (e instanceof XRPCError) {
65
- if (e.error === 'InvalidEmail') return new InvalidEmailError(e)
66
- if (e.error === 'DidTooLong') return new DidTooLongError(e)
67
- if (e.error === 'InvalidInitiation') return new InvalidInitiationError(e)
68
- }
69
-
70
- return e
71
- }
@@ -1,62 +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.searchActorsSkeleton'
18
-
19
- export type QueryParams = {
20
- /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. */
21
- q: string
22
- /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
23
- viewer?: string
24
- /** If true, acts as fast/simple 'typeahead' query. */
25
- typeahead?: boolean
26
- limit?: number
27
- /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
28
- cursor?: string
29
- }
30
- export type InputSchema = undefined
31
-
32
- export interface OutputSchema {
33
- cursor?: string
34
- /** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
35
- hitsTotal?: number
36
- actors: AppBskyUnspeccedDefs.SkeletonSearchActor[]
37
- }
38
-
39
- export interface CallOptions {
40
- signal?: AbortSignal
41
- headers?: HeadersMap
42
- }
43
-
44
- export interface Response {
45
- success: boolean
46
- headers: HeadersMap
47
- data: OutputSchema
48
- }
49
-
50
- export class BadQueryStringError extends XRPCError {
51
- constructor(src: XRPCError) {
52
- super(src.status, src.error, src.message, src.headers, { cause: src })
53
- }
54
- }
55
-
56
- export function toKnownErr(e: any) {
57
- if (e instanceof XRPCError) {
58
- if (e.error === 'BadQueryString') return new BadQueryStringError(e)
59
- }
60
-
61
- return e
62
- }
@@ -1,78 +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.searchPostsSkeleton'
18
-
19
- export type QueryParams = {
20
- /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
21
- q: string
22
- /** Specifies the ranking order of results. */
23
- sort?: 'top' | 'latest' | (string & {})
24
- /** Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
25
- since?: string
26
- /** Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). */
27
- until?: string
28
- /** Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. */
29
- mentions?: string
30
- /** Filter to posts by the given account. Handles are resolved to DID before query-time. */
31
- author?: string
32
- /** Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. */
33
- lang?: string
34
- /** Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. */
35
- domain?: string
36
- /** Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching. */
37
- url?: string
38
- /** Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. */
39
- tag?: string[]
40
- /** DID of the account making the request (not included for public/unauthenticated queries). Used for 'from:me' queries. */
41
- viewer?: string
42
- limit?: number
43
- /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
44
- cursor?: string
45
- }
46
- export type InputSchema = undefined
47
-
48
- export interface OutputSchema {
49
- cursor?: string
50
- /** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
51
- hitsTotal?: number
52
- posts: AppBskyUnspeccedDefs.SkeletonSearchPost[]
53
- }
54
-
55
- export interface CallOptions {
56
- signal?: AbortSignal
57
- headers?: HeadersMap
58
- }
59
-
60
- export interface Response {
61
- success: boolean
62
- headers: HeadersMap
63
- data: OutputSchema
64
- }
65
-
66
- export class BadQueryStringError extends XRPCError {
67
- constructor(src: XRPCError) {
68
- super(src.status, src.error, src.message, src.headers, { cause: src })
69
- }
70
- }
71
-
72
- export function toKnownErr(e: any) {
73
- if (e instanceof XRPCError) {
74
- if (e.error === 'BadQueryString') return new BadQueryStringError(e)
75
- }
76
-
77
- return e
78
- }
@@ -1,60 +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.searchStarterPacksSkeleton'
18
-
19
- export type QueryParams = {
20
- /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
21
- q: string
22
- /** DID of the account making the request (not included for public/unauthenticated queries). */
23
- viewer?: string
24
- limit?: number
25
- /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
26
- cursor?: string
27
- }
28
- export type InputSchema = undefined
29
-
30
- export interface OutputSchema {
31
- cursor?: string
32
- /** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
33
- hitsTotal?: number
34
- starterPacks: AppBskyUnspeccedDefs.SkeletonSearchStarterPack[]
35
- }
36
-
37
- export interface CallOptions {
38
- signal?: AbortSignal
39
- headers?: HeadersMap
40
- }
41
-
42
- export interface Response {
43
- success: boolean
44
- headers: HeadersMap
45
- data: OutputSchema
46
- }
47
-
48
- export class BadQueryStringError extends XRPCError {
49
- constructor(src: XRPCError) {
50
- super(src.status, src.error, src.message, src.headers, { cause: src })
51
- }
52
- }
53
-
54
- export function toKnownErr(e: any) {
55
- if (e instanceof XRPCError) {
56
- if (e.error === 'BadQueryString') return new BadQueryStringError(e)
57
- }
58
-
59
- return e
60
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
5
- import { CID } from 'multiformats/cid'
6
- import { validate as _validate } from '../../../../lexicons.js'
7
- import {
8
- type $Typed,
9
- is$typed as _is$typed,
10
- type OmitKey,
11
- } from '../../../../util.js'
12
-
13
- const is$typed = _is$typed,
14
- validate = _validate
15
- const id = 'app.bsky.video.defs'
16
-
17
- export interface JobStatus {
18
- $type?: 'app.bsky.video.defs#jobStatus'
19
- jobId: string
20
- did: string
21
- /** The state of the video processing job. All values not listed as a known value indicate that the job is in process. */
22
- state: 'JOB_STATE_COMPLETED' | 'JOB_STATE_FAILED' | (string & {})
23
- /** Progress within the current processing state. */
24
- progress?: number
25
- blob?: BlobRef
26
- error?: string
27
- message?: string
28
- }
29
-
30
- const hashJobStatus = 'jobStatus'
31
-
32
- export function isJobStatus<V>(v: V) {
33
- return is$typed(v, id, hashJobStatus)
34
- }
35
-
36
- export function validateJobStatus<V>(v: V) {
37
- return validate<JobStatus & V>(v, id, hashJobStatus)
38
- }
@@ -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 AppBskyVideoDefs from './defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.video.getJobStatus'
18
-
19
- export type QueryParams = {
20
- jobId: string
21
- }
22
- export type InputSchema = undefined
23
-
24
- export interface OutputSchema {
25
- jobStatus: AppBskyVideoDefs.JobStatus
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.video.getUploadLimits'
17
-
18
- export type QueryParams = {}
19
- export type InputSchema = undefined
20
-
21
- export interface OutputSchema {
22
- canUpload: boolean
23
- remainingDailyVideos?: number
24
- remainingDailyBytes?: number
25
- message?: string
26
- error?: 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,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 AppBskyVideoDefs from './defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'app.bsky.video.uploadVideo'
18
-
19
- export type QueryParams = {}
20
- export type InputSchema = string | Uint8Array | Blob
21
-
22
- export interface OutputSchema {
23
- jobStatus: AppBskyVideoDefs.JobStatus
24
- }
25
-
26
- export interface CallOptions {
27
- signal?: AbortSignal
28
- headers?: HeadersMap
29
- qp?: QueryParams
30
- encoding?: 'video/mp4'
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,39 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
5
- import { CID } from 'multiformats/cid'
6
- import { validate as _validate } from '../../../../lexicons.js'
7
- import {
8
- type $Typed,
9
- is$typed as _is$typed,
10
- type OmitKey,
11
- } from '../../../../util.js'
12
-
13
- const is$typed = _is$typed,
14
- validate = _validate
15
- const id = 'chat.bsky.actor.declaration'
16
-
17
- export interface Main {
18
- $type: 'chat.bsky.actor.declaration'
19
- allowIncoming: 'all' | 'none' | 'following' | (string & {})
20
- /** [NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner. */
21
- allowGroupInvites?: 'all' | 'none' | 'following' | (string & {})
22
- [k: string]: unknown
23
- }
24
-
25
- const hashMain = 'main'
26
-
27
- export function isMain<V>(v: V) {
28
- return is$typed(v, id, hashMain)
29
- }
30
-
31
- export function validateMain<V>(v: V) {
32
- return validate<Main & V>(v, id, hashMain, true)
33
- }
34
-
35
- export {
36
- type Main as Record,
37
- isMain as isRecord,
38
- validateMain as validateRecord,
39
- }
@@ -1,96 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { type ValidationResult, BlobRef } from '@atproto/lexicon'
5
- import { CID } from 'multiformats/cid'
6
- import { validate as _validate } from '../../../../lexicons.js'
7
- import {
8
- type $Typed,
9
- is$typed as _is$typed,
10
- type OmitKey,
11
- } from '../../../../util.js'
12
- import type * as AppBskyActorDefs from '../../../app/bsky/actor/defs.js'
13
- import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'chat.bsky.actor.defs'
18
-
19
- export type MemberRole = 'owner' | 'standard' | (string & {})
20
-
21
- export interface ProfileViewBasic {
22
- $type?: 'chat.bsky.actor.defs#profileViewBasic'
23
- did: string
24
- handle: string
25
- displayName?: string
26
- avatar?: string
27
- associated?: AppBskyActorDefs.ProfileAssociated
28
- viewer?: AppBskyActorDefs.ViewerState
29
- labels?: ComAtprotoLabelDefs.Label[]
30
- createdAt?: string
31
- /** Set to true when the actor cannot actively participate in conversations */
32
- chatDisabled?: boolean
33
- verification?: AppBskyActorDefs.VerificationState
34
- kind?:
35
- | $Typed<DirectConvoMember>
36
- | $Typed<GroupConvoMember>
37
- | $Typed<PastGroupConvoMember>
38
- | { $type: string }
39
- }
40
-
41
- const hashProfileViewBasic = 'profileViewBasic'
42
-
43
- export function isProfileViewBasic<V>(v: V) {
44
- return is$typed(v, id, hashProfileViewBasic)
45
- }
46
-
47
- export function validateProfileViewBasic<V>(v: V) {
48
- return validate<ProfileViewBasic & V>(v, id, hashProfileViewBasic)
49
- }
50
-
51
- /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
52
- export interface DirectConvoMember {
53
- $type?: 'chat.bsky.actor.defs#directConvoMember'
54
- }
55
-
56
- const hashDirectConvoMember = 'directConvoMember'
57
-
58
- export function isDirectConvoMember<V>(v: V) {
59
- return is$typed(v, id, hashDirectConvoMember)
60
- }
61
-
62
- export function validateDirectConvoMember<V>(v: V) {
63
- return validate<DirectConvoMember & V>(v, id, hashDirectConvoMember)
64
- }
65
-
66
- /** [NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member. */
67
- export interface GroupConvoMember {
68
- $type?: 'chat.bsky.actor.defs#groupConvoMember'
69
- addedBy?: ProfileViewBasic
70
- role: MemberRole
71
- }
72
-
73
- const hashGroupConvoMember = 'groupConvoMember'
74
-
75
- export function isGroupConvoMember<V>(v: V) {
76
- return is$typed(v, id, hashGroupConvoMember)
77
- }
78
-
79
- export function validateGroupConvoMember<V>(v: V) {
80
- return validate<GroupConvoMember & V>(v, id, hashGroupConvoMember)
81
- }
82
-
83
- /** [NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member. */
84
- export interface PastGroupConvoMember {
85
- $type?: 'chat.bsky.actor.defs#pastGroupConvoMember'
86
- }
87
-
88
- const hashPastGroupConvoMember = 'pastGroupConvoMember'
89
-
90
- export function isPastGroupConvoMember<V>(v: V) {
91
- return is$typed(v, id, hashPastGroupConvoMember)
92
- }
93
-
94
- export function validatePastGroupConvoMember<V>(v: V) {
95
- return validate<PastGroupConvoMember & V>(v, id, hashPastGroupConvoMember)
96
- }