@atproto/api 0.31.2 → 0.32.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.
@@ -23605,6 +23605,24 @@ export declare const schemaDict: {
23605
23605
  readonly type: 'boolean';
23606
23606
  readonly description: 'Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID.';
23607
23607
  };
23608
+ readonly subjects: {
23609
+ readonly type: 'array';
23610
+ readonly maxLength: 100;
23611
+ readonly items: {
23612
+ readonly type: 'union';
23613
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
23614
+ };
23615
+ readonly description: 'Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with `subjectTypes`.';
23616
+ };
23617
+ readonly subjectTypes: {
23618
+ readonly type: 'array';
23619
+ readonly maxLength: 4;
23620
+ readonly items: {
23621
+ readonly type: 'string';
23622
+ readonly enum: ["account", "record", "message", "conversation"];
23623
+ };
23624
+ readonly description: 'Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with `subjects`.';
23625
+ };
23608
23626
  readonly note: {
23609
23627
  readonly type: 'string';
23610
23628
  readonly description: 'Note to send to reporter(s) when actioning their report';
@@ -23617,6 +23635,132 @@ export declare const schemaDict: {
23617
23635
  };
23618
23636
  };
23619
23637
  };
23638
+ readonly ToolsOzoneModerationEmitEvents: {
23639
+ readonly lexicon: 1;
23640
+ readonly id: 'tools.ozone.moderation.emitEvents';
23641
+ readonly defs: {
23642
+ readonly main: {
23643
+ readonly type: 'procedure';
23644
+ readonly description: 'Take a moderation action on multiple subjects at once. Each subject is processed independently; failures are listed in failedEvents. Only the listed event types are supported.';
23645
+ readonly input: {
23646
+ readonly encoding: 'application/json';
23647
+ readonly schema: {
23648
+ readonly type: 'object';
23649
+ readonly required: ["event", "subjects", "createdBy"];
23650
+ readonly properties: {
23651
+ readonly event: {
23652
+ readonly type: 'union';
23653
+ readonly refs: ["lex:tools.ozone.moderation.defs#modEventTakedown", "lex:tools.ozone.moderation.defs#modEventAcknowledge", "lex:tools.ozone.moderation.defs#modEventLabel", "lex:tools.ozone.moderation.defs#modEventReport", "lex:tools.ozone.moderation.defs#modEventReverseTakedown", "lex:tools.ozone.moderation.defs#modEventResolveAppeal", "lex:tools.ozone.moderation.defs#modEventEmail", "lex:tools.ozone.moderation.defs#modEventTag", "lex:tools.ozone.moderation.defs#revokeAccountCredentialsEvent"];
23654
+ };
23655
+ readonly subjects: {
23656
+ readonly type: 'array';
23657
+ readonly description: 'Array of subjects to apply the moderation event to.';
23658
+ readonly maxLength: 100;
23659
+ readonly items: {
23660
+ readonly type: 'ref';
23661
+ readonly ref: 'lex:tools.ozone.moderation.emitEvents#subjectEntry';
23662
+ };
23663
+ };
23664
+ readonly createdBy: {
23665
+ readonly type: 'string';
23666
+ readonly format: 'did';
23667
+ };
23668
+ readonly modTool: {
23669
+ readonly type: 'ref';
23670
+ readonly ref: 'lex:tools.ozone.moderation.defs#modTool';
23671
+ };
23672
+ };
23673
+ };
23674
+ };
23675
+ readonly output: {
23676
+ readonly encoding: 'application/json';
23677
+ readonly schema: {
23678
+ readonly type: 'object';
23679
+ readonly required: ["events", "failedEvents"];
23680
+ readonly properties: {
23681
+ readonly events: {
23682
+ readonly type: 'array';
23683
+ readonly description: 'Successfully processed moderation events.';
23684
+ readonly items: {
23685
+ readonly type: 'ref';
23686
+ readonly ref: 'lex:tools.ozone.moderation.defs#modEventView';
23687
+ };
23688
+ };
23689
+ readonly failedEvents: {
23690
+ readonly type: 'array';
23691
+ readonly description: 'Events that failed to process.';
23692
+ readonly items: {
23693
+ readonly type: 'ref';
23694
+ readonly ref: 'lex:tools.ozone.moderation.emitEvents#failedEvent';
23695
+ };
23696
+ };
23697
+ };
23698
+ };
23699
+ };
23700
+ readonly errors: [{
23701
+ readonly name: 'InvalidLabel';
23702
+ readonly description: 'One or more labels contain invalid characters.';
23703
+ }, {
23704
+ readonly name: 'DuplicateSubjects';
23705
+ readonly description: 'The subjects array contains duplicate entries.';
23706
+ }, {
23707
+ readonly name: 'EmptySubjects';
23708
+ readonly description: 'The subjects array is empty.';
23709
+ }, {
23710
+ readonly name: 'UnsupportedEvent';
23711
+ readonly description: 'The event type is not supported by this bulk endpoint.';
23712
+ }];
23713
+ };
23714
+ readonly subjectEntry: {
23715
+ readonly type: 'object';
23716
+ readonly description: 'A subject with optional blob CIDs, external event ID, and report-level targeting. Report targeting applies only to this entry.';
23717
+ readonly required: ["subject"];
23718
+ readonly properties: {
23719
+ readonly subject: {
23720
+ readonly type: 'union';
23721
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
23722
+ };
23723
+ readonly subjectBlobCids: {
23724
+ readonly type: 'array';
23725
+ readonly items: {
23726
+ readonly type: 'string';
23727
+ readonly format: 'cid';
23728
+ };
23729
+ };
23730
+ readonly externalId: {
23731
+ readonly type: 'string';
23732
+ readonly description: 'Deduplicate events of this type for this subject using an external ID.';
23733
+ };
23734
+ readonly reportAction: {
23735
+ readonly type: 'ref';
23736
+ readonly ref: 'lex:tools.ozone.moderation.emitEvent#reportAction';
23737
+ readonly description: 'Optional report-level targeting for this subject. Links the event to matching reports and may notify reporters.';
23738
+ };
23739
+ };
23740
+ };
23741
+ readonly failedEvent: {
23742
+ readonly type: 'object';
23743
+ readonly description: 'An event that failed to process.';
23744
+ readonly required: ["error", "subject"];
23745
+ readonly properties: {
23746
+ readonly error: {
23747
+ readonly type: 'string';
23748
+ readonly description: 'Error message describing the reason for failure.';
23749
+ };
23750
+ readonly errorName: {
23751
+ readonly type: 'string';
23752
+ readonly description: 'Typed error identifier for programmatic handling. Omitted when the error is unexpected/uncategorized.';
23753
+ readonly knownValues: ["InvalidSubject", "SubjectHasAction", "AlreadyTakendown", "NotTakendown", "DuplicateExternalId", "InvalidConfiguration", "InvalidRequest"];
23754
+ };
23755
+ readonly subject: {
23756
+ readonly type: 'union';
23757
+ readonly description: 'The subject from the failed event input.';
23758
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
23759
+ };
23760
+ };
23761
+ };
23762
+ };
23763
+ };
23620
23764
  readonly ToolsOzoneModerationGetAccountPreferences: {
23621
23765
  readonly lexicon: 1;
23622
23766
  readonly id: 'tools.ozone.moderation.getAccountPreferences';
@@ -25372,7 +25516,7 @@ export declare const schemaDict: {
25372
25516
  readonly defs: {
25373
25517
  readonly main: {
25374
25518
  readonly type: 'procedure';
25375
- readonly description: 'Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded. Reports whose current status does not permit a transition to closed are skipped silently.';
25519
+ readonly description: 'Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId. Reports whose current status does not permit a transition to closed are skipped silently.';
25376
25520
  readonly input: {
25377
25521
  readonly encoding: 'application/json';
25378
25522
  readonly schema: {
@@ -25389,12 +25533,17 @@ export declare const schemaDict: {
25389
25533
  readonly default: false;
25390
25534
  readonly description: 'If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.';
25391
25535
  };
25536
+ readonly reportId: {
25537
+ readonly type: 'integer';
25538
+ readonly minimum: 1;
25539
+ readonly description: 'An explicitly targeted report in the requested subject scope. It is included even if assigned, escalated, or not in reportTypes; excludedReportTypes still applies.';
25540
+ };
25392
25541
  readonly reportTypes: {
25393
25542
  readonly type: 'array';
25394
25543
  readonly items: {
25395
25544
  readonly type: 'string';
25396
25545
  };
25397
- readonly description: 'If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned and escalated reports are always excluded.';
25546
+ readonly description: 'If nonempty, eligible reports of the given report types (fully qualified reason NSIDs) are closed, in addition to reportId. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId.';
25398
25547
  };
25399
25548
  readonly excludedReportTypes: {
25400
25549
  readonly type: 'array';
@@ -26560,6 +26709,113 @@ export declare const schemaDict: {
26560
26709
  };
26561
26710
  };
26562
26711
  };
26712
+ readonly ToolsOzoneReportQueryModeratorActivity: {
26713
+ readonly lexicon: 1;
26714
+ readonly id: 'tools.ozone.report.queryModeratorActivity';
26715
+ readonly defs: {
26716
+ readonly main: {
26717
+ readonly type: 'query';
26718
+ readonly description: 'Read authorized moderator events and report activity in one chronological history.';
26719
+ readonly parameters: {
26720
+ readonly type: 'params';
26721
+ readonly required: ["moderator", "createdAfter", "createdBefore"];
26722
+ readonly properties: {
26723
+ readonly moderator: {
26724
+ readonly type: 'string';
26725
+ readonly format: 'did';
26726
+ };
26727
+ readonly createdAfter: {
26728
+ readonly type: 'string';
26729
+ readonly format: 'datetime';
26730
+ readonly description: 'Inclusive UTC lower bound.';
26731
+ };
26732
+ readonly createdBefore: {
26733
+ readonly type: 'string';
26734
+ readonly format: 'datetime';
26735
+ readonly description: 'Exclusive UTC upper bound.';
26736
+ };
26737
+ readonly types: {
26738
+ readonly type: 'array';
26739
+ readonly maxLength: 40;
26740
+ readonly items: {
26741
+ readonly type: 'string';
26742
+ };
26743
+ };
26744
+ readonly limit: {
26745
+ readonly type: 'integer';
26746
+ readonly minimum: 1;
26747
+ readonly maximum: 100;
26748
+ readonly default: 50;
26749
+ };
26750
+ readonly cursor: {
26751
+ readonly type: 'string';
26752
+ readonly maxLength: 512;
26753
+ };
26754
+ };
26755
+ };
26756
+ readonly output: {
26757
+ readonly encoding: 'application/json';
26758
+ readonly schema: {
26759
+ readonly type: 'object';
26760
+ readonly required: ["rows"];
26761
+ readonly properties: {
26762
+ readonly rows: {
26763
+ readonly type: 'array';
26764
+ readonly items: {
26765
+ readonly type: 'ref';
26766
+ readonly ref: 'lex:tools.ozone.report.queryModeratorActivity#activityRow';
26767
+ };
26768
+ };
26769
+ readonly cursor: {
26770
+ readonly type: 'string';
26771
+ };
26772
+ };
26773
+ };
26774
+ };
26775
+ };
26776
+ readonly activityRow: {
26777
+ readonly type: 'object';
26778
+ readonly required: ["source", "id", "createdAt", "createdBy", "type"];
26779
+ readonly properties: {
26780
+ readonly source: {
26781
+ readonly type: 'string';
26782
+ readonly enum: ["event", "activity"];
26783
+ };
26784
+ readonly id: {
26785
+ readonly type: 'integer';
26786
+ };
26787
+ readonly createdAt: {
26788
+ readonly type: 'string';
26789
+ readonly format: 'datetime';
26790
+ };
26791
+ readonly createdBy: {
26792
+ readonly type: 'string';
26793
+ readonly format: 'did';
26794
+ };
26795
+ readonly type: {
26796
+ readonly type: 'string';
26797
+ };
26798
+ readonly subject: {
26799
+ readonly type: 'string';
26800
+ };
26801
+ readonly reportId: {
26802
+ readonly type: 'integer';
26803
+ };
26804
+ readonly actionEventId: {
26805
+ readonly type: 'integer';
26806
+ };
26807
+ readonly event: {
26808
+ readonly type: 'ref';
26809
+ readonly ref: 'lex:tools.ozone.moderation.defs#modEventView';
26810
+ };
26811
+ readonly activity: {
26812
+ readonly type: 'ref';
26813
+ readonly ref: 'lex:tools.ozone.report.defs#reportActivityView';
26814
+ };
26815
+ };
26816
+ };
26817
+ };
26818
+ };
26563
26819
  readonly ToolsOzoneReportQueryReports: {
26564
26820
  readonly lexicon: 1;
26565
26821
  readonly id: 'tools.ozone.report.queryReports';
@@ -51951,6 +52207,24 @@ export declare const schemas: ({
51951
52207
  readonly type: 'boolean';
51952
52208
  readonly description: 'Target all eligible reports on the account and its owned subjects, including records, messages, and conversations. Only valid for account subjects and events that close reports. Excludes assigned, escalated, and actively assigned reports unless explicitly targeted by ID.';
51953
52209
  };
52210
+ readonly subjects: {
52211
+ readonly type: 'array';
52212
+ readonly maxLength: 100;
52213
+ readonly items: {
52214
+ readonly type: 'union';
52215
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
52216
+ };
52217
+ readonly description: 'Expands report targeting to include additional subjects. Requires event subject to be an account. Mutually exclusive with `subjectTypes`.';
52218
+ };
52219
+ readonly subjectTypes: {
52220
+ readonly type: 'array';
52221
+ readonly maxLength: 4;
52222
+ readonly items: {
52223
+ readonly type: 'string';
52224
+ readonly enum: ["account", "record", "message", "conversation"];
52225
+ };
52226
+ readonly description: 'Expands report targeting to include owned subjects of these types. Requires event subject to be an account. Mutually exclusive with `subjects`.';
52227
+ };
51954
52228
  readonly note: {
51955
52229
  readonly type: 'string';
51956
52230
  readonly description: 'Note to send to reporter(s) when actioning their report';
@@ -51962,6 +52236,131 @@ export declare const schemas: ({
51962
52236
  };
51963
52237
  };
51964
52238
  };
52239
+ } | {
52240
+ readonly lexicon: 1;
52241
+ readonly id: 'tools.ozone.moderation.emitEvents';
52242
+ readonly defs: {
52243
+ readonly main: {
52244
+ readonly type: 'procedure';
52245
+ readonly description: 'Take a moderation action on multiple subjects at once. Each subject is processed independently; failures are listed in failedEvents. Only the listed event types are supported.';
52246
+ readonly input: {
52247
+ readonly encoding: 'application/json';
52248
+ readonly schema: {
52249
+ readonly type: 'object';
52250
+ readonly required: ["event", "subjects", "createdBy"];
52251
+ readonly properties: {
52252
+ readonly event: {
52253
+ readonly type: 'union';
52254
+ readonly refs: ["lex:tools.ozone.moderation.defs#modEventTakedown", "lex:tools.ozone.moderation.defs#modEventAcknowledge", "lex:tools.ozone.moderation.defs#modEventLabel", "lex:tools.ozone.moderation.defs#modEventReport", "lex:tools.ozone.moderation.defs#modEventReverseTakedown", "lex:tools.ozone.moderation.defs#modEventResolveAppeal", "lex:tools.ozone.moderation.defs#modEventEmail", "lex:tools.ozone.moderation.defs#modEventTag", "lex:tools.ozone.moderation.defs#revokeAccountCredentialsEvent"];
52255
+ };
52256
+ readonly subjects: {
52257
+ readonly type: 'array';
52258
+ readonly description: 'Array of subjects to apply the moderation event to.';
52259
+ readonly maxLength: 100;
52260
+ readonly items: {
52261
+ readonly type: 'ref';
52262
+ readonly ref: 'lex:tools.ozone.moderation.emitEvents#subjectEntry';
52263
+ };
52264
+ };
52265
+ readonly createdBy: {
52266
+ readonly type: 'string';
52267
+ readonly format: 'did';
52268
+ };
52269
+ readonly modTool: {
52270
+ readonly type: 'ref';
52271
+ readonly ref: 'lex:tools.ozone.moderation.defs#modTool';
52272
+ };
52273
+ };
52274
+ };
52275
+ };
52276
+ readonly output: {
52277
+ readonly encoding: 'application/json';
52278
+ readonly schema: {
52279
+ readonly type: 'object';
52280
+ readonly required: ["events", "failedEvents"];
52281
+ readonly properties: {
52282
+ readonly events: {
52283
+ readonly type: 'array';
52284
+ readonly description: 'Successfully processed moderation events.';
52285
+ readonly items: {
52286
+ readonly type: 'ref';
52287
+ readonly ref: 'lex:tools.ozone.moderation.defs#modEventView';
52288
+ };
52289
+ };
52290
+ readonly failedEvents: {
52291
+ readonly type: 'array';
52292
+ readonly description: 'Events that failed to process.';
52293
+ readonly items: {
52294
+ readonly type: 'ref';
52295
+ readonly ref: 'lex:tools.ozone.moderation.emitEvents#failedEvent';
52296
+ };
52297
+ };
52298
+ };
52299
+ };
52300
+ };
52301
+ readonly errors: [{
52302
+ readonly name: 'InvalidLabel';
52303
+ readonly description: 'One or more labels contain invalid characters.';
52304
+ }, {
52305
+ readonly name: 'DuplicateSubjects';
52306
+ readonly description: 'The subjects array contains duplicate entries.';
52307
+ }, {
52308
+ readonly name: 'EmptySubjects';
52309
+ readonly description: 'The subjects array is empty.';
52310
+ }, {
52311
+ readonly name: 'UnsupportedEvent';
52312
+ readonly description: 'The event type is not supported by this bulk endpoint.';
52313
+ }];
52314
+ };
52315
+ readonly subjectEntry: {
52316
+ readonly type: 'object';
52317
+ readonly description: 'A subject with optional blob CIDs, external event ID, and report-level targeting. Report targeting applies only to this entry.';
52318
+ readonly required: ["subject"];
52319
+ readonly properties: {
52320
+ readonly subject: {
52321
+ readonly type: 'union';
52322
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
52323
+ };
52324
+ readonly subjectBlobCids: {
52325
+ readonly type: 'array';
52326
+ readonly items: {
52327
+ readonly type: 'string';
52328
+ readonly format: 'cid';
52329
+ };
52330
+ };
52331
+ readonly externalId: {
52332
+ readonly type: 'string';
52333
+ readonly description: 'Deduplicate events of this type for this subject using an external ID.';
52334
+ };
52335
+ readonly reportAction: {
52336
+ readonly type: 'ref';
52337
+ readonly ref: 'lex:tools.ozone.moderation.emitEvent#reportAction';
52338
+ readonly description: 'Optional report-level targeting for this subject. Links the event to matching reports and may notify reporters.';
52339
+ };
52340
+ };
52341
+ };
52342
+ readonly failedEvent: {
52343
+ readonly type: 'object';
52344
+ readonly description: 'An event that failed to process.';
52345
+ readonly required: ["error", "subject"];
52346
+ readonly properties: {
52347
+ readonly error: {
52348
+ readonly type: 'string';
52349
+ readonly description: 'Error message describing the reason for failure.';
52350
+ };
52351
+ readonly errorName: {
52352
+ readonly type: 'string';
52353
+ readonly description: 'Typed error identifier for programmatic handling. Omitted when the error is unexpected/uncategorized.';
52354
+ readonly knownValues: ["InvalidSubject", "SubjectHasAction", "AlreadyTakendown", "NotTakendown", "DuplicateExternalId", "InvalidConfiguration", "InvalidRequest"];
52355
+ };
52356
+ readonly subject: {
52357
+ readonly type: 'union';
52358
+ readonly description: 'The subject from the failed event input.';
52359
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef"];
52360
+ };
52361
+ };
52362
+ };
52363
+ };
51965
52364
  } | {
51966
52365
  readonly lexicon: 1;
51967
52366
  readonly id: 'tools.ozone.moderation.getAccountPreferences';
@@ -53693,7 +54092,7 @@ export declare const schemas: ({
53693
54092
  readonly defs: {
53694
54093
  readonly main: {
53695
54094
  readonly type: 'procedure';
53696
- readonly description: 'Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded. Reports whose current status does not permit a transition to closed are skipped silently.';
54095
+ readonly description: 'Close eligible reports on a subject matching the given criteria, optionally linking an existing moderation action. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId. Reports whose current status does not permit a transition to closed are skipped silently.';
53697
54096
  readonly input: {
53698
54097
  readonly encoding: 'application/json';
53699
54098
  readonly schema: {
@@ -53710,12 +54109,17 @@ export declare const schemas: ({
53710
54109
  readonly default: false;
53711
54110
  readonly description: 'If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID.';
53712
54111
  };
54112
+ readonly reportId: {
54113
+ readonly type: 'integer';
54114
+ readonly minimum: 1;
54115
+ readonly description: 'An explicitly targeted report in the requested subject scope. It is included even if assigned, escalated, or not in reportTypes; excludedReportTypes still applies.';
54116
+ };
53713
54117
  readonly reportTypes: {
53714
54118
  readonly type: 'array';
53715
54119
  readonly items: {
53716
54120
  readonly type: 'string';
53717
54121
  };
53718
- readonly description: 'If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned and escalated reports are always excluded.';
54122
+ readonly description: 'If nonempty, eligible reports of the given report types (fully qualified reason NSIDs) are closed, in addition to reportId. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned, escalated, and actively assigned reports are excluded unless explicitly targeted by reportId.';
53719
54123
  };
53720
54124
  readonly excludedReportTypes: {
53721
54125
  readonly type: 'array';
@@ -54871,6 +55275,112 @@ export declare const schemas: ({
54871
55275
  };
54872
55276
  };
54873
55277
  };
55278
+ } | {
55279
+ readonly lexicon: 1;
55280
+ readonly id: 'tools.ozone.report.queryModeratorActivity';
55281
+ readonly defs: {
55282
+ readonly main: {
55283
+ readonly type: 'query';
55284
+ readonly description: 'Read authorized moderator events and report activity in one chronological history.';
55285
+ readonly parameters: {
55286
+ readonly type: 'params';
55287
+ readonly required: ["moderator", "createdAfter", "createdBefore"];
55288
+ readonly properties: {
55289
+ readonly moderator: {
55290
+ readonly type: 'string';
55291
+ readonly format: 'did';
55292
+ };
55293
+ readonly createdAfter: {
55294
+ readonly type: 'string';
55295
+ readonly format: 'datetime';
55296
+ readonly description: 'Inclusive UTC lower bound.';
55297
+ };
55298
+ readonly createdBefore: {
55299
+ readonly type: 'string';
55300
+ readonly format: 'datetime';
55301
+ readonly description: 'Exclusive UTC upper bound.';
55302
+ };
55303
+ readonly types: {
55304
+ readonly type: 'array';
55305
+ readonly maxLength: 40;
55306
+ readonly items: {
55307
+ readonly type: 'string';
55308
+ };
55309
+ };
55310
+ readonly limit: {
55311
+ readonly type: 'integer';
55312
+ readonly minimum: 1;
55313
+ readonly maximum: 100;
55314
+ readonly default: 50;
55315
+ };
55316
+ readonly cursor: {
55317
+ readonly type: 'string';
55318
+ readonly maxLength: 512;
55319
+ };
55320
+ };
55321
+ };
55322
+ readonly output: {
55323
+ readonly encoding: 'application/json';
55324
+ readonly schema: {
55325
+ readonly type: 'object';
55326
+ readonly required: ["rows"];
55327
+ readonly properties: {
55328
+ readonly rows: {
55329
+ readonly type: 'array';
55330
+ readonly items: {
55331
+ readonly type: 'ref';
55332
+ readonly ref: 'lex:tools.ozone.report.queryModeratorActivity#activityRow';
55333
+ };
55334
+ };
55335
+ readonly cursor: {
55336
+ readonly type: 'string';
55337
+ };
55338
+ };
55339
+ };
55340
+ };
55341
+ };
55342
+ readonly activityRow: {
55343
+ readonly type: 'object';
55344
+ readonly required: ["source", "id", "createdAt", "createdBy", "type"];
55345
+ readonly properties: {
55346
+ readonly source: {
55347
+ readonly type: 'string';
55348
+ readonly enum: ["event", "activity"];
55349
+ };
55350
+ readonly id: {
55351
+ readonly type: 'integer';
55352
+ };
55353
+ readonly createdAt: {
55354
+ readonly type: 'string';
55355
+ readonly format: 'datetime';
55356
+ };
55357
+ readonly createdBy: {
55358
+ readonly type: 'string';
55359
+ readonly format: 'did';
55360
+ };
55361
+ readonly type: {
55362
+ readonly type: 'string';
55363
+ };
55364
+ readonly subject: {
55365
+ readonly type: 'string';
55366
+ };
55367
+ readonly reportId: {
55368
+ readonly type: 'integer';
55369
+ };
55370
+ readonly actionEventId: {
55371
+ readonly type: 'integer';
55372
+ };
55373
+ readonly event: {
55374
+ readonly type: 'ref';
55375
+ readonly ref: 'lex:tools.ozone.moderation.defs#modEventView';
55376
+ };
55377
+ readonly activity: {
55378
+ readonly type: 'ref';
55379
+ readonly ref: 'lex:tools.ozone.report.defs#reportActivityView';
55380
+ };
55381
+ };
55382
+ };
55383
+ };
54874
55384
  } | {
54875
55385
  readonly lexicon: 1;
54876
55386
  readonly id: 'tools.ozone.report.queryReports';
@@ -57305,6 +57815,7 @@ export declare const ids: {
57305
57815
  readonly ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions';
57306
57816
  readonly ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs';
57307
57817
  readonly ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent';
57818
+ readonly ToolsOzoneModerationEmitEvents: 'tools.ozone.moderation.emitEvents';
57308
57819
  readonly ToolsOzoneModerationGetAccountPreferences: 'tools.ozone.moderation.getAccountPreferences';
57309
57820
  readonly ToolsOzoneModerationGetAccountTimeline: 'tools.ozone.moderation.getAccountTimeline';
57310
57821
  readonly ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent';
@@ -57339,6 +57850,7 @@ export declare const ids: {
57339
57850
  readonly ToolsOzoneReportGetReport: 'tools.ozone.report.getReport';
57340
57851
  readonly ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities';
57341
57852
  readonly ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities';
57853
+ readonly ToolsOzoneReportQueryModeratorActivity: 'tools.ozone.report.queryModeratorActivity';
57342
57854
  readonly ToolsOzoneReportQueryReports: 'tools.ozone.report.queryReports';
57343
57855
  readonly ToolsOzoneReportReassignQueue: 'tools.ozone.report.reassignQueue';
57344
57856
  readonly ToolsOzoneReportRefreshStats: 'tools.ozone.report.refreshStats';