@atproto/api 0.30.3 → 0.31.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.
@@ -9312,13 +9312,13 @@ export declare const schemaDict: {
9312
9312
  readonly defs: {
9313
9313
  readonly main: {
9314
9314
  readonly type: 'query';
9315
- readonly description: 'Get Atmosphere Explore content. Articles are recommended when algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.';
9315
+ readonly description: 'Get Atmosphere Explore content. Articles and photo galleries are recommended when their algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.';
9316
9316
  readonly parameters: {
9317
9317
  readonly type: 'params';
9318
9318
  readonly properties: {
9319
9319
  readonly langs: {
9320
9320
  readonly type: 'array';
9321
- readonly description: 'Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.';
9321
+ readonly description: 'Preferred languages for article and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise.';
9322
9322
  readonly items: {
9323
9323
  readonly type: 'string';
9324
9324
  readonly format: 'language';
@@ -9445,6 +9445,11 @@ export declare const schemaDict: {
9445
9445
  readonly ref: 'lex:com.atproto.repo.strongRef';
9446
9446
  readonly description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.';
9447
9447
  };
9448
+ readonly viewBskyPost: {
9449
+ readonly type: 'ref';
9450
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9451
+ readonly description: 'The hydrated Bluesky post associated with the article, as declared by its author. Omitted when the post is unavailable to the viewer.';
9452
+ };
9448
9453
  readonly view: {
9449
9454
  readonly type: 'ref';
9450
9455
  readonly ref: 'lex:app.bsky.embed.external#viewArticle';
@@ -9492,6 +9497,11 @@ export declare const schemaDict: {
9492
9497
  readonly ref: 'lex:com.atproto.repo.strongRef';
9493
9498
  readonly description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.';
9494
9499
  };
9500
+ readonly viewBskyPost: {
9501
+ readonly type: 'ref';
9502
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9503
+ readonly description: 'The hydrated Bluesky post that announced the livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
9504
+ };
9495
9505
  readonly view: {
9496
9506
  readonly type: 'ref';
9497
9507
  readonly ref: 'lex:app.bsky.embed.external#viewLivestream';
@@ -9594,7 +9604,7 @@ export declare const schemaDict: {
9594
9604
  readonly defs: {
9595
9605
  readonly main: {
9596
9606
  readonly type: 'query';
9597
- readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Grouping and related activity are limited to the returned page.";
9607
+ readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Groups contain visible activities from the returned page.";
9598
9608
  readonly parameters: {
9599
9609
  readonly type: 'params';
9600
9610
  readonly properties: {
@@ -9616,7 +9626,7 @@ export declare const schemaDict: {
9616
9626
  readonly type: 'array';
9617
9627
  readonly items: {
9618
9628
  readonly type: 'union';
9619
- readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroup"];
9629
+ readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup", "lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup"];
9620
9630
  };
9621
9631
  };
9622
9632
  };
@@ -9666,40 +9676,131 @@ export declare const schemaDict: {
9666
9676
  readonly type: 'ref';
9667
9677
  readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
9668
9678
  };
9679
+ readonly relatedActivity: {
9680
+ readonly type: 'array';
9681
+ readonly description: "Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated.";
9682
+ readonly items: {
9683
+ readonly type: 'ref';
9684
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup';
9685
+ };
9686
+ };
9669
9687
  readonly bskyPostRef: {
9670
9688
  readonly type: 'ref';
9671
9689
  readonly ref: 'lex:com.atproto.repo.strongRef';
9672
9690
  readonly description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.';
9673
9691
  };
9692
+ readonly viewBskyPost: {
9693
+ readonly type: 'ref';
9694
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9695
+ readonly description: 'The hydrated Bluesky post associated with the rendered article or livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
9696
+ };
9674
9697
  readonly view: {
9675
9698
  readonly type: 'union';
9676
9699
  readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream", "lex:app.bsky.feed.defs#postView"];
9677
9700
  };
9678
- readonly relatedActivity: {
9701
+ };
9702
+ };
9703
+ readonly activityActorGroup: {
9704
+ readonly type: 'object';
9705
+ readonly description: 'Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone.';
9706
+ readonly required: ["id", "collection", "indexedAt", "actor", "item", "uris"];
9707
+ readonly properties: {
9708
+ readonly id: {
9709
+ readonly type: 'string';
9710
+ };
9711
+ readonly collection: {
9712
+ readonly type: 'string';
9713
+ readonly format: 'nsid';
9714
+ };
9715
+ readonly indexedAt: {
9716
+ readonly type: 'string';
9717
+ readonly format: 'datetime';
9718
+ };
9719
+ readonly actor: {
9720
+ readonly type: 'string';
9721
+ readonly format: 'did';
9722
+ };
9723
+ readonly item: {
9724
+ readonly type: 'ref';
9725
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
9726
+ };
9727
+ readonly uris: {
9679
9728
  readonly type: 'array';
9680
- readonly description: 'Recommendations and shares attached to this article. Attached activities do not themselves contain related activity.';
9729
+ readonly description: 'All visible group item URIs, including the hydrated item, in newest-first timeline order.';
9730
+ readonly minLength: 2;
9681
9731
  readonly items: {
9682
- readonly type: 'ref';
9683
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
9732
+ readonly type: 'string';
9733
+ readonly format: 'at-uri';
9684
9734
  };
9685
9735
  };
9686
9736
  };
9687
9737
  };
9688
- readonly activityItemOverflow: {
9738
+ readonly activitySubject: {
9689
9739
  readonly type: 'object';
9690
- readonly description: 'Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records.';
9691
- readonly required: ["count", "collection", "associatedProfiles"];
9740
+ readonly description: 'The shared target of grouped activities, not an activity itself.';
9741
+ readonly required: ["uri", "viewerState", "view"];
9692
9742
  readonly properties: {
9693
- readonly count: {
9694
- readonly type: 'integer';
9695
- readonly minimum: 1;
9743
+ readonly uri: {
9744
+ readonly type: 'string';
9745
+ readonly format: 'at-uri';
9746
+ };
9747
+ readonly viewerState: {
9748
+ readonly type: 'ref';
9749
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
9750
+ };
9751
+ readonly bskyPostRef: {
9752
+ readonly type: 'ref';
9753
+ readonly ref: 'lex:com.atproto.repo.strongRef';
9754
+ readonly description: "The author's declared Bluesky post for the target. The post may be unavailable.";
9755
+ };
9756
+ readonly viewBskyPost: {
9757
+ readonly type: 'ref';
9758
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
9759
+ readonly description: "The hydrated Bluesky post declared by the target's author. Omitted when the post is unavailable to the viewer.";
9760
+ };
9761
+ readonly view: {
9762
+ readonly type: 'union';
9763
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery"];
9764
+ };
9765
+ };
9766
+ };
9767
+ readonly activityGroupItem: {
9768
+ readonly type: 'object';
9769
+ readonly description: 'An unhydrated group item. Its actor DID is the authority of its record URI.';
9770
+ readonly required: ["record", "collection"];
9771
+ readonly properties: {
9772
+ readonly record: {
9773
+ readonly type: 'ref';
9774
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord';
9696
9775
  };
9697
9776
  readonly collection: {
9698
9777
  readonly type: 'string';
9699
9778
  readonly format: 'nsid';
9700
9779
  };
9701
- readonly associatedProfiles: {
9780
+ };
9781
+ };
9782
+ readonly activityRelatedGroup: {
9783
+ readonly type: 'object';
9784
+ readonly description: "Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance.";
9785
+ readonly required: ["collection", "activities", "actors"];
9786
+ readonly properties: {
9787
+ readonly collection: {
9788
+ readonly type: 'string';
9789
+ readonly format: 'nsid';
9790
+ };
9791
+ readonly activities: {
9792
+ readonly type: 'array';
9793
+ readonly description: "Visible activity references in newest-first timeline order. Every activity has the bucket's collection.";
9794
+ readonly minLength: 1;
9795
+ readonly items: {
9796
+ readonly type: 'ref';
9797
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
9798
+ };
9799
+ };
9800
+ readonly actors: {
9702
9801
  readonly type: 'array';
9802
+ readonly description: "Unique actors in first-appearance order among the bucket's activities.";
9803
+ readonly minLength: 1;
9703
9804
  readonly items: {
9704
9805
  readonly type: 'ref';
9705
9806
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
@@ -9707,18 +9808,14 @@ export declare const schemaDict: {
9707
9808
  };
9708
9809
  };
9709
9810
  };
9710
- readonly activityGroup: {
9811
+ readonly activitySubjectGroup: {
9711
9812
  readonly type: 'object';
9712
- readonly description: "Two or more activities of the same collection, within a fixed window anchored at the newest member. The group occupies the newest member's position.";
9713
- readonly required: ["id", "groupBy", "collection", "indexedAt", "items"];
9813
+ readonly description: 'Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows.';
9814
+ readonly required: ["id", "collection", "indexedAt", "subject", "activities", "actors"];
9714
9815
  readonly properties: {
9715
9816
  readonly id: {
9716
9817
  readonly type: 'string';
9717
9818
  };
9718
- readonly groupBy: {
9719
- readonly type: 'string';
9720
- readonly knownValues: ["subject", "actor"];
9721
- };
9722
9819
  readonly collection: {
9723
9820
  readonly type: 'string';
9724
9821
  readonly format: 'nsid';
@@ -9727,21 +9824,27 @@ export declare const schemaDict: {
9727
9824
  readonly type: 'string';
9728
9825
  readonly format: 'datetime';
9729
9826
  };
9730
- readonly items: {
9827
+ readonly subject: {
9828
+ readonly type: 'ref';
9829
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubject';
9830
+ };
9831
+ readonly activities: {
9731
9832
  readonly type: 'array';
9833
+ readonly description: "Visible group items in newest-first timeline order. Every activity has the group's collection.";
9732
9834
  readonly minLength: 2;
9733
9835
  readonly items: {
9734
9836
  readonly type: 'ref';
9735
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
9837
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
9736
9838
  };
9737
9839
  };
9738
- readonly subject: {
9739
- readonly type: 'string';
9740
- readonly format: 'at-uri';
9741
- };
9742
- readonly actor: {
9743
- readonly type: 'string';
9744
- readonly format: 'did';
9840
+ readonly actors: {
9841
+ readonly type: 'array';
9842
+ readonly description: 'Unique actors in first-appearance order among group items. At least two distinct actors are required.';
9843
+ readonly minLength: 2;
9844
+ readonly items: {
9845
+ readonly type: 'ref';
9846
+ readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
9847
+ };
9745
9848
  };
9746
9849
  };
9747
9850
  };
@@ -22016,16 +22119,6 @@ export declare const schemaDict: {
22016
22119
  readonly type: 'string';
22017
22120
  };
22018
22121
  };
22019
- readonly accountStats: {
22020
- readonly description: 'Statistics related to the account subject';
22021
- readonly type: 'ref';
22022
- readonly ref: 'lex:tools.ozone.moderation.defs#accountStats';
22023
- };
22024
- readonly recordsStats: {
22025
- readonly description: "Statistics related to the record subjects authored by the subject's account";
22026
- readonly type: 'ref';
22027
- readonly ref: 'lex:tools.ozone.moderation.defs#recordsStats';
22028
- };
22029
22122
  readonly accountStrike: {
22030
22123
  readonly description: 'Strike information for the account (account-level only)';
22031
22124
  readonly type: 'ref';
@@ -22073,70 +22166,6 @@ export declare const schemaDict: {
22073
22166
  };
22074
22167
  };
22075
22168
  };
22076
- readonly accountStats: {
22077
- readonly description: 'Statistics about a particular account subject';
22078
- readonly type: 'object';
22079
- readonly properties: {
22080
- readonly reportCount: {
22081
- readonly description: 'Total number of reports on the account';
22082
- readonly type: 'integer';
22083
- };
22084
- readonly appealCount: {
22085
- readonly description: 'Total number of appeals against a moderation action on the account';
22086
- readonly type: 'integer';
22087
- };
22088
- readonly suspendCount: {
22089
- readonly description: 'Number of times the account was suspended';
22090
- readonly type: 'integer';
22091
- };
22092
- readonly escalateCount: {
22093
- readonly description: 'Number of times the account was escalated';
22094
- readonly type: 'integer';
22095
- };
22096
- readonly takedownCount: {
22097
- readonly description: 'Number of times the account was taken down';
22098
- readonly type: 'integer';
22099
- };
22100
- };
22101
- };
22102
- readonly recordsStats: {
22103
- readonly description: 'Statistics about a set of record subject items';
22104
- readonly type: 'object';
22105
- readonly properties: {
22106
- readonly totalReports: {
22107
- readonly description: 'Cumulative sum of the number of reports on the items in the set';
22108
- readonly type: 'integer';
22109
- };
22110
- readonly reportedCount: {
22111
- readonly description: 'Number of items that were reported at least once';
22112
- readonly type: 'integer';
22113
- };
22114
- readonly escalatedCount: {
22115
- readonly description: 'Number of items that were escalated at least once';
22116
- readonly type: 'integer';
22117
- };
22118
- readonly appealedCount: {
22119
- readonly description: 'Number of items that were appealed at least once';
22120
- readonly type: 'integer';
22121
- };
22122
- readonly subjectCount: {
22123
- readonly description: 'Total number of item in the set';
22124
- readonly type: 'integer';
22125
- };
22126
- readonly pendingCount: {
22127
- readonly description: 'Number of item currently in "reviewOpen" or "reviewEscalated" state';
22128
- readonly type: 'integer';
22129
- };
22130
- readonly processedCount: {
22131
- readonly description: 'Number of item currently in "reviewNone" or "reviewClosed" state';
22132
- readonly type: 'integer';
22133
- };
22134
- readonly takendownCount: {
22135
- readonly description: 'Number of item currently taken down';
22136
- readonly type: 'integer';
22137
- };
22138
- };
22139
- };
22140
22169
  readonly accountStrike: {
22141
22170
  readonly description: 'Strike information for an account';
22142
22171
  readonly type: 'object';
@@ -24008,8 +24037,9 @@ export declare const schemaDict: {
24008
24037
  };
24009
24038
  readonly sortField: {
24010
24039
  readonly type: 'string';
24040
+ readonly description: 'The reportedRecordsCount and takendownRecordsCount values are deprecated and use lastReportedAt instead.';
24011
24041
  readonly default: 'lastReportedAt';
24012
- readonly enum: ["lastReviewedAt", "lastReportedAt", "reportedRecordsCount", "takendownRecordsCount", "priorityScore"];
24042
+ readonly enum: ["lastReviewedAt", "lastReportedAt", "priorityScore", "reportedRecordsCount", "takendownRecordsCount"];
24013
24043
  };
24014
24044
  readonly sortDirection: {
24015
24045
  readonly type: 'string';
@@ -24061,18 +24091,6 @@ export declare const schemaDict: {
24061
24091
  readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
24062
24092
  readonly knownValues: ["account", "record", "conversation"];
24063
24093
  };
24064
- readonly minAccountSuspendCount: {
24065
- readonly type: 'integer';
24066
- readonly description: 'If specified, only subjects that belong to an account that has at least this many suspensions will be returned.';
24067
- };
24068
- readonly minReportedRecordsCount: {
24069
- readonly type: 'integer';
24070
- readonly description: 'If specified, only subjects that belong to an account that has at least this many reported records will be returned.';
24071
- };
24072
- readonly minTakendownRecordsCount: {
24073
- readonly type: 'integer';
24074
- readonly description: 'If specified, only subjects that belong to an account that has at least this many taken down records will be returned.';
24075
- };
24076
24094
  readonly minPriorityScore: {
24077
24095
  readonly minimum: 0;
24078
24096
  readonly maximum: 100;
@@ -37571,13 +37589,13 @@ export declare const schemas: ({
37571
37589
  readonly defs: {
37572
37590
  readonly main: {
37573
37591
  readonly type: 'query';
37574
- readonly description: 'Get Atmosphere Explore content. Articles are recommended when algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.';
37592
+ readonly description: 'Get Atmosphere Explore content. Articles and photo galleries are recommended when their algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.';
37575
37593
  readonly parameters: {
37576
37594
  readonly type: 'params';
37577
37595
  readonly properties: {
37578
37596
  readonly langs: {
37579
37597
  readonly type: 'array';
37580
- readonly description: 'Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.';
37598
+ readonly description: 'Preferred languages for article and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise.';
37581
37599
  readonly items: {
37582
37600
  readonly type: 'string';
37583
37601
  readonly format: 'language';
@@ -37704,6 +37722,11 @@ export declare const schemas: ({
37704
37722
  readonly ref: 'lex:com.atproto.repo.strongRef';
37705
37723
  readonly description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.';
37706
37724
  };
37725
+ readonly viewBskyPost: {
37726
+ readonly type: 'ref';
37727
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
37728
+ readonly description: 'The hydrated Bluesky post associated with the article, as declared by its author. Omitted when the post is unavailable to the viewer.';
37729
+ };
37707
37730
  readonly view: {
37708
37731
  readonly type: 'ref';
37709
37732
  readonly ref: 'lex:app.bsky.embed.external#viewArticle';
@@ -37751,6 +37774,11 @@ export declare const schemas: ({
37751
37774
  readonly ref: 'lex:com.atproto.repo.strongRef';
37752
37775
  readonly description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.';
37753
37776
  };
37777
+ readonly viewBskyPost: {
37778
+ readonly type: 'ref';
37779
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
37780
+ readonly description: 'The hydrated Bluesky post that announced the livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
37781
+ };
37754
37782
  readonly view: {
37755
37783
  readonly type: 'ref';
37756
37784
  readonly ref: 'lex:app.bsky.embed.external#viewLivestream';
@@ -37852,7 +37880,7 @@ export declare const schemas: ({
37852
37880
  readonly defs: {
37853
37881
  readonly main: {
37854
37882
  readonly type: 'query';
37855
- readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Grouping and related activity are limited to the returned page.";
37883
+ readonly description: "Get the authenticated viewer's Atmosphere activity timeline. Groups contain visible activities from the returned page.";
37856
37884
  readonly parameters: {
37857
37885
  readonly type: 'params';
37858
37886
  readonly properties: {
@@ -37874,7 +37902,7 @@ export declare const schemas: ({
37874
37902
  readonly type: 'array';
37875
37903
  readonly items: {
37876
37904
  readonly type: 'union';
37877
- readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroup"];
37905
+ readonly refs: ["lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem", "lex:app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup", "lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup"];
37878
37906
  };
37879
37907
  };
37880
37908
  };
@@ -37924,40 +37952,131 @@ export declare const schemas: ({
37924
37952
  readonly type: 'ref';
37925
37953
  readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
37926
37954
  };
37955
+ readonly relatedActivity: {
37956
+ readonly type: 'array';
37957
+ readonly description: "Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated.";
37958
+ readonly items: {
37959
+ readonly type: 'ref';
37960
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup';
37961
+ };
37962
+ };
37927
37963
  readonly bskyPostRef: {
37928
37964
  readonly type: 'ref';
37929
37965
  readonly ref: 'lex:com.atproto.repo.strongRef';
37930
37966
  readonly description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.';
37931
37967
  };
37968
+ readonly viewBskyPost: {
37969
+ readonly type: 'ref';
37970
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
37971
+ readonly description: 'The hydrated Bluesky post associated with the rendered article or livestream, as declared by its author. Omitted when the post is unavailable to the viewer.';
37972
+ };
37932
37973
  readonly view: {
37933
37974
  readonly type: 'union';
37934
37975
  readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery", "lex:app.bsky.embed.external#viewLivestream", "lex:app.bsky.feed.defs#postView"];
37935
37976
  };
37936
- readonly relatedActivity: {
37977
+ };
37978
+ };
37979
+ readonly activityActorGroup: {
37980
+ readonly type: 'object';
37981
+ readonly description: 'Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone.';
37982
+ readonly required: ["id", "collection", "indexedAt", "actor", "item", "uris"];
37983
+ readonly properties: {
37984
+ readonly id: {
37985
+ readonly type: 'string';
37986
+ };
37987
+ readonly collection: {
37988
+ readonly type: 'string';
37989
+ readonly format: 'nsid';
37990
+ };
37991
+ readonly indexedAt: {
37992
+ readonly type: 'string';
37993
+ readonly format: 'datetime';
37994
+ };
37995
+ readonly actor: {
37996
+ readonly type: 'string';
37997
+ readonly format: 'did';
37998
+ };
37999
+ readonly item: {
38000
+ readonly type: 'ref';
38001
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
38002
+ };
38003
+ readonly uris: {
37937
38004
  readonly type: 'array';
37938
- readonly description: 'Recommendations and shares attached to this article. Attached activities do not themselves contain related activity.';
38005
+ readonly description: 'All visible group item URIs, including the hydrated item, in newest-first timeline order.';
38006
+ readonly minLength: 2;
37939
38007
  readonly items: {
37940
- readonly type: 'ref';
37941
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
38008
+ readonly type: 'string';
38009
+ readonly format: 'at-uri';
37942
38010
  };
37943
38011
  };
37944
38012
  };
37945
38013
  };
37946
- readonly activityItemOverflow: {
38014
+ readonly activitySubject: {
37947
38015
  readonly type: 'object';
37948
- readonly description: 'Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records.';
37949
- readonly required: ["count", "collection", "associatedProfiles"];
38016
+ readonly description: 'The shared target of grouped activities, not an activity itself.';
38017
+ readonly required: ["uri", "viewerState", "view"];
37950
38018
  readonly properties: {
37951
- readonly count: {
37952
- readonly type: 'integer';
37953
- readonly minimum: 1;
38019
+ readonly uri: {
38020
+ readonly type: 'string';
38021
+ readonly format: 'at-uri';
38022
+ };
38023
+ readonly viewerState: {
38024
+ readonly type: 'ref';
38025
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState';
38026
+ };
38027
+ readonly bskyPostRef: {
38028
+ readonly type: 'ref';
38029
+ readonly ref: 'lex:com.atproto.repo.strongRef';
38030
+ readonly description: "The author's declared Bluesky post for the target. The post may be unavailable.";
38031
+ };
38032
+ readonly viewBskyPost: {
38033
+ readonly type: 'ref';
38034
+ readonly ref: 'lex:app.bsky.feed.defs#postView';
38035
+ readonly description: "The hydrated Bluesky post declared by the target's author. Omitted when the post is unavailable to the viewer.";
38036
+ };
38037
+ readonly view: {
38038
+ readonly type: 'union';
38039
+ readonly refs: ["lex:app.bsky.embed.external#viewArticle", "lex:app.bsky.embed.external#viewArticlePublication", "lex:app.bsky.embed.external#viewGallery"];
38040
+ };
38041
+ };
38042
+ };
38043
+ readonly activityGroupItem: {
38044
+ readonly type: 'object';
38045
+ readonly description: 'An unhydrated group item. Its actor DID is the authority of its record URI.';
38046
+ readonly required: ["record", "collection"];
38047
+ readonly properties: {
38048
+ readonly record: {
38049
+ readonly type: 'ref';
38050
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord';
37954
38051
  };
37955
38052
  readonly collection: {
37956
38053
  readonly type: 'string';
37957
38054
  readonly format: 'nsid';
37958
38055
  };
37959
- readonly associatedProfiles: {
38056
+ };
38057
+ };
38058
+ readonly activityRelatedGroup: {
38059
+ readonly type: 'object';
38060
+ readonly description: "Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance.";
38061
+ readonly required: ["collection", "activities", "actors"];
38062
+ readonly properties: {
38063
+ readonly collection: {
38064
+ readonly type: 'string';
38065
+ readonly format: 'nsid';
38066
+ };
38067
+ readonly activities: {
38068
+ readonly type: 'array';
38069
+ readonly description: "Visible activity references in newest-first timeline order. Every activity has the bucket's collection.";
38070
+ readonly minLength: 1;
38071
+ readonly items: {
38072
+ readonly type: 'ref';
38073
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
38074
+ };
38075
+ };
38076
+ readonly actors: {
37960
38077
  readonly type: 'array';
38078
+ readonly description: "Unique actors in first-appearance order among the bucket's activities.";
38079
+ readonly minLength: 1;
37961
38080
  readonly items: {
37962
38081
  readonly type: 'ref';
37963
38082
  readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
@@ -37965,18 +38084,14 @@ export declare const schemas: ({
37965
38084
  };
37966
38085
  };
37967
38086
  };
37968
- readonly activityGroup: {
38087
+ readonly activitySubjectGroup: {
37969
38088
  readonly type: 'object';
37970
- readonly description: "Two or more activities of the same collection, within a fixed window anchored at the newest member. The group occupies the newest member's position.";
37971
- readonly required: ["id", "groupBy", "collection", "indexedAt", "items"];
38089
+ readonly description: 'Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows.';
38090
+ readonly required: ["id", "collection", "indexedAt", "subject", "activities", "actors"];
37972
38091
  readonly properties: {
37973
38092
  readonly id: {
37974
38093
  readonly type: 'string';
37975
38094
  };
37976
- readonly groupBy: {
37977
- readonly type: 'string';
37978
- readonly knownValues: ["subject", "actor"];
37979
- };
37980
38095
  readonly collection: {
37981
38096
  readonly type: 'string';
37982
38097
  readonly format: 'nsid';
@@ -37985,21 +38100,27 @@ export declare const schemas: ({
37985
38100
  readonly type: 'string';
37986
38101
  readonly format: 'datetime';
37987
38102
  };
37988
- readonly items: {
38103
+ readonly subject: {
38104
+ readonly type: 'ref';
38105
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubject';
38106
+ };
38107
+ readonly activities: {
37989
38108
  readonly type: 'array';
38109
+ readonly description: "Visible group items in newest-first timeline order. Every activity has the group's collection.";
37990
38110
  readonly minLength: 2;
37991
38111
  readonly items: {
37992
38112
  readonly type: 'ref';
37993
- readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem';
38113
+ readonly ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
37994
38114
  };
37995
38115
  };
37996
- readonly subject: {
37997
- readonly type: 'string';
37998
- readonly format: 'at-uri';
37999
- };
38000
- readonly actor: {
38001
- readonly type: 'string';
38002
- readonly format: 'did';
38116
+ readonly actors: {
38117
+ readonly type: 'array';
38118
+ readonly description: 'Unique actors in first-appearance order among group items. At least two distinct actors are required.';
38119
+ readonly minLength: 2;
38120
+ readonly items: {
38121
+ readonly type: 'ref';
38122
+ readonly ref: 'lex:app.bsky.actor.defs#profileViewBasic';
38123
+ };
38003
38124
  };
38004
38125
  };
38005
38126
  };
@@ -50062,16 +50183,6 @@ export declare const schemas: ({
50062
50183
  readonly type: 'string';
50063
50184
  };
50064
50185
  };
50065
- readonly accountStats: {
50066
- readonly description: 'Statistics related to the account subject';
50067
- readonly type: 'ref';
50068
- readonly ref: 'lex:tools.ozone.moderation.defs#accountStats';
50069
- };
50070
- readonly recordsStats: {
50071
- readonly description: "Statistics related to the record subjects authored by the subject's account";
50072
- readonly type: 'ref';
50073
- readonly ref: 'lex:tools.ozone.moderation.defs#recordsStats';
50074
- };
50075
50186
  readonly accountStrike: {
50076
50187
  readonly description: 'Strike information for the account (account-level only)';
50077
50188
  readonly type: 'ref';
@@ -50119,70 +50230,6 @@ export declare const schemas: ({
50119
50230
  };
50120
50231
  };
50121
50232
  };
50122
- readonly accountStats: {
50123
- readonly description: 'Statistics about a particular account subject';
50124
- readonly type: 'object';
50125
- readonly properties: {
50126
- readonly reportCount: {
50127
- readonly description: 'Total number of reports on the account';
50128
- readonly type: 'integer';
50129
- };
50130
- readonly appealCount: {
50131
- readonly description: 'Total number of appeals against a moderation action on the account';
50132
- readonly type: 'integer';
50133
- };
50134
- readonly suspendCount: {
50135
- readonly description: 'Number of times the account was suspended';
50136
- readonly type: 'integer';
50137
- };
50138
- readonly escalateCount: {
50139
- readonly description: 'Number of times the account was escalated';
50140
- readonly type: 'integer';
50141
- };
50142
- readonly takedownCount: {
50143
- readonly description: 'Number of times the account was taken down';
50144
- readonly type: 'integer';
50145
- };
50146
- };
50147
- };
50148
- readonly recordsStats: {
50149
- readonly description: 'Statistics about a set of record subject items';
50150
- readonly type: 'object';
50151
- readonly properties: {
50152
- readonly totalReports: {
50153
- readonly description: 'Cumulative sum of the number of reports on the items in the set';
50154
- readonly type: 'integer';
50155
- };
50156
- readonly reportedCount: {
50157
- readonly description: 'Number of items that were reported at least once';
50158
- readonly type: 'integer';
50159
- };
50160
- readonly escalatedCount: {
50161
- readonly description: 'Number of items that were escalated at least once';
50162
- readonly type: 'integer';
50163
- };
50164
- readonly appealedCount: {
50165
- readonly description: 'Number of items that were appealed at least once';
50166
- readonly type: 'integer';
50167
- };
50168
- readonly subjectCount: {
50169
- readonly description: 'Total number of item in the set';
50170
- readonly type: 'integer';
50171
- };
50172
- readonly pendingCount: {
50173
- readonly description: 'Number of item currently in "reviewOpen" or "reviewEscalated" state';
50174
- readonly type: 'integer';
50175
- };
50176
- readonly processedCount: {
50177
- readonly description: 'Number of item currently in "reviewNone" or "reviewClosed" state';
50178
- readonly type: 'integer';
50179
- };
50180
- readonly takendownCount: {
50181
- readonly description: 'Number of item currently taken down';
50182
- readonly type: 'integer';
50183
- };
50184
- };
50185
- };
50186
50233
  readonly accountStrike: {
50187
50234
  readonly description: 'Strike information for an account';
50188
50235
  readonly type: 'object';
@@ -52041,8 +52088,9 @@ export declare const schemas: ({
52041
52088
  };
52042
52089
  readonly sortField: {
52043
52090
  readonly type: 'string';
52091
+ readonly description: 'The reportedRecordsCount and takendownRecordsCount values are deprecated and use lastReportedAt instead.';
52044
52092
  readonly default: 'lastReportedAt';
52045
- readonly enum: ["lastReviewedAt", "lastReportedAt", "reportedRecordsCount", "takendownRecordsCount", "priorityScore"];
52093
+ readonly enum: ["lastReviewedAt", "lastReportedAt", "priorityScore", "reportedRecordsCount", "takendownRecordsCount"];
52046
52094
  };
52047
52095
  readonly sortDirection: {
52048
52096
  readonly type: 'string';
@@ -52094,18 +52142,6 @@ export declare const schemas: ({
52094
52142
  readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
52095
52143
  readonly knownValues: ["account", "record", "conversation"];
52096
52144
  };
52097
- readonly minAccountSuspendCount: {
52098
- readonly type: 'integer';
52099
- readonly description: 'If specified, only subjects that belong to an account that has at least this many suspensions will be returned.';
52100
- };
52101
- readonly minReportedRecordsCount: {
52102
- readonly type: 'integer';
52103
- readonly description: 'If specified, only subjects that belong to an account that has at least this many reported records will be returned.';
52104
- };
52105
- readonly minTakendownRecordsCount: {
52106
- readonly type: 'integer';
52107
- readonly description: 'If specified, only subjects that belong to an account that has at least this many taken down records will be returned.';
52108
- };
52109
52145
  readonly minPriorityScore: {
52110
52146
  readonly minimum: 0;
52111
52147
  readonly maximum: 100;