@atproto/api 0.32.2 → 0.32.4

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.
@@ -21726,6 +21726,16 @@ export declare const schemaDict: {
21726
21726
  readonly type: 'unknown';
21727
21727
  readonly description: 'Raw record JSON for the subject, when the subject is a record and the record is available.';
21728
21728
  };
21729
+ readonly accountStatus: {
21730
+ readonly type: 'ref';
21731
+ readonly ref: 'lex:tools.ozone.inbox.getReport#accountStatus';
21732
+ readonly description: "Current status of the reported account or record owner, independent of the report's resolution.";
21733
+ };
21734
+ readonly subjectStatus: {
21735
+ readonly type: 'ref';
21736
+ readonly ref: 'lex:tools.ozone.inbox.getReport#recordStatus';
21737
+ readonly description: 'Current status of a reported record, when known.';
21738
+ };
21729
21739
  readonly status: {
21730
21740
  readonly type: 'string';
21731
21741
  readonly knownValues: ["pending", "resolved"];
@@ -21740,6 +21750,36 @@ export declare const schemaDict: {
21740
21750
  };
21741
21751
  };
21742
21752
  };
21753
+ readonly accountStatus: {
21754
+ readonly type: 'object';
21755
+ readonly required: ["enforcement"];
21756
+ readonly properties: {
21757
+ readonly enforcement: {
21758
+ readonly type: 'string';
21759
+ readonly knownValues: ["none", "suspended", "takendown"];
21760
+ readonly description: 'Current enforcement by this moderation service.';
21761
+ };
21762
+ readonly hosting: {
21763
+ readonly type: 'string';
21764
+ readonly knownValues: ["active", "deleted", "deactivated", "suspended", "takendown"];
21765
+ readonly description: 'Last known account hosting state, omitted when unknown.';
21766
+ };
21767
+ };
21768
+ };
21769
+ readonly recordStatus: {
21770
+ readonly type: 'object';
21771
+ readonly required: ["takendown"];
21772
+ readonly properties: {
21773
+ readonly takendown: {
21774
+ readonly type: 'boolean';
21775
+ readonly description: 'Whether this moderation service has taken down the record.';
21776
+ };
21777
+ readonly deleted: {
21778
+ readonly type: 'boolean';
21779
+ readonly description: 'Whether the record has been deleted by its repository, omitted when unknown.';
21780
+ };
21781
+ };
21782
+ };
21743
21783
  readonly resolutionView: {
21744
21784
  readonly type: 'object';
21745
21785
  readonly required: ["outcome", "resolvedAt"];
@@ -26595,6 +26635,116 @@ export declare const schemaDict: {
26595
26635
  };
26596
26636
  };
26597
26637
  };
26638
+ readonly ToolsOzoneReportGetStatGroupDetails: {
26639
+ readonly lexicon: 1;
26640
+ readonly id: 'tools.ozone.report.getStatGroupDetails';
26641
+ readonly defs: {
26642
+ readonly main: {
26643
+ readonly type: 'query';
26644
+ readonly description: 'Get additional details for a stat group. Omit all group selectors for aggregate details.';
26645
+ readonly parameters: {
26646
+ readonly type: 'params';
26647
+ readonly properties: {
26648
+ readonly queueId: {
26649
+ readonly type: 'integer';
26650
+ readonly minimum: -1;
26651
+ readonly description: 'Queue stat group. Use -1 for unqueued reports; otherwise use a positive queue ID. Requires queue access.';
26652
+ };
26653
+ readonly moderatorDid: {
26654
+ readonly type: 'string';
26655
+ readonly format: 'did';
26656
+ readonly description: 'Moderator stat group, based on current report assignment. Requires administrator access.';
26657
+ };
26658
+ readonly reportTypes: {
26659
+ readonly type: 'array';
26660
+ readonly minLength: 1;
26661
+ readonly maxLength: 100;
26662
+ readonly items: {
26663
+ readonly type: 'string';
26664
+ };
26665
+ readonly description: 'Report-type stat group. Counts only the specified reasons.';
26666
+ };
26667
+ readonly startDate: {
26668
+ readonly type: 'string';
26669
+ readonly format: 'datetime';
26670
+ readonly description: 'First UTC calendar day to include, inclusive. Defaults to today. The range must not exceed 120 calendar days.';
26671
+ };
26672
+ readonly endDate: {
26673
+ readonly type: 'string';
26674
+ readonly format: 'datetime';
26675
+ readonly description: 'Last UTC calendar day to include, inclusive. Defaults to today.';
26676
+ };
26677
+ };
26678
+ };
26679
+ readonly output: {
26680
+ readonly encoding: 'application/json';
26681
+ readonly schema: {
26682
+ readonly type: 'object';
26683
+ readonly required: ["computedAt", "startDate", "endDate", "reportTypeBreakdown"];
26684
+ readonly properties: {
26685
+ readonly computedAt: {
26686
+ readonly type: 'string';
26687
+ readonly format: 'datetime';
26688
+ readonly description: 'When the live query started.';
26689
+ };
26690
+ readonly startDate: {
26691
+ readonly type: 'string';
26692
+ readonly format: 'datetime';
26693
+ readonly description: 'First included UTC calendar day, at midnight.';
26694
+ };
26695
+ readonly endDate: {
26696
+ readonly type: 'string';
26697
+ readonly format: 'datetime';
26698
+ readonly description: 'Last included UTC calendar day, at midnight.';
26699
+ };
26700
+ readonly reportTypeBreakdown: {
26701
+ readonly type: 'ref';
26702
+ readonly ref: 'lex:tools.ozone.report.getStatGroupDetails#reportTypeBreakdown';
26703
+ };
26704
+ };
26705
+ };
26706
+ };
26707
+ readonly errors: [{
26708
+ readonly name: 'QueueNotFound';
26709
+ readonly description: 'Queue does not exist or is not accessible.';
26710
+ }];
26711
+ };
26712
+ readonly reportTypeStats: {
26713
+ readonly type: 'object';
26714
+ readonly required: ["reportType", "inboundCount"];
26715
+ readonly properties: {
26716
+ readonly reportType: {
26717
+ readonly type: 'string';
26718
+ readonly description: 'Fully qualified report reason.';
26719
+ };
26720
+ readonly inboundCount: {
26721
+ readonly type: 'integer';
26722
+ readonly minimum: 0;
26723
+ readonly description: 'Unmuted reports received during the requested UTC calendar days.';
26724
+ };
26725
+ };
26726
+ };
26727
+ readonly reportTypeBreakdown: {
26728
+ readonly type: 'object';
26729
+ readonly description: 'Unmuted inbound reports by actual reason, across all statuses, within the selected stat group and UTC date range.';
26730
+ readonly required: ["totalCount", "stats"];
26731
+ readonly properties: {
26732
+ readonly totalCount: {
26733
+ readonly type: 'integer';
26734
+ readonly minimum: 0;
26735
+ readonly description: 'Total unmuted inbound reports in this breakdown.';
26736
+ };
26737
+ readonly stats: {
26738
+ readonly type: 'array';
26739
+ readonly items: {
26740
+ readonly type: 'ref';
26741
+ readonly ref: 'lex:tools.ozone.report.getStatGroupDetails#reportTypeStats';
26742
+ };
26743
+ };
26744
+ };
26745
+ };
26746
+ };
26747
+ };
26598
26748
  readonly ToolsOzoneReportListActivities: {
26599
26749
  readonly lexicon: 1;
26600
26750
  readonly id: 'tools.ozone.report.listActivities';
@@ -50337,6 +50487,16 @@ export declare const schemas: ({
50337
50487
  readonly type: 'unknown';
50338
50488
  readonly description: 'Raw record JSON for the subject, when the subject is a record and the record is available.';
50339
50489
  };
50490
+ readonly accountStatus: {
50491
+ readonly type: 'ref';
50492
+ readonly ref: 'lex:tools.ozone.inbox.getReport#accountStatus';
50493
+ readonly description: "Current status of the reported account or record owner, independent of the report's resolution.";
50494
+ };
50495
+ readonly subjectStatus: {
50496
+ readonly type: 'ref';
50497
+ readonly ref: 'lex:tools.ozone.inbox.getReport#recordStatus';
50498
+ readonly description: 'Current status of a reported record, when known.';
50499
+ };
50340
50500
  readonly status: {
50341
50501
  readonly type: 'string';
50342
50502
  readonly knownValues: ["pending", "resolved"];
@@ -50351,6 +50511,36 @@ export declare const schemas: ({
50351
50511
  };
50352
50512
  };
50353
50513
  };
50514
+ readonly accountStatus: {
50515
+ readonly type: 'object';
50516
+ readonly required: ["enforcement"];
50517
+ readonly properties: {
50518
+ readonly enforcement: {
50519
+ readonly type: 'string';
50520
+ readonly knownValues: ["none", "suspended", "takendown"];
50521
+ readonly description: 'Current enforcement by this moderation service.';
50522
+ };
50523
+ readonly hosting: {
50524
+ readonly type: 'string';
50525
+ readonly knownValues: ["active", "deleted", "deactivated", "suspended", "takendown"];
50526
+ readonly description: 'Last known account hosting state, omitted when unknown.';
50527
+ };
50528
+ };
50529
+ };
50530
+ readonly recordStatus: {
50531
+ readonly type: 'object';
50532
+ readonly required: ["takendown"];
50533
+ readonly properties: {
50534
+ readonly takendown: {
50535
+ readonly type: 'boolean';
50536
+ readonly description: 'Whether this moderation service has taken down the record.';
50537
+ };
50538
+ readonly deleted: {
50539
+ readonly type: 'boolean';
50540
+ readonly description: 'Whether the record has been deleted by its repository, omitted when unknown.';
50541
+ };
50542
+ };
50543
+ };
50354
50544
  readonly resolutionView: {
50355
50545
  readonly type: 'object';
50356
50546
  readonly required: ["outcome", "resolvedAt"];
@@ -55163,6 +55353,115 @@ export declare const schemas: ({
55163
55353
  }];
55164
55354
  };
55165
55355
  };
55356
+ } | {
55357
+ readonly lexicon: 1;
55358
+ readonly id: 'tools.ozone.report.getStatGroupDetails';
55359
+ readonly defs: {
55360
+ readonly main: {
55361
+ readonly type: 'query';
55362
+ readonly description: 'Get additional details for a stat group. Omit all group selectors for aggregate details.';
55363
+ readonly parameters: {
55364
+ readonly type: 'params';
55365
+ readonly properties: {
55366
+ readonly queueId: {
55367
+ readonly type: 'integer';
55368
+ readonly minimum: -1;
55369
+ readonly description: 'Queue stat group. Use -1 for unqueued reports; otherwise use a positive queue ID. Requires queue access.';
55370
+ };
55371
+ readonly moderatorDid: {
55372
+ readonly type: 'string';
55373
+ readonly format: 'did';
55374
+ readonly description: 'Moderator stat group, based on current report assignment. Requires administrator access.';
55375
+ };
55376
+ readonly reportTypes: {
55377
+ readonly type: 'array';
55378
+ readonly minLength: 1;
55379
+ readonly maxLength: 100;
55380
+ readonly items: {
55381
+ readonly type: 'string';
55382
+ };
55383
+ readonly description: 'Report-type stat group. Counts only the specified reasons.';
55384
+ };
55385
+ readonly startDate: {
55386
+ readonly type: 'string';
55387
+ readonly format: 'datetime';
55388
+ readonly description: 'First UTC calendar day to include, inclusive. Defaults to today. The range must not exceed 120 calendar days.';
55389
+ };
55390
+ readonly endDate: {
55391
+ readonly type: 'string';
55392
+ readonly format: 'datetime';
55393
+ readonly description: 'Last UTC calendar day to include, inclusive. Defaults to today.';
55394
+ };
55395
+ };
55396
+ };
55397
+ readonly output: {
55398
+ readonly encoding: 'application/json';
55399
+ readonly schema: {
55400
+ readonly type: 'object';
55401
+ readonly required: ["computedAt", "startDate", "endDate", "reportTypeBreakdown"];
55402
+ readonly properties: {
55403
+ readonly computedAt: {
55404
+ readonly type: 'string';
55405
+ readonly format: 'datetime';
55406
+ readonly description: 'When the live query started.';
55407
+ };
55408
+ readonly startDate: {
55409
+ readonly type: 'string';
55410
+ readonly format: 'datetime';
55411
+ readonly description: 'First included UTC calendar day, at midnight.';
55412
+ };
55413
+ readonly endDate: {
55414
+ readonly type: 'string';
55415
+ readonly format: 'datetime';
55416
+ readonly description: 'Last included UTC calendar day, at midnight.';
55417
+ };
55418
+ readonly reportTypeBreakdown: {
55419
+ readonly type: 'ref';
55420
+ readonly ref: 'lex:tools.ozone.report.getStatGroupDetails#reportTypeBreakdown';
55421
+ };
55422
+ };
55423
+ };
55424
+ };
55425
+ readonly errors: [{
55426
+ readonly name: 'QueueNotFound';
55427
+ readonly description: 'Queue does not exist or is not accessible.';
55428
+ }];
55429
+ };
55430
+ readonly reportTypeStats: {
55431
+ readonly type: 'object';
55432
+ readonly required: ["reportType", "inboundCount"];
55433
+ readonly properties: {
55434
+ readonly reportType: {
55435
+ readonly type: 'string';
55436
+ readonly description: 'Fully qualified report reason.';
55437
+ };
55438
+ readonly inboundCount: {
55439
+ readonly type: 'integer';
55440
+ readonly minimum: 0;
55441
+ readonly description: 'Unmuted reports received during the requested UTC calendar days.';
55442
+ };
55443
+ };
55444
+ };
55445
+ readonly reportTypeBreakdown: {
55446
+ readonly type: 'object';
55447
+ readonly description: 'Unmuted inbound reports by actual reason, across all statuses, within the selected stat group and UTC date range.';
55448
+ readonly required: ["totalCount", "stats"];
55449
+ readonly properties: {
55450
+ readonly totalCount: {
55451
+ readonly type: 'integer';
55452
+ readonly minimum: 0;
55453
+ readonly description: 'Total unmuted inbound reports in this breakdown.';
55454
+ };
55455
+ readonly stats: {
55456
+ readonly type: 'array';
55457
+ readonly items: {
55458
+ readonly type: 'ref';
55459
+ readonly ref: 'lex:tools.ozone.report.getStatGroupDetails#reportTypeStats';
55460
+ };
55461
+ };
55462
+ };
55463
+ };
55464
+ };
55166
55465
  } | {
55167
55466
  readonly lexicon: 1;
55168
55467
  readonly id: 'tools.ozone.report.listActivities';
@@ -57848,6 +58147,7 @@ export declare const ids: {
57848
58147
  readonly ToolsOzoneReportGetLatestReport: 'tools.ozone.report.getLatestReport';
57849
58148
  readonly ToolsOzoneReportGetLiveStats: 'tools.ozone.report.getLiveStats';
57850
58149
  readonly ToolsOzoneReportGetReport: 'tools.ozone.report.getReport';
58150
+ readonly ToolsOzoneReportGetStatGroupDetails: 'tools.ozone.report.getStatGroupDetails';
57851
58151
  readonly ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities';
57852
58152
  readonly ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities';
57853
58153
  readonly ToolsOzoneReportQueryModeratorActivity: 'tools.ozone.report.queryModeratorActivity';