@atproto/ozone 0.1.175 → 0.1.176

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 +10 -0
  2. package/dist/lexicon/index.d.ts +2 -0
  3. package/dist/lexicon/index.d.ts.map +1 -1
  4. package/dist/lexicon/index.js +4 -0
  5. package/dist/lexicon/index.js.map +1 -1
  6. package/dist/lexicon/lexicons.d.ts +98 -2
  7. package/dist/lexicon/lexicons.d.ts.map +1 -1
  8. package/dist/lexicon/lexicons.js +50 -0
  9. package/dist/lexicon/lexicons.js.map +1 -1
  10. package/dist/lexicon/types/chat/bsky/group/listMutualGroups.d.ts +25 -0
  11. package/dist/lexicon/types/chat/bsky/group/listMutualGroups.d.ts.map +1 -0
  12. package/dist/lexicon/types/chat/bsky/group/listMutualGroups.js +5 -0
  13. package/dist/lexicon/types/chat/bsky/group/listMutualGroups.js.map +1 -0
  14. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts +1 -1
  15. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  16. package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  17. package/package.json +9 -8
  18. package/tests/repo-search.test.ts +1 -1
  19. package/tsconfig.build.tsbuildinfo +1 -1
  20. package/src/lexicon/index.ts +0 -4502
  21. package/src/lexicon/lexicons.ts +0 -25711
  22. package/src/lexicon/types/app/bsky/actor/defs.ts +0 -716
  23. package/src/lexicon/types/app/bsky/actor/getPreferences.ts +0 -38
  24. package/src/lexicon/types/app/bsky/actor/getProfile.ts +0 -37
  25. package/src/lexicon/types/app/bsky/actor/getProfiles.ts +0 -40
  26. package/src/lexicon/types/app/bsky/actor/getSuggestions.ts +0 -46
  27. package/src/lexicon/types/app/bsky/actor/profile.ts +0 -52
  28. package/src/lexicon/types/app/bsky/actor/putPreferences.ts +0 -34
  29. package/src/lexicon/types/app/bsky/actor/searchActors.ts +0 -46
  30. package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +0 -44
  31. package/src/lexicon/types/app/bsky/actor/status.ts +0 -46
  32. package/src/lexicon/types/app/bsky/ageassurance/begin.ts +0 -54
  33. package/src/lexicon/types/app/bsky/ageassurance/defs.ts +0 -303
  34. package/src/lexicon/types/app/bsky/ageassurance/getConfig.ts +0 -34
  35. package/src/lexicon/types/app/bsky/ageassurance/getState.ts +0 -42
  36. package/src/lexicon/types/app/bsky/bookmark/createBookmark.ts +0 -35
  37. package/src/lexicon/types/app/bsky/bookmark/defs.ts +0 -54
  38. package/src/lexicon/types/app/bsky/bookmark/deleteBookmark.ts +0 -34
  39. package/src/lexicon/types/app/bsky/bookmark/getBookmarks.ts +0 -42
  40. package/src/lexicon/types/app/bsky/contact/defs.ts +0 -71
  41. package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +0 -43
  42. package/src/lexicon/types/app/bsky/contact/getMatches.ts +0 -43
  43. package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +0 -39
  44. package/src/lexicon/types/app/bsky/contact/importContacts.ts +0 -54
  45. package/src/lexicon/types/app/bsky/contact/removeData.ts +0 -40
  46. package/src/lexicon/types/app/bsky/contact/sendNotification.ts +0 -44
  47. package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +0 -43
  48. package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +0 -53
  49. package/src/lexicon/types/app/bsky/draft/createDraft.ts +0 -46
  50. package/src/lexicon/types/app/bsky/draft/defs.ts +0 -212
  51. package/src/lexicon/types/app/bsky/draft/deleteDraft.ts +0 -33
  52. package/src/lexicon/types/app/bsky/draft/getDrafts.ts +0 -42
  53. package/src/lexicon/types/app/bsky/draft/updateDraft.ts +0 -34
  54. package/src/lexicon/types/app/bsky/embed/defs.ts +0 -32
  55. package/src/lexicon/types/app/bsky/embed/external.ts +0 -85
  56. package/src/lexicon/types/app/bsky/embed/images.ts +0 -86
  57. package/src/lexicon/types/app/bsky/embed/record.ts +0 -146
  58. package/src/lexicon/types/app/bsky/embed/recordWithMedia.ts +0 -59
  59. package/src/lexicon/types/app/bsky/embed/video.ts +0 -75
  60. package/src/lexicon/types/app/bsky/feed/defs.ts +0 -428
  61. package/src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts +0 -70
  62. package/src/lexicon/types/app/bsky/feed/generator.ts +0 -51
  63. package/src/lexicon/types/app/bsky/feed/getActorFeeds.ts +0 -43
  64. package/src/lexicon/types/app/bsky/feed/getActorLikes.ts +0 -44
  65. package/src/lexicon/types/app/bsky/feed/getAuthorFeed.ts +0 -53
  66. package/src/lexicon/types/app/bsky/feed/getFeed.ts +0 -44
  67. package/src/lexicon/types/app/bsky/feed/getFeedGenerator.ts +0 -45
  68. package/src/lexicon/types/app/bsky/feed/getFeedGenerators.ts +0 -40
  69. package/src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts +0 -47
  70. package/src/lexicon/types/app/bsky/feed/getLikes.ts +0 -65
  71. package/src/lexicon/types/app/bsky/feed/getListFeed.ts +0 -45
  72. package/src/lexicon/types/app/bsky/feed/getPostThread.ts +0 -51
  73. package/src/lexicon/types/app/bsky/feed/getPosts.ts +0 -41
  74. package/src/lexicon/types/app/bsky/feed/getQuotes.ts +0 -48
  75. package/src/lexicon/types/app/bsky/feed/getRepostedBy.ts +0 -48
  76. package/src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts +0 -42
  77. package/src/lexicon/types/app/bsky/feed/getTimeline.ts +0 -44
  78. package/src/lexicon/types/app/bsky/feed/like.ts +0 -40
  79. package/src/lexicon/types/app/bsky/feed/post.ts +0 -117
  80. package/src/lexicon/types/app/bsky/feed/postgate.ts +0 -58
  81. package/src/lexicon/types/app/bsky/feed/repost.ts +0 -40
  82. package/src/lexicon/types/app/bsky/feed/searchPosts.ts +0 -66
  83. package/src/lexicon/types/app/bsky/feed/sendInteractions.ts +0 -43
  84. package/src/lexicon/types/app/bsky/feed/threadgate.ts +0 -110
  85. package/src/lexicon/types/app/bsky/graph/block.ts +0 -39
  86. package/src/lexicon/types/app/bsky/graph/defs.ts +0 -206
  87. package/src/lexicon/types/app/bsky/graph/follow.ts +0 -40
  88. package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +0 -43
  89. package/src/lexicon/types/app/bsky/graph/getBlocks.ts +0 -42
  90. package/src/lexicon/types/app/bsky/graph/getFollowers.ts +0 -44
  91. package/src/lexicon/types/app/bsky/graph/getFollows.ts +0 -44
  92. package/src/lexicon/types/app/bsky/graph/getKnownFollowers.ts +0 -44
  93. package/src/lexicon/types/app/bsky/graph/getList.ts +0 -45
  94. package/src/lexicon/types/app/bsky/graph/getListBlocks.ts +0 -42
  95. package/src/lexicon/types/app/bsky/graph/getListMutes.ts +0 -42
  96. package/src/lexicon/types/app/bsky/graph/getLists.ts +0 -46
  97. package/src/lexicon/types/app/bsky/graph/getListsWithMembership.ts +0 -63
  98. package/src/lexicon/types/app/bsky/graph/getMutes.ts +0 -42
  99. package/src/lexicon/types/app/bsky/graph/getRelationships.ts +0 -49
  100. package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +0 -41
  101. package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +0 -40
  102. package/src/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.ts +0 -65
  103. package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -46
  104. package/src/lexicon/types/app/bsky/graph/list.ts +0 -47
  105. package/src/lexicon/types/app/bsky/graph/listblock.ts +0 -39
  106. package/src/lexicon/types/app/bsky/graph/listitem.ts +0 -41
  107. package/src/lexicon/types/app/bsky/graph/muteActor.ts +0 -33
  108. package/src/lexicon/types/app/bsky/graph/muteActorList.ts +0 -33
  109. package/src/lexicon/types/app/bsky/graph/muteThread.ts +0 -33
  110. package/src/lexicon/types/app/bsky/graph/searchStarterPacks.ts +0 -44
  111. package/src/lexicon/types/app/bsky/graph/starterpack.ts +0 -60
  112. package/src/lexicon/types/app/bsky/graph/unmuteActor.ts +0 -33
  113. package/src/lexicon/types/app/bsky/graph/unmuteActorList.ts +0 -33
  114. package/src/lexicon/types/app/bsky/graph/unmuteThread.ts +0 -33
  115. package/src/lexicon/types/app/bsky/graph/verification.ts +0 -44
  116. package/src/lexicon/types/app/bsky/labeler/defs.ts +0 -100
  117. package/src/lexicon/types/app/bsky/labeler/getServices.ts +0 -45
  118. package/src/lexicon/types/app/bsky/labeler/service.ts +0 -48
  119. package/src/lexicon/types/app/bsky/notification/declaration.ts +0 -38
  120. package/src/lexicon/types/app/bsky/notification/defs.ts +0 -142
  121. package/src/lexicon/types/app/bsky/notification/getPreferences.ts +0 -38
  122. package/src/lexicon/types/app/bsky/notification/getUnreadCount.ts +0 -40
  123. package/src/lexicon/types/app/bsky/notification/listActivitySubscriptions.ts +0 -42
  124. package/src/lexicon/types/app/bsky/notification/listNotifications.ts +0 -87
  125. package/src/lexicon/types/app/bsky/notification/putActivitySubscription.ts +0 -46
  126. package/src/lexicon/types/app/bsky/notification/putPreferences.ts +0 -33
  127. package/src/lexicon/types/app/bsky/notification/putPreferencesV2.ts +0 -56
  128. package/src/lexicon/types/app/bsky/notification/registerPush.ts +0 -38
  129. package/src/lexicon/types/app/bsky/notification/unregisterPush.ts +0 -36
  130. package/src/lexicon/types/app/bsky/notification/updateSeen.ts +0 -33
  131. package/src/lexicon/types/app/bsky/richtext/facet.ts +0 -97
  132. package/src/lexicon/types/app/bsky/unspecced/defs.ts +0 -250
  133. package/src/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.ts +0 -34
  134. package/src/lexicon/types/app/bsky/unspecced/getConfig.ts +0 -54
  135. package/src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts +0 -40
  136. package/src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts +0 -41
  137. package/src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +0 -47
  138. package/src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -43
  139. package/src/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.ts +0 -60
  140. package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +0 -77
  141. package/src/lexicon/types/app/bsky/unspecced/getSuggestedFeeds.ts +0 -40
  142. package/src/lexicon/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +0 -41
  143. package/src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +0 -46
  144. package/src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +0 -40
  145. package/src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +0 -41
  146. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts +0 -46
  147. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +0 -42
  148. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +0 -43
  149. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +0 -44
  150. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +0 -45
  151. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +0 -44
  152. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +0 -45
  153. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +0 -47
  154. package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +0 -52
  155. package/src/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.ts +0 -54
  156. package/src/lexicon/types/app/bsky/unspecced/getTrendingTopics.ts +0 -43
  157. package/src/lexicon/types/app/bsky/unspecced/getTrends.ts +0 -40
  158. package/src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts +0 -42
  159. package/src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts +0 -48
  160. package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +0 -52
  161. package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +0 -68
  162. package/src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +0 -50
  163. package/src/lexicon/types/app/bsky/video/defs.ts +0 -38
  164. package/src/lexicon/types/app/bsky/video/getJobStatus.ts +0 -40
  165. package/src/lexicon/types/app/bsky/video/getUploadLimits.ts +0 -41
  166. package/src/lexicon/types/app/bsky/video/uploadVideo.ts +0 -42
  167. package/src/lexicon/types/chat/bsky/actor/declaration.ts +0 -39
  168. package/src/lexicon/types/chat/bsky/actor/defs.ts +0 -96
  169. package/src/lexicon/types/chat/bsky/actor/deleteAccount.ts +0 -35
  170. package/src/lexicon/types/chat/bsky/actor/exportAccountData.ts +0 -33
  171. package/src/lexicon/types/chat/bsky/convo/acceptConvo.ts +0 -45
  172. package/src/lexicon/types/chat/bsky/convo/addReaction.ts +0 -52
  173. package/src/lexicon/types/chat/bsky/convo/defs.ts +0 -1058
  174. package/src/lexicon/types/chat/bsky/convo/deleteMessageForSelf.ts +0 -44
  175. package/src/lexicon/types/chat/bsky/convo/getConvo.ts +0 -41
  176. package/src/lexicon/types/chat/bsky/convo/getConvoAvailability.ts +0 -41
  177. package/src/lexicon/types/chat/bsky/convo/getConvoForMembers.ts +0 -46
  178. package/src/lexicon/types/chat/bsky/convo/getConvoMembers.ts +0 -44
  179. package/src/lexicon/types/chat/bsky/convo/getLog.ts +0 -70
  180. package/src/lexicon/types/chat/bsky/convo/getMessages.ts +0 -52
  181. package/src/lexicon/types/chat/bsky/convo/leaveConvo.ts +0 -45
  182. package/src/lexicon/types/chat/bsky/convo/listConvoRequests.ts +0 -47
  183. package/src/lexicon/types/chat/bsky/convo/listConvos.ts +0 -49
  184. package/src/lexicon/types/chat/bsky/convo/lockConvo.ts +0 -45
  185. package/src/lexicon/types/chat/bsky/convo/muteConvo.ts +0 -45
  186. package/src/lexicon/types/chat/bsky/convo/removeReaction.ts +0 -51
  187. package/src/lexicon/types/chat/bsky/convo/sendMessage.ts +0 -44
  188. package/src/lexicon/types/chat/bsky/convo/sendMessageBatch.ts +0 -61
  189. package/src/lexicon/types/chat/bsky/convo/unlockConvo.ts +0 -45
  190. package/src/lexicon/types/chat/bsky/convo/unmuteConvo.ts +0 -45
  191. package/src/lexicon/types/chat/bsky/convo/updateAllRead.ts +0 -44
  192. package/src/lexicon/types/chat/bsky/convo/updateRead.ts +0 -46
  193. package/src/lexicon/types/chat/bsky/group/addMembers.ts +0 -57
  194. package/src/lexicon/types/chat/bsky/group/approveJoinRequest.ts +0 -46
  195. package/src/lexicon/types/chat/bsky/group/createGroup.ts +0 -51
  196. package/src/lexicon/types/chat/bsky/group/createJoinLink.ts +0 -47
  197. package/src/lexicon/types/chat/bsky/group/defs.ts +0 -75
  198. package/src/lexicon/types/chat/bsky/group/disableJoinLink.ts +0 -45
  199. package/src/lexicon/types/chat/bsky/group/editGroup.ts +0 -46
  200. package/src/lexicon/types/chat/bsky/group/editJoinLink.ts +0 -47
  201. package/src/lexicon/types/chat/bsky/group/enableJoinLink.ts +0 -49
  202. package/src/lexicon/types/chat/bsky/group/getJoinLinkPreview.ts +0 -41
  203. package/src/lexicon/types/chat/bsky/group/listJoinRequests.ts +0 -44
  204. package/src/lexicon/types/chat/bsky/group/rejectJoinRequest.ts +0 -43
  205. package/src/lexicon/types/chat/bsky/group/removeMembers.ts +0 -46
  206. package/src/lexicon/types/chat/bsky/group/requestJoin.ts +0 -52
  207. package/src/lexicon/types/chat/bsky/moderation/getActorMetadata.ts +0 -59
  208. package/src/lexicon/types/chat/bsky/moderation/getMessageContext.ts +0 -52
  209. package/src/lexicon/types/chat/bsky/moderation/subscribeModEvents.ts +0 -386
  210. package/src/lexicon/types/chat/bsky/moderation/updateActorAccess.ts +0 -35
  211. package/src/lexicon/types/com/atproto/admin/defs.ts +0 -106
  212. package/src/lexicon/types/com/atproto/admin/deleteAccount.ts +0 -33
  213. package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +0 -35
  214. package/src/lexicon/types/com/atproto/admin/disableInviteCodes.ts +0 -34
  215. package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +0 -35
  216. package/src/lexicon/types/com/atproto/admin/getAccountInfo.ts +0 -36
  217. package/src/lexicon/types/com/atproto/admin/getAccountInfos.ts +0 -40
  218. package/src/lexicon/types/com/atproto/admin/getInviteCodes.ts +0 -43
  219. package/src/lexicon/types/com/atproto/admin/getSubjectStatus.ts +0 -49
  220. package/src/lexicon/types/com/atproto/admin/searchAccounts.ts +0 -43
  221. package/src/lexicon/types/com/atproto/admin/sendEmail.ts +0 -48
  222. package/src/lexicon/types/com/atproto/admin/updateAccountEmail.ts +0 -35
  223. package/src/lexicon/types/com/atproto/admin/updateAccountHandle.ts +0 -34
  224. package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +0 -34
  225. package/src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts +0 -35
  226. package/src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts +0 -56
  227. package/src/lexicon/types/com/atproto/identity/defs.ts +0 -34
  228. package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +0 -41
  229. package/src/lexicon/types/com/atproto/identity/refreshIdentity.ts +0 -43
  230. package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +0 -26
  231. package/src/lexicon/types/com/atproto/identity/resolveDid.ts +0 -42
  232. package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +0 -41
  233. package/src/lexicon/types/com/atproto/identity/resolveIdentity.ts +0 -38
  234. package/src/lexicon/types/com/atproto/identity/signPlcOperation.ts +0 -49
  235. package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +0 -33
  236. package/src/lexicon/types/com/atproto/identity/updateHandle.ts +0 -34
  237. package/src/lexicon/types/com/atproto/label/defs.ts +0 -143
  238. package/src/lexicon/types/com/atproto/label/queryLabels.ts +0 -46
  239. package/src/lexicon/types/com/atproto/label/subscribeLabels.ts +0 -58
  240. package/src/lexicon/types/com/atproto/lexicon/resolveLexicon.ts +0 -46
  241. package/src/lexicon/types/com/atproto/lexicon/schema.ts +0 -38
  242. package/src/lexicon/types/com/atproto/moderation/createReport.ts +0 -80
  243. package/src/lexicon/types/com/atproto/moderation/defs.ts +0 -83
  244. package/src/lexicon/types/com/atproto/repo/applyWrites.ts +0 -158
  245. package/src/lexicon/types/com/atproto/repo/createRecord.ts +0 -59
  246. package/src/lexicon/types/com/atproto/repo/defs.ts +0 -31
  247. package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +0 -54
  248. package/src/lexicon/types/com/atproto/repo/describeRepo.ts +0 -47
  249. package/src/lexicon/types/com/atproto/repo/getRecord.ts +0 -49
  250. package/src/lexicon/types/com/atproto/repo/importRepo.ts +0 -31
  251. package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +0 -57
  252. package/src/lexicon/types/com/atproto/repo/listRecords.ts +0 -65
  253. package/src/lexicon/types/com/atproto/repo/putRecord.ts +0 -61
  254. package/src/lexicon/types/com/atproto/repo/strongRef.ts +0 -31
  255. package/src/lexicon/types/com/atproto/repo/uploadBlob.ts +0 -41
  256. package/src/lexicon/types/com/atproto/server/activateAccount.ts +0 -26
  257. package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +0 -45
  258. package/src/lexicon/types/com/atproto/server/confirmEmail.ts +0 -35
  259. package/src/lexicon/types/com/atproto/server/createAccount.ts +0 -71
  260. package/src/lexicon/types/com/atproto/server/createAppPassword.ts +0 -63
  261. package/src/lexicon/types/com/atproto/server/createInviteCode.ts +0 -44
  262. package/src/lexicon/types/com/atproto/server/createInviteCodes.ts +0 -61
  263. package/src/lexicon/types/com/atproto/server/createSession.ts +0 -59
  264. package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +0 -34
  265. package/src/lexicon/types/com/atproto/server/defs.ts +0 -52
  266. package/src/lexicon/types/com/atproto/server/deleteAccount.ts +0 -36
  267. package/src/lexicon/types/com/atproto/server/deleteSession.ts +0 -27
  268. package/src/lexicon/types/com/atproto/server/describeServer.ts +0 -76
  269. package/src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts +0 -43
  270. package/src/lexicon/types/com/atproto/server/getServiceAuth.ts +0 -45
  271. package/src/lexicon/types/com/atproto/server/getSession.ts +0 -45
  272. package/src/lexicon/types/com/atproto/server/listAppPasswords.ts +0 -55
  273. package/src/lexicon/types/com/atproto/server/refreshSession.ts +0 -48
  274. package/src/lexicon/types/com/atproto/server/requestAccountDelete.ts +0 -26
  275. package/src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts +0 -26
  276. package/src/lexicon/types/com/atproto/server/requestEmailUpdate.ts +0 -37
  277. package/src/lexicon/types/com/atproto/server/requestPasswordReset.ts +0 -33
  278. package/src/lexicon/types/com/atproto/server/reserveSigningKey.ts +0 -45
  279. package/src/lexicon/types/com/atproto/server/resetPassword.ts +0 -35
  280. package/src/lexicon/types/com/atproto/server/revokeAppPassword.ts +0 -33
  281. package/src/lexicon/types/com/atproto/server/updateEmail.ts +0 -37
  282. package/src/lexicon/types/com/atproto/sync/defs.ts +0 -23
  283. package/src/lexicon/types/com/atproto/sync/getBlob.ts +0 -44
  284. package/src/lexicon/types/com/atproto/sync/getBlocks.ts +0 -43
  285. package/src/lexicon/types/com/atproto/sync/getCheckout.ts +0 -36
  286. package/src/lexicon/types/com/atproto/sync/getHead.ts +0 -41
  287. package/src/lexicon/types/com/atproto/sync/getHostStatus.ts +0 -47
  288. package/src/lexicon/types/com/atproto/sync/getLatestCommit.ts +0 -42
  289. package/src/lexicon/types/com/atproto/sync/getRecord.ts +0 -45
  290. package/src/lexicon/types/com/atproto/sync/getRepo.ts +0 -39
  291. package/src/lexicon/types/com/atproto/sync/getRepoStatus.ts +0 -53
  292. package/src/lexicon/types/com/atproto/sync/listBlobs.ts +0 -46
  293. package/src/lexicon/types/com/atproto/sync/listHosts.ts +0 -63
  294. package/src/lexicon/types/com/atproto/sync/listRepos.ts +0 -69
  295. package/src/lexicon/types/com/atproto/sync/listReposByCollection.ts +0 -58
  296. package/src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts +0 -34
  297. package/src/lexicon/types/com/atproto/sync/requestCrawl.ts +0 -35
  298. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +0 -179
  299. package/src/lexicon/types/com/atproto/temp/addReservedHandle.ts +0 -41
  300. package/src/lexicon/types/com/atproto/temp/checkHandleAvailability.ts +0 -99
  301. package/src/lexicon/types/com/atproto/temp/checkSignupQueue.ts +0 -39
  302. package/src/lexicon/types/com/atproto/temp/dereferenceScope.ts +0 -42
  303. package/src/lexicon/types/com/atproto/temp/fetchLabels.ts +0 -41
  304. package/src/lexicon/types/com/atproto/temp/requestPhoneVerification.ts +0 -33
  305. package/src/lexicon/types/com/atproto/temp/revokeAccountCredentials.ts +0 -33
  306. package/src/lexicon/types/tools/ozone/communication/createTemplate.ts +0 -52
  307. package/src/lexicon/types/tools/ozone/communication/defs.ts +0 -43
  308. package/src/lexicon/types/tools/ozone/communication/deleteTemplate.ts +0 -33
  309. package/src/lexicon/types/tools/ozone/communication/listTemplates.ts +0 -38
  310. package/src/lexicon/types/tools/ozone/communication/updateTemplate.ts +0 -55
  311. package/src/lexicon/types/tools/ozone/hosting/getAccountHistory.ts +0 -147
  312. package/src/lexicon/types/tools/ozone/moderation/cancelScheduledActions.ts +0 -79
  313. package/src/lexicon/types/tools/ozone/moderation/defs.ts +0 -1176
  314. package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +0 -104
  315. package/src/lexicon/types/tools/ozone/moderation/getAccountTimeline.ts +0 -105
  316. package/src/lexicon/types/tools/ozone/moderation/getEvent.ts +0 -36
  317. package/src/lexicon/types/tools/ozone/moderation/getRecord.ts +0 -38
  318. package/src/lexicon/types/tools/ozone/moderation/getRecords.ts +0 -44
  319. package/src/lexicon/types/tools/ozone/moderation/getRepo.ts +0 -37
  320. package/src/lexicon/types/tools/ozone/moderation/getReporterStats.ts +0 -40
  321. package/src/lexicon/types/tools/ozone/moderation/getRepos.ts +0 -44
  322. package/src/lexicon/types/tools/ozone/moderation/getSubjects.ts +0 -40
  323. package/src/lexicon/types/tools/ozone/moderation/listScheduledActions.ts +0 -57
  324. package/src/lexicon/types/tools/ozone/moderation/queryEvents.ts +0 -86
  325. package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +0 -121
  326. package/src/lexicon/types/tools/ozone/moderation/scheduleAction.ts +0 -133
  327. package/src/lexicon/types/tools/ozone/moderation/searchRepos.ts +0 -45
  328. package/src/lexicon/types/tools/ozone/queue/assignModerator.ts +0 -46
  329. package/src/lexicon/types/tools/ozone/queue/createQueue.ts +0 -54
  330. package/src/lexicon/types/tools/ozone/queue/defs.ts +0 -99
  331. package/src/lexicon/types/tools/ozone/queue/deleteQueue.ts +0 -48
  332. package/src/lexicon/types/tools/ozone/queue/getAssignments.ts +0 -48
  333. package/src/lexicon/types/tools/ozone/queue/listQueues.ts +0 -50
  334. package/src/lexicon/types/tools/ozone/queue/routeReports.ts +0 -50
  335. package/src/lexicon/types/tools/ozone/queue/unassignModerator.ts +0 -37
  336. package/src/lexicon/types/tools/ozone/queue/updateQueue.ts +0 -51
  337. package/src/lexicon/types/tools/ozone/report/assignModerator.ts +0 -50
  338. package/src/lexicon/types/tools/ozone/report/createActivity.ts +0 -60
  339. package/src/lexicon/types/tools/ozone/report/defs.ts +0 -466
  340. package/src/lexicon/types/tools/ozone/report/getAssignments.ts +0 -48
  341. package/src/lexicon/types/tools/ozone/report/getHistoricalStats.ts +0 -54
  342. package/src/lexicon/types/tools/ozone/report/getLatestReport.ts +0 -39
  343. package/src/lexicon/types/tools/ozone/report/getLiveStats.ts +0 -45
  344. package/src/lexicon/types/tools/ozone/report/getReport.ts +0 -38
  345. package/src/lexicon/types/tools/ozone/report/listActivities.ts +0 -44
  346. package/src/lexicon/types/tools/ozone/report/queryReports.ts +0 -72
  347. package/src/lexicon/types/tools/ozone/report/reassignQueue.ts +0 -55
  348. package/src/lexicon/types/tools/ozone/report/refreshStats.ts +0 -46
  349. package/src/lexicon/types/tools/ozone/report/unassignModerator.ts +0 -44
  350. package/src/lexicon/types/tools/ozone/safelink/addRule.ts +0 -51
  351. package/src/lexicon/types/tools/ozone/safelink/defs.ts +0 -76
  352. package/src/lexicon/types/tools/ozone/safelink/queryEvents.ts +0 -55
  353. package/src/lexicon/types/tools/ozone/safelink/queryRules.ts +0 -61
  354. package/src/lexicon/types/tools/ozone/safelink/removeRule.ts +0 -49
  355. package/src/lexicon/types/tools/ozone/safelink/updateRule.ts +0 -51
  356. package/src/lexicon/types/tools/ozone/server/getConfig.ts +0 -78
  357. package/src/lexicon/types/tools/ozone/set/addValues.ts +0 -36
  358. package/src/lexicon/types/tools/ozone/set/defs.ts +0 -50
  359. package/src/lexicon/types/tools/ozone/set/deleteSet.ts +0 -43
  360. package/src/lexicon/types/tools/ozone/set/deleteValues.ts +0 -37
  361. package/src/lexicon/types/tools/ozone/set/getValues.ts +0 -45
  362. package/src/lexicon/types/tools/ozone/set/querySets.ts +0 -46
  363. package/src/lexicon/types/tools/ozone/set/upsertSet.ts +0 -38
  364. package/src/lexicon/types/tools/ozone/setting/defs.ts +0 -44
  365. package/src/lexicon/types/tools/ozone/setting/listOptions.ts +0 -47
  366. package/src/lexicon/types/tools/ozone/setting/removeOptions.ts +0 -42
  367. package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +0 -53
  368. package/src/lexicon/types/tools/ozone/signature/defs.ts +0 -31
  369. package/src/lexicon/types/tools/ozone/signature/findCorrelation.ts +0 -40
  370. package/src/lexicon/types/tools/ozone/signature/findRelatedAccounts.ts +0 -60
  371. package/src/lexicon/types/tools/ozone/signature/searchAccounts.ts +0 -43
  372. package/src/lexicon/types/tools/ozone/team/addMember.ts +0 -49
  373. package/src/lexicon/types/tools/ozone/team/defs.ts +0 -51
  374. package/src/lexicon/types/tools/ozone/team/deleteMember.ts +0 -34
  375. package/src/lexicon/types/tools/ozone/team/listMembers.ts +0 -45
  376. package/src/lexicon/types/tools/ozone/team/updateMember.ts +0 -50
  377. package/src/lexicon/types/tools/ozone/verification/defs.ts +0 -59
  378. package/src/lexicon/types/tools/ozone/verification/grantVerifications.ts +0 -87
  379. package/src/lexicon/types/tools/ozone/verification/listVerifications.ts +0 -56
  380. package/src/lexicon/types/tools/ozone/verification/revokeVerifications.ts +0 -68
  381. package/src/lexicon/util.ts +0 -82
@@ -1,386 +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 { ErrorFrame } from '@atproto/xrpc-server'
13
- import { IncomingMessage } from 'node:http'
14
-
15
- const is$typed = _is$typed,
16
- validate = _validate
17
- const id = 'chat.bsky.moderation.subscribeModEvents'
18
-
19
- export type QueryParams = {
20
- /** The last known event seq number to backfill from. Use '2222222222222' to backfill from the beginning. Don't specify a cursor to listen only for new events. */
21
- cursor?: string
22
- }
23
- export type OutputSchema =
24
- | $Typed<EventConvoFirstMessage>
25
- | $Typed<EventGroupChatCreated>
26
- | $Typed<EventGroupChatMemberAdded>
27
- | $Typed<EventGroupChatMemberJoined>
28
- | $Typed<EventGroupChatJoinRequest>
29
- | $Typed<EventGroupChatJoinRequestApproved>
30
- | $Typed<EventGroupChatJoinRequestRejected>
31
- | $Typed<EventChatAccepted>
32
- | $Typed<EventGroupChatMemberLeft>
33
- | $Typed<EventGroupChatUpdated>
34
- | { $type: string }
35
- export type HandlerError = ErrorFrame<'FutureCursor' | 'ConsumerTooSlow'>
36
- export type HandlerOutput = HandlerError | OutputSchema
37
-
38
- /** Fired when the first message was sent on a convo. */
39
- export interface EventConvoFirstMessage {
40
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage'
41
- convoId: string
42
- createdAt: string
43
- messageId?: string
44
- /** The list of DIDs message recipients. Does not include the sender, which is in the `user` field */
45
- recipients: string[]
46
- rev: string
47
- /** The DID of the message author. */
48
- user: string
49
- }
50
-
51
- const hashEventConvoFirstMessage = 'eventConvoFirstMessage'
52
-
53
- export function isEventConvoFirstMessage<V>(v: V) {
54
- return is$typed(v, id, hashEventConvoFirstMessage)
55
- }
56
-
57
- export function validateEventConvoFirstMessage<V>(v: V) {
58
- return validate<EventConvoFirstMessage & V>(v, id, hashEventConvoFirstMessage)
59
- }
60
-
61
- /** Fire when a group chat is created. */
62
- export interface EventGroupChatCreated {
63
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated'
64
- /** The DID of the actor performing the action. For this event, same as ownerDid. */
65
- actorDid: string
66
- /** When the group was originally created. */
67
- convoCreatedAt: string
68
- convoId: string
69
- createdAt: string
70
- /** Current member count at the time of the event. */
71
- groupMemberCount: number
72
- /** The name set at creation time. */
73
- groupName: string
74
- /** DIDs of everyone added at creation time. */
75
- initialMemberDids: string[]
76
- /** The DID of the group chat owner. */
77
- ownerDid: string
78
- rev: string
79
- }
80
-
81
- const hashEventGroupChatCreated = 'eventGroupChatCreated'
82
-
83
- export function isEventGroupChatCreated<V>(v: V) {
84
- return is$typed(v, id, hashEventGroupChatCreated)
85
- }
86
-
87
- export function validateEventGroupChatCreated<V>(v: V) {
88
- return validate<EventGroupChatCreated & V>(v, id, hashEventGroupChatCreated)
89
- }
90
-
91
- /** Fired when a member is added to a group chat. Note that members are added in the 'request' state. */
92
- export interface EventGroupChatMemberAdded {
93
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded'
94
- /** The DID of the actor performing the action. For this event, same as ownerDid. */
95
- actorDid: string
96
- /** When the group was originally created. */
97
- convoCreatedAt: string
98
- convoId: string
99
- createdAt: string
100
- /** Current member count at the time of the event. */
101
- groupMemberCount: number
102
- groupName: string
103
- /** The DID of the group chat owner. */
104
- ownerDid: string
105
- /** The number of members who have not yet accepted the convo. */
106
- requestMembersCount: number
107
- rev: string
108
- /** The DID of the member who was added. */
109
- subjectDid: string
110
- /** Whether the added member follows the group owner. */
111
- subjectFollowsOwner: boolean
112
- }
113
-
114
- const hashEventGroupChatMemberAdded = 'eventGroupChatMemberAdded'
115
-
116
- export function isEventGroupChatMemberAdded<V>(v: V) {
117
- return is$typed(v, id, hashEventGroupChatMemberAdded)
118
- }
119
-
120
- export function validateEventGroupChatMemberAdded<V>(v: V) {
121
- return validate<EventGroupChatMemberAdded & V>(
122
- v,
123
- id,
124
- hashEventGroupChatMemberAdded,
125
- )
126
- }
127
-
128
- /** Fired when a member joins a group chat via an join link that does not require approval. */
129
- export interface EventGroupChatMemberJoined {
130
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined'
131
- /** The DID of the person joining. */
132
- actorDid: string
133
- /** When the group was originally created. */
134
- convoCreatedAt: string
135
- convoId: string
136
- createdAt: string
137
- /** Current member count at the time of the event. */
138
- groupMemberCount: number
139
- groupName: string
140
- /** The code of the join link used to join. */
141
- joinLinkCode: string
142
- /** The DID of the group chat owner. */
143
- ownerDid: string
144
- rev: string
145
- /** Whether the joining member follows the group owner. */
146
- subjectFollowsOwner: boolean
147
- }
148
-
149
- const hashEventGroupChatMemberJoined = 'eventGroupChatMemberJoined'
150
-
151
- export function isEventGroupChatMemberJoined<V>(v: V) {
152
- return is$typed(v, id, hashEventGroupChatMemberJoined)
153
- }
154
-
155
- export function validateEventGroupChatMemberJoined<V>(v: V) {
156
- return validate<EventGroupChatMemberJoined & V>(
157
- v,
158
- id,
159
- hashEventGroupChatMemberJoined,
160
- )
161
- }
162
-
163
- /** Fired when a user requests to join a group chat via an join link that requires approval. */
164
- export interface EventGroupChatJoinRequest {
165
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest'
166
- /** The DID of the person requesting to join. */
167
- actorDid: string
168
- /** When the group was originally created. */
169
- convoCreatedAt: string
170
- convoId: string
171
- createdAt: string
172
- /** Current member count at the time of the event. */
173
- groupMemberCount: number
174
- groupName: string
175
- /** The code of the join link used to request joining. */
176
- joinLinkCode: string
177
- /** The DID of the group chat owner. */
178
- ownerDid: string
179
- rev: string
180
- /** Whether the requesting member follows the group owner. */
181
- subjectFollowsOwner: boolean
182
- }
183
-
184
- const hashEventGroupChatJoinRequest = 'eventGroupChatJoinRequest'
185
-
186
- export function isEventGroupChatJoinRequest<V>(v: V) {
187
- return is$typed(v, id, hashEventGroupChatJoinRequest)
188
- }
189
-
190
- export function validateEventGroupChatJoinRequest<V>(v: V) {
191
- return validate<EventGroupChatJoinRequest & V>(
192
- v,
193
- id,
194
- hashEventGroupChatJoinRequest,
195
- )
196
- }
197
-
198
- /** Fired when a join request is approved by the group owner. */
199
- export interface EventGroupChatJoinRequestApproved {
200
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved'
201
- /** The DID of the owner approving the request. */
202
- actorDid: string
203
- /** When the group was originally created. */
204
- convoCreatedAt: string
205
- convoId: string
206
- createdAt: string
207
- /** Current member count at the time of the event. */
208
- groupMemberCount: number
209
- groupName: string
210
- /** The DID of the group chat owner. */
211
- ownerDid: string
212
- rev: string
213
- /** The DID of the member whose request was approved. */
214
- subjectDid: string
215
- }
216
-
217
- const hashEventGroupChatJoinRequestApproved =
218
- 'eventGroupChatJoinRequestApproved'
219
-
220
- export function isEventGroupChatJoinRequestApproved<V>(v: V) {
221
- return is$typed(v, id, hashEventGroupChatJoinRequestApproved)
222
- }
223
-
224
- export function validateEventGroupChatJoinRequestApproved<V>(v: V) {
225
- return validate<EventGroupChatJoinRequestApproved & V>(
226
- v,
227
- id,
228
- hashEventGroupChatJoinRequestApproved,
229
- )
230
- }
231
-
232
- /** Fired when a join request is rejected by the group owner. */
233
- export interface EventGroupChatJoinRequestRejected {
234
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected'
235
- /** The DID of the owner rejecting the request. */
236
- actorDid: string
237
- /** When the group was originally created. */
238
- convoCreatedAt: string
239
- convoId: string
240
- createdAt: string
241
- /** Current member count at the time of the event. */
242
- groupMemberCount: number
243
- groupName: string
244
- /** The DID of the group chat owner. */
245
- ownerDid: string
246
- rev: string
247
- /** The DID of the member whose request was rejected. */
248
- subjectDid: string
249
- }
250
-
251
- const hashEventGroupChatJoinRequestRejected =
252
- 'eventGroupChatJoinRequestRejected'
253
-
254
- export function isEventGroupChatJoinRequestRejected<V>(v: V) {
255
- return is$typed(v, id, hashEventGroupChatJoinRequestRejected)
256
- }
257
-
258
- export function validateEventGroupChatJoinRequestRejected<V>(v: V) {
259
- return validate<EventGroupChatJoinRequestRejected & V>(
260
- v,
261
- id,
262
- hashEventGroupChatJoinRequestRejected,
263
- )
264
- }
265
-
266
- /** Fired when a user accepts a chat convo, either explicitly or by sending a message. */
267
- export interface EventChatAccepted {
268
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventChatAccepted'
269
- /** The DID of the person accepting the convo. */
270
- actorDid: string
271
- /** When the convo was originally created. */
272
- convoCreatedAt: string
273
- convoId: string
274
- createdAt: string
275
- /** Current member count at the time of the event. Only present for group convos. */
276
- groupMemberCount?: number
277
- /** The name of the group chat. Only present for group convos. */
278
- groupName?: string
279
- /** How the convo was accepted. */
280
- method: 'explicit' | 'message' | (string & {})
281
- /** The DID of the group chat owner. Only present for group convos. */
282
- ownerDid?: string
283
- rev: string
284
- }
285
-
286
- const hashEventChatAccepted = 'eventChatAccepted'
287
-
288
- export function isEventChatAccepted<V>(v: V) {
289
- return is$typed(v, id, hashEventChatAccepted)
290
- }
291
-
292
- export function validateEventChatAccepted<V>(v: V) {
293
- return validate<EventChatAccepted & V>(v, id, hashEventChatAccepted)
294
- }
295
-
296
- /** Fired when a member leaves or is removed from a group chat. */
297
- export interface EventGroupChatMemberLeft {
298
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft'
299
- /** The DID of the actor. For voluntary: the person leaving. For kicked: the owner. */
300
- actorDid: string
301
- /** When the group was originally created. */
302
- convoCreatedAt: string
303
- convoId: string
304
- createdAt: string
305
- /** Current member count at the time of the event. */
306
- groupMemberCount: number
307
- groupName: string
308
- /** How the member left. */
309
- leaveMethod: 'voluntary' | 'kicked' | (string & {})
310
- /** The DID of the group chat owner. */
311
- ownerDid: string
312
- rev: string
313
- /** The DID of the member who left or was removed. */
314
- subjectDid: string
315
- }
316
-
317
- const hashEventGroupChatMemberLeft = 'eventGroupChatMemberLeft'
318
-
319
- export function isEventGroupChatMemberLeft<V>(v: V) {
320
- return is$typed(v, id, hashEventGroupChatMemberLeft)
321
- }
322
-
323
- export function validateEventGroupChatMemberLeft<V>(v: V) {
324
- return validate<EventGroupChatMemberLeft & V>(
325
- v,
326
- id,
327
- hashEventGroupChatMemberLeft,
328
- )
329
- }
330
-
331
- /** Fired when a group chat's metadata or status changes. */
332
- export interface EventGroupChatUpdated {
333
- $type?: 'chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated'
334
- /** The DID of the actor performing the action (the owner). */
335
- actorDid: string
336
- /** When the group was originally created. */
337
- convoCreatedAt: string
338
- convoId: string
339
- createdAt: string
340
- /** Current member count at the time of the event. */
341
- groupMemberCount: number
342
- /** Current group name. */
343
- groupName: string
344
- /** The code of the join link. Only present when updateType is join-link-related. */
345
- joinLinkCode?: string
346
- /** Whether the join link is restricted to followers of the owner. Only present when updateType is join-link-related. */
347
- joinLinkFollowersOnly?: boolean
348
- /** Whether the join link requires owner approval to join. Only present when updateType is join-link-related. */
349
- joinLinkRequiresApproval?: boolean
350
- /** Why the group was locked. Only present when updateType is 'locked'. */
351
- lockReason?:
352
- | 'owner_action'
353
- | 'owner_left'
354
- | 'owner_deactivated'
355
- | 'owner_deleted'
356
- | 'owner_taken_down'
357
- | 'label_applied'
358
- | (string & {})
359
- /** The new group name. Only present when updateType is 'name_changed'. */
360
- newName?: string
361
- /** The previous group name. Only present when updateType is 'name_changed'. */
362
- oldName?: string
363
- /** The DID of the group chat owner. */
364
- ownerDid: string
365
- rev: string
366
- /** What changed. */
367
- updateType:
368
- | 'name_changed'
369
- | 'locked'
370
- | 'locked_permanently'
371
- | 'unlocked'
372
- | 'join_link_created'
373
- | 'join_link_disabled'
374
- | 'join_link_settings_changed'
375
- | (string & {})
376
- }
377
-
378
- const hashEventGroupChatUpdated = 'eventGroupChatUpdated'
379
-
380
- export function isEventGroupChatUpdated<V>(v: V) {
381
- return is$typed(v, id, hashEventGroupChatUpdated)
382
- }
383
-
384
- export function validateEventGroupChatUpdated<V>(v: V) {
385
- return validate<EventGroupChatUpdated & V>(v, id, hashEventGroupChatUpdated)
386
- }
@@ -1,35 +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.moderation.updateActorAccess'
16
-
17
- export type QueryParams = {}
18
-
19
- export interface InputSchema {
20
- actor: string
21
- allowAccess: boolean
22
- ref?: string
23
- }
24
-
25
- export interface HandlerInput {
26
- encoding: 'application/json'
27
- body: InputSchema
28
- }
29
-
30
- export interface HandlerError {
31
- status: number
32
- message?: string
33
- }
34
-
35
- export type HandlerOutput = HandlerError | void
@@ -1,106 +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 ComAtprotoServerDefs from '../server/defs.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'com.atproto.admin.defs'
17
-
18
- export interface StatusAttr {
19
- $type?: 'com.atproto.admin.defs#statusAttr'
20
- applied: boolean
21
- ref?: string
22
- }
23
-
24
- const hashStatusAttr = 'statusAttr'
25
-
26
- export function isStatusAttr<V>(v: V) {
27
- return is$typed(v, id, hashStatusAttr)
28
- }
29
-
30
- export function validateStatusAttr<V>(v: V) {
31
- return validate<StatusAttr & V>(v, id, hashStatusAttr)
32
- }
33
-
34
- export interface AccountView {
35
- $type?: 'com.atproto.admin.defs#accountView'
36
- did: string
37
- handle: string
38
- email?: string
39
- relatedRecords?: { [_ in string]: unknown }[]
40
- indexedAt: string
41
- invitedBy?: ComAtprotoServerDefs.InviteCode
42
- invites?: ComAtprotoServerDefs.InviteCode[]
43
- invitesDisabled?: boolean
44
- emailConfirmedAt?: string
45
- inviteNote?: string
46
- deactivatedAt?: string
47
- threatSignatures?: ThreatSignature[]
48
- }
49
-
50
- const hashAccountView = 'accountView'
51
-
52
- export function isAccountView<V>(v: V) {
53
- return is$typed(v, id, hashAccountView)
54
- }
55
-
56
- export function validateAccountView<V>(v: V) {
57
- return validate<AccountView & V>(v, id, hashAccountView)
58
- }
59
-
60
- export interface RepoRef {
61
- $type?: 'com.atproto.admin.defs#repoRef'
62
- did: string
63
- }
64
-
65
- const hashRepoRef = 'repoRef'
66
-
67
- export function isRepoRef<V>(v: V) {
68
- return is$typed(v, id, hashRepoRef)
69
- }
70
-
71
- export function validateRepoRef<V>(v: V) {
72
- return validate<RepoRef & V>(v, id, hashRepoRef)
73
- }
74
-
75
- export interface RepoBlobRef {
76
- $type?: 'com.atproto.admin.defs#repoBlobRef'
77
- did: string
78
- cid: string
79
- recordUri?: string
80
- }
81
-
82
- const hashRepoBlobRef = 'repoBlobRef'
83
-
84
- export function isRepoBlobRef<V>(v: V) {
85
- return is$typed(v, id, hashRepoBlobRef)
86
- }
87
-
88
- export function validateRepoBlobRef<V>(v: V) {
89
- return validate<RepoBlobRef & V>(v, id, hashRepoBlobRef)
90
- }
91
-
92
- export interface ThreatSignature {
93
- $type?: 'com.atproto.admin.defs#threatSignature'
94
- property: string
95
- value: string
96
- }
97
-
98
- const hashThreatSignature = 'threatSignature'
99
-
100
- export function isThreatSignature<V>(v: V) {
101
- return is$typed(v, id, hashThreatSignature)
102
- }
103
-
104
- export function validateThreatSignature<V>(v: V) {
105
- return validate<ThreatSignature & V>(v, id, hashThreatSignature)
106
- }
@@ -1,33 +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 = 'com.atproto.admin.deleteAccount'
16
-
17
- export type QueryParams = {}
18
-
19
- export interface InputSchema {
20
- did: string
21
- }
22
-
23
- export interface HandlerInput {
24
- encoding: 'application/json'
25
- body: InputSchema
26
- }
27
-
28
- export interface HandlerError {
29
- status: number
30
- message?: string
31
- }
32
-
33
- export type HandlerOutput = HandlerError | void
@@ -1,35 +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 = 'com.atproto.admin.disableAccountInvites'
16
-
17
- export type QueryParams = {}
18
-
19
- export interface InputSchema {
20
- account: string
21
- /** Optional reason for disabled invites. */
22
- note?: string
23
- }
24
-
25
- export interface HandlerInput {
26
- encoding: 'application/json'
27
- body: InputSchema
28
- }
29
-
30
- export interface HandlerError {
31
- status: number
32
- message?: string
33
- }
34
-
35
- export type HandlerOutput = HandlerError | void
@@ -1,34 +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 = 'com.atproto.admin.disableInviteCodes'
16
-
17
- export type QueryParams = {}
18
-
19
- export interface InputSchema {
20
- codes?: string[]
21
- accounts?: string[]
22
- }
23
-
24
- export interface HandlerInput {
25
- encoding: 'application/json'
26
- body: InputSchema
27
- }
28
-
29
- export interface HandlerError {
30
- status: number
31
- message?: string
32
- }
33
-
34
- export type HandlerOutput = HandlerError | void
@@ -1,35 +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 = 'com.atproto.admin.enableAccountInvites'
16
-
17
- export type QueryParams = {}
18
-
19
- export interface InputSchema {
20
- account: string
21
- /** Optional reason for enabled invites. */
22
- note?: string
23
- }
24
-
25
- export interface HandlerInput {
26
- encoding: 'application/json'
27
- body: InputSchema
28
- }
29
-
30
- export interface HandlerError {
31
- status: number
32
- message?: string
33
- }
34
-
35
- export type HandlerOutput = HandlerError | void
@@ -1,36 +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 ComAtprotoAdminDefs from './defs.js'
13
-
14
- const is$typed = _is$typed,
15
- validate = _validate
16
- const id = 'com.atproto.admin.getAccountInfo'
17
-
18
- export type QueryParams = {
19
- did: string
20
- }
21
- export type InputSchema = undefined
22
- export type OutputSchema = ComAtprotoAdminDefs.AccountView
23
- export type HandlerInput = void
24
-
25
- export interface HandlerSuccess {
26
- encoding: 'application/json'
27
- body: OutputSchema
28
- headers?: { [key: string]: string }
29
- }
30
-
31
- export interface HandlerError {
32
- status: number
33
- message?: string
34
- }
35
-
36
- export type HandlerOutput = HandlerError | HandlerSuccess