@atproto/bsky 0.0.14 → 0.0.16

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 (195) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/api/app/bsky/feed/searchPosts.d.ts +3 -0
  3. package/dist/api/com/atproto/moderation/util.d.ts +4 -3
  4. package/dist/config.d.ts +2 -2
  5. package/dist/context.d.ts +16 -1
  6. package/dist/db/index.js +26 -1
  7. package/dist/db/index.js.map +3 -3
  8. package/dist/db/migrations/20231003T202833377Z-create-moderation-subject-status.d.ts +3 -0
  9. package/dist/db/migrations/index.d.ts +1 -0
  10. package/dist/db/pagination.d.ts +2 -1
  11. package/dist/db/{periodic-moderation-action-reversal.d.ts → periodic-moderation-event-reversal.d.ts} +3 -5
  12. package/dist/db/tables/moderation.d.ts +24 -34
  13. package/dist/feed-gen/types.d.ts +1 -1
  14. package/dist/index.d.ts +2 -1
  15. package/dist/index.js +3332 -2430
  16. package/dist/index.js.map +3 -3
  17. package/dist/lexicon/index.d.ts +18 -18
  18. package/dist/lexicon/lexicons.d.ts +460 -385
  19. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +1 -7
  20. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +1 -0
  21. package/dist/lexicon/types/com/atproto/admin/defs.d.ts +116 -48
  22. package/dist/lexicon/types/com/atproto/admin/{takeModerationAction.d.ts → emitModerationEvent.d.ts} +5 -6
  23. package/dist/lexicon/types/com/atproto/admin/{getModerationAction.d.ts → getModerationEvent.d.ts} +1 -1
  24. package/dist/lexicon/types/com/atproto/admin/{getModerationActions.d.ts → queryModerationEvents.d.ts} +5 -1
  25. package/dist/lexicon/types/com/atproto/admin/{getModerationReports.d.ts → queryModerationStatuses.d.ts} +12 -6
  26. package/dist/lexicon/types/com/atproto/admin/sendEmail.d.ts +1 -0
  27. package/dist/lexicon/types/com/atproto/{admin/getModerationReport.d.ts → temp/fetchLabels.d.ts} +7 -3
  28. package/dist/migrate-moderation-data.d.ts +1 -0
  29. package/dist/services/actor/views.d.ts +2 -5
  30. package/dist/services/feed/index.d.ts +1 -0
  31. package/dist/services/feed/util.d.ts +9 -1
  32. package/dist/services/feed/views.d.ts +6 -17
  33. package/dist/services/graph/index.d.ts +5 -29
  34. package/dist/services/graph/types.d.ts +1 -0
  35. package/dist/services/moderation/index.d.ts +135 -72
  36. package/dist/services/moderation/pagination.d.ts +36 -0
  37. package/dist/services/moderation/status.d.ts +13 -0
  38. package/dist/services/moderation/types.d.ts +35 -0
  39. package/dist/services/moderation/views.d.ts +18 -14
  40. package/dist/util/debug.d.ts +1 -1
  41. package/package.json +14 -15
  42. package/src/api/app/bsky/actor/getSuggestions.ts +45 -21
  43. package/src/api/app/bsky/feed/getActorFeeds.ts +2 -1
  44. package/src/api/app/bsky/feed/getActorLikes.ts +1 -3
  45. package/src/api/app/bsky/feed/getAuthorFeed.ts +1 -3
  46. package/src/api/app/bsky/feed/getFeed.ts +9 -9
  47. package/src/api/app/bsky/feed/getFeedGenerator.ts +3 -0
  48. package/src/api/app/bsky/feed/getFeedGenerators.ts +2 -1
  49. package/src/api/app/bsky/feed/getListFeed.ts +1 -3
  50. package/src/api/app/bsky/feed/getPostThread.ts +31 -58
  51. package/src/api/app/bsky/feed/getPosts.ts +21 -18
  52. package/src/api/app/bsky/feed/getSuggestedFeeds.ts +2 -1
  53. package/src/api/app/bsky/feed/getTimeline.ts +1 -3
  54. package/src/api/app/bsky/feed/searchPosts.ts +130 -0
  55. package/src/api/app/bsky/graph/getList.ts +6 -3
  56. package/src/api/app/bsky/graph/getListBlocks.ts +3 -2
  57. package/src/api/app/bsky/graph/getListMutes.ts +2 -1
  58. package/src/api/app/bsky/graph/getLists.ts +2 -1
  59. package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +3 -1
  60. package/src/api/blob-resolver.ts +6 -11
  61. package/src/api/com/atproto/admin/emitModerationEvent.ts +220 -0
  62. package/src/api/com/atproto/admin/{getModerationActions.ts → getModerationEvent.ts} +5 -11
  63. package/src/api/com/atproto/admin/getRecord.ts +1 -0
  64. package/src/api/com/atproto/admin/{getModerationReports.ts → queryModerationEvents.ts} +13 -16
  65. package/src/api/com/atproto/admin/queryModerationStatuses.ts +55 -0
  66. package/src/api/com/atproto/admin/util.ts +3 -1
  67. package/src/api/com/atproto/moderation/createReport.ts +9 -7
  68. package/src/api/com/atproto/moderation/util.ts +38 -20
  69. package/src/api/com/atproto/temp/fetchLabels.ts +30 -0
  70. package/src/api/index.ts +12 -14
  71. package/src/auth.ts +29 -21
  72. package/src/auto-moderator/index.ts +26 -19
  73. package/src/config.ts +6 -6
  74. package/src/context.ts +15 -9
  75. package/src/db/migrations/20231003T202833377Z-create-moderation-subject-status.ts +123 -0
  76. package/src/db/migrations/index.ts +1 -0
  77. package/src/db/pagination.ts +26 -3
  78. package/src/db/{periodic-moderation-action-reversal.ts → periodic-moderation-event-reversal.ts} +51 -55
  79. package/src/db/tables/moderation.ts +35 -52
  80. package/src/feed-gen/best-of-follows.ts +6 -3
  81. package/src/feed-gen/bsky-team.ts +1 -1
  82. package/src/feed-gen/hot-classic.ts +1 -1
  83. package/src/feed-gen/mutuals.ts +6 -2
  84. package/src/feed-gen/types.ts +1 -1
  85. package/src/feed-gen/whats-hot.ts +1 -1
  86. package/src/feed-gen/with-friends.ts +7 -3
  87. package/src/index.ts +2 -1
  88. package/src/lexicon/index.ts +52 -67
  89. package/src/lexicon/lexicons.ts +674 -579
  90. package/src/lexicon/types/app/bsky/actor/defs.ts +2 -2
  91. package/src/lexicon/types/app/bsky/actor/searchActors.ts +2 -2
  92. package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +2 -2
  93. package/src/lexicon/types/app/bsky/feed/defs.ts +1 -18
  94. package/src/lexicon/types/app/bsky/feed/searchPosts.ts +3 -3
  95. package/src/lexicon/types/app/bsky/graph/defs.ts +3 -2
  96. package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +4 -4
  97. package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +3 -3
  98. package/src/lexicon/types/com/atproto/admin/defs.ts +278 -84
  99. package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +1 -1
  100. package/src/lexicon/types/com/atproto/admin/{takeModerationAction.ts → emitModerationEvent.ts} +13 -11
  101. package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +1 -1
  102. package/src/lexicon/types/com/atproto/admin/{getModerationReport.ts → getModerationEvent.ts} +1 -1
  103. package/src/lexicon/types/com/atproto/admin/{getModerationReports.ts → queryModerationEvents.ts} +8 -15
  104. package/src/lexicon/types/com/atproto/admin/queryModerationStatuses.ts +70 -0
  105. package/src/lexicon/types/com/atproto/admin/sendEmail.ts +1 -0
  106. package/src/lexicon/types/com/atproto/label/defs.ts +9 -9
  107. package/src/lexicon/types/com/atproto/label/queryLabels.ts +2 -2
  108. package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -1
  109. package/src/lexicon/types/com/atproto/repo/createRecord.ts +2 -2
  110. package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +2 -2
  111. package/src/lexicon/types/com/atproto/repo/listRecords.ts +1 -1
  112. package/src/lexicon/types/com/atproto/repo/putRecord.ts +3 -3
  113. package/src/lexicon/types/com/atproto/sync/listBlobs.ts +1 -1
  114. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +4 -4
  115. package/src/lexicon/types/com/atproto/{admin/getModerationActions.ts → temp/fetchLabels.ts} +3 -5
  116. package/src/migrate-moderation-data.ts +414 -0
  117. package/src/services/actor/views.ts +5 -14
  118. package/src/services/feed/index.ts +26 -7
  119. package/src/services/feed/util.ts +47 -19
  120. package/src/services/feed/views.ts +68 -4
  121. package/src/services/graph/index.ts +21 -3
  122. package/src/services/graph/types.ts +1 -0
  123. package/src/services/indexing/plugins/block.ts +2 -3
  124. package/src/services/indexing/plugins/feed-generator.ts +2 -3
  125. package/src/services/indexing/plugins/follow.ts +2 -3
  126. package/src/services/indexing/plugins/like.ts +2 -3
  127. package/src/services/indexing/plugins/list-block.ts +2 -3
  128. package/src/services/indexing/plugins/list-item.ts +2 -3
  129. package/src/services/indexing/plugins/list.ts +2 -3
  130. package/src/services/indexing/plugins/post.ts +3 -4
  131. package/src/services/indexing/plugins/repost.ts +2 -3
  132. package/src/services/indexing/plugins/thread-gate.ts +2 -3
  133. package/src/services/label/index.ts +2 -3
  134. package/src/services/moderation/index.ts +380 -395
  135. package/src/services/moderation/pagination.ts +96 -0
  136. package/src/services/moderation/status.ts +244 -0
  137. package/src/services/moderation/types.ts +49 -0
  138. package/src/services/moderation/views.ts +278 -329
  139. package/src/util/debug.ts +2 -2
  140. package/tests/__snapshots__/feed-generation.test.ts.snap +322 -6
  141. package/tests/__snapshots__/indexing.test.ts.snap +0 -6
  142. package/tests/admin/__snapshots__/get-record.test.ts.snap +30 -132
  143. package/tests/admin/__snapshots__/get-repo.test.ts.snap +14 -60
  144. package/tests/admin/__snapshots__/moderation-events.test.ts.snap +146 -0
  145. package/tests/admin/__snapshots__/moderation-statuses.test.ts.snap +64 -0
  146. package/tests/admin/__snapshots__/moderation.test.ts.snap +0 -125
  147. package/tests/admin/get-record.test.ts +5 -9
  148. package/tests/admin/get-repo.test.ts +38 -9
  149. package/tests/admin/moderation-events.test.ts +221 -0
  150. package/tests/admin/moderation-statuses.test.ts +145 -0
  151. package/tests/admin/moderation.test.ts +512 -860
  152. package/tests/admin/repo-search.test.ts +2 -3
  153. package/tests/auto-moderator/fuzzy-matcher.test.ts +2 -1
  154. package/tests/auto-moderator/takedowns.test.ts +45 -18
  155. package/tests/feed-generation.test.ts +57 -9
  156. package/tests/views/__snapshots__/block-lists.test.ts.snap +3 -9
  157. package/tests/views/__snapshots__/blocks.test.ts.snap +0 -9
  158. package/tests/views/__snapshots__/mute-lists.test.ts.snap +5 -5
  159. package/tests/views/__snapshots__/mutes.test.ts.snap +0 -3
  160. package/tests/views/__snapshots__/thread.test.ts.snap +0 -30
  161. package/tests/views/actor-search.test.ts +2 -3
  162. package/tests/views/author-feed.test.ts +42 -36
  163. package/tests/views/follows.test.ts +40 -35
  164. package/tests/views/list-feed.test.ts +17 -9
  165. package/tests/views/notifications.test.ts +13 -9
  166. package/tests/views/profile.test.ts +20 -18
  167. package/tests/views/suggestions.test.ts +15 -7
  168. package/tests/views/thread.test.ts +54 -26
  169. package/tests/views/threadgating.test.ts +51 -19
  170. package/tests/views/timeline.test.ts +21 -13
  171. package/dist/api/com/atproto/admin/reverseModerationAction.d.ts +0 -3
  172. package/dist/api/com/atproto/admin/takeModerationAction.d.ts +0 -3
  173. package/dist/lexicon/types/com/atproto/admin/resolveModerationReports.d.ts +0 -36
  174. package/dist/lexicon/types/com/atproto/admin/reverseModerationAction.d.ts +0 -36
  175. package/src/api/com/atproto/admin/getModerationAction.ts +0 -44
  176. package/src/api/com/atproto/admin/getModerationReport.ts +0 -43
  177. package/src/api/com/atproto/admin/resolveModerationReports.ts +0 -24
  178. package/src/api/com/atproto/admin/reverseModerationAction.ts +0 -115
  179. package/src/api/com/atproto/admin/takeModerationAction.ts +0 -156
  180. package/src/lexicon/types/com/atproto/admin/getModerationAction.ts +0 -41
  181. package/src/lexicon/types/com/atproto/admin/resolveModerationReports.ts +0 -49
  182. package/src/lexicon/types/com/atproto/admin/reverseModerationAction.ts +0 -49
  183. package/tests/admin/__snapshots__/get-moderation-action.test.ts.snap +0 -172
  184. package/tests/admin/__snapshots__/get-moderation-actions.test.ts.snap +0 -178
  185. package/tests/admin/__snapshots__/get-moderation-report.test.ts.snap +0 -177
  186. package/tests/admin/__snapshots__/get-moderation-reports.test.ts.snap +0 -307
  187. package/tests/admin/get-moderation-action.test.ts +0 -100
  188. package/tests/admin/get-moderation-actions.test.ts +0 -164
  189. package/tests/admin/get-moderation-report.test.ts +0 -100
  190. package/tests/admin/get-moderation-reports.test.ts +0 -332
  191. /package/dist/api/com/atproto/admin/{getModerationAction.d.ts → emitModerationEvent.d.ts} +0 -0
  192. /package/dist/api/com/atproto/admin/{getModerationActions.d.ts → getModerationEvent.d.ts} +0 -0
  193. /package/dist/api/com/atproto/admin/{getModerationReport.d.ts → queryModerationEvents.d.ts} +0 -0
  194. /package/dist/api/com/atproto/admin/{getModerationReports.d.ts → queryModerationStatuses.d.ts} +0 -0
  195. /package/dist/api/com/atproto/{admin/resolveModerationReports.d.ts → temp/fetchLabels.d.ts} +0 -0
@@ -20,30 +20,33 @@ export const schemaDict = {
20
20
  },
21
21
  },
22
22
  },
23
- actionView: {
23
+ modEventView: {
24
24
  type: 'object',
25
25
  required: [
26
26
  'id',
27
- 'action',
27
+ 'event',
28
28
  'subject',
29
29
  'subjectBlobCids',
30
- 'reason',
31
30
  'createdBy',
32
31
  'createdAt',
33
- 'resolvedReportIds',
34
32
  ],
35
33
  properties: {
36
34
  id: {
37
35
  type: 'integer',
38
36
  },
39
- action: {
40
- type: 'ref',
41
- ref: 'lex:com.atproto.admin.defs#actionType',
42
- },
43
- durationInHours: {
44
- type: 'integer',
45
- description:
46
- 'Indicates how long this action was meant to be in effect before automatically expiring.',
37
+ event: {
38
+ type: 'union',
39
+ refs: [
40
+ 'lex:com.atproto.admin.defs#modEventTakedown',
41
+ 'lex:com.atproto.admin.defs#modEventReverseTakedown',
42
+ 'lex:com.atproto.admin.defs#modEventComment',
43
+ 'lex:com.atproto.admin.defs#modEventReport',
44
+ 'lex:com.atproto.admin.defs#modEventLabel',
45
+ 'lex:com.atproto.admin.defs#modEventAcknowledge',
46
+ 'lex:com.atproto.admin.defs#modEventEscalate',
47
+ 'lex:com.atproto.admin.defs#modEventMute',
48
+ 'lex:com.atproto.admin.defs#modEventEmail',
49
+ ],
47
50
  },
48
51
  subject: {
49
52
  type: 'union',
@@ -58,21 +61,6 @@ export const schemaDict = {
58
61
  type: 'string',
59
62
  },
60
63
  },
61
- createLabelVals: {
62
- type: 'array',
63
- items: {
64
- type: 'string',
65
- },
66
- },
67
- negateLabelVals: {
68
- type: 'array',
69
- items: {
70
- type: 'string',
71
- },
72
- },
73
- reason: {
74
- type: 'string',
75
- },
76
64
  createdBy: {
77
65
  type: 'string',
78
66
  format: 'did',
@@ -81,42 +69,40 @@ export const schemaDict = {
81
69
  type: 'string',
82
70
  format: 'datetime',
83
71
  },
84
- reversal: {
85
- type: 'ref',
86
- ref: 'lex:com.atproto.admin.defs#actionReversal',
72
+ creatorHandle: {
73
+ type: 'string',
87
74
  },
88
- resolvedReportIds: {
89
- type: 'array',
90
- items: {
91
- type: 'integer',
92
- },
75
+ subjectHandle: {
76
+ type: 'string',
93
77
  },
94
78
  },
95
79
  },
96
- actionViewDetail: {
80
+ modEventViewDetail: {
97
81
  type: 'object',
98
82
  required: [
99
83
  'id',
100
- 'action',
84
+ 'event',
101
85
  'subject',
102
86
  'subjectBlobs',
103
- 'reason',
104
87
  'createdBy',
105
88
  'createdAt',
106
- 'resolvedReports',
107
89
  ],
108
90
  properties: {
109
91
  id: {
110
92
  type: 'integer',
111
93
  },
112
- action: {
113
- type: 'ref',
114
- ref: 'lex:com.atproto.admin.defs#actionType',
115
- },
116
- durationInHours: {
117
- type: 'integer',
118
- description:
119
- 'Indicates how long this action was meant to be in effect before automatically expiring.',
94
+ event: {
95
+ type: 'union',
96
+ refs: [
97
+ 'lex:com.atproto.admin.defs#modEventTakedown',
98
+ 'lex:com.atproto.admin.defs#modEventReverseTakedown',
99
+ 'lex:com.atproto.admin.defs#modEventComment',
100
+ 'lex:com.atproto.admin.defs#modEventReport',
101
+ 'lex:com.atproto.admin.defs#modEventLabel',
102
+ 'lex:com.atproto.admin.defs#modEventAcknowledge',
103
+ 'lex:com.atproto.admin.defs#modEventEscalate',
104
+ 'lex:com.atproto.admin.defs#modEventMute',
105
+ ],
120
106
  },
121
107
  subject: {
122
108
  type: 'union',
@@ -134,67 +120,6 @@ export const schemaDict = {
134
120
  ref: 'lex:com.atproto.admin.defs#blobView',
135
121
  },
136
122
  },
137
- createLabelVals: {
138
- type: 'array',
139
- items: {
140
- type: 'string',
141
- },
142
- },
143
- negateLabelVals: {
144
- type: 'array',
145
- items: {
146
- type: 'string',
147
- },
148
- },
149
- reason: {
150
- type: 'string',
151
- },
152
- createdBy: {
153
- type: 'string',
154
- format: 'did',
155
- },
156
- createdAt: {
157
- type: 'string',
158
- format: 'datetime',
159
- },
160
- reversal: {
161
- type: 'ref',
162
- ref: 'lex:com.atproto.admin.defs#actionReversal',
163
- },
164
- resolvedReports: {
165
- type: 'array',
166
- items: {
167
- type: 'ref',
168
- ref: 'lex:com.atproto.admin.defs#reportView',
169
- },
170
- },
171
- },
172
- },
173
- actionViewCurrent: {
174
- type: 'object',
175
- required: ['id', 'action'],
176
- properties: {
177
- id: {
178
- type: 'integer',
179
- },
180
- action: {
181
- type: 'ref',
182
- ref: 'lex:com.atproto.admin.defs#actionType',
183
- },
184
- durationInHours: {
185
- type: 'integer',
186
- description:
187
- 'Indicates how long this action was meant to be in effect before automatically expiring.',
188
- },
189
- },
190
- },
191
- actionReversal: {
192
- type: 'object',
193
- required: ['reason', 'createdBy', 'createdAt'],
194
- properties: {
195
- reason: {
196
- type: 'string',
197
- },
198
123
  createdBy: {
199
124
  type: 'string',
200
125
  format: 'did',
@@ -205,35 +130,6 @@ export const schemaDict = {
205
130
  },
206
131
  },
207
132
  },
208
- actionType: {
209
- type: 'string',
210
- knownValues: [
211
- 'lex:com.atproto.admin.defs#takedown',
212
- 'lex:com.atproto.admin.defs#flag',
213
- 'lex:com.atproto.admin.defs#acknowledge',
214
- 'lex:com.atproto.admin.defs#escalate',
215
- ],
216
- },
217
- takedown: {
218
- type: 'token',
219
- description:
220
- 'Moderation action type: Takedown. Indicates that content should not be served by the PDS.',
221
- },
222
- flag: {
223
- type: 'token',
224
- description:
225
- 'Moderation action type: Flag. Indicates that the content was reviewed and considered to violate PDS rules, but may still be served.',
226
- },
227
- acknowledge: {
228
- type: 'token',
229
- description:
230
- 'Moderation action type: Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules.',
231
- },
232
- escalate: {
233
- type: 'token',
234
- description:
235
- 'Moderation action type: Escalate. Indicates that the content has been flagged for additional review.',
236
- },
237
133
  reportView: {
238
134
  type: 'object',
239
135
  required: [
@@ -252,7 +148,7 @@ export const schemaDict = {
252
148
  type: 'ref',
253
149
  ref: 'lex:com.atproto.moderation.defs#reasonType',
254
150
  },
255
- reason: {
151
+ comment: {
256
152
  type: 'string',
257
153
  },
258
154
  subjectRepoHandle: {
@@ -281,6 +177,75 @@ export const schemaDict = {
281
177
  },
282
178
  },
283
179
  },
180
+ subjectStatusView: {
181
+ type: 'object',
182
+ required: ['id', 'subject', 'createdAt', 'updatedAt', 'reviewState'],
183
+ properties: {
184
+ id: {
185
+ type: 'integer',
186
+ },
187
+ subject: {
188
+ type: 'union',
189
+ refs: [
190
+ 'lex:com.atproto.admin.defs#repoRef',
191
+ 'lex:com.atproto.repo.strongRef',
192
+ ],
193
+ },
194
+ subjectBlobCids: {
195
+ type: 'array',
196
+ items: {
197
+ type: 'string',
198
+ format: 'cid',
199
+ },
200
+ },
201
+ subjectRepoHandle: {
202
+ type: 'string',
203
+ },
204
+ updatedAt: {
205
+ type: 'string',
206
+ format: 'datetime',
207
+ description:
208
+ 'Timestamp referencing when the last update was made to the moderation status of the subject',
209
+ },
210
+ createdAt: {
211
+ type: 'string',
212
+ format: 'datetime',
213
+ description:
214
+ 'Timestamp referencing the first moderation status impacting event was emitted on the subject',
215
+ },
216
+ reviewState: {
217
+ type: 'ref',
218
+ ref: 'lex:com.atproto.admin.defs#subjectReviewState',
219
+ },
220
+ comment: {
221
+ type: 'string',
222
+ description: 'Sticky comment on the subject.',
223
+ },
224
+ muteUntil: {
225
+ type: 'string',
226
+ format: 'datetime',
227
+ },
228
+ lastReviewedBy: {
229
+ type: 'string',
230
+ format: 'did',
231
+ },
232
+ lastReviewedAt: {
233
+ type: 'string',
234
+ format: 'datetime',
235
+ },
236
+ lastReportedAt: {
237
+ type: 'string',
238
+ format: 'datetime',
239
+ },
240
+ takendown: {
241
+ type: 'boolean',
242
+ },
243
+ suspendUntil: {
244
+ type: 'string',
245
+ format: 'datetime',
246
+ },
247
+ },
248
+ },
284
249
  reportViewDetail: {
285
250
  type: 'object',
286
251
  required: [
@@ -299,7 +264,7 @@ export const schemaDict = {
299
264
  type: 'ref',
300
265
  ref: 'lex:com.atproto.moderation.defs#reasonType',
301
266
  },
302
- reason: {
267
+ comment: {
303
268
  type: 'string',
304
269
  },
305
270
  subject: {
@@ -311,6 +276,10 @@ export const schemaDict = {
311
276
  'lex:com.atproto.admin.defs#recordViewNotFound',
312
277
  ],
313
278
  },
279
+ subjectStatus: {
280
+ type: 'ref',
281
+ ref: 'lex:com.atproto.admin.defs#subjectStatusView',
282
+ },
314
283
  reportedBy: {
315
284
  type: 'string',
316
285
  format: 'did',
@@ -323,7 +292,7 @@ export const schemaDict = {
323
292
  type: 'array',
324
293
  items: {
325
294
  type: 'ref',
326
- ref: 'lex:com.atproto.admin.defs#actionView',
295
+ ref: 'lex:com.atproto.admin.defs#modEventView',
327
296
  },
328
297
  },
329
298
  },
@@ -434,6 +403,10 @@ export const schemaDict = {
434
403
  inviteNote: {
435
404
  type: 'string',
436
405
  },
406
+ emailConfirmedAt: {
407
+ type: 'string',
408
+ format: 'datetime',
409
+ },
437
410
  },
438
411
  },
439
412
  accountView: {
@@ -469,6 +442,10 @@ export const schemaDict = {
469
442
  invitesDisabled: {
470
443
  type: 'boolean',
471
444
  },
445
+ emailConfirmedAt: {
446
+ type: 'string',
447
+ format: 'datetime',
448
+ },
472
449
  inviteNote: {
473
450
  type: 'string',
474
451
  },
@@ -620,33 +597,18 @@ export const schemaDict = {
620
597
  moderation: {
621
598
  type: 'object',
622
599
  properties: {
623
- currentAction: {
600
+ subjectStatus: {
624
601
  type: 'ref',
625
- ref: 'lex:com.atproto.admin.defs#actionViewCurrent',
602
+ ref: 'lex:com.atproto.admin.defs#subjectStatusView',
626
603
  },
627
604
  },
628
605
  },
629
606
  moderationDetail: {
630
607
  type: 'object',
631
- required: ['actions', 'reports'],
632
608
  properties: {
633
- currentAction: {
609
+ subjectStatus: {
634
610
  type: 'ref',
635
- ref: 'lex:com.atproto.admin.defs#actionViewCurrent',
636
- },
637
- actions: {
638
- type: 'array',
639
- items: {
640
- type: 'ref',
641
- ref: 'lex:com.atproto.admin.defs#actionView',
642
- },
643
- },
644
- reports: {
645
- type: 'array',
646
- items: {
647
- type: 'ref',
648
- ref: 'lex:com.atproto.admin.defs#reportView',
649
- },
611
+ ref: 'lex:com.atproto.admin.defs#subjectStatusView',
650
612
  },
651
613
  },
652
614
  },
@@ -708,6 +670,154 @@ export const schemaDict = {
708
670
  },
709
671
  },
710
672
  },
673
+ subjectReviewState: {
674
+ type: 'string',
675
+ knownValues: [
676
+ 'lex:com.atproto.admin.defs#reviewOpen',
677
+ 'lex:com.atproto.admin.defs#reviewEscalated',
678
+ 'lex:com.atproto.admin.defs#reviewClosed',
679
+ ],
680
+ },
681
+ reviewOpen: {
682
+ type: 'token',
683
+ description:
684
+ 'Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator',
685
+ },
686
+ reviewEscalated: {
687
+ type: 'token',
688
+ description:
689
+ 'Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator',
690
+ },
691
+ reviewClosed: {
692
+ type: 'token',
693
+ description:
694
+ 'Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator',
695
+ },
696
+ modEventTakedown: {
697
+ type: 'object',
698
+ description: 'Take down a subject permanently or temporarily',
699
+ properties: {
700
+ comment: {
701
+ type: 'string',
702
+ },
703
+ durationInHours: {
704
+ type: 'integer',
705
+ description:
706
+ 'Indicates how long the takedown should be in effect before automatically expiring.',
707
+ },
708
+ },
709
+ },
710
+ modEventReverseTakedown: {
711
+ type: 'object',
712
+ description: 'Revert take down action on a subject',
713
+ properties: {
714
+ comment: {
715
+ type: 'string',
716
+ description: 'Describe reasoning behind the reversal.',
717
+ },
718
+ },
719
+ },
720
+ modEventComment: {
721
+ type: 'object',
722
+ description: 'Add a comment to a subject',
723
+ required: ['comment'],
724
+ properties: {
725
+ comment: {
726
+ type: 'string',
727
+ },
728
+ sticky: {
729
+ type: 'boolean',
730
+ description: 'Make the comment persistent on the subject',
731
+ },
732
+ },
733
+ },
734
+ modEventReport: {
735
+ type: 'object',
736
+ description: 'Report a subject',
737
+ required: ['reportType'],
738
+ properties: {
739
+ comment: {
740
+ type: 'string',
741
+ },
742
+ reportType: {
743
+ type: 'ref',
744
+ ref: 'lex:com.atproto.moderation.defs#reasonType',
745
+ },
746
+ },
747
+ },
748
+ modEventLabel: {
749
+ type: 'object',
750
+ description: 'Apply/Negate labels on a subject',
751
+ required: ['createLabelVals', 'negateLabelVals'],
752
+ properties: {
753
+ comment: {
754
+ type: 'string',
755
+ },
756
+ createLabelVals: {
757
+ type: 'array',
758
+ items: {
759
+ type: 'string',
760
+ },
761
+ },
762
+ negateLabelVals: {
763
+ type: 'array',
764
+ items: {
765
+ type: 'string',
766
+ },
767
+ },
768
+ },
769
+ },
770
+ modEventAcknowledge: {
771
+ type: 'object',
772
+ properties: {
773
+ comment: {
774
+ type: 'string',
775
+ },
776
+ },
777
+ },
778
+ modEventEscalate: {
779
+ type: 'object',
780
+ properties: {
781
+ comment: {
782
+ type: 'string',
783
+ },
784
+ },
785
+ },
786
+ modEventMute: {
787
+ type: 'object',
788
+ description: 'Mute incoming reports on a subject',
789
+ required: ['durationInHours'],
790
+ properties: {
791
+ comment: {
792
+ type: 'string',
793
+ },
794
+ durationInHours: {
795
+ type: 'integer',
796
+ description: 'Indicates how long the subject should remain muted.',
797
+ },
798
+ },
799
+ },
800
+ modEventUnmute: {
801
+ type: 'object',
802
+ description: 'Unmute action on a subject',
803
+ properties: {
804
+ comment: {
805
+ type: 'string',
806
+ description: 'Describe reasoning behind the reversal.',
807
+ },
808
+ },
809
+ },
810
+ modEventEmail: {
811
+ type: 'object',
812
+ description: 'Keep a log of outgoing email to a user',
813
+ required: ['subjectLine'],
814
+ properties: {
815
+ subjectLine: {
816
+ type: 'string',
817
+ description: 'The subject line of the email sent to the user.',
818
+ },
819
+ },
820
+ },
711
821
  },
712
822
  },
713
823
  ComAtprotoAdminDisableAccountInvites: {
@@ -717,7 +827,7 @@ export const schemaDict = {
717
827
  main: {
718
828
  type: 'procedure',
719
829
  description:
720
- 'Disable an account from receiving new invite codes, but does not invalidate existing codes',
830
+ 'Disable an account from receiving new invite codes, but does not invalidate existing codes.',
721
831
  input: {
722
832
  encoding: 'application/json',
723
833
  schema: {
@@ -730,8 +840,7 @@ export const schemaDict = {
730
840
  },
731
841
  note: {
732
842
  type: 'string',
733
- description:
734
- 'Additionally add a note describing why the invites were disabled',
843
+ description: 'Optional reason for disabled invites.',
735
844
  },
736
845
  },
737
846
  },
@@ -746,7 +855,7 @@ export const schemaDict = {
746
855
  main: {
747
856
  type: 'procedure',
748
857
  description:
749
- 'Disable some set of codes and/or all codes associated with a set of users',
858
+ 'Disable some set of codes and/or all codes associated with a set of users.',
750
859
  input: {
751
860
  encoding: 'application/json',
752
861
  schema: {
@@ -770,13 +879,77 @@ export const schemaDict = {
770
879
  },
771
880
  },
772
881
  },
882
+ ComAtprotoAdminEmitModerationEvent: {
883
+ lexicon: 1,
884
+ id: 'com.atproto.admin.emitModerationEvent',
885
+ defs: {
886
+ main: {
887
+ type: 'procedure',
888
+ description: 'Take a moderation action on an actor.',
889
+ input: {
890
+ encoding: 'application/json',
891
+ schema: {
892
+ type: 'object',
893
+ required: ['event', 'subject', 'createdBy'],
894
+ properties: {
895
+ event: {
896
+ type: 'union',
897
+ refs: [
898
+ 'lex:com.atproto.admin.defs#modEventTakedown',
899
+ 'lex:com.atproto.admin.defs#modEventAcknowledge',
900
+ 'lex:com.atproto.admin.defs#modEventEscalate',
901
+ 'lex:com.atproto.admin.defs#modEventComment',
902
+ 'lex:com.atproto.admin.defs#modEventLabel',
903
+ 'lex:com.atproto.admin.defs#modEventReport',
904
+ 'lex:com.atproto.admin.defs#modEventMute',
905
+ 'lex:com.atproto.admin.defs#modEventReverseTakedown',
906
+ 'lex:com.atproto.admin.defs#modEventUnmute',
907
+ 'lex:com.atproto.admin.defs#modEventEmail',
908
+ ],
909
+ },
910
+ subject: {
911
+ type: 'union',
912
+ refs: [
913
+ 'lex:com.atproto.admin.defs#repoRef',
914
+ 'lex:com.atproto.repo.strongRef',
915
+ ],
916
+ },
917
+ subjectBlobCids: {
918
+ type: 'array',
919
+ items: {
920
+ type: 'string',
921
+ format: 'cid',
922
+ },
923
+ },
924
+ createdBy: {
925
+ type: 'string',
926
+ format: 'did',
927
+ },
928
+ },
929
+ },
930
+ },
931
+ output: {
932
+ encoding: 'application/json',
933
+ schema: {
934
+ type: 'ref',
935
+ ref: 'lex:com.atproto.admin.defs#modEventView',
936
+ },
937
+ },
938
+ errors: [
939
+ {
940
+ name: 'SubjectHasAction',
941
+ },
942
+ ],
943
+ },
944
+ },
945
+ },
773
946
  ComAtprotoAdminEnableAccountInvites: {
774
947
  lexicon: 1,
775
948
  id: 'com.atproto.admin.enableAccountInvites',
776
949
  defs: {
777
950
  main: {
778
951
  type: 'procedure',
779
- description: 'Re-enable an accounts ability to receive invite codes',
952
+ description: "Re-enable an account's ability to receive invite codes.",
780
953
  input: {
781
954
  encoding: 'application/json',
782
955
  schema: {
@@ -789,8 +962,7 @@ export const schemaDict = {
789
962
  },
790
963
  note: {
791
964
  type: 'string',
792
- description:
793
- 'Additionally add a note describing why the invites were enabled',
965
+ description: 'Optional reason for enabled invites.',
794
966
  },
795
967
  },
796
968
  },
@@ -804,7 +976,7 @@ export const schemaDict = {
804
976
  defs: {
805
977
  main: {
806
978
  type: 'query',
807
- description: 'View details about an account.',
979
+ description: 'Get details about an account.',
808
980
  parameters: {
809
981
  type: 'params',
810
982
  required: ['did'],
@@ -831,7 +1003,7 @@ export const schemaDict = {
831
1003
  defs: {
832
1004
  main: {
833
1005
  type: 'query',
834
- description: 'Admin view of invite codes',
1006
+ description: 'Get an admin view of invite codes.',
835
1007
  parameters: {
836
1008
  type: 'params',
837
1009
  properties: {
@@ -873,85 +1045,13 @@ export const schemaDict = {
873
1045
  },
874
1046
  },
875
1047
  },
876
- ComAtprotoAdminGetModerationAction: {
877
- lexicon: 1,
878
- id: 'com.atproto.admin.getModerationAction',
879
- defs: {
880
- main: {
881
- type: 'query',
882
- description: 'View details about a moderation action.',
883
- parameters: {
884
- type: 'params',
885
- required: ['id'],
886
- properties: {
887
- id: {
888
- type: 'integer',
889
- },
890
- },
891
- },
892
- output: {
893
- encoding: 'application/json',
894
- schema: {
895
- type: 'ref',
896
- ref: 'lex:com.atproto.admin.defs#actionViewDetail',
897
- },
898
- },
899
- },
900
- },
901
- },
902
- ComAtprotoAdminGetModerationActions: {
903
- lexicon: 1,
904
- id: 'com.atproto.admin.getModerationActions',
905
- defs: {
906
- main: {
907
- type: 'query',
908
- description: 'List moderation actions related to a subject.',
909
- parameters: {
910
- type: 'params',
911
- properties: {
912
- subject: {
913
- type: 'string',
914
- },
915
- limit: {
916
- type: 'integer',
917
- minimum: 1,
918
- maximum: 100,
919
- default: 50,
920
- },
921
- cursor: {
922
- type: 'string',
923
- },
924
- },
925
- },
926
- output: {
927
- encoding: 'application/json',
928
- schema: {
929
- type: 'object',
930
- required: ['actions'],
931
- properties: {
932
- cursor: {
933
- type: 'string',
934
- },
935
- actions: {
936
- type: 'array',
937
- items: {
938
- type: 'ref',
939
- ref: 'lex:com.atproto.admin.defs#actionView',
940
- },
941
- },
942
- },
943
- },
944
- },
945
- },
946
- },
947
- },
948
- ComAtprotoAdminGetModerationReport: {
1048
+ ComAtprotoAdminGetModerationEvent: {
949
1049
  lexicon: 1,
950
- id: 'com.atproto.admin.getModerationReport',
1050
+ id: 'com.atproto.admin.getModerationEvent',
951
1051
  defs: {
952
1052
  main: {
953
1053
  type: 'query',
954
- description: 'View details about a moderation report.',
1054
+ description: 'Get details about a moderation event.',
955
1055
  parameters: {
956
1056
  type: 'params',
957
1057
  required: ['id'],
@@ -961,93 +1061,11 @@ export const schemaDict = {
961
1061
  },
962
1062
  },
963
1063
  },
964
- output: {
965
- encoding: 'application/json',
966
- schema: {
967
- type: 'ref',
968
- ref: 'lex:com.atproto.admin.defs#reportViewDetail',
969
- },
970
- },
971
- },
972
- },
973
- },
974
- ComAtprotoAdminGetModerationReports: {
975
- lexicon: 1,
976
- id: 'com.atproto.admin.getModerationReports',
977
- defs: {
978
- main: {
979
- type: 'query',
980
- description: 'List moderation reports related to a subject.',
981
- parameters: {
982
- type: 'params',
983
- properties: {
984
- subject: {
985
- type: 'string',
986
- },
987
- ignoreSubjects: {
988
- type: 'array',
989
- items: {
990
- type: 'string',
991
- },
992
- },
993
- actionedBy: {
994
- type: 'string',
995
- format: 'did',
996
- description:
997
- 'Get all reports that were actioned by a specific moderator',
998
- },
999
- reporters: {
1000
- type: 'array',
1001
- items: {
1002
- type: 'string',
1003
- },
1004
- description: 'Filter reports made by one or more DIDs',
1005
- },
1006
- resolved: {
1007
- type: 'boolean',
1008
- },
1009
- actionType: {
1010
- type: 'string',
1011
- knownValues: [
1012
- 'com.atproto.admin.defs#takedown',
1013
- 'com.atproto.admin.defs#flag',
1014
- 'com.atproto.admin.defs#acknowledge',
1015
- 'com.atproto.admin.defs#escalate',
1016
- ],
1017
- },
1018
- limit: {
1019
- type: 'integer',
1020
- minimum: 1,
1021
- maximum: 100,
1022
- default: 50,
1023
- },
1024
- cursor: {
1025
- type: 'string',
1026
- },
1027
- reverse: {
1028
- type: 'boolean',
1029
- description:
1030
- 'Reverse the order of the returned records? when true, returns reports in chronological order',
1031
- },
1032
- },
1033
- },
1034
- output: {
1035
- encoding: 'application/json',
1036
- schema: {
1037
- type: 'object',
1038
- required: ['reports'],
1039
- properties: {
1040
- cursor: {
1041
- type: 'string',
1042
- },
1043
- reports: {
1044
- type: 'array',
1045
- items: {
1046
- type: 'ref',
1047
- ref: 'lex:com.atproto.admin.defs#reportView',
1048
- },
1049
- },
1050
- },
1064
+ output: {
1065
+ encoding: 'application/json',
1066
+ schema: {
1067
+ type: 'ref',
1068
+ ref: 'lex:com.atproto.admin.defs#modEventViewDetail',
1051
1069
  },
1052
1070
  },
1053
1071
  },
@@ -1059,7 +1077,7 @@ export const schemaDict = {
1059
1077
  defs: {
1060
1078
  main: {
1061
1079
  type: 'query',
1062
- description: 'View details about a record.',
1080
+ description: 'Get details about a record.',
1063
1081
  parameters: {
1064
1082
  type: 'params',
1065
1083
  required: ['uri'],
@@ -1095,7 +1113,7 @@ export const schemaDict = {
1095
1113
  defs: {
1096
1114
  main: {
1097
1115
  type: 'query',
1098
- description: 'View details about a repository.',
1116
+ description: 'Get details about a repository.',
1099
1117
  parameters: {
1100
1118
  type: 'params',
1101
1119
  required: ['did'],
@@ -1128,7 +1146,7 @@ export const schemaDict = {
1128
1146
  main: {
1129
1147
  type: 'query',
1130
1148
  description:
1131
- 'Fetch the service-specific the admin status of a subject (account, record, or blob)',
1149
+ 'Get the service-specific admin status of a subject (account, record, or blob).',
1132
1150
  parameters: {
1133
1151
  type: 'params',
1134
1152
  properties: {
@@ -1170,76 +1188,180 @@ export const schemaDict = {
1170
1188
  },
1171
1189
  },
1172
1190
  },
1173
- ComAtprotoAdminResolveModerationReports: {
1191
+ ComAtprotoAdminQueryModerationEvents: {
1174
1192
  lexicon: 1,
1175
- id: 'com.atproto.admin.resolveModerationReports',
1193
+ id: 'com.atproto.admin.queryModerationEvents',
1176
1194
  defs: {
1177
1195
  main: {
1178
- type: 'procedure',
1179
- description: 'Resolve moderation reports by an action.',
1180
- input: {
1196
+ type: 'query',
1197
+ description: 'List moderation events related to a subject.',
1198
+ parameters: {
1199
+ type: 'params',
1200
+ properties: {
1201
+ types: {
1202
+ type: 'array',
1203
+ items: {
1204
+ type: 'string',
1205
+ },
1206
+ description:
1207
+ 'The types of events (fully qualified string in the format of com.atproto.admin#modEvent<name>) to filter by. If not specified, all events are returned.',
1208
+ },
1209
+ createdBy: {
1210
+ type: 'string',
1211
+ format: 'did',
1212
+ },
1213
+ sortDirection: {
1214
+ type: 'string',
1215
+ default: 'desc',
1216
+ enum: ['asc', 'desc'],
1217
+ description:
1218
+ 'Sort direction for the events. Defaults to descending order of created at timestamp.',
1219
+ },
1220
+ subject: {
1221
+ type: 'string',
1222
+ format: 'uri',
1223
+ },
1224
+ includeAllUserRecords: {
1225
+ type: 'boolean',
1226
+ default: false,
1227
+ description:
1228
+ 'If true, events on all record types (posts, lists, profile etc.) owned by the did are returned',
1229
+ },
1230
+ limit: {
1231
+ type: 'integer',
1232
+ minimum: 1,
1233
+ maximum: 100,
1234
+ default: 50,
1235
+ },
1236
+ cursor: {
1237
+ type: 'string',
1238
+ },
1239
+ },
1240
+ },
1241
+ output: {
1181
1242
  encoding: 'application/json',
1182
1243
  schema: {
1183
1244
  type: 'object',
1184
- required: ['actionId', 'reportIds', 'createdBy'],
1245
+ required: ['events'],
1185
1246
  properties: {
1186
- actionId: {
1187
- type: 'integer',
1247
+ cursor: {
1248
+ type: 'string',
1188
1249
  },
1189
- reportIds: {
1250
+ events: {
1190
1251
  type: 'array',
1191
1252
  items: {
1192
- type: 'integer',
1253
+ type: 'ref',
1254
+ ref: 'lex:com.atproto.admin.defs#modEventView',
1193
1255
  },
1194
1256
  },
1195
- createdBy: {
1196
- type: 'string',
1197
- format: 'did',
1198
- },
1199
1257
  },
1200
1258
  },
1201
1259
  },
1202
- output: {
1203
- encoding: 'application/json',
1204
- schema: {
1205
- type: 'ref',
1206
- ref: 'lex:com.atproto.admin.defs#actionView',
1207
- },
1208
- },
1209
1260
  },
1210
1261
  },
1211
1262
  },
1212
- ComAtprotoAdminReverseModerationAction: {
1263
+ ComAtprotoAdminQueryModerationStatuses: {
1213
1264
  lexicon: 1,
1214
- id: 'com.atproto.admin.reverseModerationAction',
1265
+ id: 'com.atproto.admin.queryModerationStatuses',
1215
1266
  defs: {
1216
1267
  main: {
1217
- type: 'procedure',
1218
- description: 'Reverse a moderation action.',
1219
- input: {
1220
- encoding: 'application/json',
1221
- schema: {
1222
- type: 'object',
1223
- required: ['id', 'reason', 'createdBy'],
1224
- properties: {
1225
- id: {
1226
- type: 'integer',
1227
- },
1228
- reason: {
1229
- type: 'string',
1230
- },
1231
- createdBy: {
1268
+ type: 'query',
1269
+ description: 'View moderation statuses of subjects (record or repo).',
1270
+ parameters: {
1271
+ type: 'params',
1272
+ properties: {
1273
+ subject: {
1274
+ type: 'string',
1275
+ format: 'uri',
1276
+ },
1277
+ comment: {
1278
+ type: 'string',
1279
+ description: 'Search subjects by keyword from comments',
1280
+ },
1281
+ reportedAfter: {
1282
+ type: 'string',
1283
+ format: 'datetime',
1284
+ description: 'Search subjects reported after a given timestamp',
1285
+ },
1286
+ reportedBefore: {
1287
+ type: 'string',
1288
+ format: 'datetime',
1289
+ description: 'Search subjects reported before a given timestamp',
1290
+ },
1291
+ reviewedAfter: {
1292
+ type: 'string',
1293
+ format: 'datetime',
1294
+ description: 'Search subjects reviewed after a given timestamp',
1295
+ },
1296
+ reviewedBefore: {
1297
+ type: 'string',
1298
+ format: 'datetime',
1299
+ description: 'Search subjects reviewed before a given timestamp',
1300
+ },
1301
+ includeMuted: {
1302
+ type: 'boolean',
1303
+ description:
1304
+ "By default, we don't include muted subjects in the results. Set this to true to include them.",
1305
+ },
1306
+ reviewState: {
1307
+ type: 'string',
1308
+ description: 'Specify when fetching subjects in a certain state',
1309
+ },
1310
+ ignoreSubjects: {
1311
+ type: 'array',
1312
+ items: {
1232
1313
  type: 'string',
1233
- format: 'did',
1314
+ format: 'uri',
1234
1315
  },
1235
1316
  },
1317
+ lastReviewedBy: {
1318
+ type: 'string',
1319
+ format: 'did',
1320
+ description:
1321
+ 'Get all subject statuses that were reviewed by a specific moderator',
1322
+ },
1323
+ sortField: {
1324
+ type: 'string',
1325
+ default: 'lastReportedAt',
1326
+ enum: ['lastReviewedAt', 'lastReportedAt'],
1327
+ },
1328
+ sortDirection: {
1329
+ type: 'string',
1330
+ default: 'desc',
1331
+ enum: ['asc', 'desc'],
1332
+ },
1333
+ takendown: {
1334
+ type: 'boolean',
1335
+ description: 'Get subjects that were taken down',
1336
+ },
1337
+ limit: {
1338
+ type: 'integer',
1339
+ minimum: 1,
1340
+ maximum: 100,
1341
+ default: 50,
1342
+ },
1343
+ cursor: {
1344
+ type: 'string',
1345
+ },
1236
1346
  },
1237
1347
  },
1238
1348
  output: {
1239
1349
  encoding: 'application/json',
1240
1350
  schema: {
1241
- type: 'ref',
1242
- ref: 'lex:com.atproto.admin.defs#actionView',
1351
+ type: 'object',
1352
+ required: ['subjectStatuses'],
1353
+ properties: {
1354
+ cursor: {
1355
+ type: 'string',
1356
+ },
1357
+ subjectStatuses: {
1358
+ type: 'array',
1359
+ items: {
1360
+ type: 'ref',
1361
+ ref: 'lex:com.atproto.admin.defs#subjectStatusView',
1362
+ },
1363
+ },
1364
+ },
1243
1365
  },
1244
1366
  },
1245
1367
  },
@@ -1301,12 +1423,12 @@ export const schemaDict = {
1301
1423
  defs: {
1302
1424
  main: {
1303
1425
  type: 'procedure',
1304
- description: "Send email to a user's primary email address",
1426
+ description: "Send email to a user's account email address.",
1305
1427
  input: {
1306
1428
  encoding: 'application/json',
1307
1429
  schema: {
1308
1430
  type: 'object',
1309
- required: ['recipientDid', 'content'],
1431
+ required: ['recipientDid', 'content', 'senderDid'],
1310
1432
  properties: {
1311
1433
  recipientDid: {
1312
1434
  type: 'string',
@@ -1318,6 +1440,10 @@ export const schemaDict = {
1318
1440
  subject: {
1319
1441
  type: 'string',
1320
1442
  },
1443
+ senderDid: {
1444
+ type: 'string',
1445
+ format: 'did',
1446
+ },
1321
1447
  },
1322
1448
  },
1323
1449
  },
@@ -1336,90 +1462,13 @@ export const schemaDict = {
1336
1462
  },
1337
1463
  },
1338
1464
  },
1339
- ComAtprotoAdminTakeModerationAction: {
1340
- lexicon: 1,
1341
- id: 'com.atproto.admin.takeModerationAction',
1342
- defs: {
1343
- main: {
1344
- type: 'procedure',
1345
- description: 'Take a moderation action on a repo.',
1346
- input: {
1347
- encoding: 'application/json',
1348
- schema: {
1349
- type: 'object',
1350
- required: ['action', 'subject', 'reason', 'createdBy'],
1351
- properties: {
1352
- action: {
1353
- type: 'string',
1354
- knownValues: [
1355
- 'com.atproto.admin.defs#takedown',
1356
- 'com.atproto.admin.defs#flag',
1357
- 'com.atproto.admin.defs#acknowledge',
1358
- ],
1359
- },
1360
- subject: {
1361
- type: 'union',
1362
- refs: [
1363
- 'lex:com.atproto.admin.defs#repoRef',
1364
- 'lex:com.atproto.repo.strongRef',
1365
- ],
1366
- },
1367
- subjectBlobCids: {
1368
- type: 'array',
1369
- items: {
1370
- type: 'string',
1371
- format: 'cid',
1372
- },
1373
- },
1374
- createLabelVals: {
1375
- type: 'array',
1376
- items: {
1377
- type: 'string',
1378
- },
1379
- },
1380
- negateLabelVals: {
1381
- type: 'array',
1382
- items: {
1383
- type: 'string',
1384
- },
1385
- },
1386
- reason: {
1387
- type: 'string',
1388
- },
1389
- durationInHours: {
1390
- type: 'integer',
1391
- description:
1392
- 'Indicates how long this action was meant to be in effect before automatically expiring.',
1393
- },
1394
- createdBy: {
1395
- type: 'string',
1396
- format: 'did',
1397
- },
1398
- },
1399
- },
1400
- },
1401
- output: {
1402
- encoding: 'application/json',
1403
- schema: {
1404
- type: 'ref',
1405
- ref: 'lex:com.atproto.admin.defs#actionView',
1406
- },
1407
- },
1408
- errors: [
1409
- {
1410
- name: 'SubjectHasAction',
1411
- },
1412
- ],
1413
- },
1414
- },
1415
- },
1416
1465
  ComAtprotoAdminUpdateAccountEmail: {
1417
1466
  lexicon: 1,
1418
1467
  id: 'com.atproto.admin.updateAccountEmail',
1419
1468
  defs: {
1420
1469
  main: {
1421
1470
  type: 'procedure',
1422
- description: "Administrative action to update an account's email",
1471
+ description: "Administrative action to update an account's email.",
1423
1472
  input: {
1424
1473
  encoding: 'application/json',
1425
1474
  schema: {
@@ -1446,7 +1495,7 @@ export const schemaDict = {
1446
1495
  defs: {
1447
1496
  main: {
1448
1497
  type: 'procedure',
1449
- description: "Administrative action to update an account's handle",
1498
+ description: "Administrative action to update an account's handle.",
1450
1499
  input: {
1451
1500
  encoding: 'application/json',
1452
1501
  schema: {
@@ -1474,7 +1523,7 @@ export const schemaDict = {
1474
1523
  main: {
1475
1524
  type: 'procedure',
1476
1525
  description:
1477
- 'Update the service-specific admin status of a subject (account, record, or blob)',
1526
+ 'Update the service-specific admin status of a subject (account, record, or blob).',
1478
1527
  input: {
1479
1528
  encoding: 'application/json',
1480
1529
  schema: {
@@ -1560,7 +1609,7 @@ export const schemaDict = {
1560
1609
  defs: {
1561
1610
  main: {
1562
1611
  type: 'procedure',
1563
- description: 'Updates the handle of the account',
1612
+ description: 'Updates the handle of the account.',
1564
1613
  input: {
1565
1614
  encoding: 'application/json',
1566
1615
  schema: {
@@ -1583,41 +1632,42 @@ export const schemaDict = {
1583
1632
  defs: {
1584
1633
  label: {
1585
1634
  type: 'object',
1586
- description: 'Metadata tag on an atproto resource (eg, repo or record)',
1635
+ description:
1636
+ 'Metadata tag on an atproto resource (eg, repo or record).',
1587
1637
  required: ['src', 'uri', 'val', 'cts'],
1588
1638
  properties: {
1589
1639
  src: {
1590
1640
  type: 'string',
1591
1641
  format: 'did',
1592
- description: 'DID of the actor who created this label',
1642
+ description: 'DID of the actor who created this label.',
1593
1643
  },
1594
1644
  uri: {
1595
1645
  type: 'string',
1596
1646
  format: 'uri',
1597
1647
  description:
1598
- 'AT URI of the record, repository (account), or other resource which this label applies to',
1648
+ 'AT URI of the record, repository (account), or other resource that this label applies to.',
1599
1649
  },
1600
1650
  cid: {
1601
1651
  type: 'string',
1602
1652
  format: 'cid',
1603
1653
  description:
1604
- "optionally, CID specifying the specific version of 'uri' resource this label applies to",
1654
+ "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
1605
1655
  },
1606
1656
  val: {
1607
1657
  type: 'string',
1608
1658
  maxLength: 128,
1609
1659
  description:
1610
- 'the short string name of the value or type of this label',
1660
+ 'The short string name of the value or type of this label.',
1611
1661
  },
1612
1662
  neg: {
1613
1663
  type: 'boolean',
1614
1664
  description:
1615
- 'if true, this is a negation label, overwriting a previous label',
1665
+ 'If true, this is a negation label, overwriting a previous label.',
1616
1666
  },
1617
1667
  cts: {
1618
1668
  type: 'string',
1619
1669
  format: 'datetime',
1620
- description: 'timestamp when this label was created',
1670
+ description: 'Timestamp when this label was created.',
1621
1671
  },
1622
1672
  },
1623
1673
  },
@@ -1640,14 +1690,14 @@ export const schemaDict = {
1640
1690
  selfLabel: {
1641
1691
  type: 'object',
1642
1692
  description:
1643
- 'Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.',
1693
+ 'Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.',
1644
1694
  required: ['val'],
1645
1695
  properties: {
1646
1696
  val: {
1647
1697
  type: 'string',
1648
1698
  maxLength: 128,
1649
1699
  description:
1650
- 'the short string name of the value or type of this label',
1700
+ 'The short string name of the value or type of this label.',
1651
1701
  },
1652
1702
  },
1653
1703
  },
@@ -1670,7 +1720,7 @@ export const schemaDict = {
1670
1720
  type: 'string',
1671
1721
  },
1672
1722
  description:
1673
- "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI",
1723
+ "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI.",
1674
1724
  },
1675
1725
  sources: {
1676
1726
  type: 'array',
@@ -1678,7 +1728,8 @@ export const schemaDict = {
1678
1728
  type: 'string',
1679
1729
  format: 'did',
1680
1730
  },
1681
- description: 'Optional list of label sources (DIDs) to filter on',
1731
+ description:
1732
+ 'Optional list of label sources (DIDs) to filter on.',
1682
1733
  },
1683
1734
  limit: {
1684
1735
  type: 'integer',
@@ -1719,7 +1770,7 @@ export const schemaDict = {
1719
1770
  defs: {
1720
1771
  main: {
1721
1772
  type: 'subscription',
1722
- description: 'Subscribe to label updates',
1773
+ description: 'Subscribe to label updates.',
1723
1774
  parameters: {
1724
1775
  type: 'params',
1725
1776
  properties: {
@@ -1914,7 +1965,7 @@ export const schemaDict = {
1914
1965
  validate: {
1915
1966
  type: 'boolean',
1916
1967
  default: true,
1917
- description: 'Validate the records?',
1968
+ description: 'Flag for validating the records.',
1918
1969
  },
1919
1970
  writes: {
1920
1971
  type: 'array',
@@ -2023,7 +2074,7 @@ export const schemaDict = {
2023
2074
  validate: {
2024
2075
  type: 'boolean',
2025
2076
  default: true,
2026
- description: 'Validate the record?',
2077
+ description: 'Flag for validating the record.',
2027
2078
  },
2028
2079
  record: {
2029
2080
  type: 'unknown',
@@ -2033,7 +2084,7 @@ export const schemaDict = {
2033
2084
  type: 'string',
2034
2085
  format: 'cid',
2035
2086
  description:
2036
- 'Compare and swap with the previous commit by cid.',
2087
+ 'Compare and swap with the previous commit by CID.',
2037
2088
  },
2038
2089
  },
2039
2090
  },
@@ -2094,13 +2145,13 @@ export const schemaDict = {
2094
2145
  type: 'string',
2095
2146
  format: 'cid',
2096
2147
  description:
2097
- 'Compare and swap with the previous record by cid.',
2148
+ 'Compare and swap with the previous record by CID.',
2098
2149
  },
2099
2150
  swapCommit: {
2100
2151
  type: 'string',
2101
2152
  format: 'cid',
2102
2153
  description:
2103
- 'Compare and swap with the previous commit by cid.',
2154
+ 'Compare and swap with the previous commit by CID.',
2104
2155
  },
2105
2156
  },
2106
2157
  },
@@ -2270,7 +2321,7 @@ export const schemaDict = {
2270
2321
  },
2271
2322
  reverse: {
2272
2323
  type: 'boolean',
2273
- description: 'Reverse the order of the returned records?',
2324
+ description: 'Flag to reverse the order of the returned records.',
2274
2325
  },
2275
2326
  },
2276
2327
  },
@@ -2345,7 +2396,7 @@ export const schemaDict = {
2345
2396
  validate: {
2346
2397
  type: 'boolean',
2347
2398
  default: true,
2348
- description: 'Validate the record?',
2399
+ description: 'Flag for validating the record.',
2349
2400
  },
2350
2401
  record: {
2351
2402
  type: 'unknown',
@@ -2355,13 +2406,13 @@ export const schemaDict = {
2355
2406
  type: 'string',
2356
2407
  format: 'cid',
2357
2408
  description:
2358
- 'Compare and swap with the previous record by cid.',
2409
+ 'Compare and swap with the previous record by CID.',
2359
2410
  },
2360
2411
  swapCommit: {
2361
2412
  type: 'string',
2362
2413
  format: 'cid',
2363
2414
  description:
2364
- 'Compare and swap with the previous commit by cid.',
2415
+ 'Compare and swap with the previous commit by CID.',
2365
2416
  },
2366
2417
  },
2367
2418
  },
@@ -2575,7 +2626,7 @@ export const schemaDict = {
2575
2626
  defs: {
2576
2627
  main: {
2577
2628
  type: 'procedure',
2578
- description: 'Create an app-specific password.',
2629
+ description: 'Create an App Password.',
2579
2630
  input: {
2580
2631
  encoding: 'application/json',
2581
2632
  schema: {
@@ -2663,7 +2714,7 @@ export const schemaDict = {
2663
2714
  defs: {
2664
2715
  main: {
2665
2716
  type: 'procedure',
2666
- description: 'Create an invite code.',
2717
+ description: 'Create invite codes.',
2667
2718
  input: {
2668
2719
  encoding: 'application/json',
2669
2720
  schema: {
@@ -2851,7 +2902,7 @@ export const schemaDict = {
2851
2902
  defs: {
2852
2903
  main: {
2853
2904
  type: 'procedure',
2854
- description: 'Delete a user account with a token and password.',
2905
+ description: "Delete an actor's account with a token and password.",
2855
2906
  input: {
2856
2907
  encoding: 'application/json',
2857
2908
  schema: {
@@ -2942,7 +2993,7 @@ export const schemaDict = {
2942
2993
  defs: {
2943
2994
  main: {
2944
2995
  type: 'query',
2945
- description: 'Get all invite codes for a given account',
2996
+ description: 'Get all invite codes for a given account.',
2946
2997
  parameters: {
2947
2998
  type: 'params',
2948
2999
  properties: {
@@ -3022,7 +3073,7 @@ export const schemaDict = {
3022
3073
  defs: {
3023
3074
  main: {
3024
3075
  type: 'query',
3025
- description: 'List all app-specific passwords.',
3076
+ description: 'List all App Passwords.',
3026
3077
  output: {
3027
3078
  encoding: 'application/json',
3028
3079
  schema: {
@@ -3118,7 +3169,7 @@ export const schemaDict = {
3118
3169
  main: {
3119
3170
  type: 'procedure',
3120
3171
  description:
3121
- 'Request an email with a code to confirm ownership of email',
3172
+ 'Request an email with a code to confirm ownership of email.',
3122
3173
  },
3123
3174
  },
3124
3175
  },
@@ -3240,7 +3291,7 @@ export const schemaDict = {
3240
3291
  defs: {
3241
3292
  main: {
3242
3293
  type: 'procedure',
3243
- description: 'Revoke an app-specific password by name.',
3294
+ description: 'Revoke an App Password by name.',
3244
3295
  input: {
3245
3296
  encoding: 'application/json',
3246
3297
  schema: {
@@ -3329,7 +3380,7 @@ export const schemaDict = {
3329
3380
  defs: {
3330
3381
  main: {
3331
3382
  type: 'query',
3332
- description: 'Gets blocks from a given repo.',
3383
+ description: 'Get blocks from a given repo.',
3333
3384
  parameters: {
3334
3385
  type: 'params',
3335
3386
  required: ['did', 'cids'],
@@ -3424,7 +3475,7 @@ export const schemaDict = {
3424
3475
  defs: {
3425
3476
  main: {
3426
3477
  type: 'query',
3427
- description: 'Gets the current commit CID & revision of the repo.',
3478
+ description: 'Get the current commit CID & revision of the repo.',
3428
3479
  parameters: {
3429
3480
  type: 'params',
3430
3481
  required: ['did'],
@@ -3467,7 +3518,7 @@ export const schemaDict = {
3467
3518
  main: {
3468
3519
  type: 'query',
3469
3520
  description:
3470
- 'Gets blocks needed for existence or non-existence of record.',
3521
+ 'Get blocks needed for existence or non-existence of record.',
3471
3522
  parameters: {
3472
3523
  type: 'params',
3473
3524
  required: ['did', 'collection', 'rkey'],
@@ -3504,7 +3555,7 @@ export const schemaDict = {
3504
3555
  main: {
3505
3556
  type: 'query',
3506
3557
  description:
3507
- "Gets the did's repo, optionally catching up from a specific revision.",
3558
+ "Gets the DID's repo, optionally catching up from a specific revision.",
3508
3559
  parameters: {
3509
3560
  type: 'params',
3510
3561
  required: ['did'],
@@ -3532,7 +3583,7 @@ export const schemaDict = {
3532
3583
  defs: {
3533
3584
  main: {
3534
3585
  type: 'query',
3535
- description: 'List blob cids since some revision',
3586
+ description: 'List blob CIDs since some revision.',
3536
3587
  parameters: {
3537
3588
  type: 'params',
3538
3589
  required: ['did'],
@@ -3544,7 +3595,7 @@ export const schemaDict = {
3544
3595
  },
3545
3596
  since: {
3546
3597
  type: 'string',
3547
- description: 'Optional revision of the repo to list blobs since',
3598
+ description: 'Optional revision of the repo to list blobs since.',
3548
3599
  },
3549
3600
  limit: {
3550
3601
  type: 'integer',
@@ -3585,7 +3636,7 @@ export const schemaDict = {
3585
3636
  defs: {
3586
3637
  main: {
3587
3638
  type: 'query',
3588
- description: 'List dids and root cids of hosted repos',
3639
+ description: 'List DIDs and root CIDs of hosted repos.',
3589
3640
  parameters: {
3590
3641
  type: 'params',
3591
3642
  properties: {
@@ -3646,7 +3697,7 @@ export const schemaDict = {
3646
3697
  main: {
3647
3698
  type: 'procedure',
3648
3699
  description:
3649
- 'Notify a crawling service of a recent update. Often when a long break between updates causes the connection with the crawling service to break.',
3700
+ 'Notify a crawling service of a recent update; often when a long break between updates causes the connection with the crawling service to break.',
3650
3701
  input: {
3651
3702
  encoding: 'application/json',
3652
3703
  schema: {
@@ -3694,7 +3745,7 @@ export const schemaDict = {
3694
3745
  defs: {
3695
3746
  main: {
3696
3747
  type: 'subscription',
3697
- description: 'Subscribe to repo updates',
3748
+ description: 'Subscribe to repo updates.',
3698
3749
  parameters: {
3699
3750
  type: 'params',
3700
3751
  properties: {
@@ -3763,15 +3814,15 @@ export const schemaDict = {
3763
3814
  },
3764
3815
  rev: {
3765
3816
  type: 'string',
3766
- description: 'The rev of the emitted commit',
3817
+ description: 'The rev of the emitted commit.',
3767
3818
  },
3768
3819
  since: {
3769
3820
  type: 'string',
3770
- description: 'The rev of the last emitted commit from this repo',
3821
+ description: 'The rev of the last emitted commit from this repo.',
3771
3822
  },
3772
3823
  blocks: {
3773
3824
  type: 'bytes',
3774
- description: 'CAR file containing relevant blocks',
3825
+ description: 'CAR file containing relevant blocks.',
3775
3826
  maxLength: 1000000,
3776
3827
  },
3777
3828
  ops: {
@@ -3869,7 +3920,7 @@ export const schemaDict = {
3869
3920
  repoOp: {
3870
3921
  type: 'object',
3871
3922
  description:
3872
- "A repo operation, ie a write of a single record. For creates and updates, cid is the record's CID as of this operation. For deletes, it's null.",
3923
+ "A repo operation, ie a write of a single record. For creates and updates, CID is the record's CID as of this operation. For deletes, it's null.",
3873
3924
  required: ['action', 'path', 'cid'],
3874
3925
  nullable: ['cid'],
3875
3926
  properties: {
@@ -3887,6 +3938,47 @@ export const schemaDict = {
3887
3938
  },
3888
3939
  },
3889
3940
  },
3941
+ ComAtprotoTempFetchLabels: {
3942
+ lexicon: 1,
3943
+ id: 'com.atproto.temp.fetchLabels',
3944
+ defs: {
3945
+ main: {
3946
+ type: 'query',
3947
+ description:
3948
+ 'Fetch all labels from a labeler created after a certain date.',
3949
+ parameters: {
3950
+ type: 'params',
3951
+ properties: {
3952
+ since: {
3953
+ type: 'integer',
3954
+ },
3955
+ limit: {
3956
+ type: 'integer',
3957
+ minimum: 1,
3958
+ maximum: 250,
3959
+ default: 50,
3960
+ },
3961
+ },
3962
+ },
3963
+ output: {
3964
+ encoding: 'application/json',
3965
+ schema: {
3966
+ type: 'object',
3967
+ required: ['labels'],
3968
+ properties: {
3969
+ labels: {
3970
+ type: 'array',
3971
+ items: {
3972
+ type: 'ref',
3973
+ ref: 'lex:com.atproto.label.defs#label',
3974
+ },
3975
+ },
3976
+ },
3977
+ },
3978
+ },
3979
+ },
3980
+ },
3981
+ },
3890
3982
  AppBskyActorDefs: {
3891
3983
  lexicon: 1,
3892
3984
  id: 'app.bsky.actor.defs',
@@ -4115,7 +4207,7 @@ export const schemaDict = {
4115
4207
  birthDate: {
4116
4208
  type: 'string',
4117
4209
  format: 'datetime',
4118
- description: 'The birth date of the owner of the account.',
4210
+ description: 'The birth date of account owner.',
4119
4211
  },
4120
4212
  },
4121
4213
  },
@@ -4157,7 +4249,7 @@ export const schemaDict = {
4157
4249
  properties: {
4158
4250
  sort: {
4159
4251
  type: 'string',
4160
- description: 'Sorting mode.',
4252
+ description: 'Sorting mode for threads.',
4161
4253
  knownValues: ['oldest', 'newest', 'most-likes', 'random'],
4162
4254
  },
4163
4255
  prioritizeFollowedUsers: {
@@ -4201,6 +4293,7 @@ export const schemaDict = {
4201
4293
  defs: {
4202
4294
  main: {
4203
4295
  type: 'query',
4296
+ description: 'Get detailed profile view of an actor.',
4204
4297
  parameters: {
4205
4298
  type: 'params',
4206
4299
  required: ['actor'],
@@ -4227,6 +4320,7 @@ export const schemaDict = {
4227
4320
  defs: {
4228
4321
  main: {
4229
4322
  type: 'query',
4323
+ description: 'Get detailed profile views of multiple actors.',
4230
4324
  parameters: {
4231
4325
  type: 'params',
4232
4326
  required: ['actors'],
@@ -4266,8 +4360,7 @@ export const schemaDict = {
4266
4360
  defs: {
4267
4361
  main: {
4268
4362
  type: 'query',
4269
- description:
4270
- 'Get a list of actors suggested for following. Used in discovery UIs.',
4363
+ description: 'Get a list of suggested actors, used for discovery.',
4271
4364
  parameters: {
4272
4365
  type: 'params',
4273
4366
  properties: {
@@ -4310,6 +4403,7 @@ export const schemaDict = {
4310
4403
  defs: {
4311
4404
  main: {
4312
4405
  type: 'record',
4406
+ description: 'A declaration of a profile.',
4313
4407
  key: 'literal:self',
4314
4408
  record: {
4315
4409
  type: 'object',
@@ -4349,7 +4443,7 @@ export const schemaDict = {
4349
4443
  defs: {
4350
4444
  main: {
4351
4445
  type: 'procedure',
4352
- description: 'Sets the private preferences attached to the account.',
4446
+ description: 'Set the private preferences attached to the account.',
4353
4447
  input: {
4354
4448
  encoding: 'application/json',
4355
4449
  schema: {
@@ -4378,12 +4472,12 @@ export const schemaDict = {
4378
4472
  properties: {
4379
4473
  term: {
4380
4474
  type: 'string',
4381
- description: "DEPRECATED: use 'q' instead",
4475
+ description: "DEPRECATED: use 'q' instead.",
4382
4476
  },
4383
4477
  q: {
4384
4478
  type: 'string',
4385
4479
  description:
4386
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended',
4480
+ 'Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
4387
4481
  },
4388
4482
  limit: {
4389
4483
  type: 'integer',
@@ -4424,17 +4518,17 @@ export const schemaDict = {
4424
4518
  defs: {
4425
4519
  main: {
4426
4520
  type: 'query',
4427
- description: 'Find actor suggestions for a search term.',
4521
+ description: 'Find actor suggestions for a prefix search term.',
4428
4522
  parameters: {
4429
4523
  type: 'params',
4430
4524
  properties: {
4431
4525
  term: {
4432
4526
  type: 'string',
4433
- description: "DEPRECATED: use 'q' instead",
4527
+ description: "DEPRECATED: use 'q' instead.",
4434
4528
  },
4435
4529
  q: {
4436
4530
  type: 'string',
4437
- description: 'search query prefix; not a full query string',
4531
+ description: 'Search query prefix; not a full query string.',
4438
4532
  },
4439
4533
  limit: {
4440
4534
  type: 'integer',
@@ -4467,7 +4561,7 @@ export const schemaDict = {
4467
4561
  lexicon: 1,
4468
4562
  id: 'app.bsky.embed.external',
4469
4563
  description:
4470
- 'A representation of some externally linked content, embedded in another form of content',
4564
+ 'A representation of some externally linked content, embedded in another form of content.',
4471
4565
  defs: {
4472
4566
  main: {
4473
4567
  type: 'object',
@@ -4534,7 +4628,7 @@ export const schemaDict = {
4534
4628
  AppBskyEmbedImages: {
4535
4629
  lexicon: 1,
4536
4630
  id: 'app.bsky.embed.images',
4537
- description: 'A set of images embedded in some other form of content',
4631
+ description: 'A set of images embedded in some other form of content.',
4538
4632
  defs: {
4539
4633
  main: {
4540
4634
  type: 'object',
@@ -4623,7 +4717,7 @@ export const schemaDict = {
4623
4717
  lexicon: 1,
4624
4718
  id: 'app.bsky.embed.record',
4625
4719
  description:
4626
- 'A representation of a record embedded in another form of content',
4720
+ 'A representation of a record embedded in another form of content.',
4627
4721
  defs: {
4628
4722
  main: {
4629
4723
  type: 'object',
@@ -4733,7 +4827,7 @@ export const schemaDict = {
4733
4827
  lexicon: 1,
4734
4828
  id: 'app.bsky.embed.recordWithMedia',
4735
4829
  description:
4736
- 'A representation of a record embedded in another form of content, alongside other compatible embeds',
4830
+ 'A representation of a record embedded in another form of content, alongside other compatible embeds.',
4737
4831
  defs: {
4738
4832
  main: {
4739
4833
  type: 'object',
@@ -4841,6 +4935,9 @@ export const schemaDict = {
4841
4935
  type: 'string',
4842
4936
  format: 'at-uri',
4843
4937
  },
4938
+ replyDisabled: {
4939
+ type: 'boolean',
4940
+ },
4844
4941
  },
4845
4942
  },
4846
4943
  feedViewPost: {
@@ -4924,10 +5021,6 @@ export const schemaDict = {
4924
5021
  ],
4925
5022
  },
4926
5023
  },
4927
- viewer: {
4928
- type: 'ref',
4929
- ref: 'lex:app.bsky.feed.defs#viewerThreadState',
4930
- },
4931
5024
  },
4932
5025
  },
4933
5026
  notFoundPost: {
@@ -4976,14 +5069,6 @@ export const schemaDict = {
4976
5069
  },
4977
5070
  },
4978
5071
  },
4979
- viewerThreadState: {
4980
- type: 'object',
4981
- properties: {
4982
- canReply: {
4983
- type: 'boolean',
4984
- },
4985
- },
4986
- },
4987
5072
  generatorView: {
4988
5073
  type: 'object',
4989
5074
  required: ['uri', 'cid', 'did', 'creator', 'displayName', 'indexedAt'],
@@ -5101,7 +5186,7 @@ export const schemaDict = {
5101
5186
  main: {
5102
5187
  type: 'query',
5103
5188
  description:
5104
- 'Returns information about a given feed generator including TOS & offered feed URIs',
5189
+ 'Get information about a feed generator, including policies and offered feed URIs.',
5105
5190
  output: {
5106
5191
  encoding: 'application/json',
5107
5192
  schema: {
@@ -5156,7 +5241,7 @@ export const schemaDict = {
5156
5241
  defs: {
5157
5242
  main: {
5158
5243
  type: 'record',
5159
- description: 'A declaration of the existence of a feed generator',
5244
+ description: 'A declaration of the existence of a feed generator.',
5160
5245
  key: 'any',
5161
5246
  record: {
5162
5247
  type: 'object',
@@ -5207,7 +5292,7 @@ export const schemaDict = {
5207
5292
  defs: {
5208
5293
  main: {
5209
5294
  type: 'query',
5210
- description: 'Retrieve a list of feeds created by a given actor',
5295
+ description: 'Get a list of feeds created by the actor.',
5211
5296
  parameters: {
5212
5297
  type: 'params',
5213
5298
  required: ['actor'],
@@ -5255,7 +5340,7 @@ export const schemaDict = {
5255
5340
  defs: {
5256
5341
  main: {
5257
5342
  type: 'query',
5258
- description: 'A view of the posts liked by an actor.',
5343
+ description: 'Get a list of posts liked by an actor.',
5259
5344
  parameters: {
5260
5345
  type: 'params',
5261
5346
  required: ['actor'],
@@ -5311,7 +5396,7 @@ export const schemaDict = {
5311
5396
  defs: {
5312
5397
  main: {
5313
5398
  type: 'query',
5314
- description: "A view of an actor's feed.",
5399
+ description: "Get a view of an actor's feed.",
5315
5400
  parameters: {
5316
5401
  type: 'params',
5317
5402
  required: ['actor'],
@@ -5377,7 +5462,7 @@ export const schemaDict = {
5377
5462
  main: {
5378
5463
  type: 'query',
5379
5464
  description:
5380
- "Compose and hydrate a feed from a user's selected feed generator",
5465
+ "Get a hydrated feed from an actor's selected feed generator.",
5381
5466
  parameters: {
5382
5467
  type: 'params',
5383
5468
  required: ['feed'],
@@ -5430,8 +5515,7 @@ export const schemaDict = {
5430
5515
  defs: {
5431
5516
  main: {
5432
5517
  type: 'query',
5433
- description:
5434
- 'Get information about a specific feed offered by a feed generator, such as its online status',
5518
+ description: 'Get information about a feed generator.',
5435
5519
  parameters: {
5436
5520
  type: 'params',
5437
5521
  required: ['feed'],
@@ -5470,7 +5554,7 @@ export const schemaDict = {
5470
5554
  defs: {
5471
5555
  main: {
5472
5556
  type: 'query',
5473
- description: 'Get information about a list of feed generators',
5557
+ description: 'Get information about a list of feed generators.',
5474
5558
  parameters: {
5475
5559
  type: 'params',
5476
5560
  required: ['feeds'],
@@ -5509,7 +5593,7 @@ export const schemaDict = {
5509
5593
  defs: {
5510
5594
  main: {
5511
5595
  type: 'query',
5512
- description: 'A skeleton of a feed provided by a feed generator',
5596
+ description: 'Get a skeleton of a feed provided by a feed generator.',
5513
5597
  parameters: {
5514
5598
  type: 'params',
5515
5599
  required: ['feed'],
@@ -5562,6 +5646,7 @@ export const schemaDict = {
5562
5646
  defs: {
5563
5647
  main: {
5564
5648
  type: 'query',
5649
+ description: 'Get the list of likes.',
5565
5650
  parameters: {
5566
5651
  type: 'params',
5567
5652
  required: ['uri'],
@@ -5639,7 +5724,7 @@ export const schemaDict = {
5639
5724
  defs: {
5640
5725
  main: {
5641
5726
  type: 'query',
5642
- description: 'A view of a recent posts from actors in a list',
5727
+ description: 'Get a view of a recent posts from actors in a list.',
5643
5728
  parameters: {
5644
5729
  type: 'params',
5645
5730
  required: ['list'],
@@ -5692,6 +5777,7 @@ export const schemaDict = {
5692
5777
  defs: {
5693
5778
  main: {
5694
5779
  type: 'query',
5780
+ description: 'Get posts in a thread.',
5695
5781
  parameters: {
5696
5782
  type: 'params',
5697
5783
  required: ['uri'],
@@ -5745,7 +5831,7 @@ export const schemaDict = {
5745
5831
  defs: {
5746
5832
  main: {
5747
5833
  type: 'query',
5748
- description: "A view of an actor's feed.",
5834
+ description: "Get a view of an actor's feed.",
5749
5835
  parameters: {
5750
5836
  type: 'params',
5751
5837
  required: ['uris'],
@@ -5785,6 +5871,7 @@ export const schemaDict = {
5785
5871
  defs: {
5786
5872
  main: {
5787
5873
  type: 'query',
5874
+ description: 'Get a list of reposts.',
5788
5875
  parameters: {
5789
5876
  type: 'params',
5790
5877
  required: ['uri'],
@@ -5887,7 +5974,7 @@ export const schemaDict = {
5887
5974
  defs: {
5888
5975
  main: {
5889
5976
  type: 'query',
5890
- description: "A view of the user's home timeline.",
5977
+ description: "Get a view of the actor's home timeline.",
5891
5978
  parameters: {
5892
5979
  type: 'params',
5893
5980
  properties: {
@@ -5933,6 +6020,7 @@ export const schemaDict = {
5933
6020
  defs: {
5934
6021
  main: {
5935
6022
  type: 'record',
6023
+ description: 'A declaration of a like.',
5936
6024
  key: 'tid',
5937
6025
  record: {
5938
6026
  type: 'object',
@@ -5957,6 +6045,7 @@ export const schemaDict = {
5957
6045
  defs: {
5958
6046
  main: {
5959
6047
  type: 'record',
6048
+ description: 'A declaration of a post.',
5960
6049
  key: 'tid',
5961
6050
  record: {
5962
6051
  type: 'object',
@@ -6079,6 +6168,7 @@ export const schemaDict = {
6079
6168
  id: 'app.bsky.feed.repost',
6080
6169
  defs: {
6081
6170
  main: {
6171
+ description: 'A declaration of a repost.',
6082
6172
  type: 'record',
6083
6173
  key: 'tid',
6084
6174
  record: {
@@ -6104,7 +6194,7 @@ export const schemaDict = {
6104
6194
  defs: {
6105
6195
  main: {
6106
6196
  type: 'query',
6107
- description: 'Find posts matching search criteria',
6197
+ description: 'Find posts matching search criteria.',
6108
6198
  parameters: {
6109
6199
  type: 'params',
6110
6200
  required: ['q'],
@@ -6112,7 +6202,7 @@ export const schemaDict = {
6112
6202
  q: {
6113
6203
  type: 'string',
6114
6204
  description:
6115
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended',
6205
+ 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
6116
6206
  },
6117
6207
  limit: {
6118
6208
  type: 'integer',
@@ -6123,7 +6213,7 @@ export const schemaDict = {
6123
6213
  cursor: {
6124
6214
  type: 'string',
6125
6215
  description:
6126
- 'optional pagination mechanism; may not necessarily allow scrolling through entire result set',
6216
+ 'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
6127
6217
  },
6128
6218
  },
6129
6219
  },
@@ -6139,7 +6229,7 @@ export const schemaDict = {
6139
6229
  hitsTotal: {
6140
6230
  type: 'integer',
6141
6231
  description:
6142
- 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits',
6232
+ 'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
6143
6233
  },
6144
6234
  posts: {
6145
6235
  type: 'array',
@@ -6224,7 +6314,7 @@ export const schemaDict = {
6224
6314
  defs: {
6225
6315
  main: {
6226
6316
  type: 'record',
6227
- description: 'A block.',
6317
+ description: 'A declaration of a block.',
6228
6318
  key: 'tid',
6229
6319
  record: {
6230
6320
  type: 'object',
@@ -6333,8 +6423,12 @@ export const schemaDict = {
6333
6423
  },
6334
6424
  listItemView: {
6335
6425
  type: 'object',
6336
- required: ['subject'],
6426
+ required: ['uri', 'subject'],
6337
6427
  properties: {
6428
+ uri: {
6429
+ type: 'string',
6430
+ format: 'at-uri',
6431
+ },
6338
6432
  subject: {
6339
6433
  type: 'ref',
6340
6434
  ref: 'lex:app.bsky.actor.defs#profileView',
@@ -6351,12 +6445,12 @@ export const schemaDict = {
6351
6445
  modlist: {
6352
6446
  type: 'token',
6353
6447
  description:
6354
- 'A list of actors to apply an aggregate moderation action (mute/block) on',
6448
+ 'A list of actors to apply an aggregate moderation action (mute/block) on.',
6355
6449
  },
6356
6450
  curatelist: {
6357
6451
  type: 'token',
6358
6452
  description:
6359
- 'A list of actors used for curation purposes such as list feeds or interaction gating',
6453
+ 'A list of actors used for curation purposes such as list feeds or interaction gating.',
6360
6454
  },
6361
6455
  listViewerState: {
6362
6456
  type: 'object',
@@ -6378,7 +6472,7 @@ export const schemaDict = {
6378
6472
  defs: {
6379
6473
  main: {
6380
6474
  type: 'record',
6381
- description: 'A social follow.',
6475
+ description: 'A declaration of a social follow.',
6382
6476
  key: 'tid',
6383
6477
  record: {
6384
6478
  type: 'object',
@@ -6403,7 +6497,7 @@ export const schemaDict = {
6403
6497
  defs: {
6404
6498
  main: {
6405
6499
  type: 'query',
6406
- description: "Who is the requester's account blocking?",
6500
+ description: 'Get a list of who the actor is blocking.',
6407
6501
  parameters: {
6408
6502
  type: 'params',
6409
6503
  properties: {
@@ -6446,7 +6540,7 @@ export const schemaDict = {
6446
6540
  defs: {
6447
6541
  main: {
6448
6542
  type: 'query',
6449
- description: 'Who is following an actor?',
6543
+ description: "Get a list of an actor's followers.",
6450
6544
  parameters: {
6451
6545
  type: 'params',
6452
6546
  required: ['actor'],
@@ -6498,7 +6592,7 @@ export const schemaDict = {
6498
6592
  defs: {
6499
6593
  main: {
6500
6594
  type: 'query',
6501
- description: 'Who is an actor following?',
6595
+ description: 'Get a list of who the actor follows.',
6502
6596
  parameters: {
6503
6597
  type: 'params',
6504
6598
  required: ['actor'],
@@ -6550,7 +6644,7 @@ export const schemaDict = {
6550
6644
  defs: {
6551
6645
  main: {
6552
6646
  type: 'query',
6553
- description: 'Fetch a list of actors',
6647
+ description: 'Get a list of actors.',
6554
6648
  parameters: {
6555
6649
  type: 'params',
6556
6650
  required: ['list'],
@@ -6602,7 +6696,7 @@ export const schemaDict = {
6602
6696
  defs: {
6603
6697
  main: {
6604
6698
  type: 'query',
6605
- description: "Which lists is the requester's account blocking?",
6699
+ description: 'Get lists that the actor is blocking.',
6606
6700
  parameters: {
6607
6701
  type: 'params',
6608
6702
  properties: {
@@ -6645,7 +6739,7 @@ export const schemaDict = {
6645
6739
  defs: {
6646
6740
  main: {
6647
6741
  type: 'query',
6648
- description: "Which lists is the requester's account muting?",
6742
+ description: 'Get lists that the actor is muting.',
6649
6743
  parameters: {
6650
6744
  type: 'params',
6651
6745
  properties: {
@@ -6688,7 +6782,7 @@ export const schemaDict = {
6688
6782
  defs: {
6689
6783
  main: {
6690
6784
  type: 'query',
6691
- description: 'Fetch a list of lists that belong to an actor',
6785
+ description: 'Get a list of lists that belong to an actor.',
6692
6786
  parameters: {
6693
6787
  type: 'params',
6694
6788
  required: ['actor'],
@@ -6736,7 +6830,7 @@ export const schemaDict = {
6736
6830
  defs: {
6737
6831
  main: {
6738
6832
  type: 'query',
6739
- description: 'Who does the viewer mute?',
6833
+ description: 'Get a list of who the actor mutes.',
6740
6834
  parameters: {
6741
6835
  type: 'params',
6742
6836
  properties: {
@@ -6891,7 +6985,7 @@ export const schemaDict = {
6891
6985
  defs: {
6892
6986
  main: {
6893
6987
  type: 'record',
6894
- description: 'An item under a declared list of actors',
6988
+ description: 'An item under a declared list of actors.',
6895
6989
  key: 'tid',
6896
6990
  record: {
6897
6991
  type: 'object',
@@ -6920,7 +7014,7 @@ export const schemaDict = {
6920
7014
  defs: {
6921
7015
  main: {
6922
7016
  type: 'procedure',
6923
- description: 'Mute an actor by did or handle.',
7017
+ description: 'Mute an actor by DID or handle.',
6924
7018
  input: {
6925
7019
  encoding: 'application/json',
6926
7020
  schema: {
@@ -6966,7 +7060,7 @@ export const schemaDict = {
6966
7060
  defs: {
6967
7061
  main: {
6968
7062
  type: 'procedure',
6969
- description: 'Unmute an actor by did or handle.',
7063
+ description: 'Unmute an actor by DID or handle.',
6970
7064
  input: {
6971
7065
  encoding: 'application/json',
6972
7066
  schema: {
@@ -7012,6 +7106,7 @@ export const schemaDict = {
7012
7106
  defs: {
7013
7107
  main: {
7014
7108
  type: 'query',
7109
+ description: 'Get the count of unread notifications.',
7015
7110
  parameters: {
7016
7111
  type: 'params',
7017
7112
  properties: {
@@ -7042,6 +7137,7 @@ export const schemaDict = {
7042
7137
  defs: {
7043
7138
  main: {
7044
7139
  type: 'query',
7140
+ description: 'Get a list of notifications.',
7045
7141
  parameters: {
7046
7142
  type: 'params',
7047
7143
  properties: {
@@ -7148,7 +7244,7 @@ export const schemaDict = {
7148
7244
  defs: {
7149
7245
  main: {
7150
7246
  type: 'procedure',
7151
- description: 'Register for push notifications with a service',
7247
+ description: 'Register for push notifications with a service.',
7152
7248
  input: {
7153
7249
  encoding: 'application/json',
7154
7250
  schema: {
@@ -7308,7 +7404,7 @@ export const schemaDict = {
7308
7404
  main: {
7309
7405
  type: 'query',
7310
7406
  description:
7311
- 'DEPRECATED: will be removed soon, please find a feed generator alternative',
7407
+ 'DEPRECATED: will be removed soon. Use a feed generator alternative.',
7312
7408
  parameters: {
7313
7409
  type: 'params',
7314
7410
  properties: {
@@ -7355,7 +7451,7 @@ export const schemaDict = {
7355
7451
  defs: {
7356
7452
  main: {
7357
7453
  type: 'query',
7358
- description: 'An unspecced view of globally popular feed generators',
7454
+ description: 'An unspecced view of globally popular feed generators.',
7359
7455
  parameters: {
7360
7456
  type: 'params',
7361
7457
  properties: {
@@ -7401,7 +7497,8 @@ export const schemaDict = {
7401
7497
  defs: {
7402
7498
  main: {
7403
7499
  type: 'query',
7404
- description: 'A skeleton of a timeline - UNSPECCED & WILL GO AWAY SOON',
7500
+ description:
7501
+ 'DEPRECATED: a skeleton of a timeline. Unspecced and will be unavailable soon.',
7405
7502
  parameters: {
7406
7503
  type: 'params',
7407
7504
  properties: {
@@ -7449,7 +7546,7 @@ export const schemaDict = {
7449
7546
  defs: {
7450
7547
  main: {
7451
7548
  type: 'query',
7452
- description: 'Backend Actors (profile) search, returning only skeleton',
7549
+ description: 'Backend Actors (profile) search, returns only skeleton.',
7453
7550
  parameters: {
7454
7551
  type: 'params',
7455
7552
  required: ['q'],
@@ -7457,11 +7554,11 @@ export const schemaDict = {
7457
7554
  q: {
7458
7555
  type: 'string',
7459
7556
  description:
7460
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax',
7557
+ 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax.',
7461
7558
  },
7462
7559
  typeahead: {
7463
7560
  type: 'boolean',
7464
- description: "if true, acts as fast/simple 'typeahead' query",
7561
+ description: "If true, acts as fast/simple 'typeahead' query.",
7465
7562
  },
7466
7563
  limit: {
7467
7564
  type: 'integer',
@@ -7472,7 +7569,7 @@ export const schemaDict = {
7472
7569
  cursor: {
7473
7570
  type: 'string',
7474
7571
  description:
7475
- 'optional pagination mechanism; may not necessarily allow scrolling through entire result set',
7572
+ 'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
7476
7573
  },
7477
7574
  },
7478
7575
  },
@@ -7488,7 +7585,7 @@ export const schemaDict = {
7488
7585
  hitsTotal: {
7489
7586
  type: 'integer',
7490
7587
  description:
7491
- 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits',
7588
+ 'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
7492
7589
  },
7493
7590
  actors: {
7494
7591
  type: 'array',
@@ -7514,7 +7611,7 @@ export const schemaDict = {
7514
7611
  defs: {
7515
7612
  main: {
7516
7613
  type: 'query',
7517
- description: 'Backend Posts search, returning only skeleton',
7614
+ description: 'Backend Posts search, returns only skeleton',
7518
7615
  parameters: {
7519
7616
  type: 'params',
7520
7617
  required: ['q'],
@@ -7522,7 +7619,7 @@ export const schemaDict = {
7522
7619
  q: {
7523
7620
  type: 'string',
7524
7621
  description:
7525
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended',
7622
+ 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
7526
7623
  },
7527
7624
  limit: {
7528
7625
  type: 'integer',
@@ -7533,7 +7630,7 @@ export const schemaDict = {
7533
7630
  cursor: {
7534
7631
  type: 'string',
7535
7632
  description:
7536
- 'optional pagination mechanism; may not necessarily allow scrolling through entire result set',
7633
+ 'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
7537
7634
  },
7538
7635
  },
7539
7636
  },
@@ -7549,7 +7646,7 @@ export const schemaDict = {
7549
7646
  hitsTotal: {
7550
7647
  type: 'integer',
7551
7648
  description:
7552
- 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits',
7649
+ 'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
7553
7650
  },
7554
7651
  posts: {
7555
7652
  type: 'array',
@@ -7577,23 +7674,20 @@ export const ids = {
7577
7674
  ComAtprotoAdminDisableAccountInvites:
7578
7675
  'com.atproto.admin.disableAccountInvites',
7579
7676
  ComAtprotoAdminDisableInviteCodes: 'com.atproto.admin.disableInviteCodes',
7677
+ ComAtprotoAdminEmitModerationEvent: 'com.atproto.admin.emitModerationEvent',
7580
7678
  ComAtprotoAdminEnableAccountInvites: 'com.atproto.admin.enableAccountInvites',
7581
7679
  ComAtprotoAdminGetAccountInfo: 'com.atproto.admin.getAccountInfo',
7582
7680
  ComAtprotoAdminGetInviteCodes: 'com.atproto.admin.getInviteCodes',
7583
- ComAtprotoAdminGetModerationAction: 'com.atproto.admin.getModerationAction',
7584
- ComAtprotoAdminGetModerationActions: 'com.atproto.admin.getModerationActions',
7585
- ComAtprotoAdminGetModerationReport: 'com.atproto.admin.getModerationReport',
7586
- ComAtprotoAdminGetModerationReports: 'com.atproto.admin.getModerationReports',
7681
+ ComAtprotoAdminGetModerationEvent: 'com.atproto.admin.getModerationEvent',
7587
7682
  ComAtprotoAdminGetRecord: 'com.atproto.admin.getRecord',
7588
7683
  ComAtprotoAdminGetRepo: 'com.atproto.admin.getRepo',
7589
7684
  ComAtprotoAdminGetSubjectStatus: 'com.atproto.admin.getSubjectStatus',
7590
- ComAtprotoAdminResolveModerationReports:
7591
- 'com.atproto.admin.resolveModerationReports',
7592
- ComAtprotoAdminReverseModerationAction:
7593
- 'com.atproto.admin.reverseModerationAction',
7685
+ ComAtprotoAdminQueryModerationEvents:
7686
+ 'com.atproto.admin.queryModerationEvents',
7687
+ ComAtprotoAdminQueryModerationStatuses:
7688
+ 'com.atproto.admin.queryModerationStatuses',
7594
7689
  ComAtprotoAdminSearchRepos: 'com.atproto.admin.searchRepos',
7595
7690
  ComAtprotoAdminSendEmail: 'com.atproto.admin.sendEmail',
7596
- ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction',
7597
7691
  ComAtprotoAdminUpdateAccountEmail: 'com.atproto.admin.updateAccountEmail',
7598
7692
  ComAtprotoAdminUpdateAccountHandle: 'com.atproto.admin.updateAccountHandle',
7599
7693
  ComAtprotoAdminUpdateSubjectStatus: 'com.atproto.admin.updateSubjectStatus',
@@ -7651,6 +7745,7 @@ export const ids = {
7651
7745
  ComAtprotoSyncNotifyOfUpdate: 'com.atproto.sync.notifyOfUpdate',
7652
7746
  ComAtprotoSyncRequestCrawl: 'com.atproto.sync.requestCrawl',
7653
7747
  ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
7748
+ ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
7654
7749
  AppBskyActorDefs: 'app.bsky.actor.defs',
7655
7750
  AppBskyActorGetPreferences: 'app.bsky.actor.getPreferences',
7656
7751
  AppBskyActorGetProfile: 'app.bsky.actor.getProfile',