@atproto/api 0.6.23 → 0.6.24-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/client/index.d.ts +23 -25
  2. package/dist/client/lexicons.d.ts +441 -367
  3. package/dist/client/types/com/atproto/admin/defs.d.ts +114 -48
  4. package/dist/client/types/com/atproto/admin/{takeModerationAction.d.ts → emitModerationEvent.d.ts} +5 -6
  5. package/dist/client/types/com/atproto/admin/{getModerationAction.d.ts → getModerationEvent.d.ts} +1 -1
  6. package/dist/client/types/com/atproto/admin/{getModerationActions.d.ts → queryModerationEvents.d.ts} +5 -1
  7. package/dist/client/types/com/atproto/admin/{getModerationReports.d.ts → queryModerationStatuses.d.ts} +12 -6
  8. package/dist/client/types/com/atproto/admin/sendEmail.d.ts +1 -0
  9. package/dist/client/types/com/atproto/{admin/getModerationReport.d.ts → temp/fetchLabels.d.ts} +7 -3
  10. package/dist/index.js +1179 -1042
  11. package/dist/index.js.map +3 -3
  12. package/package.json +17 -14
  13. package/src/client/index.ts +68 -80
  14. package/src/client/lexicons.ts +664 -570
  15. package/src/client/types/app/bsky/actor/defs.ts +2 -2
  16. package/src/client/types/app/bsky/actor/searchActors.ts +2 -2
  17. package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +2 -2
  18. package/src/client/types/app/bsky/feed/searchPosts.ts +3 -3
  19. package/src/client/types/app/bsky/graph/defs.ts +2 -2
  20. package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +4 -4
  21. package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +3 -3
  22. package/src/client/types/com/atproto/admin/defs.ts +276 -84
  23. package/src/client/types/com/atproto/admin/disableAccountInvites.ts +1 -1
  24. package/src/client/types/com/atproto/admin/{takeModerationAction.ts → emitModerationEvent.ts} +13 -11
  25. package/src/client/types/com/atproto/admin/enableAccountInvites.ts +1 -1
  26. package/src/client/types/com/atproto/admin/{getModerationReport.ts → getModerationEvent.ts} +1 -1
  27. package/src/client/types/com/atproto/admin/{getModerationReports.ts → queryModerationEvents.ts} +8 -15
  28. package/src/client/types/com/atproto/admin/queryModerationStatuses.ts +60 -0
  29. package/src/client/types/com/atproto/admin/sendEmail.ts +1 -0
  30. package/src/client/types/com/atproto/label/defs.ts +9 -9
  31. package/src/client/types/com/atproto/label/queryLabels.ts +2 -2
  32. package/src/client/types/com/atproto/repo/applyWrites.ts +1 -1
  33. package/src/client/types/com/atproto/repo/createRecord.ts +2 -2
  34. package/src/client/types/com/atproto/repo/deleteRecord.ts +2 -2
  35. package/src/client/types/com/atproto/repo/listRecords.ts +1 -1
  36. package/src/client/types/com/atproto/repo/putRecord.ts +3 -3
  37. package/src/client/types/com/atproto/sync/listBlobs.ts +1 -1
  38. package/src/client/types/com/atproto/sync/subscribeRepos.ts +4 -4
  39. package/src/client/types/com/atproto/{admin/getModerationActions.ts → temp/fetchLabels.ts} +3 -5
  40. package/tests/rich-text-detection.test.ts +6 -0
  41. package/LICENSE.txt +0 -7
  42. package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +0 -22
  43. package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +0 -22
  44. package/src/client/types/com/atproto/admin/getModerationAction.ts +0 -32
  45. package/src/client/types/com/atproto/admin/resolveModerationReports.ts +0 -38
  46. package/src/client/types/com/atproto/admin/reverseModerationAction.ts +0 -38
@@ -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,148 @@ 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
+ durationInHours: {
701
+ type: 'integer',
702
+ description:
703
+ 'Indicates how long the takedown should be in effect before automatically expiring.',
704
+ },
705
+ },
706
+ },
707
+ modEventReverseTakedown: {
708
+ type: 'object',
709
+ description: 'Revert take down action on a subject',
710
+ properties: {
711
+ comment: {
712
+ type: 'string',
713
+ description: 'Describe reasoning behind the reversal.',
714
+ },
715
+ },
716
+ },
717
+ modEventComment: {
718
+ type: 'object',
719
+ description: 'Add a comment to a subject',
720
+ required: ['comment'],
721
+ properties: {
722
+ comment: {
723
+ type: 'string',
724
+ },
725
+ sticky: {
726
+ type: 'boolean',
727
+ description: 'Make the comment persistent on the subject',
728
+ },
729
+ },
730
+ },
731
+ modEventReport: {
732
+ type: 'object',
733
+ description: 'Report a subject',
734
+ required: ['reportType'],
735
+ properties: {
736
+ comment: {
737
+ type: 'string',
738
+ },
739
+ reportType: {
740
+ type: 'ref',
741
+ ref: 'lex:com.atproto.moderation.defs#reasonType',
742
+ },
743
+ },
744
+ },
745
+ modEventLabel: {
746
+ type: 'object',
747
+ description: 'Apply/Negate labels on a subject',
748
+ required: ['createLabelVals', 'negateLabelVals'],
749
+ properties: {
750
+ createLabelVals: {
751
+ type: 'array',
752
+ items: {
753
+ type: 'string',
754
+ },
755
+ },
756
+ negateLabelVals: {
757
+ type: 'array',
758
+ items: {
759
+ type: 'string',
760
+ },
761
+ },
762
+ },
763
+ },
764
+ modEventAcknowledge: {
765
+ type: 'object',
766
+ properties: {
767
+ comment: {
768
+ type: 'string',
769
+ },
770
+ },
771
+ },
772
+ modEventEscalate: {
773
+ type: 'object',
774
+ properties: {
775
+ comment: {
776
+ type: 'string',
777
+ },
778
+ },
779
+ },
780
+ modEventMute: {
781
+ type: 'object',
782
+ description: 'Mute incoming reports on a subject',
783
+ required: ['durationInHours'],
784
+ properties: {
785
+ comment: {
786
+ type: 'string',
787
+ },
788
+ durationInHours: {
789
+ type: 'integer',
790
+ description: 'Indicates how long the subject should remain muted.',
791
+ },
792
+ },
793
+ },
794
+ modEventUnmute: {
795
+ type: 'object',
796
+ description: 'Unmute action on a subject',
797
+ properties: {
798
+ comment: {
799
+ type: 'string',
800
+ description: 'Describe reasoning behind the reversal.',
801
+ },
802
+ },
803
+ },
804
+ modEventEmail: {
805
+ type: 'object',
806
+ description: 'Keep a log of outgoing email to a user',
807
+ required: ['subjectLine'],
808
+ properties: {
809
+ subjectLine: {
810
+ type: 'string',
811
+ description: 'The subject line of the email sent to the user.',
812
+ },
813
+ },
814
+ },
711
815
  },
712
816
  },
713
817
  ComAtprotoAdminDisableAccountInvites: {
@@ -717,7 +821,7 @@ export const schemaDict = {
717
821
  main: {
718
822
  type: 'procedure',
719
823
  description:
720
- 'Disable an account from receiving new invite codes, but does not invalidate existing codes',
824
+ 'Disable an account from receiving new invite codes, but does not invalidate existing codes.',
721
825
  input: {
722
826
  encoding: 'application/json',
723
827
  schema: {
@@ -730,8 +834,7 @@ export const schemaDict = {
730
834
  },
731
835
  note: {
732
836
  type: 'string',
733
- description:
734
- 'Additionally add a note describing why the invites were disabled',
837
+ description: 'Optional reason for disabled invites.',
735
838
  },
736
839
  },
737
840
  },
@@ -746,7 +849,7 @@ export const schemaDict = {
746
849
  main: {
747
850
  type: 'procedure',
748
851
  description:
749
- 'Disable some set of codes and/or all codes associated with a set of users',
852
+ 'Disable some set of codes and/or all codes associated with a set of users.',
750
853
  input: {
751
854
  encoding: 'application/json',
752
855
  schema: {
@@ -770,13 +873,77 @@ export const schemaDict = {
770
873
  },
771
874
  },
772
875
  },
876
+ ComAtprotoAdminEmitModerationEvent: {
877
+ lexicon: 1,
878
+ id: 'com.atproto.admin.emitModerationEvent',
879
+ defs: {
880
+ main: {
881
+ type: 'procedure',
882
+ description: 'Take a moderation action on an actor.',
883
+ input: {
884
+ encoding: 'application/json',
885
+ schema: {
886
+ type: 'object',
887
+ required: ['event', 'subject', 'createdBy'],
888
+ properties: {
889
+ event: {
890
+ type: 'union',
891
+ refs: [
892
+ 'lex:com.atproto.admin.defs#modEventTakedown',
893
+ 'lex:com.atproto.admin.defs#modEventAcknowledge',
894
+ 'lex:com.atproto.admin.defs#modEventEscalate',
895
+ 'lex:com.atproto.admin.defs#modEventComment',
896
+ 'lex:com.atproto.admin.defs#modEventLabel',
897
+ 'lex:com.atproto.admin.defs#modEventReport',
898
+ 'lex:com.atproto.admin.defs#modEventMute',
899
+ 'lex:com.atproto.admin.defs#modEventReverseTakedown',
900
+ 'lex:com.atproto.admin.defs#modEventUnmute',
901
+ 'lex:com.atproto.admin.defs#modEventEmail',
902
+ ],
903
+ },
904
+ subject: {
905
+ type: 'union',
906
+ refs: [
907
+ 'lex:com.atproto.admin.defs#repoRef',
908
+ 'lex:com.atproto.repo.strongRef',
909
+ ],
910
+ },
911
+ subjectBlobCids: {
912
+ type: 'array',
913
+ items: {
914
+ type: 'string',
915
+ format: 'cid',
916
+ },
917
+ },
918
+ createdBy: {
919
+ type: 'string',
920
+ format: 'did',
921
+ },
922
+ },
923
+ },
924
+ },
925
+ output: {
926
+ encoding: 'application/json',
927
+ schema: {
928
+ type: 'ref',
929
+ ref: 'lex:com.atproto.admin.defs#modEventView',
930
+ },
931
+ },
932
+ errors: [
933
+ {
934
+ name: 'SubjectHasAction',
935
+ },
936
+ ],
937
+ },
938
+ },
939
+ },
773
940
  ComAtprotoAdminEnableAccountInvites: {
774
941
  lexicon: 1,
775
942
  id: 'com.atproto.admin.enableAccountInvites',
776
943
  defs: {
777
944
  main: {
778
945
  type: 'procedure',
779
- description: 'Re-enable an accounts ability to receive invite codes',
946
+ description: "Re-enable an account's ability to receive invite codes.",
780
947
  input: {
781
948
  encoding: 'application/json',
782
949
  schema: {
@@ -789,8 +956,7 @@ export const schemaDict = {
789
956
  },
790
957
  note: {
791
958
  type: 'string',
792
- description:
793
- 'Additionally add a note describing why the invites were enabled',
959
+ description: 'Optional reason for enabled invites.',
794
960
  },
795
961
  },
796
962
  },
@@ -804,7 +970,7 @@ export const schemaDict = {
804
970
  defs: {
805
971
  main: {
806
972
  type: 'query',
807
- description: 'View details about an account.',
973
+ description: 'Get details about an account.',
808
974
  parameters: {
809
975
  type: 'params',
810
976
  required: ['did'],
@@ -831,7 +997,7 @@ export const schemaDict = {
831
997
  defs: {
832
998
  main: {
833
999
  type: 'query',
834
- description: 'Admin view of invite codes',
1000
+ description: 'Get an admin view of invite codes.',
835
1001
  parameters: {
836
1002
  type: 'params',
837
1003
  properties: {
@@ -873,181 +1039,27 @@ export const schemaDict = {
873
1039
  },
874
1040
  },
875
1041
  },
876
- ComAtprotoAdminGetModerationAction: {
1042
+ ComAtprotoAdminGetModerationEvent: {
877
1043
  lexicon: 1,
878
- id: 'com.atproto.admin.getModerationAction',
1044
+ id: 'com.atproto.admin.getModerationEvent',
879
1045
  defs: {
880
1046
  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: {
949
- lexicon: 1,
950
- id: 'com.atproto.admin.getModerationReport',
951
- defs: {
952
- main: {
953
- type: 'query',
954
- description: 'View details about a moderation report.',
955
- parameters: {
956
- type: 'params',
957
- required: ['id'],
958
- properties: {
959
- id: {
960
- type: 'integer',
961
- },
962
- },
963
- },
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',
1047
+ type: 'query',
1048
+ description: 'Get details about a moderation event.',
1049
+ parameters: {
1050
+ type: 'params',
1051
+ required: ['id'],
1052
+ properties: {
1053
+ id: {
1054
+ type: 'integer',
1031
1055
  },
1032
1056
  },
1033
1057
  },
1034
1058
  output: {
1035
1059
  encoding: 'application/json',
1036
1060
  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
- },
1061
+ type: 'ref',
1062
+ ref: 'lex:com.atproto.admin.defs#modEventViewDetail',
1051
1063
  },
1052
1064
  },
1053
1065
  },
@@ -1059,7 +1071,7 @@ export const schemaDict = {
1059
1071
  defs: {
1060
1072
  main: {
1061
1073
  type: 'query',
1062
- description: 'View details about a record.',
1074
+ description: 'Get details about a record.',
1063
1075
  parameters: {
1064
1076
  type: 'params',
1065
1077
  required: ['uri'],
@@ -1095,7 +1107,7 @@ export const schemaDict = {
1095
1107
  defs: {
1096
1108
  main: {
1097
1109
  type: 'query',
1098
- description: 'View details about a repository.',
1110
+ description: 'Get details about a repository.',
1099
1111
  parameters: {
1100
1112
  type: 'params',
1101
1113
  required: ['did'],
@@ -1128,7 +1140,7 @@ export const schemaDict = {
1128
1140
  main: {
1129
1141
  type: 'query',
1130
1142
  description:
1131
- 'Fetch the service-specific the admin status of a subject (account, record, or blob)',
1143
+ 'Get the service-specific admin status of a subject (account, record, or blob).',
1132
1144
  parameters: {
1133
1145
  type: 'params',
1134
1146
  properties: {
@@ -1170,76 +1182,180 @@ export const schemaDict = {
1170
1182
  },
1171
1183
  },
1172
1184
  },
1173
- ComAtprotoAdminResolveModerationReports: {
1185
+ ComAtprotoAdminQueryModerationEvents: {
1174
1186
  lexicon: 1,
1175
- id: 'com.atproto.admin.resolveModerationReports',
1187
+ id: 'com.atproto.admin.queryModerationEvents',
1176
1188
  defs: {
1177
1189
  main: {
1178
- type: 'procedure',
1179
- description: 'Resolve moderation reports by an action.',
1180
- input: {
1190
+ type: 'query',
1191
+ description: 'List moderation events related to a subject.',
1192
+ parameters: {
1193
+ type: 'params',
1194
+ properties: {
1195
+ types: {
1196
+ type: 'array',
1197
+ items: {
1198
+ type: 'string',
1199
+ },
1200
+ description:
1201
+ '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.',
1202
+ },
1203
+ createdBy: {
1204
+ type: 'string',
1205
+ format: 'did',
1206
+ },
1207
+ sortDirection: {
1208
+ type: 'string',
1209
+ default: 'desc',
1210
+ enum: ['asc', 'desc'],
1211
+ description:
1212
+ 'Sort direction for the events. Defaults to descending order of created at timestamp.',
1213
+ },
1214
+ subject: {
1215
+ type: 'string',
1216
+ format: 'uri',
1217
+ },
1218
+ includeAllUserRecords: {
1219
+ type: 'boolean',
1220
+ default: false,
1221
+ description:
1222
+ 'If true, events on all record types (posts, lists, profile etc.) owned by the did are returned',
1223
+ },
1224
+ limit: {
1225
+ type: 'integer',
1226
+ minimum: 1,
1227
+ maximum: 100,
1228
+ default: 50,
1229
+ },
1230
+ cursor: {
1231
+ type: 'string',
1232
+ },
1233
+ },
1234
+ },
1235
+ output: {
1181
1236
  encoding: 'application/json',
1182
1237
  schema: {
1183
1238
  type: 'object',
1184
- required: ['actionId', 'reportIds', 'createdBy'],
1239
+ required: ['events'],
1185
1240
  properties: {
1186
- actionId: {
1187
- type: 'integer',
1241
+ cursor: {
1242
+ type: 'string',
1188
1243
  },
1189
- reportIds: {
1244
+ events: {
1190
1245
  type: 'array',
1191
1246
  items: {
1192
- type: 'integer',
1247
+ type: 'ref',
1248
+ ref: 'lex:com.atproto.admin.defs#modEventView',
1193
1249
  },
1194
1250
  },
1195
- createdBy: {
1196
- type: 'string',
1197
- format: 'did',
1198
- },
1199
1251
  },
1200
1252
  },
1201
1253
  },
1202
- output: {
1203
- encoding: 'application/json',
1204
- schema: {
1205
- type: 'ref',
1206
- ref: 'lex:com.atproto.admin.defs#actionView',
1207
- },
1208
- },
1209
1254
  },
1210
1255
  },
1211
1256
  },
1212
- ComAtprotoAdminReverseModerationAction: {
1257
+ ComAtprotoAdminQueryModerationStatuses: {
1213
1258
  lexicon: 1,
1214
- id: 'com.atproto.admin.reverseModerationAction',
1259
+ id: 'com.atproto.admin.queryModerationStatuses',
1215
1260
  defs: {
1216
1261
  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: {
1262
+ type: 'query',
1263
+ description: 'View moderation statuses of subjects (record or repo).',
1264
+ parameters: {
1265
+ type: 'params',
1266
+ properties: {
1267
+ subject: {
1268
+ type: 'string',
1269
+ format: 'uri',
1270
+ },
1271
+ comment: {
1272
+ type: 'string',
1273
+ description: 'Search subjects by keyword from comments',
1274
+ },
1275
+ reportedAfter: {
1276
+ type: 'string',
1277
+ format: 'datetime',
1278
+ description: 'Search subjects reported after a given timestamp',
1279
+ },
1280
+ reportedBefore: {
1281
+ type: 'string',
1282
+ format: 'datetime',
1283
+ description: 'Search subjects reported before a given timestamp',
1284
+ },
1285
+ reviewedAfter: {
1286
+ type: 'string',
1287
+ format: 'datetime',
1288
+ description: 'Search subjects reviewed after a given timestamp',
1289
+ },
1290
+ reviewedBefore: {
1291
+ type: 'string',
1292
+ format: 'datetime',
1293
+ description: 'Search subjects reviewed before a given timestamp',
1294
+ },
1295
+ includeMuted: {
1296
+ type: 'boolean',
1297
+ description:
1298
+ "By default, we don't include muted subjects in the results. Set this to true to include them.",
1299
+ },
1300
+ reviewState: {
1301
+ type: 'string',
1302
+ description: 'Specify when fetching subjects in a certain state',
1303
+ },
1304
+ ignoreSubjects: {
1305
+ type: 'array',
1306
+ items: {
1232
1307
  type: 'string',
1233
- format: 'did',
1308
+ format: 'uri',
1234
1309
  },
1235
1310
  },
1311
+ lastReviewedBy: {
1312
+ type: 'string',
1313
+ format: 'did',
1314
+ description:
1315
+ 'Get all subject statuses that were reviewed by a specific moderator',
1316
+ },
1317
+ sortField: {
1318
+ type: 'string',
1319
+ default: 'lastReportedAt',
1320
+ enum: ['lastReviewedAt', 'lastReportedAt'],
1321
+ },
1322
+ sortDirection: {
1323
+ type: 'string',
1324
+ default: 'desc',
1325
+ enum: ['asc', 'desc'],
1326
+ },
1327
+ takendown: {
1328
+ type: 'boolean',
1329
+ description: 'Get subjects that were taken down',
1330
+ },
1331
+ limit: {
1332
+ type: 'integer',
1333
+ minimum: 1,
1334
+ maximum: 100,
1335
+ default: 50,
1336
+ },
1337
+ cursor: {
1338
+ type: 'string',
1339
+ },
1236
1340
  },
1237
1341
  },
1238
1342
  output: {
1239
1343
  encoding: 'application/json',
1240
1344
  schema: {
1241
- type: 'ref',
1242
- ref: 'lex:com.atproto.admin.defs#actionView',
1345
+ type: 'object',
1346
+ required: ['subjectStatuses'],
1347
+ properties: {
1348
+ cursor: {
1349
+ type: 'string',
1350
+ },
1351
+ subjectStatuses: {
1352
+ type: 'array',
1353
+ items: {
1354
+ type: 'ref',
1355
+ ref: 'lex:com.atproto.admin.defs#subjectStatusView',
1356
+ },
1357
+ },
1358
+ },
1243
1359
  },
1244
1360
  },
1245
1361
  },
@@ -1301,12 +1417,12 @@ export const schemaDict = {
1301
1417
  defs: {
1302
1418
  main: {
1303
1419
  type: 'procedure',
1304
- description: "Send email to a user's primary email address",
1420
+ description: "Send email to a user's account email address.",
1305
1421
  input: {
1306
1422
  encoding: 'application/json',
1307
1423
  schema: {
1308
1424
  type: 'object',
1309
- required: ['recipientDid', 'content'],
1425
+ required: ['recipientDid', 'content', 'senderDid'],
1310
1426
  properties: {
1311
1427
  recipientDid: {
1312
1428
  type: 'string',
@@ -1318,6 +1434,10 @@ export const schemaDict = {
1318
1434
  subject: {
1319
1435
  type: 'string',
1320
1436
  },
1437
+ senderDid: {
1438
+ type: 'string',
1439
+ format: 'did',
1440
+ },
1321
1441
  },
1322
1442
  },
1323
1443
  },
@@ -1336,90 +1456,13 @@ export const schemaDict = {
1336
1456
  },
1337
1457
  },
1338
1458
  },
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
1459
  ComAtprotoAdminUpdateAccountEmail: {
1417
1460
  lexicon: 1,
1418
1461
  id: 'com.atproto.admin.updateAccountEmail',
1419
1462
  defs: {
1420
1463
  main: {
1421
1464
  type: 'procedure',
1422
- description: "Administrative action to update an account's email",
1465
+ description: "Administrative action to update an account's email.",
1423
1466
  input: {
1424
1467
  encoding: 'application/json',
1425
1468
  schema: {
@@ -1446,7 +1489,7 @@ export const schemaDict = {
1446
1489
  defs: {
1447
1490
  main: {
1448
1491
  type: 'procedure',
1449
- description: "Administrative action to update an account's handle",
1492
+ description: "Administrative action to update an account's handle.",
1450
1493
  input: {
1451
1494
  encoding: 'application/json',
1452
1495
  schema: {
@@ -1474,7 +1517,7 @@ export const schemaDict = {
1474
1517
  main: {
1475
1518
  type: 'procedure',
1476
1519
  description:
1477
- 'Update the service-specific admin status of a subject (account, record, or blob)',
1520
+ 'Update the service-specific admin status of a subject (account, record, or blob).',
1478
1521
  input: {
1479
1522
  encoding: 'application/json',
1480
1523
  schema: {
@@ -1560,7 +1603,7 @@ export const schemaDict = {
1560
1603
  defs: {
1561
1604
  main: {
1562
1605
  type: 'procedure',
1563
- description: 'Updates the handle of the account',
1606
+ description: 'Updates the handle of the account.',
1564
1607
  input: {
1565
1608
  encoding: 'application/json',
1566
1609
  schema: {
@@ -1583,41 +1626,42 @@ export const schemaDict = {
1583
1626
  defs: {
1584
1627
  label: {
1585
1628
  type: 'object',
1586
- description: 'Metadata tag on an atproto resource (eg, repo or record)',
1629
+ description:
1630
+ 'Metadata tag on an atproto resource (eg, repo or record).',
1587
1631
  required: ['src', 'uri', 'val', 'cts'],
1588
1632
  properties: {
1589
1633
  src: {
1590
1634
  type: 'string',
1591
1635
  format: 'did',
1592
- description: 'DID of the actor who created this label',
1636
+ description: 'DID of the actor who created this label.',
1593
1637
  },
1594
1638
  uri: {
1595
1639
  type: 'string',
1596
1640
  format: 'uri',
1597
1641
  description:
1598
- 'AT URI of the record, repository (account), or other resource which this label applies to',
1642
+ 'AT URI of the record, repository (account), or other resource that this label applies to.',
1599
1643
  },
1600
1644
  cid: {
1601
1645
  type: 'string',
1602
1646
  format: 'cid',
1603
1647
  description:
1604
- "optionally, CID specifying the specific version of 'uri' resource this label applies to",
1648
+ "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
1605
1649
  },
1606
1650
  val: {
1607
1651
  type: 'string',
1608
1652
  maxLength: 128,
1609
1653
  description:
1610
- 'the short string name of the value or type of this label',
1654
+ 'The short string name of the value or type of this label.',
1611
1655
  },
1612
1656
  neg: {
1613
1657
  type: 'boolean',
1614
1658
  description:
1615
- 'if true, this is a negation label, overwriting a previous label',
1659
+ 'If true, this is a negation label, overwriting a previous label.',
1616
1660
  },
1617
1661
  cts: {
1618
1662
  type: 'string',
1619
1663
  format: 'datetime',
1620
- description: 'timestamp when this label was created',
1664
+ description: 'Timestamp when this label was created.',
1621
1665
  },
1622
1666
  },
1623
1667
  },
@@ -1640,14 +1684,14 @@ export const schemaDict = {
1640
1684
  selfLabel: {
1641
1685
  type: 'object',
1642
1686
  description:
1643
- 'Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.',
1687
+ 'Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.',
1644
1688
  required: ['val'],
1645
1689
  properties: {
1646
1690
  val: {
1647
1691
  type: 'string',
1648
1692
  maxLength: 128,
1649
1693
  description:
1650
- 'the short string name of the value or type of this label',
1694
+ 'The short string name of the value or type of this label.',
1651
1695
  },
1652
1696
  },
1653
1697
  },
@@ -1670,7 +1714,7 @@ export const schemaDict = {
1670
1714
  type: 'string',
1671
1715
  },
1672
1716
  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",
1717
+ "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
1718
  },
1675
1719
  sources: {
1676
1720
  type: 'array',
@@ -1678,7 +1722,8 @@ export const schemaDict = {
1678
1722
  type: 'string',
1679
1723
  format: 'did',
1680
1724
  },
1681
- description: 'Optional list of label sources (DIDs) to filter on',
1725
+ description:
1726
+ 'Optional list of label sources (DIDs) to filter on.',
1682
1727
  },
1683
1728
  limit: {
1684
1729
  type: 'integer',
@@ -1719,7 +1764,7 @@ export const schemaDict = {
1719
1764
  defs: {
1720
1765
  main: {
1721
1766
  type: 'subscription',
1722
- description: 'Subscribe to label updates',
1767
+ description: 'Subscribe to label updates.',
1723
1768
  parameters: {
1724
1769
  type: 'params',
1725
1770
  properties: {
@@ -1914,7 +1959,7 @@ export const schemaDict = {
1914
1959
  validate: {
1915
1960
  type: 'boolean',
1916
1961
  default: true,
1917
- description: 'Validate the records?',
1962
+ description: 'Flag for validating the records.',
1918
1963
  },
1919
1964
  writes: {
1920
1965
  type: 'array',
@@ -2023,7 +2068,7 @@ export const schemaDict = {
2023
2068
  validate: {
2024
2069
  type: 'boolean',
2025
2070
  default: true,
2026
- description: 'Validate the record?',
2071
+ description: 'Flag for validating the record.',
2027
2072
  },
2028
2073
  record: {
2029
2074
  type: 'unknown',
@@ -2033,7 +2078,7 @@ export const schemaDict = {
2033
2078
  type: 'string',
2034
2079
  format: 'cid',
2035
2080
  description:
2036
- 'Compare and swap with the previous commit by cid.',
2081
+ 'Compare and swap with the previous commit by CID.',
2037
2082
  },
2038
2083
  },
2039
2084
  },
@@ -2094,13 +2139,13 @@ export const schemaDict = {
2094
2139
  type: 'string',
2095
2140
  format: 'cid',
2096
2141
  description:
2097
- 'Compare and swap with the previous record by cid.',
2142
+ 'Compare and swap with the previous record by CID.',
2098
2143
  },
2099
2144
  swapCommit: {
2100
2145
  type: 'string',
2101
2146
  format: 'cid',
2102
2147
  description:
2103
- 'Compare and swap with the previous commit by cid.',
2148
+ 'Compare and swap with the previous commit by CID.',
2104
2149
  },
2105
2150
  },
2106
2151
  },
@@ -2270,7 +2315,7 @@ export const schemaDict = {
2270
2315
  },
2271
2316
  reverse: {
2272
2317
  type: 'boolean',
2273
- description: 'Reverse the order of the returned records?',
2318
+ description: 'Flag to reverse the order of the returned records.',
2274
2319
  },
2275
2320
  },
2276
2321
  },
@@ -2345,7 +2390,7 @@ export const schemaDict = {
2345
2390
  validate: {
2346
2391
  type: 'boolean',
2347
2392
  default: true,
2348
- description: 'Validate the record?',
2393
+ description: 'Flag for validating the record.',
2349
2394
  },
2350
2395
  record: {
2351
2396
  type: 'unknown',
@@ -2355,13 +2400,13 @@ export const schemaDict = {
2355
2400
  type: 'string',
2356
2401
  format: 'cid',
2357
2402
  description:
2358
- 'Compare and swap with the previous record by cid.',
2403
+ 'Compare and swap with the previous record by CID.',
2359
2404
  },
2360
2405
  swapCommit: {
2361
2406
  type: 'string',
2362
2407
  format: 'cid',
2363
2408
  description:
2364
- 'Compare and swap with the previous commit by cid.',
2409
+ 'Compare and swap with the previous commit by CID.',
2365
2410
  },
2366
2411
  },
2367
2412
  },
@@ -2575,7 +2620,7 @@ export const schemaDict = {
2575
2620
  defs: {
2576
2621
  main: {
2577
2622
  type: 'procedure',
2578
- description: 'Create an app-specific password.',
2623
+ description: 'Create an App Password.',
2579
2624
  input: {
2580
2625
  encoding: 'application/json',
2581
2626
  schema: {
@@ -2663,7 +2708,7 @@ export const schemaDict = {
2663
2708
  defs: {
2664
2709
  main: {
2665
2710
  type: 'procedure',
2666
- description: 'Create an invite code.',
2711
+ description: 'Create invite codes.',
2667
2712
  input: {
2668
2713
  encoding: 'application/json',
2669
2714
  schema: {
@@ -2851,7 +2896,7 @@ export const schemaDict = {
2851
2896
  defs: {
2852
2897
  main: {
2853
2898
  type: 'procedure',
2854
- description: 'Delete a user account with a token and password.',
2899
+ description: "Delete an actor's account with a token and password.",
2855
2900
  input: {
2856
2901
  encoding: 'application/json',
2857
2902
  schema: {
@@ -2942,7 +2987,7 @@ export const schemaDict = {
2942
2987
  defs: {
2943
2988
  main: {
2944
2989
  type: 'query',
2945
- description: 'Get all invite codes for a given account',
2990
+ description: 'Get all invite codes for a given account.',
2946
2991
  parameters: {
2947
2992
  type: 'params',
2948
2993
  properties: {
@@ -3022,7 +3067,7 @@ export const schemaDict = {
3022
3067
  defs: {
3023
3068
  main: {
3024
3069
  type: 'query',
3025
- description: 'List all app-specific passwords.',
3070
+ description: 'List all App Passwords.',
3026
3071
  output: {
3027
3072
  encoding: 'application/json',
3028
3073
  schema: {
@@ -3118,7 +3163,7 @@ export const schemaDict = {
3118
3163
  main: {
3119
3164
  type: 'procedure',
3120
3165
  description:
3121
- 'Request an email with a code to confirm ownership of email',
3166
+ 'Request an email with a code to confirm ownership of email.',
3122
3167
  },
3123
3168
  },
3124
3169
  },
@@ -3240,7 +3285,7 @@ export const schemaDict = {
3240
3285
  defs: {
3241
3286
  main: {
3242
3287
  type: 'procedure',
3243
- description: 'Revoke an app-specific password by name.',
3288
+ description: 'Revoke an App Password by name.',
3244
3289
  input: {
3245
3290
  encoding: 'application/json',
3246
3291
  schema: {
@@ -3329,7 +3374,7 @@ export const schemaDict = {
3329
3374
  defs: {
3330
3375
  main: {
3331
3376
  type: 'query',
3332
- description: 'Gets blocks from a given repo.',
3377
+ description: 'Get blocks from a given repo.',
3333
3378
  parameters: {
3334
3379
  type: 'params',
3335
3380
  required: ['did', 'cids'],
@@ -3424,7 +3469,7 @@ export const schemaDict = {
3424
3469
  defs: {
3425
3470
  main: {
3426
3471
  type: 'query',
3427
- description: 'Gets the current commit CID & revision of the repo.',
3472
+ description: 'Get the current commit CID & revision of the repo.',
3428
3473
  parameters: {
3429
3474
  type: 'params',
3430
3475
  required: ['did'],
@@ -3467,7 +3512,7 @@ export const schemaDict = {
3467
3512
  main: {
3468
3513
  type: 'query',
3469
3514
  description:
3470
- 'Gets blocks needed for existence or non-existence of record.',
3515
+ 'Get blocks needed for existence or non-existence of record.',
3471
3516
  parameters: {
3472
3517
  type: 'params',
3473
3518
  required: ['did', 'collection', 'rkey'],
@@ -3504,7 +3549,7 @@ export const schemaDict = {
3504
3549
  main: {
3505
3550
  type: 'query',
3506
3551
  description:
3507
- "Gets the did's repo, optionally catching up from a specific revision.",
3552
+ "Gets the DID's repo, optionally catching up from a specific revision.",
3508
3553
  parameters: {
3509
3554
  type: 'params',
3510
3555
  required: ['did'],
@@ -3532,7 +3577,7 @@ export const schemaDict = {
3532
3577
  defs: {
3533
3578
  main: {
3534
3579
  type: 'query',
3535
- description: 'List blob cids since some revision',
3580
+ description: 'List blob CIDs since some revision.',
3536
3581
  parameters: {
3537
3582
  type: 'params',
3538
3583
  required: ['did'],
@@ -3544,7 +3589,7 @@ export const schemaDict = {
3544
3589
  },
3545
3590
  since: {
3546
3591
  type: 'string',
3547
- description: 'Optional revision of the repo to list blobs since',
3592
+ description: 'Optional revision of the repo to list blobs since.',
3548
3593
  },
3549
3594
  limit: {
3550
3595
  type: 'integer',
@@ -3585,7 +3630,7 @@ export const schemaDict = {
3585
3630
  defs: {
3586
3631
  main: {
3587
3632
  type: 'query',
3588
- description: 'List dids and root cids of hosted repos',
3633
+ description: 'List DIDs and root CIDs of hosted repos.',
3589
3634
  parameters: {
3590
3635
  type: 'params',
3591
3636
  properties: {
@@ -3646,7 +3691,7 @@ export const schemaDict = {
3646
3691
  main: {
3647
3692
  type: 'procedure',
3648
3693
  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.',
3694
+ '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
3695
  input: {
3651
3696
  encoding: 'application/json',
3652
3697
  schema: {
@@ -3694,7 +3739,7 @@ export const schemaDict = {
3694
3739
  defs: {
3695
3740
  main: {
3696
3741
  type: 'subscription',
3697
- description: 'Subscribe to repo updates',
3742
+ description: 'Subscribe to repo updates.',
3698
3743
  parameters: {
3699
3744
  type: 'params',
3700
3745
  properties: {
@@ -3763,15 +3808,15 @@ export const schemaDict = {
3763
3808
  },
3764
3809
  rev: {
3765
3810
  type: 'string',
3766
- description: 'The rev of the emitted commit',
3811
+ description: 'The rev of the emitted commit.',
3767
3812
  },
3768
3813
  since: {
3769
3814
  type: 'string',
3770
- description: 'The rev of the last emitted commit from this repo',
3815
+ description: 'The rev of the last emitted commit from this repo.',
3771
3816
  },
3772
3817
  blocks: {
3773
3818
  type: 'bytes',
3774
- description: 'CAR file containing relevant blocks',
3819
+ description: 'CAR file containing relevant blocks.',
3775
3820
  maxLength: 1000000,
3776
3821
  },
3777
3822
  ops: {
@@ -3869,7 +3914,7 @@ export const schemaDict = {
3869
3914
  repoOp: {
3870
3915
  type: 'object',
3871
3916
  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.",
3917
+ "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
3918
  required: ['action', 'path', 'cid'],
3874
3919
  nullable: ['cid'],
3875
3920
  properties: {
@@ -3887,6 +3932,47 @@ export const schemaDict = {
3887
3932
  },
3888
3933
  },
3889
3934
  },
3935
+ ComAtprotoTempFetchLabels: {
3936
+ lexicon: 1,
3937
+ id: 'com.atproto.temp.fetchLabels',
3938
+ defs: {
3939
+ main: {
3940
+ type: 'query',
3941
+ description:
3942
+ 'Fetch all labels from a labeler created after a certain date.',
3943
+ parameters: {
3944
+ type: 'params',
3945
+ properties: {
3946
+ since: {
3947
+ type: 'integer',
3948
+ },
3949
+ limit: {
3950
+ type: 'integer',
3951
+ minimum: 1,
3952
+ maximum: 250,
3953
+ default: 50,
3954
+ },
3955
+ },
3956
+ },
3957
+ output: {
3958
+ encoding: 'application/json',
3959
+ schema: {
3960
+ type: 'object',
3961
+ required: ['labels'],
3962
+ properties: {
3963
+ labels: {
3964
+ type: 'array',
3965
+ items: {
3966
+ type: 'ref',
3967
+ ref: 'lex:com.atproto.label.defs#label',
3968
+ },
3969
+ },
3970
+ },
3971
+ },
3972
+ },
3973
+ },
3974
+ },
3975
+ },
3890
3976
  AppBskyActorDefs: {
3891
3977
  lexicon: 1,
3892
3978
  id: 'app.bsky.actor.defs',
@@ -4115,7 +4201,7 @@ export const schemaDict = {
4115
4201
  birthDate: {
4116
4202
  type: 'string',
4117
4203
  format: 'datetime',
4118
- description: 'The birth date of the owner of the account.',
4204
+ description: 'The birth date of account owner.',
4119
4205
  },
4120
4206
  },
4121
4207
  },
@@ -4157,7 +4243,7 @@ export const schemaDict = {
4157
4243
  properties: {
4158
4244
  sort: {
4159
4245
  type: 'string',
4160
- description: 'Sorting mode.',
4246
+ description: 'Sorting mode for threads.',
4161
4247
  knownValues: ['oldest', 'newest', 'most-likes', 'random'],
4162
4248
  },
4163
4249
  prioritizeFollowedUsers: {
@@ -4201,6 +4287,7 @@ export const schemaDict = {
4201
4287
  defs: {
4202
4288
  main: {
4203
4289
  type: 'query',
4290
+ description: 'Get detailed profile view of an actor.',
4204
4291
  parameters: {
4205
4292
  type: 'params',
4206
4293
  required: ['actor'],
@@ -4227,6 +4314,7 @@ export const schemaDict = {
4227
4314
  defs: {
4228
4315
  main: {
4229
4316
  type: 'query',
4317
+ description: 'Get detailed profile views of multiple actors.',
4230
4318
  parameters: {
4231
4319
  type: 'params',
4232
4320
  required: ['actors'],
@@ -4266,8 +4354,7 @@ export const schemaDict = {
4266
4354
  defs: {
4267
4355
  main: {
4268
4356
  type: 'query',
4269
- description:
4270
- 'Get a list of actors suggested for following. Used in discovery UIs.',
4357
+ description: 'Get a list of suggested actors, used for discovery.',
4271
4358
  parameters: {
4272
4359
  type: 'params',
4273
4360
  properties: {
@@ -4310,6 +4397,7 @@ export const schemaDict = {
4310
4397
  defs: {
4311
4398
  main: {
4312
4399
  type: 'record',
4400
+ description: 'A declaration of a profile.',
4313
4401
  key: 'literal:self',
4314
4402
  record: {
4315
4403
  type: 'object',
@@ -4349,7 +4437,7 @@ export const schemaDict = {
4349
4437
  defs: {
4350
4438
  main: {
4351
4439
  type: 'procedure',
4352
- description: 'Sets the private preferences attached to the account.',
4440
+ description: 'Set the private preferences attached to the account.',
4353
4441
  input: {
4354
4442
  encoding: 'application/json',
4355
4443
  schema: {
@@ -4378,12 +4466,12 @@ export const schemaDict = {
4378
4466
  properties: {
4379
4467
  term: {
4380
4468
  type: 'string',
4381
- description: "DEPRECATED: use 'q' instead",
4469
+ description: "DEPRECATED: use 'q' instead.",
4382
4470
  },
4383
4471
  q: {
4384
4472
  type: 'string',
4385
4473
  description:
4386
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended',
4474
+ 'Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
4387
4475
  },
4388
4476
  limit: {
4389
4477
  type: 'integer',
@@ -4424,17 +4512,17 @@ export const schemaDict = {
4424
4512
  defs: {
4425
4513
  main: {
4426
4514
  type: 'query',
4427
- description: 'Find actor suggestions for a search term.',
4515
+ description: 'Find actor suggestions for a prefix search term.',
4428
4516
  parameters: {
4429
4517
  type: 'params',
4430
4518
  properties: {
4431
4519
  term: {
4432
4520
  type: 'string',
4433
- description: "DEPRECATED: use 'q' instead",
4521
+ description: "DEPRECATED: use 'q' instead.",
4434
4522
  },
4435
4523
  q: {
4436
4524
  type: 'string',
4437
- description: 'search query prefix; not a full query string',
4525
+ description: 'Search query prefix; not a full query string.',
4438
4526
  },
4439
4527
  limit: {
4440
4528
  type: 'integer',
@@ -4467,7 +4555,7 @@ export const schemaDict = {
4467
4555
  lexicon: 1,
4468
4556
  id: 'app.bsky.embed.external',
4469
4557
  description:
4470
- 'A representation of some externally linked content, embedded in another form of content',
4558
+ 'A representation of some externally linked content, embedded in another form of content.',
4471
4559
  defs: {
4472
4560
  main: {
4473
4561
  type: 'object',
@@ -4534,7 +4622,7 @@ export const schemaDict = {
4534
4622
  AppBskyEmbedImages: {
4535
4623
  lexicon: 1,
4536
4624
  id: 'app.bsky.embed.images',
4537
- description: 'A set of images embedded in some other form of content',
4625
+ description: 'A set of images embedded in some other form of content.',
4538
4626
  defs: {
4539
4627
  main: {
4540
4628
  type: 'object',
@@ -4623,7 +4711,7 @@ export const schemaDict = {
4623
4711
  lexicon: 1,
4624
4712
  id: 'app.bsky.embed.record',
4625
4713
  description:
4626
- 'A representation of a record embedded in another form of content',
4714
+ 'A representation of a record embedded in another form of content.',
4627
4715
  defs: {
4628
4716
  main: {
4629
4717
  type: 'object',
@@ -4733,7 +4821,7 @@ export const schemaDict = {
4733
4821
  lexicon: 1,
4734
4822
  id: 'app.bsky.embed.recordWithMedia',
4735
4823
  description:
4736
- 'A representation of a record embedded in another form of content, alongside other compatible embeds',
4824
+ 'A representation of a record embedded in another form of content, alongside other compatible embeds.',
4737
4825
  defs: {
4738
4826
  main: {
4739
4827
  type: 'object',
@@ -5101,7 +5189,7 @@ export const schemaDict = {
5101
5189
  main: {
5102
5190
  type: 'query',
5103
5191
  description:
5104
- 'Returns information about a given feed generator including TOS & offered feed URIs',
5192
+ 'Get information about a feed generator, including policies and offered feed URIs.',
5105
5193
  output: {
5106
5194
  encoding: 'application/json',
5107
5195
  schema: {
@@ -5156,7 +5244,7 @@ export const schemaDict = {
5156
5244
  defs: {
5157
5245
  main: {
5158
5246
  type: 'record',
5159
- description: 'A declaration of the existence of a feed generator',
5247
+ description: 'A declaration of the existence of a feed generator.',
5160
5248
  key: 'any',
5161
5249
  record: {
5162
5250
  type: 'object',
@@ -5207,7 +5295,7 @@ export const schemaDict = {
5207
5295
  defs: {
5208
5296
  main: {
5209
5297
  type: 'query',
5210
- description: 'Retrieve a list of feeds created by a given actor',
5298
+ description: 'Get a list of feeds created by the actor.',
5211
5299
  parameters: {
5212
5300
  type: 'params',
5213
5301
  required: ['actor'],
@@ -5255,7 +5343,7 @@ export const schemaDict = {
5255
5343
  defs: {
5256
5344
  main: {
5257
5345
  type: 'query',
5258
- description: 'A view of the posts liked by an actor.',
5346
+ description: 'Get a list of posts liked by an actor.',
5259
5347
  parameters: {
5260
5348
  type: 'params',
5261
5349
  required: ['actor'],
@@ -5311,7 +5399,7 @@ export const schemaDict = {
5311
5399
  defs: {
5312
5400
  main: {
5313
5401
  type: 'query',
5314
- description: "A view of an actor's feed.",
5402
+ description: "Get a view of an actor's feed.",
5315
5403
  parameters: {
5316
5404
  type: 'params',
5317
5405
  required: ['actor'],
@@ -5377,7 +5465,7 @@ export const schemaDict = {
5377
5465
  main: {
5378
5466
  type: 'query',
5379
5467
  description:
5380
- "Compose and hydrate a feed from a user's selected feed generator",
5468
+ "Get a hydrated feed from an actor's selected feed generator.",
5381
5469
  parameters: {
5382
5470
  type: 'params',
5383
5471
  required: ['feed'],
@@ -5430,8 +5518,7 @@ export const schemaDict = {
5430
5518
  defs: {
5431
5519
  main: {
5432
5520
  type: 'query',
5433
- description:
5434
- 'Get information about a specific feed offered by a feed generator, such as its online status',
5521
+ description: 'Get information about a feed generator.',
5435
5522
  parameters: {
5436
5523
  type: 'params',
5437
5524
  required: ['feed'],
@@ -5470,7 +5557,7 @@ export const schemaDict = {
5470
5557
  defs: {
5471
5558
  main: {
5472
5559
  type: 'query',
5473
- description: 'Get information about a list of feed generators',
5560
+ description: 'Get information about a list of feed generators.',
5474
5561
  parameters: {
5475
5562
  type: 'params',
5476
5563
  required: ['feeds'],
@@ -5509,7 +5596,7 @@ export const schemaDict = {
5509
5596
  defs: {
5510
5597
  main: {
5511
5598
  type: 'query',
5512
- description: 'A skeleton of a feed provided by a feed generator',
5599
+ description: 'Get a skeleton of a feed provided by a feed generator.',
5513
5600
  parameters: {
5514
5601
  type: 'params',
5515
5602
  required: ['feed'],
@@ -5562,6 +5649,7 @@ export const schemaDict = {
5562
5649
  defs: {
5563
5650
  main: {
5564
5651
  type: 'query',
5652
+ description: 'Get the list of likes.',
5565
5653
  parameters: {
5566
5654
  type: 'params',
5567
5655
  required: ['uri'],
@@ -5639,7 +5727,7 @@ export const schemaDict = {
5639
5727
  defs: {
5640
5728
  main: {
5641
5729
  type: 'query',
5642
- description: 'A view of a recent posts from actors in a list',
5730
+ description: 'Get a view of a recent posts from actors in a list.',
5643
5731
  parameters: {
5644
5732
  type: 'params',
5645
5733
  required: ['list'],
@@ -5692,6 +5780,7 @@ export const schemaDict = {
5692
5780
  defs: {
5693
5781
  main: {
5694
5782
  type: 'query',
5783
+ description: 'Get posts in a thread.',
5695
5784
  parameters: {
5696
5785
  type: 'params',
5697
5786
  required: ['uri'],
@@ -5745,7 +5834,7 @@ export const schemaDict = {
5745
5834
  defs: {
5746
5835
  main: {
5747
5836
  type: 'query',
5748
- description: "A view of an actor's feed.",
5837
+ description: "Get a view of an actor's feed.",
5749
5838
  parameters: {
5750
5839
  type: 'params',
5751
5840
  required: ['uris'],
@@ -5785,6 +5874,7 @@ export const schemaDict = {
5785
5874
  defs: {
5786
5875
  main: {
5787
5876
  type: 'query',
5877
+ description: 'Get a list of reposts.',
5788
5878
  parameters: {
5789
5879
  type: 'params',
5790
5880
  required: ['uri'],
@@ -5887,7 +5977,7 @@ export const schemaDict = {
5887
5977
  defs: {
5888
5978
  main: {
5889
5979
  type: 'query',
5890
- description: "A view of the user's home timeline.",
5980
+ description: "Get a view of the actor's home timeline.",
5891
5981
  parameters: {
5892
5982
  type: 'params',
5893
5983
  properties: {
@@ -5933,6 +6023,7 @@ export const schemaDict = {
5933
6023
  defs: {
5934
6024
  main: {
5935
6025
  type: 'record',
6026
+ description: 'A declaration of a like.',
5936
6027
  key: 'tid',
5937
6028
  record: {
5938
6029
  type: 'object',
@@ -5957,6 +6048,7 @@ export const schemaDict = {
5957
6048
  defs: {
5958
6049
  main: {
5959
6050
  type: 'record',
6051
+ description: 'A declaration of a post.',
5960
6052
  key: 'tid',
5961
6053
  record: {
5962
6054
  type: 'object',
@@ -6079,6 +6171,7 @@ export const schemaDict = {
6079
6171
  id: 'app.bsky.feed.repost',
6080
6172
  defs: {
6081
6173
  main: {
6174
+ description: 'A declaration of a repost.',
6082
6175
  type: 'record',
6083
6176
  key: 'tid',
6084
6177
  record: {
@@ -6104,7 +6197,7 @@ export const schemaDict = {
6104
6197
  defs: {
6105
6198
  main: {
6106
6199
  type: 'query',
6107
- description: 'Find posts matching search criteria',
6200
+ description: 'Find posts matching search criteria.',
6108
6201
  parameters: {
6109
6202
  type: 'params',
6110
6203
  required: ['q'],
@@ -6112,7 +6205,7 @@ export const schemaDict = {
6112
6205
  q: {
6113
6206
  type: 'string',
6114
6207
  description:
6115
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended',
6208
+ 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
6116
6209
  },
6117
6210
  limit: {
6118
6211
  type: 'integer',
@@ -6123,7 +6216,7 @@ export const schemaDict = {
6123
6216
  cursor: {
6124
6217
  type: 'string',
6125
6218
  description:
6126
- 'optional pagination mechanism; may not necessarily allow scrolling through entire result set',
6219
+ 'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
6127
6220
  },
6128
6221
  },
6129
6222
  },
@@ -6139,7 +6232,7 @@ export const schemaDict = {
6139
6232
  hitsTotal: {
6140
6233
  type: 'integer',
6141
6234
  description:
6142
- 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits',
6235
+ 'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
6143
6236
  },
6144
6237
  posts: {
6145
6238
  type: 'array',
@@ -6224,7 +6317,7 @@ export const schemaDict = {
6224
6317
  defs: {
6225
6318
  main: {
6226
6319
  type: 'record',
6227
- description: 'A block.',
6320
+ description: 'A declaration of a block.',
6228
6321
  key: 'tid',
6229
6322
  record: {
6230
6323
  type: 'object',
@@ -6351,12 +6444,12 @@ export const schemaDict = {
6351
6444
  modlist: {
6352
6445
  type: 'token',
6353
6446
  description:
6354
- 'A list of actors to apply an aggregate moderation action (mute/block) on',
6447
+ 'A list of actors to apply an aggregate moderation action (mute/block) on.',
6355
6448
  },
6356
6449
  curatelist: {
6357
6450
  type: 'token',
6358
6451
  description:
6359
- 'A list of actors used for curation purposes such as list feeds or interaction gating',
6452
+ 'A list of actors used for curation purposes such as list feeds or interaction gating.',
6360
6453
  },
6361
6454
  listViewerState: {
6362
6455
  type: 'object',
@@ -6378,7 +6471,7 @@ export const schemaDict = {
6378
6471
  defs: {
6379
6472
  main: {
6380
6473
  type: 'record',
6381
- description: 'A social follow.',
6474
+ description: 'A declaration of a social follow.',
6382
6475
  key: 'tid',
6383
6476
  record: {
6384
6477
  type: 'object',
@@ -6403,7 +6496,7 @@ export const schemaDict = {
6403
6496
  defs: {
6404
6497
  main: {
6405
6498
  type: 'query',
6406
- description: "Who is the requester's account blocking?",
6499
+ description: 'Get a list of who the actor is blocking.',
6407
6500
  parameters: {
6408
6501
  type: 'params',
6409
6502
  properties: {
@@ -6446,7 +6539,7 @@ export const schemaDict = {
6446
6539
  defs: {
6447
6540
  main: {
6448
6541
  type: 'query',
6449
- description: 'Who is following an actor?',
6542
+ description: "Get a list of an actor's followers.",
6450
6543
  parameters: {
6451
6544
  type: 'params',
6452
6545
  required: ['actor'],
@@ -6498,7 +6591,7 @@ export const schemaDict = {
6498
6591
  defs: {
6499
6592
  main: {
6500
6593
  type: 'query',
6501
- description: 'Who is an actor following?',
6594
+ description: 'Get a list of who the actor follows.',
6502
6595
  parameters: {
6503
6596
  type: 'params',
6504
6597
  required: ['actor'],
@@ -6550,7 +6643,7 @@ export const schemaDict = {
6550
6643
  defs: {
6551
6644
  main: {
6552
6645
  type: 'query',
6553
- description: 'Fetch a list of actors',
6646
+ description: 'Get a list of actors.',
6554
6647
  parameters: {
6555
6648
  type: 'params',
6556
6649
  required: ['list'],
@@ -6602,7 +6695,7 @@ export const schemaDict = {
6602
6695
  defs: {
6603
6696
  main: {
6604
6697
  type: 'query',
6605
- description: "Which lists is the requester's account blocking?",
6698
+ description: 'Get lists that the actor is blocking.',
6606
6699
  parameters: {
6607
6700
  type: 'params',
6608
6701
  properties: {
@@ -6645,7 +6738,7 @@ export const schemaDict = {
6645
6738
  defs: {
6646
6739
  main: {
6647
6740
  type: 'query',
6648
- description: "Which lists is the requester's account muting?",
6741
+ description: 'Get lists that the actor is muting.',
6649
6742
  parameters: {
6650
6743
  type: 'params',
6651
6744
  properties: {
@@ -6688,7 +6781,7 @@ export const schemaDict = {
6688
6781
  defs: {
6689
6782
  main: {
6690
6783
  type: 'query',
6691
- description: 'Fetch a list of lists that belong to an actor',
6784
+ description: 'Get a list of lists that belong to an actor.',
6692
6785
  parameters: {
6693
6786
  type: 'params',
6694
6787
  required: ['actor'],
@@ -6736,7 +6829,7 @@ export const schemaDict = {
6736
6829
  defs: {
6737
6830
  main: {
6738
6831
  type: 'query',
6739
- description: 'Who does the viewer mute?',
6832
+ description: 'Get a list of who the actor mutes.',
6740
6833
  parameters: {
6741
6834
  type: 'params',
6742
6835
  properties: {
@@ -6891,7 +6984,7 @@ export const schemaDict = {
6891
6984
  defs: {
6892
6985
  main: {
6893
6986
  type: 'record',
6894
- description: 'An item under a declared list of actors',
6987
+ description: 'An item under a declared list of actors.',
6895
6988
  key: 'tid',
6896
6989
  record: {
6897
6990
  type: 'object',
@@ -6920,7 +7013,7 @@ export const schemaDict = {
6920
7013
  defs: {
6921
7014
  main: {
6922
7015
  type: 'procedure',
6923
- description: 'Mute an actor by did or handle.',
7016
+ description: 'Mute an actor by DID or handle.',
6924
7017
  input: {
6925
7018
  encoding: 'application/json',
6926
7019
  schema: {
@@ -6966,7 +7059,7 @@ export const schemaDict = {
6966
7059
  defs: {
6967
7060
  main: {
6968
7061
  type: 'procedure',
6969
- description: 'Unmute an actor by did or handle.',
7062
+ description: 'Unmute an actor by DID or handle.',
6970
7063
  input: {
6971
7064
  encoding: 'application/json',
6972
7065
  schema: {
@@ -7012,6 +7105,7 @@ export const schemaDict = {
7012
7105
  defs: {
7013
7106
  main: {
7014
7107
  type: 'query',
7108
+ description: 'Get the count of unread notifications.',
7015
7109
  parameters: {
7016
7110
  type: 'params',
7017
7111
  properties: {
@@ -7042,6 +7136,7 @@ export const schemaDict = {
7042
7136
  defs: {
7043
7137
  main: {
7044
7138
  type: 'query',
7139
+ description: 'Get a list of notifications.',
7045
7140
  parameters: {
7046
7141
  type: 'params',
7047
7142
  properties: {
@@ -7148,7 +7243,7 @@ export const schemaDict = {
7148
7243
  defs: {
7149
7244
  main: {
7150
7245
  type: 'procedure',
7151
- description: 'Register for push notifications with a service',
7246
+ description: 'Register for push notifications with a service.',
7152
7247
  input: {
7153
7248
  encoding: 'application/json',
7154
7249
  schema: {
@@ -7308,7 +7403,7 @@ export const schemaDict = {
7308
7403
  main: {
7309
7404
  type: 'query',
7310
7405
  description:
7311
- 'DEPRECATED: will be removed soon, please find a feed generator alternative',
7406
+ 'DEPRECATED: will be removed soon. Use a feed generator alternative.',
7312
7407
  parameters: {
7313
7408
  type: 'params',
7314
7409
  properties: {
@@ -7355,7 +7450,7 @@ export const schemaDict = {
7355
7450
  defs: {
7356
7451
  main: {
7357
7452
  type: 'query',
7358
- description: 'An unspecced view of globally popular feed generators',
7453
+ description: 'An unspecced view of globally popular feed generators.',
7359
7454
  parameters: {
7360
7455
  type: 'params',
7361
7456
  properties: {
@@ -7401,7 +7496,8 @@ export const schemaDict = {
7401
7496
  defs: {
7402
7497
  main: {
7403
7498
  type: 'query',
7404
- description: 'A skeleton of a timeline - UNSPECCED & WILL GO AWAY SOON',
7499
+ description:
7500
+ 'DEPRECATED: a skeleton of a timeline. Unspecced and will be unavailable soon.',
7405
7501
  parameters: {
7406
7502
  type: 'params',
7407
7503
  properties: {
@@ -7449,7 +7545,7 @@ export const schemaDict = {
7449
7545
  defs: {
7450
7546
  main: {
7451
7547
  type: 'query',
7452
- description: 'Backend Actors (profile) search, returning only skeleton',
7548
+ description: 'Backend Actors (profile) search, returns only skeleton.',
7453
7549
  parameters: {
7454
7550
  type: 'params',
7455
7551
  required: ['q'],
@@ -7457,11 +7553,11 @@ export const schemaDict = {
7457
7553
  q: {
7458
7554
  type: 'string',
7459
7555
  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',
7556
+ '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
7557
  },
7462
7558
  typeahead: {
7463
7559
  type: 'boolean',
7464
- description: "if true, acts as fast/simple 'typeahead' query",
7560
+ description: "If true, acts as fast/simple 'typeahead' query.",
7465
7561
  },
7466
7562
  limit: {
7467
7563
  type: 'integer',
@@ -7472,7 +7568,7 @@ export const schemaDict = {
7472
7568
  cursor: {
7473
7569
  type: 'string',
7474
7570
  description:
7475
- 'optional pagination mechanism; may not necessarily allow scrolling through entire result set',
7571
+ 'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
7476
7572
  },
7477
7573
  },
7478
7574
  },
@@ -7488,7 +7584,7 @@ export const schemaDict = {
7488
7584
  hitsTotal: {
7489
7585
  type: 'integer',
7490
7586
  description:
7491
- 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits',
7587
+ 'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
7492
7588
  },
7493
7589
  actors: {
7494
7590
  type: 'array',
@@ -7514,7 +7610,7 @@ export const schemaDict = {
7514
7610
  defs: {
7515
7611
  main: {
7516
7612
  type: 'query',
7517
- description: 'Backend Posts search, returning only skeleton',
7613
+ description: 'Backend Posts search, returns only skeleton',
7518
7614
  parameters: {
7519
7615
  type: 'params',
7520
7616
  required: ['q'],
@@ -7522,7 +7618,7 @@ export const schemaDict = {
7522
7618
  q: {
7523
7619
  type: 'string',
7524
7620
  description:
7525
- 'search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended',
7621
+ 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
7526
7622
  },
7527
7623
  limit: {
7528
7624
  type: 'integer',
@@ -7533,7 +7629,7 @@ export const schemaDict = {
7533
7629
  cursor: {
7534
7630
  type: 'string',
7535
7631
  description:
7536
- 'optional pagination mechanism; may not necessarily allow scrolling through entire result set',
7632
+ 'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
7537
7633
  },
7538
7634
  },
7539
7635
  },
@@ -7549,7 +7645,7 @@ export const schemaDict = {
7549
7645
  hitsTotal: {
7550
7646
  type: 'integer',
7551
7647
  description:
7552
- 'count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits',
7648
+ 'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
7553
7649
  },
7554
7650
  posts: {
7555
7651
  type: 'array',
@@ -7577,23 +7673,20 @@ export const ids = {
7577
7673
  ComAtprotoAdminDisableAccountInvites:
7578
7674
  'com.atproto.admin.disableAccountInvites',
7579
7675
  ComAtprotoAdminDisableInviteCodes: 'com.atproto.admin.disableInviteCodes',
7676
+ ComAtprotoAdminEmitModerationEvent: 'com.atproto.admin.emitModerationEvent',
7580
7677
  ComAtprotoAdminEnableAccountInvites: 'com.atproto.admin.enableAccountInvites',
7581
7678
  ComAtprotoAdminGetAccountInfo: 'com.atproto.admin.getAccountInfo',
7582
7679
  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',
7680
+ ComAtprotoAdminGetModerationEvent: 'com.atproto.admin.getModerationEvent',
7587
7681
  ComAtprotoAdminGetRecord: 'com.atproto.admin.getRecord',
7588
7682
  ComAtprotoAdminGetRepo: 'com.atproto.admin.getRepo',
7589
7683
  ComAtprotoAdminGetSubjectStatus: 'com.atproto.admin.getSubjectStatus',
7590
- ComAtprotoAdminResolveModerationReports:
7591
- 'com.atproto.admin.resolveModerationReports',
7592
- ComAtprotoAdminReverseModerationAction:
7593
- 'com.atproto.admin.reverseModerationAction',
7684
+ ComAtprotoAdminQueryModerationEvents:
7685
+ 'com.atproto.admin.queryModerationEvents',
7686
+ ComAtprotoAdminQueryModerationStatuses:
7687
+ 'com.atproto.admin.queryModerationStatuses',
7594
7688
  ComAtprotoAdminSearchRepos: 'com.atproto.admin.searchRepos',
7595
7689
  ComAtprotoAdminSendEmail: 'com.atproto.admin.sendEmail',
7596
- ComAtprotoAdminTakeModerationAction: 'com.atproto.admin.takeModerationAction',
7597
7690
  ComAtprotoAdminUpdateAccountEmail: 'com.atproto.admin.updateAccountEmail',
7598
7691
  ComAtprotoAdminUpdateAccountHandle: 'com.atproto.admin.updateAccountHandle',
7599
7692
  ComAtprotoAdminUpdateSubjectStatus: 'com.atproto.admin.updateSubjectStatus',
@@ -7651,6 +7744,7 @@ export const ids = {
7651
7744
  ComAtprotoSyncNotifyOfUpdate: 'com.atproto.sync.notifyOfUpdate',
7652
7745
  ComAtprotoSyncRequestCrawl: 'com.atproto.sync.requestCrawl',
7653
7746
  ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
7747
+ ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
7654
7748
  AppBskyActorDefs: 'app.bsky.actor.defs',
7655
7749
  AppBskyActorGetPreferences: 'app.bsky.actor.getPreferences',
7656
7750
  AppBskyActorGetProfile: 'app.bsky.actor.getProfile',