@atproto/api 0.24.0 → 0.24.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.24.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5581](https://github.com/bluesky-social/atproto/pull/5581) [`f069327`](https://github.com/bluesky-social/atproto/commit/f0693271583923f38d827b4d4387d065e2cb8be7) Thanks [@gcwill70](https://github.com/gcwill70)! - Add report closure target met and missed counts, target met percentages, and overdue pending-report snapshots to report and queue statistics. Exclude reports without closure targets and preserve unavailable historical metrics until recomputed.
8
+
9
+ Include the updated Ozone report and queue statistics definitions in the generated API client.
10
+
11
+ Exclude muted reports from current and recomputed historical pending and overdue counts. Inbound volume and closure outcomes continue to include muted reports.
12
+
13
+ ## 0.24.1
14
+
15
+ ### Patch Changes
16
+
17
+ - [#5579](https://github.com/bluesky-social/atproto/pull/5579) [`b023046`](https://github.com/bluesky-social/atproto/commit/b023046f9266b8755ad9b44928032426bb05599e) Thanks [@gcwill70](https://github.com/gcwill70)! - Add configurable report priority levels and reason mappings, with priority scores and resolution targets in minutes snapshotted on reports at creation.
18
+
19
+ Expose each closed report's resolution time and whether it met its priority target.
20
+
21
+ - [#5622](https://github.com/bluesky-social/atproto/pull/5622) [`2ee3a27`](https://github.com/bluesky-social/atproto/commit/2ee3a27d7095c836d51a077330174900f5c0e8ee) Thanks [@ds-boyce](https://github.com/ds-boyce)! - Expose canonical OP thread numbering on embedded post views.
22
+
3
23
  ## 0.24.0
4
24
 
5
25
  ### Minor Changes
@@ -3031,6 +3031,14 @@ export declare const schemaDict: {
3031
3031
  readonly quoteCount: {
3032
3032
  readonly type: 'integer';
3033
3033
  };
3034
+ readonly opThreadPostIndex: {
3035
+ readonly type: 'integer';
3036
+ readonly description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread.';
3037
+ };
3038
+ readonly opThreadPostCount: {
3039
+ readonly type: 'integer';
3040
+ readonly description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread.';
3041
+ };
3034
3042
  readonly embeds: {
3035
3043
  readonly type: 'array';
3036
3044
  readonly items: {
@@ -23289,7 +23297,28 @@ export declare const schemaDict: {
23289
23297
  readonly properties: {
23290
23298
  readonly pendingCount: {
23291
23299
  readonly type: 'integer';
23292
- readonly description: "Number of reports in 'open' status";
23300
+ readonly description: 'Number of unmuted reports currently not closed.';
23301
+ };
23302
+ readonly closureTargetOverdueCount: {
23303
+ readonly type: 'integer';
23304
+ readonly minimum: 0;
23305
+ readonly description: 'Unmuted pending reports past their closure target.';
23306
+ };
23307
+ readonly closureTargetMetCount: {
23308
+ readonly type: 'integer';
23309
+ readonly minimum: 0;
23310
+ readonly description: 'Reports whose closure meets their closure target.';
23311
+ };
23312
+ readonly closureTargetMissedCount: {
23313
+ readonly type: 'integer';
23314
+ readonly minimum: 0;
23315
+ readonly description: 'Reports whose closure exceeds their closure target.';
23316
+ };
23317
+ readonly closureTargetMetRate: {
23318
+ readonly type: 'integer';
23319
+ readonly minimum: 0;
23320
+ readonly maximum: 100;
23321
+ readonly description: 'Percent of reports meeting their closure target.';
23293
23322
  };
23294
23323
  readonly actionedCount: {
23295
23324
  readonly type: 'integer';
@@ -24063,6 +24092,31 @@ export declare const schemaDict: {
24063
24092
  readonly ref: 'lex:com.atproto.moderation.defs#reasonType';
24064
24093
  readonly description: 'Type of report';
24065
24094
  };
24095
+ readonly priorityLevel: {
24096
+ readonly type: 'string';
24097
+ readonly description: 'Priority level assigned to the report.';
24098
+ };
24099
+ readonly priorityScore: {
24100
+ readonly type: 'integer';
24101
+ readonly minimum: 0;
24102
+ readonly maximum: 100;
24103
+ readonly description: 'Report priority score. Higher scores have higher priority.';
24104
+ };
24105
+ readonly priorityTargetMinutes: {
24106
+ readonly type: 'integer';
24107
+ readonly minimum: 1;
24108
+ readonly maximum: 2147483647;
24109
+ readonly description: 'Target resolution duration in minutes.';
24110
+ };
24111
+ readonly resolutionTimeSec: {
24112
+ readonly type: 'integer';
24113
+ readonly minimum: 0;
24114
+ readonly description: 'Time from report creation to its last closure.';
24115
+ };
24116
+ readonly priorityTargetMet: {
24117
+ readonly type: 'boolean';
24118
+ readonly description: "Whether the current closure occurred within the report's snapshotted target.";
24119
+ };
24066
24120
  readonly reportedBy: {
24067
24121
  readonly type: 'string';
24068
24122
  readonly format: 'did';
@@ -24279,7 +24333,28 @@ export declare const schemaDict: {
24279
24333
  readonly properties: {
24280
24334
  readonly pendingCount: {
24281
24335
  readonly type: 'integer';
24282
- readonly description: 'Number of reports currently not closed.';
24336
+ readonly description: 'Number of unmuted reports currently not closed.';
24337
+ };
24338
+ readonly closureTargetOverdueCount: {
24339
+ readonly type: 'integer';
24340
+ readonly minimum: 0;
24341
+ readonly description: 'Unmuted pending reports past their closure target.';
24342
+ };
24343
+ readonly closureTargetMetCount: {
24344
+ readonly type: 'integer';
24345
+ readonly minimum: 0;
24346
+ readonly description: 'Reports whose closure meets their closure target.';
24347
+ };
24348
+ readonly closureTargetMissedCount: {
24349
+ readonly type: 'integer';
24350
+ readonly minimum: 0;
24351
+ readonly description: 'Reports whose closure exceeds their closure target.';
24352
+ };
24353
+ readonly closureTargetMetRate: {
24354
+ readonly type: 'integer';
24355
+ readonly minimum: 0;
24356
+ readonly maximum: 100;
24357
+ readonly description: 'Percent of reports meeting their closure target.';
24283
24358
  };
24284
24359
  readonly closedCount: {
24285
24360
  readonly type: 'integer';
@@ -24364,7 +24439,28 @@ export declare const schemaDict: {
24364
24439
  };
24365
24440
  readonly pendingCount: {
24366
24441
  readonly type: 'integer';
24367
- readonly description: 'Number of reports not closed at time of computation.';
24442
+ readonly description: 'Number of unmuted reports not closed at the end of this UTC day, or at computation time for the current day.';
24443
+ };
24444
+ readonly closureTargetOverdueCount: {
24445
+ readonly type: 'integer';
24446
+ readonly minimum: 0;
24447
+ readonly description: 'Unmuted pending reports past their closure target at the snapshot time.';
24448
+ };
24449
+ readonly closureTargetMetCount: {
24450
+ readonly type: 'integer';
24451
+ readonly minimum: 0;
24452
+ readonly description: 'Reports whose closure meets their closure target.';
24453
+ };
24454
+ readonly closureTargetMissedCount: {
24455
+ readonly type: 'integer';
24456
+ readonly minimum: 0;
24457
+ readonly description: 'Reports whose closure exceeds their closure target.';
24458
+ };
24459
+ readonly closureTargetMetRate: {
24460
+ readonly type: 'integer';
24461
+ readonly minimum: 0;
24462
+ readonly maximum: 100;
24463
+ readonly description: 'Percent of reports meeting their closure target.';
24368
24464
  };
24369
24465
  readonly closedCount: {
24370
24466
  readonly type: 'integer';
@@ -29772,6 +29868,14 @@ export declare const schemas: ({
29772
29868
  readonly quoteCount: {
29773
29869
  readonly type: 'integer';
29774
29870
  };
29871
+ readonly opThreadPostIndex: {
29872
+ readonly type: 'integer';
29873
+ readonly description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread.';
29874
+ };
29875
+ readonly opThreadPostCount: {
29876
+ readonly type: 'integer';
29877
+ readonly description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread.';
29878
+ };
29775
29879
  readonly embeds: {
29776
29880
  readonly type: 'array';
29777
29881
  readonly items: {
@@ -49721,7 +49825,28 @@ export declare const schemas: ({
49721
49825
  readonly properties: {
49722
49826
  readonly pendingCount: {
49723
49827
  readonly type: 'integer';
49724
- readonly description: "Number of reports in 'open' status";
49828
+ readonly description: 'Number of unmuted reports currently not closed.';
49829
+ };
49830
+ readonly closureTargetOverdueCount: {
49831
+ readonly type: 'integer';
49832
+ readonly minimum: 0;
49833
+ readonly description: 'Unmuted pending reports past their closure target.';
49834
+ };
49835
+ readonly closureTargetMetCount: {
49836
+ readonly type: 'integer';
49837
+ readonly minimum: 0;
49838
+ readonly description: 'Reports whose closure meets their closure target.';
49839
+ };
49840
+ readonly closureTargetMissedCount: {
49841
+ readonly type: 'integer';
49842
+ readonly minimum: 0;
49843
+ readonly description: 'Reports whose closure exceeds their closure target.';
49844
+ };
49845
+ readonly closureTargetMetRate: {
49846
+ readonly type: 'integer';
49847
+ readonly minimum: 0;
49848
+ readonly maximum: 100;
49849
+ readonly description: 'Percent of reports meeting their closure target.';
49725
49850
  };
49726
49851
  readonly actionedCount: {
49727
49852
  readonly type: 'integer';
@@ -50485,6 +50610,31 @@ export declare const schemas: ({
50485
50610
  readonly ref: 'lex:com.atproto.moderation.defs#reasonType';
50486
50611
  readonly description: 'Type of report';
50487
50612
  };
50613
+ readonly priorityLevel: {
50614
+ readonly type: 'string';
50615
+ readonly description: 'Priority level assigned to the report.';
50616
+ };
50617
+ readonly priorityScore: {
50618
+ readonly type: 'integer';
50619
+ readonly minimum: 0;
50620
+ readonly maximum: 100;
50621
+ readonly description: 'Report priority score. Higher scores have higher priority.';
50622
+ };
50623
+ readonly priorityTargetMinutes: {
50624
+ readonly type: 'integer';
50625
+ readonly minimum: 1;
50626
+ readonly maximum: 2147483647;
50627
+ readonly description: 'Target resolution duration in minutes.';
50628
+ };
50629
+ readonly resolutionTimeSec: {
50630
+ readonly type: 'integer';
50631
+ readonly minimum: 0;
50632
+ readonly description: 'Time from report creation to its last closure.';
50633
+ };
50634
+ readonly priorityTargetMet: {
50635
+ readonly type: 'boolean';
50636
+ readonly description: "Whether the current closure occurred within the report's snapshotted target.";
50637
+ };
50488
50638
  readonly reportedBy: {
50489
50639
  readonly type: 'string';
50490
50640
  readonly format: 'did';
@@ -50701,7 +50851,28 @@ export declare const schemas: ({
50701
50851
  readonly properties: {
50702
50852
  readonly pendingCount: {
50703
50853
  readonly type: 'integer';
50704
- readonly description: 'Number of reports currently not closed.';
50854
+ readonly description: 'Number of unmuted reports currently not closed.';
50855
+ };
50856
+ readonly closureTargetOverdueCount: {
50857
+ readonly type: 'integer';
50858
+ readonly minimum: 0;
50859
+ readonly description: 'Unmuted pending reports past their closure target.';
50860
+ };
50861
+ readonly closureTargetMetCount: {
50862
+ readonly type: 'integer';
50863
+ readonly minimum: 0;
50864
+ readonly description: 'Reports whose closure meets their closure target.';
50865
+ };
50866
+ readonly closureTargetMissedCount: {
50867
+ readonly type: 'integer';
50868
+ readonly minimum: 0;
50869
+ readonly description: 'Reports whose closure exceeds their closure target.';
50870
+ };
50871
+ readonly closureTargetMetRate: {
50872
+ readonly type: 'integer';
50873
+ readonly minimum: 0;
50874
+ readonly maximum: 100;
50875
+ readonly description: 'Percent of reports meeting their closure target.';
50705
50876
  };
50706
50877
  readonly closedCount: {
50707
50878
  readonly type: 'integer';
@@ -50786,7 +50957,28 @@ export declare const schemas: ({
50786
50957
  };
50787
50958
  readonly pendingCount: {
50788
50959
  readonly type: 'integer';
50789
- readonly description: 'Number of reports not closed at time of computation.';
50960
+ readonly description: 'Number of unmuted reports not closed at the end of this UTC day, or at computation time for the current day.';
50961
+ };
50962
+ readonly closureTargetOverdueCount: {
50963
+ readonly type: 'integer';
50964
+ readonly minimum: 0;
50965
+ readonly description: 'Unmuted pending reports past their closure target at the snapshot time.';
50966
+ };
50967
+ readonly closureTargetMetCount: {
50968
+ readonly type: 'integer';
50969
+ readonly minimum: 0;
50970
+ readonly description: 'Reports whose closure meets their closure target.';
50971
+ };
50972
+ readonly closureTargetMissedCount: {
50973
+ readonly type: 'integer';
50974
+ readonly minimum: 0;
50975
+ readonly description: 'Reports whose closure exceeds their closure target.';
50976
+ };
50977
+ readonly closureTargetMetRate: {
50978
+ readonly type: 'integer';
50979
+ readonly minimum: 0;
50980
+ readonly maximum: 100;
50981
+ readonly description: 'Percent of reports meeting their closure target.';
50790
50982
  };
50791
50983
  readonly closedCount: {
50792
50984
  readonly type: 'integer';