@atproto/api 0.14.0-next.3 → 0.14.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +1 -1
  3. package/dist/agent.d.ts +4 -0
  4. package/dist/agent.d.ts.map +1 -1
  5. package/dist/agent.js +10 -9
  6. package/dist/agent.js.map +1 -1
  7. package/dist/atp-agent.d.ts.map +1 -1
  8. package/dist/atp-agent.js +1 -0
  9. package/dist/atp-agent.js.map +1 -1
  10. package/dist/client/index.d.ts +457 -426
  11. package/dist/client/index.d.ts.map +1 -1
  12. package/dist/client/index.js +344 -281
  13. package/dist/client/index.js.map +1 -1
  14. package/dist/client/lexicons.d.ts +310 -10
  15. package/dist/client/lexicons.d.ts.map +1 -1
  16. package/dist/client/lexicons.js +167 -6
  17. package/dist/client/lexicons.js.map +1 -1
  18. package/dist/client/types/app/bsky/actor/defs.d.ts +3 -3
  19. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  20. package/dist/client/types/app/bsky/actor/getPreferences.d.ts +1 -1
  21. package/dist/client/types/app/bsky/actor/getPreferences.d.ts.map +1 -1
  22. package/dist/client/types/app/bsky/actor/getProfile.d.ts +1 -1
  23. package/dist/client/types/app/bsky/actor/getProfile.d.ts.map +1 -1
  24. package/dist/client/types/app/bsky/actor/getProfiles.d.ts +1 -1
  25. package/dist/client/types/app/bsky/actor/getProfiles.d.ts.map +1 -1
  26. package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +3 -1
  27. package/dist/client/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
  28. package/dist/client/types/app/bsky/actor/getSuggestions.js.map +1 -1
  29. package/dist/client/types/app/bsky/actor/profile.d.ts +2 -2
  30. package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
  31. package/dist/client/types/app/bsky/actor/putPreferences.d.ts +1 -1
  32. package/dist/client/types/app/bsky/actor/putPreferences.d.ts.map +1 -1
  33. package/dist/client/types/app/bsky/actor/searchActors.d.ts +1 -1
  34. package/dist/client/types/app/bsky/actor/searchActors.d.ts.map +1 -1
  35. package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -1
  36. package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
  37. package/dist/client/types/app/bsky/embed/images.d.ts +1 -1
  38. package/dist/client/types/app/bsky/embed/images.d.ts.map +1 -1
  39. package/dist/client/types/app/bsky/embed/record.d.ts +10 -10
  40. package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
  41. package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +4 -4
  42. package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
  43. package/dist/client/types/app/bsky/embed/video.d.ts +1 -1
  44. package/dist/client/types/app/bsky/embed/video.d.ts.map +1 -1
  45. package/dist/client/types/app/bsky/feed/defs.d.ts +22 -9
  46. package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
  47. package/dist/client/types/app/bsky/feed/defs.js +14 -1
  48. package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
  49. package/dist/client/types/app/bsky/feed/detach.d.ts +15 -0
  50. package/dist/client/types/app/bsky/feed/detach.d.ts.map +1 -0
  51. package/dist/client/types/app/bsky/feed/detach.js +17 -0
  52. package/dist/client/types/app/bsky/feed/detach.js.map +1 -0
  53. package/dist/client/types/app/bsky/feed/generator.d.ts +3 -2
  54. package/dist/client/types/app/bsky/feed/generator.d.ts.map +1 -1
  55. package/dist/client/types/app/bsky/feed/generator.js.map +1 -1
  56. package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +1 -1
  57. package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
  58. package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +1 -1
  59. package/dist/client/types/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  60. package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +2 -2
  61. package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  62. package/dist/client/types/app/bsky/feed/getAuthorFeed.js.map +1 -1
  63. package/dist/client/types/app/bsky/feed/getFeed.d.ts +1 -1
  64. package/dist/client/types/app/bsky/feed/getFeed.d.ts.map +1 -1
  65. package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +1 -1
  66. package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
  67. package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts +1 -1
  68. package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
  69. package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -1
  70. package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
  71. package/dist/client/types/app/bsky/feed/getLikes.d.ts +1 -1
  72. package/dist/client/types/app/bsky/feed/getLikes.d.ts.map +1 -1
  73. package/dist/client/types/app/bsky/feed/getListFeed.d.ts +1 -1
  74. package/dist/client/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
  75. package/dist/client/types/app/bsky/feed/getPostThread.d.ts +1 -1
  76. package/dist/client/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
  77. package/dist/client/types/app/bsky/feed/getPosts.d.ts +1 -1
  78. package/dist/client/types/app/bsky/feed/getPosts.d.ts.map +1 -1
  79. package/dist/client/types/app/bsky/feed/getQuotes.d.ts +1 -1
  80. package/dist/client/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
  81. package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +1 -1
  82. package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
  83. package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -1
  84. package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
  85. package/dist/client/types/app/bsky/feed/getTimeline.d.ts +1 -1
  86. package/dist/client/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
  87. package/dist/client/types/app/bsky/feed/like.d.ts +1 -1
  88. package/dist/client/types/app/bsky/feed/like.d.ts.map +1 -1
  89. package/dist/client/types/app/bsky/feed/post.d.ts +8 -8
  90. package/dist/client/types/app/bsky/feed/post.d.ts.map +1 -1
  91. package/dist/client/types/app/bsky/feed/repost.d.ts +1 -1
  92. package/dist/client/types/app/bsky/feed/repost.d.ts.map +1 -1
  93. package/dist/client/types/app/bsky/feed/searchPosts.d.ts +1 -1
  94. package/dist/client/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
  95. package/dist/client/types/app/bsky/feed/sendInteractions.d.ts +1 -1
  96. package/dist/client/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
  97. package/dist/client/types/app/bsky/graph/defs.d.ts +4 -4
  98. package/dist/client/types/app/bsky/graph/defs.d.ts.map +1 -1
  99. package/dist/client/types/app/bsky/graph/getActorStarterPacks.d.ts +1 -1
  100. package/dist/client/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
  101. package/dist/client/types/app/bsky/graph/getBlocks.d.ts +1 -1
  102. package/dist/client/types/app/bsky/graph/getBlocks.d.ts.map +1 -1
  103. package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -1
  104. package/dist/client/types/app/bsky/graph/getFollowers.d.ts.map +1 -1
  105. package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -1
  106. package/dist/client/types/app/bsky/graph/getFollows.d.ts.map +1 -1
  107. package/dist/client/types/app/bsky/graph/getKnownFollowers.d.ts +1 -1
  108. package/dist/client/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
  109. package/dist/client/types/app/bsky/graph/getList.d.ts +1 -1
  110. package/dist/client/types/app/bsky/graph/getList.d.ts.map +1 -1
  111. package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +1 -1
  112. package/dist/client/types/app/bsky/graph/getListBlocks.d.ts.map +1 -1
  113. package/dist/client/types/app/bsky/graph/getListMutes.d.ts +1 -1
  114. package/dist/client/types/app/bsky/graph/getListMutes.d.ts.map +1 -1
  115. package/dist/client/types/app/bsky/graph/getLists.d.ts +1 -1
  116. package/dist/client/types/app/bsky/graph/getLists.d.ts.map +1 -1
  117. package/dist/client/types/app/bsky/graph/getMutes.d.ts +1 -1
  118. package/dist/client/types/app/bsky/graph/getMutes.d.ts.map +1 -1
  119. package/dist/client/types/app/bsky/graph/getRelationships.d.ts +1 -1
  120. package/dist/client/types/app/bsky/graph/getRelationships.d.ts.map +1 -1
  121. package/dist/client/types/app/bsky/graph/getStarterPack.d.ts +1 -1
  122. package/dist/client/types/app/bsky/graph/getStarterPack.d.ts.map +1 -1
  123. package/dist/client/types/app/bsky/graph/getStarterPacks.d.ts +1 -1
  124. package/dist/client/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
  125. package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -1
  126. package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  127. package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  128. package/dist/client/types/app/bsky/graph/getVouchesAccepted.d.ts +28 -0
  129. package/dist/client/types/app/bsky/graph/getVouchesAccepted.d.ts.map +1 -0
  130. package/dist/client/types/app/bsky/graph/getVouchesAccepted.js +7 -0
  131. package/dist/client/types/app/bsky/graph/getVouchesAccepted.js.map +1 -0
  132. package/dist/client/types/app/bsky/graph/getVouchesGiven.d.ts +37 -0
  133. package/dist/client/types/app/bsky/graph/getVouchesGiven.d.ts.map +1 -0
  134. package/dist/client/types/app/bsky/graph/getVouchesGiven.js +19 -0
  135. package/dist/client/types/app/bsky/graph/getVouchesGiven.js.map +1 -0
  136. package/dist/client/types/app/bsky/graph/getVouchesOffered.d.ts +26 -0
  137. package/dist/client/types/app/bsky/graph/getVouchesOffered.d.ts.map +1 -0
  138. package/dist/client/types/app/bsky/graph/getVouchesOffered.js +7 -0
  139. package/dist/client/types/app/bsky/graph/getVouchesOffered.js.map +1 -0
  140. package/dist/client/types/app/bsky/graph/getVouchesPending.d.ts +26 -0
  141. package/dist/client/types/app/bsky/graph/getVouchesPending.d.ts.map +1 -0
  142. package/dist/client/types/app/bsky/graph/getVouchesPending.js +7 -0
  143. package/dist/client/types/app/bsky/graph/getVouchesPending.js.map +1 -0
  144. package/dist/client/types/app/bsky/graph/getVouchesReceived.d.ts +27 -0
  145. package/dist/client/types/app/bsky/graph/getVouchesReceived.d.ts.map +1 -0
  146. package/dist/client/types/app/bsky/graph/getVouchesReceived.js +7 -0
  147. package/dist/client/types/app/bsky/graph/getVouchesReceived.js.map +1 -0
  148. package/dist/client/types/app/bsky/graph/list.d.ts +3 -3
  149. package/dist/client/types/app/bsky/graph/list.d.ts.map +1 -1
  150. package/dist/client/types/app/bsky/graph/searchStarterPacks.d.ts +1 -1
  151. package/dist/client/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
  152. package/dist/client/types/app/bsky/graph/starterpack.d.ts +1 -1
  153. package/dist/client/types/app/bsky/graph/starterpack.d.ts.map +1 -1
  154. package/dist/client/types/app/bsky/graph/vouch.d.ts +13 -0
  155. package/dist/client/types/app/bsky/graph/vouch.d.ts.map +1 -0
  156. package/dist/client/types/app/bsky/graph/vouch.js +16 -0
  157. package/dist/client/types/app/bsky/graph/vouch.js.map +1 -0
  158. package/dist/client/types/app/bsky/graph/vouchaccept.d.ts +13 -0
  159. package/dist/client/types/app/bsky/graph/vouchaccept.d.ts.map +1 -0
  160. package/dist/client/types/app/bsky/graph/vouchaccept.js +16 -0
  161. package/dist/client/types/app/bsky/graph/vouchaccept.js.map +1 -0
  162. package/dist/client/types/app/bsky/labeler/defs.d.ts +2 -2
  163. package/dist/client/types/app/bsky/labeler/defs.d.ts.map +1 -1
  164. package/dist/client/types/app/bsky/labeler/getServices.d.ts +1 -1
  165. package/dist/client/types/app/bsky/labeler/getServices.d.ts.map +1 -1
  166. package/dist/client/types/app/bsky/labeler/service.d.ts +2 -2
  167. package/dist/client/types/app/bsky/labeler/service.d.ts.map +1 -1
  168. package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -2
  169. package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  170. package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -1
  171. package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
  172. package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +3 -1
  173. package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
  174. package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
  175. package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts +1 -1
  176. package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
  177. package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +1 -1
  178. package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
  179. package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +1 -1
  180. package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
  181. package/dist/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +1 -1
  182. package/dist/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -1
  183. package/dist/client/types/app/bsky/video/getJobStatus.d.ts +1 -1
  184. package/dist/client/types/app/bsky/video/getJobStatus.d.ts.map +1 -1
  185. package/dist/client/types/app/bsky/video/uploadVideo.d.ts +1 -1
  186. package/dist/client/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
  187. package/dist/client/types/chat/bsky/actor/defs.d.ts +2 -2
  188. package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
  189. package/dist/client/types/chat/bsky/convo/defs.d.ts +3 -3
  190. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  191. package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts +1 -1
  192. package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
  193. package/dist/client/types/chat/bsky/convo/getConvo.d.ts +1 -1
  194. package/dist/client/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
  195. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -1
  196. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  197. package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
  198. package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  199. package/dist/client/types/chat/bsky/convo/getMessages.d.ts +1 -1
  200. package/dist/client/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  201. package/dist/client/types/chat/bsky/convo/listConvos.d.ts +1 -1
  202. package/dist/client/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
  203. package/dist/client/types/chat/bsky/convo/muteConvo.d.ts +1 -1
  204. package/dist/client/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
  205. package/dist/client/types/chat/bsky/convo/sendMessage.d.ts +1 -1
  206. package/dist/client/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
  207. package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts +1 -1
  208. package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
  209. package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts +1 -1
  210. package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
  211. package/dist/client/types/chat/bsky/convo/updateRead.d.ts +1 -1
  212. package/dist/client/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
  213. package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +1 -1
  214. package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
  215. package/dist/client/types/com/atproto/admin/defs.d.ts +1 -1
  216. package/dist/client/types/com/atproto/admin/defs.d.ts.map +1 -1
  217. package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +1 -1
  218. package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
  219. package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts +1 -1
  220. package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
  221. package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +1 -1
  222. package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
  223. package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +2 -2
  224. package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
  225. package/dist/client/types/com/atproto/admin/searchAccounts.d.ts +1 -1
  226. package/dist/client/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
  227. package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts +2 -2
  228. package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
  229. package/dist/client/types/com/atproto/label/queryLabels.d.ts +1 -1
  230. package/dist/client/types/com/atproto/label/queryLabels.d.ts.map +1 -1
  231. package/dist/client/types/com/atproto/label/subscribeLabels.d.ts +1 -1
  232. package/dist/client/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
  233. package/dist/client/types/com/atproto/lexicon/schema.d.ts +14 -0
  234. package/dist/client/types/com/atproto/lexicon/schema.d.ts.map +1 -0
  235. package/dist/client/types/com/atproto/lexicon/schema.js +16 -0
  236. package/dist/client/types/com/atproto/lexicon/schema.js.map +1 -0
  237. package/dist/client/types/com/atproto/moderation/createReport.d.ts +3 -3
  238. package/dist/client/types/com/atproto/moderation/createReport.d.ts.map +1 -1
  239. package/dist/client/types/com/atproto/repo/applyWrites.d.ts +1 -1
  240. package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  241. package/dist/client/types/com/atproto/repo/createRecord.d.ts +1 -1
  242. package/dist/client/types/com/atproto/repo/createRecord.d.ts.map +1 -1
  243. package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +1 -1
  244. package/dist/client/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  245. package/dist/client/types/com/atproto/repo/putRecord.d.ts +1 -1
  246. package/dist/client/types/com/atproto/repo/putRecord.d.ts.map +1 -1
  247. package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
  248. package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  249. package/dist/client/types/com/atproto/temp/fetchLabels.d.ts +1 -1
  250. package/dist/client/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
  251. package/dist/client/types/tools/ozone/communication/createTemplate.d.ts +1 -1
  252. package/dist/client/types/tools/ozone/communication/createTemplate.d.ts.map +1 -1
  253. package/dist/client/types/tools/ozone/communication/listTemplates.d.ts +1 -1
  254. package/dist/client/types/tools/ozone/communication/listTemplates.d.ts.map +1 -1
  255. package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts +1 -1
  256. package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts.map +1 -1
  257. package/dist/client/types/tools/ozone/moderation/defs.d.ts +48 -6
  258. package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  259. package/dist/client/types/tools/ozone/moderation/defs.js +18 -0
  260. package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
  261. package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +3 -3
  262. package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
  263. package/dist/client/types/tools/ozone/moderation/getEvent.d.ts +1 -1
  264. package/dist/client/types/tools/ozone/moderation/getEvent.d.ts.map +1 -1
  265. package/dist/client/types/tools/ozone/moderation/getRecord.d.ts +1 -1
  266. package/dist/client/types/tools/ozone/moderation/getRecord.d.ts.map +1 -1
  267. package/dist/client/types/tools/ozone/moderation/getRecords.d.ts +1 -1
  268. package/dist/client/types/tools/ozone/moderation/getRecords.d.ts.map +1 -1
  269. package/dist/client/types/tools/ozone/moderation/getRepo.d.ts +1 -1
  270. package/dist/client/types/tools/ozone/moderation/getRepo.d.ts.map +1 -1
  271. package/dist/client/types/tools/ozone/moderation/getRepos.d.ts +1 -1
  272. package/dist/client/types/tools/ozone/moderation/getRepos.d.ts.map +1 -1
  273. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +1 -1
  274. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  275. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +8 -2
  276. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  277. package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  278. package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts +1 -1
  279. package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts.map +1 -1
  280. package/dist/client/types/tools/ozone/set/getValues.d.ts +1 -1
  281. package/dist/client/types/tools/ozone/set/getValues.d.ts.map +1 -1
  282. package/dist/client/types/tools/ozone/set/querySets.d.ts +1 -1
  283. package/dist/client/types/tools/ozone/set/querySets.d.ts.map +1 -1
  284. package/dist/client/types/tools/ozone/set/upsertSet.d.ts +1 -1
  285. package/dist/client/types/tools/ozone/set/upsertSet.d.ts.map +1 -1
  286. package/dist/client/types/tools/ozone/setting/listOptions.d.ts +1 -1
  287. package/dist/client/types/tools/ozone/setting/listOptions.d.ts.map +1 -1
  288. package/dist/client/types/tools/ozone/setting/upsertOption.d.ts +1 -1
  289. package/dist/client/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
  290. package/dist/client/types/tools/ozone/signature/findCorrelation.d.ts +1 -1
  291. package/dist/client/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -1
  292. package/dist/client/types/tools/ozone/signature/findRelatedAccounts.d.ts +2 -2
  293. package/dist/client/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -1
  294. package/dist/client/types/tools/ozone/signature/searchAccounts.d.ts +1 -1
  295. package/dist/client/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -1
  296. package/dist/client/types/tools/ozone/team/addMember.d.ts +1 -1
  297. package/dist/client/types/tools/ozone/team/addMember.d.ts.map +1 -1
  298. package/dist/client/types/tools/ozone/team/defs.d.ts +1 -1
  299. package/dist/client/types/tools/ozone/team/defs.d.ts.map +1 -1
  300. package/dist/client/types/tools/ozone/team/listMembers.d.ts +1 -1
  301. package/dist/client/types/tools/ozone/team/listMembers.d.ts.map +1 -1
  302. package/dist/client/types/tools/ozone/team/updateMember.d.ts +1 -1
  303. package/dist/client/types/tools/ozone/team/updateMember.d.ts.map +1 -1
  304. package/dist/client/util.d.ts.map +1 -1
  305. package/dist/client/util.js +6 -1
  306. package/dist/client/util.js.map +1 -1
  307. package/dist/index.d.ts +2 -2
  308. package/dist/index.d.ts.map +1 -1
  309. package/dist/index.js +4 -4
  310. package/dist/index.js.map +1 -1
  311. package/dist/mocker.d.ts +1 -1
  312. package/dist/mocker.d.ts.map +1 -1
  313. package/dist/moderation/decision.d.ts +1 -1
  314. package/dist/moderation/decision.d.ts.map +1 -1
  315. package/dist/moderation/decision.js +1 -1
  316. package/dist/moderation/decision.js.map +1 -1
  317. package/dist/moderation/index.d.ts +1 -1
  318. package/dist/moderation/index.d.ts.map +1 -1
  319. package/dist/moderation/index.js +3 -3
  320. package/dist/moderation/index.js.map +1 -1
  321. package/dist/moderation/subjects/account.d.ts +1 -1
  322. package/dist/moderation/subjects/account.d.ts.map +1 -1
  323. package/dist/moderation/subjects/feed-generator.d.ts +1 -1
  324. package/dist/moderation/subjects/feed-generator.d.ts.map +1 -1
  325. package/dist/moderation/subjects/notification.d.ts +1 -1
  326. package/dist/moderation/subjects/notification.d.ts.map +1 -1
  327. package/dist/moderation/subjects/post.d.ts +1 -1
  328. package/dist/moderation/subjects/post.d.ts.map +1 -1
  329. package/dist/moderation/subjects/post.js +1 -1
  330. package/dist/moderation/subjects/post.js.map +1 -1
  331. package/dist/moderation/subjects/profile.d.ts +1 -1
  332. package/dist/moderation/subjects/profile.d.ts.map +1 -1
  333. package/dist/moderation/subjects/user-list.d.ts +1 -1
  334. package/dist/moderation/subjects/user-list.d.ts.map +1 -1
  335. package/dist/moderation/types.d.ts +1 -1
  336. package/dist/moderation/types.d.ts.map +1 -1
  337. package/dist/rich-text/rich-text.d.ts.map +1 -1
  338. package/dist/rich-text/rich-text.js +2 -2
  339. package/dist/rich-text/rich-text.js.map +1 -1
  340. package/dist/types.d.ts +1 -0
  341. package/dist/types.d.ts.map +1 -1
  342. package/dist/util.d.ts +8 -8
  343. package/dist/util.d.ts.map +1 -1
  344. package/dist/util.js +7 -10
  345. package/dist/util.js.map +1 -1
  346. package/jest.config.js +1 -0
  347. package/package.json +4 -4
  348. package/src/agent.ts +17 -16
  349. package/src/atp-agent.ts +1 -0
  350. package/src/client/index.ts +538 -457
  351. package/src/client/lexicons.ts +183 -25
  352. package/src/client/types/app/bsky/actor/defs.ts +3 -3
  353. package/src/client/types/app/bsky/actor/getPreferences.ts +1 -1
  354. package/src/client/types/app/bsky/actor/getProfile.ts +1 -1
  355. package/src/client/types/app/bsky/actor/getProfiles.ts +1 -1
  356. package/src/client/types/app/bsky/actor/getSuggestions.ts +3 -1
  357. package/src/client/types/app/bsky/actor/profile.ts +2 -2
  358. package/src/client/types/app/bsky/actor/putPreferences.ts +1 -1
  359. package/src/client/types/app/bsky/actor/searchActors.ts +1 -1
  360. package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +1 -1
  361. package/src/client/types/app/bsky/embed/images.ts +1 -1
  362. package/src/client/types/app/bsky/embed/record.ts +10 -10
  363. package/src/client/types/app/bsky/embed/recordWithMedia.ts +4 -4
  364. package/src/client/types/app/bsky/embed/video.ts +1 -1
  365. package/src/client/types/app/bsky/feed/defs.ts +34 -9
  366. package/src/client/types/app/bsky/feed/generator.ts +6 -2
  367. package/src/client/types/app/bsky/feed/getActorFeeds.ts +1 -1
  368. package/src/client/types/app/bsky/feed/getActorLikes.ts +1 -1
  369. package/src/client/types/app/bsky/feed/getAuthorFeed.ts +2 -1
  370. package/src/client/types/app/bsky/feed/getFeed.ts +1 -1
  371. package/src/client/types/app/bsky/feed/getFeedGenerator.ts +1 -1
  372. package/src/client/types/app/bsky/feed/getFeedGenerators.ts +1 -1
  373. package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +1 -1
  374. package/src/client/types/app/bsky/feed/getLikes.ts +1 -1
  375. package/src/client/types/app/bsky/feed/getListFeed.ts +1 -1
  376. package/src/client/types/app/bsky/feed/getPostThread.ts +1 -1
  377. package/src/client/types/app/bsky/feed/getPosts.ts +1 -1
  378. package/src/client/types/app/bsky/feed/getQuotes.ts +1 -1
  379. package/src/client/types/app/bsky/feed/getRepostedBy.ts +1 -1
  380. package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +1 -1
  381. package/src/client/types/app/bsky/feed/getTimeline.ts +1 -1
  382. package/src/client/types/app/bsky/feed/like.ts +1 -1
  383. package/src/client/types/app/bsky/feed/post.ts +8 -8
  384. package/src/client/types/app/bsky/feed/repost.ts +1 -1
  385. package/src/client/types/app/bsky/feed/searchPosts.ts +1 -1
  386. package/src/client/types/app/bsky/feed/sendInteractions.ts +1 -1
  387. package/src/client/types/app/bsky/graph/defs.ts +4 -4
  388. package/src/client/types/app/bsky/graph/getActorStarterPacks.ts +1 -1
  389. package/src/client/types/app/bsky/graph/getBlocks.ts +1 -1
  390. package/src/client/types/app/bsky/graph/getFollowers.ts +1 -1
  391. package/src/client/types/app/bsky/graph/getFollows.ts +1 -1
  392. package/src/client/types/app/bsky/graph/getKnownFollowers.ts +1 -1
  393. package/src/client/types/app/bsky/graph/getList.ts +1 -1
  394. package/src/client/types/app/bsky/graph/getListBlocks.ts +1 -1
  395. package/src/client/types/app/bsky/graph/getListMutes.ts +1 -1
  396. package/src/client/types/app/bsky/graph/getLists.ts +1 -1
  397. package/src/client/types/app/bsky/graph/getMutes.ts +1 -1
  398. package/src/client/types/app/bsky/graph/getRelationships.ts +1 -1
  399. package/src/client/types/app/bsky/graph/getStarterPack.ts +1 -1
  400. package/src/client/types/app/bsky/graph/getStarterPacks.ts +1 -1
  401. package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -1
  402. package/src/client/types/app/bsky/graph/list.ts +3 -3
  403. package/src/client/types/app/bsky/graph/searchStarterPacks.ts +1 -1
  404. package/src/client/types/app/bsky/graph/starterpack.ts +1 -1
  405. package/src/client/types/app/bsky/labeler/defs.ts +2 -2
  406. package/src/client/types/app/bsky/labeler/getServices.ts +1 -1
  407. package/src/client/types/app/bsky/labeler/service.ts +2 -2
  408. package/src/client/types/app/bsky/notification/listNotifications.ts +2 -2
  409. package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +1 -1
  410. package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +3 -1
  411. package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +1 -1
  412. package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +1 -1
  413. package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +1 -1
  414. package/src/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +1 -1
  415. package/src/client/types/app/bsky/video/getJobStatus.ts +1 -1
  416. package/src/client/types/app/bsky/video/uploadVideo.ts +1 -1
  417. package/src/client/types/chat/bsky/actor/defs.ts +2 -2
  418. package/src/client/types/chat/bsky/convo/defs.ts +3 -3
  419. package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +1 -1
  420. package/src/client/types/chat/bsky/convo/getConvo.ts +1 -1
  421. package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +1 -1
  422. package/src/client/types/chat/bsky/convo/getLog.ts +1 -1
  423. package/src/client/types/chat/bsky/convo/getMessages.ts +1 -1
  424. package/src/client/types/chat/bsky/convo/listConvos.ts +1 -1
  425. package/src/client/types/chat/bsky/convo/muteConvo.ts +1 -1
  426. package/src/client/types/chat/bsky/convo/sendMessage.ts +1 -1
  427. package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +1 -1
  428. package/src/client/types/chat/bsky/convo/unmuteConvo.ts +1 -1
  429. package/src/client/types/chat/bsky/convo/updateRead.ts +1 -1
  430. package/src/client/types/chat/bsky/moderation/getMessageContext.ts +1 -1
  431. package/src/client/types/com/atproto/admin/defs.ts +1 -1
  432. package/src/client/types/com/atproto/admin/getAccountInfo.ts +1 -1
  433. package/src/client/types/com/atproto/admin/getAccountInfos.ts +1 -1
  434. package/src/client/types/com/atproto/admin/getInviteCodes.ts +1 -1
  435. package/src/client/types/com/atproto/admin/getSubjectStatus.ts +2 -2
  436. package/src/client/types/com/atproto/admin/searchAccounts.ts +1 -1
  437. package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +2 -2
  438. package/src/client/types/com/atproto/label/queryLabels.ts +1 -1
  439. package/src/client/types/com/atproto/label/subscribeLabels.ts +1 -1
  440. package/src/client/types/com/atproto/lexicon/schema.ts +28 -0
  441. package/src/client/types/com/atproto/moderation/createReport.ts +3 -3
  442. package/src/client/types/com/atproto/repo/applyWrites.ts +1 -1
  443. package/src/client/types/com/atproto/repo/createRecord.ts +1 -1
  444. package/src/client/types/com/atproto/repo/deleteRecord.ts +1 -1
  445. package/src/client/types/com/atproto/repo/putRecord.ts +1 -1
  446. package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +1 -1
  447. package/src/client/types/com/atproto/temp/fetchLabels.ts +1 -1
  448. package/src/client/types/tools/ozone/communication/createTemplate.ts +1 -1
  449. package/src/client/types/tools/ozone/communication/listTemplates.ts +1 -1
  450. package/src/client/types/tools/ozone/communication/updateTemplate.ts +1 -1
  451. package/src/client/types/tools/ozone/moderation/defs.ts +66 -6
  452. package/src/client/types/tools/ozone/moderation/emitEvent.ts +3 -3
  453. package/src/client/types/tools/ozone/moderation/getEvent.ts +1 -1
  454. package/src/client/types/tools/ozone/moderation/getRecord.ts +1 -1
  455. package/src/client/types/tools/ozone/moderation/getRecords.ts +1 -1
  456. package/src/client/types/tools/ozone/moderation/getRepo.ts +1 -1
  457. package/src/client/types/tools/ozone/moderation/getRepos.ts +1 -1
  458. package/src/client/types/tools/ozone/moderation/queryEvents.ts +1 -1
  459. package/src/client/types/tools/ozone/moderation/queryStatuses.ts +12 -2
  460. package/src/client/types/tools/ozone/moderation/searchRepos.ts +1 -1
  461. package/src/client/types/tools/ozone/set/getValues.ts +1 -1
  462. package/src/client/types/tools/ozone/set/querySets.ts +1 -1
  463. package/src/client/types/tools/ozone/set/upsertSet.ts +1 -1
  464. package/src/client/types/tools/ozone/setting/listOptions.ts +1 -1
  465. package/src/client/types/tools/ozone/setting/upsertOption.ts +1 -1
  466. package/src/client/types/tools/ozone/signature/findCorrelation.ts +1 -1
  467. package/src/client/types/tools/ozone/signature/findRelatedAccounts.ts +2 -2
  468. package/src/client/types/tools/ozone/signature/searchAccounts.ts +1 -1
  469. package/src/client/types/tools/ozone/team/addMember.ts +1 -1
  470. package/src/client/types/tools/ozone/team/defs.ts +1 -1
  471. package/src/client/types/tools/ozone/team/listMembers.ts +1 -1
  472. package/src/client/types/tools/ozone/team/updateMember.ts +1 -1
  473. package/src/client/util.ts +4 -1
  474. package/src/index.ts +3 -3
  475. package/src/mocker.ts +3 -3
  476. package/src/moderation/decision.ts +7 -7
  477. package/src/moderation/index.ts +11 -11
  478. package/src/moderation/subjects/account.ts +1 -1
  479. package/src/moderation/subjects/feed-generator.ts +1 -1
  480. package/src/moderation/subjects/notification.ts +1 -1
  481. package/src/moderation/subjects/post.ts +6 -6
  482. package/src/moderation/subjects/profile.ts +1 -1
  483. package/src/moderation/subjects/user-list.ts +1 -1
  484. package/src/moderation/types.ts +2 -2
  485. package/src/moderation/util.ts +1 -1
  486. package/src/rich-text/detection.ts +1 -1
  487. package/src/rich-text/rich-text.ts +2 -2
  488. package/src/types.ts +1 -0
  489. package/src/util.ts +8 -9
  490. package/tests/atp-agent.test.ts +2 -2
  491. package/tests/dispatcher.test.ts +4 -4
  492. package/tests/errors.test.ts +1 -1
  493. package/tests/moderation-behaviors.test.ts +3 -3
  494. package/tests/moderation-custom-labels.test.ts +4 -4
  495. package/tests/moderation-mutewords.test.ts +0 -1
  496. package/tests/moderation-quoteposts.test.ts +3 -3
  497. package/tests/moderation.test.ts +4 -4
  498. package/tests/rich-text-sanitization.test.ts +1 -1
  499. package/tests/util/moderation-behavior.ts +2 -2
  500. package/tsconfig.build.tsbuildinfo +1 -1
  501. package/tsconfig.tests.tsbuildinfo +1 -0
  502. package/bench/agent.bench.ts +0 -9
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ChatBskyConvoDefs from './defs'
9
+ import type * as ChatBskyConvoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ChatBskyConvoDefs from './defs'
9
+ import type * as ChatBskyConvoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ChatBskyConvoDefs from './defs'
9
+ import type * as ChatBskyConvoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ChatBskyConvoDefs from '../convo/defs'
9
+ import type * as ChatBskyConvoDefs from '../convo/defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -5,7 +5,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
5
5
  import { CID } from 'multiformats/cid'
6
6
  import { validate as _validate } from '../../../../lexicons'
7
7
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
8
- import type * as ComAtprotoServerDefs from '../server/defs'
8
+ import type * as ComAtprotoServerDefs from '../server/defs.js'
9
9
 
10
10
  const is$typed = _is$typed,
11
11
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from './defs'
9
+ import type * as ComAtprotoAdminDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from './defs'
9
+ import type * as ComAtprotoAdminDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoServerDefs from '../server/defs'
9
+ import type * as ComAtprotoServerDefs from '../server/defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,8 +6,8 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from './defs'
10
- import type * as ComAtprotoRepoStrongRef from '../repo/strongRef'
9
+ import type * as ComAtprotoAdminDefs from './defs.js'
10
+ import type * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'
11
11
 
12
12
  const is$typed = _is$typed,
13
13
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from './defs'
9
+ import type * as ComAtprotoAdminDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,8 +6,8 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from './defs'
10
- import type * as ComAtprotoRepoStrongRef from '../repo/strongRef'
9
+ import type * as ComAtprotoAdminDefs from './defs.js'
10
+ import type * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'
11
11
 
12
12
  const is$typed = _is$typed,
13
13
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoLabelDefs from './defs'
9
+ import type * as ComAtprotoLabelDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoLabelDefs from './defs'
9
+ import type * as ComAtprotoLabelDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -0,0 +1,28 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { ValidationResult, BlobRef } from '@atproto/lexicon'
5
+ import { CID } from 'multiformats/cid'
6
+ import { validate as _validate } from '../../../../lexicons'
7
+ import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
8
+
9
+ const is$typed = _is$typed,
10
+ validate = _validate
11
+ const id = 'com.atproto.lexicon.schema'
12
+
13
+ export interface Record {
14
+ $type: $Type<'com.atproto.lexicon.schema', 'main'>
15
+ /** Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system. */
16
+ lexicon: number
17
+ [k: string]: unknown
18
+ }
19
+
20
+ const hashRecord = 'main'
21
+
22
+ export function isRecord<V>(v: V) {
23
+ return is$typed(v, id, hashRecord)
24
+ }
25
+
26
+ export function validateRecord<V>(v: V) {
27
+ return validate<Record & V>(v, id, hashRecord, true)
28
+ }
@@ -6,9 +6,9 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoModerationDefs from './defs'
10
- import type * as ComAtprotoAdminDefs from '../admin/defs'
11
- import type * as ComAtprotoRepoStrongRef from '../repo/strongRef'
9
+ import type * as ComAtprotoModerationDefs from './defs.js'
10
+ import type * as ComAtprotoAdminDefs from '../admin/defs.js'
11
+ import type * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'
12
12
 
13
13
  const is$typed = _is$typed,
14
14
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoRepoDefs from './defs'
9
+ import type * as ComAtprotoRepoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoRepoDefs from './defs'
9
+ import type * as ComAtprotoRepoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoRepoDefs from './defs'
9
+ import type * as ComAtprotoRepoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoRepoDefs from './defs'
9
+ import type * as ComAtprotoRepoDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoServerDefs from './defs'
9
+ import type * as ComAtprotoServerDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoLabelDefs from '../label/defs'
9
+ import type * as ComAtprotoLabelDefs from '../label/defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneCommunicationDefs from './defs'
9
+ import type * as ToolsOzoneCommunicationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneCommunicationDefs from './defs'
9
+ import type * as ToolsOzoneCommunicationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneCommunicationDefs from './defs'
9
+ import type * as ToolsOzoneCommunicationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -5,12 +5,12 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
5
5
  import { CID } from 'multiformats/cid'
6
6
  import { validate as _validate } from '../../../../lexicons'
7
7
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
8
- import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
9
- import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
10
- import type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs'
11
- import type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs'
12
- import type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs'
13
- import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
8
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
9
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
10
+ import type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs.js'
11
+ import type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'
12
+ import type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs.js'
13
+ import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
14
14
 
15
15
  const is$typed = _is$typed,
16
16
  validate = _validate
@@ -134,6 +134,8 @@ export interface SubjectStatusView {
134
134
  appealed?: boolean
135
135
  suspendUntil?: string
136
136
  tags?: string[]
137
+ accountStats?: AccountStats
138
+ recordsStats?: RecordsStats
137
139
  }
138
140
 
139
141
  const hashSubjectStatusView = 'subjectStatusView'
@@ -146,6 +148,62 @@ export function validateSubjectStatusView<V>(v: V) {
146
148
  return validate<SubjectStatusView & V>(v, id, hashSubjectStatusView)
147
149
  }
148
150
 
151
+ /** Statistics about a particular account subject */
152
+ export interface AccountStats {
153
+ $type?: $Type<'tools.ozone.moderation.defs', 'accountStats'>
154
+ /** Total number of reports on the account */
155
+ reportCount?: number
156
+ /** Total number of appeals against a moderation action on the account */
157
+ appealCount?: number
158
+ /** Number of times the account was suspended */
159
+ suspendCount?: number
160
+ /** Number of times the account was escalated */
161
+ escalateCount?: number
162
+ /** Number of times the account was taken down */
163
+ takedownCount?: number
164
+ }
165
+
166
+ const hashAccountStats = 'accountStats'
167
+
168
+ export function isAccountStats<V>(v: V) {
169
+ return is$typed(v, id, hashAccountStats)
170
+ }
171
+
172
+ export function validateAccountStats<V>(v: V) {
173
+ return validate<AccountStats & V>(v, id, hashAccountStats)
174
+ }
175
+
176
+ /** Statistics about a set of record subject items */
177
+ export interface RecordsStats {
178
+ $type?: $Type<'tools.ozone.moderation.defs', 'recordsStats'>
179
+ /** Cumulative sum of the number of reports on the items in the set */
180
+ totalReports?: number
181
+ /** Number of items that were reported at least once */
182
+ reportedCount?: number
183
+ /** Number of items that were escalated at least once */
184
+ escalatedCount?: number
185
+ /** Number of items that were appealed at least once */
186
+ appealedCount?: number
187
+ /** Total number of item in the set */
188
+ subjectCount?: number
189
+ /** Number of item currently in "reviewOpen" or "reviewEscalated" state */
190
+ pendingCount?: number
191
+ /** Number of item currently in "reviewNone" or "reviewClosed" state */
192
+ processedCount?: number
193
+ /** Number of item currently taken down */
194
+ takendownCount?: number
195
+ }
196
+
197
+ const hashRecordsStats = 'recordsStats'
198
+
199
+ export function isRecordsStats<V>(v: V) {
200
+ return is$typed(v, id, hashRecordsStats)
201
+ }
202
+
203
+ export function validateRecordsStats<V>(v: V) {
204
+ return validate<RecordsStats & V>(v, id, hashRecordsStats)
205
+ }
206
+
149
207
  export type SubjectReviewState =
150
208
  | 'lex:tools.ozone.moderation.defs#reviewOpen'
151
209
  | 'lex:tools.ozone.moderation.defs#reviewEscalated'
@@ -265,6 +323,8 @@ export interface ModEventLabel {
265
323
  comment?: string
266
324
  createLabelVals: string[]
267
325
  negateLabelVals: string[]
326
+ /** Indicates how long the label will remain on the subject. Only applies on labels that are being added. */
327
+ durationInHours?: number
268
328
  }
269
329
 
270
330
  const hashModEventLabel = 'modEventLabel'
@@ -6,9 +6,9 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
10
- import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
11
- import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
11
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
12
12
 
13
13
  const is$typed = _is$typed,
14
14
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -52,7 +52,11 @@ export interface QueryParams {
52
52
  ignoreSubjects?: string[]
53
53
  /** Get all subject statuses that were reviewed by a specific moderator */
54
54
  lastReviewedBy?: string
55
- sortField?: 'lastReviewedAt' | 'lastReportedAt'
55
+ sortField?:
56
+ | 'lastReviewedAt'
57
+ | 'lastReportedAt'
58
+ | 'reportedRecordsCount'
59
+ | 'takendownRecordsCount'
56
60
  sortDirection?: 'asc' | 'desc'
57
61
  /** Get subjects that were taken down */
58
62
  takendown?: boolean
@@ -66,6 +70,12 @@ export interface QueryParams {
66
70
  collections?: string[]
67
71
  /** If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored. */
68
72
  subjectType?: 'account' | 'record' | (string & {})
73
+ /** If specified, only subjects that belong to an account that has at least this many suspensions will be returned. */
74
+ minAccountSuspendCount?: number
75
+ /** If specified, only subjects that belong to an account that has at least this many reported records will be returned. */
76
+ minReportedRecordsCount?: number
77
+ /** If specified, only subjects that belong to an account that has at least this many taken down records will be returned. */
78
+ minTakendownRecordsCount?: number
69
79
  }
70
80
 
71
81
  export type InputSchema = undefined
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneModerationDefs from './defs'
9
+ import type * as ToolsOzoneModerationDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneSetDefs from './defs'
9
+ import type * as ToolsOzoneSetDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneSetDefs from './defs'
9
+ import type * as ToolsOzoneSetDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneSetDefs from './defs'
9
+ import type * as ToolsOzoneSetDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneSettingDefs from './defs'
9
+ import type * as ToolsOzoneSettingDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneSettingDefs from './defs'
9
+ import type * as ToolsOzoneSettingDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneSignatureDefs from './defs'
9
+ import type * as ToolsOzoneSignatureDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,8 +6,8 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
10
- import type * as ToolsOzoneSignatureDefs from './defs'
9
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
10
+ import type * as ToolsOzoneSignatureDefs from './defs.js'
11
11
 
12
12
  const is$typed = _is$typed,
13
13
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
9
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneTeamDefs from './defs'
9
+ import type * as ToolsOzoneTeamDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -5,7 +5,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
5
5
  import { CID } from 'multiformats/cid'
6
6
  import { validate as _validate } from '../../../../lexicons'
7
7
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
8
- import type * as AppBskyActorDefs from '../../../app/bsky/actor/defs'
8
+ import type * as AppBskyActorDefs from '../../../app/bsky/actor/defs.js'
9
9
 
10
10
  const is$typed = _is$typed,
11
11
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneTeamDefs from './defs'
9
+ import type * as ToolsOzoneTeamDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
6
6
  import { CID } from 'multiformats/cid'
7
7
  import { validate as _validate } from '../../../../lexicons'
8
8
  import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
9
- import type * as ToolsOzoneTeamDefs from './defs'
9
+ import type * as ToolsOzoneTeamDefs from './defs.js'
10
10
 
11
11
  const is$typed = _is$typed,
12
12
  validate = _validate