@atproto/api 0.30.0 → 0.31.0
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 +47 -0
- package/dist/client/index.d.ts +34 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +45 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +666 -196
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +346 -98
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +40 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js +21 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +4 -5
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +81 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +49 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -0
- package/dist/client/types/com/atproto/label/record.d.ts +22 -0
- package/dist/client/types/com/atproto/label/record.d.ts.map +1 -0
- package/dist/client/types/com/atproto/label/record.js +18 -0
- package/dist/client/types/com/atproto/label/record.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +12 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.js +7 -0
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/inbox/getAccountStatus.d.ts +4 -0
- package/dist/client/types/tools/ozone/inbox/getAccountStatus.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/getAccountStatus.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +0 -40
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +0 -14
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +2 -0
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -7
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts +2 -0
- package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -1
- package/package.json +9 -9
package/dist/client/lexicons.js
CHANGED
|
@@ -9482,6 +9482,86 @@ export const schemaDict = {
|
|
|
9482
9482
|
},
|
|
9483
9483
|
},
|
|
9484
9484
|
},
|
|
9485
|
+
AppBskyUnspeccedGetAtmosphereApps: {
|
|
9486
|
+
lexicon: 1,
|
|
9487
|
+
id: 'app.bsky.unspecced.getAtmosphereApps',
|
|
9488
|
+
defs: {
|
|
9489
|
+
main: {
|
|
9490
|
+
type: 'query',
|
|
9491
|
+
description: 'Get curated Atmosphere apps. Authentication is optional; authenticated requests include viewer-specific profile state and known followers.',
|
|
9492
|
+
parameters: {
|
|
9493
|
+
type: 'params',
|
|
9494
|
+
properties: {
|
|
9495
|
+
category: {
|
|
9496
|
+
type: 'string',
|
|
9497
|
+
maxLength: 100,
|
|
9498
|
+
description: 'Only return apps with this category (exact match). Omit to return all apps.',
|
|
9499
|
+
},
|
|
9500
|
+
},
|
|
9501
|
+
},
|
|
9502
|
+
output: {
|
|
9503
|
+
encoding: 'application/json',
|
|
9504
|
+
schema: {
|
|
9505
|
+
type: 'object',
|
|
9506
|
+
required: ['apps'],
|
|
9507
|
+
properties: {
|
|
9508
|
+
apps: {
|
|
9509
|
+
type: 'array',
|
|
9510
|
+
maxLength: 100,
|
|
9511
|
+
items: {
|
|
9512
|
+
type: 'ref',
|
|
9513
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereApps#appCard',
|
|
9514
|
+
},
|
|
9515
|
+
},
|
|
9516
|
+
},
|
|
9517
|
+
},
|
|
9518
|
+
},
|
|
9519
|
+
},
|
|
9520
|
+
appCard: {
|
|
9521
|
+
type: 'object',
|
|
9522
|
+
properties: {
|
|
9523
|
+
id: {
|
|
9524
|
+
type: 'string',
|
|
9525
|
+
maxLength: 4096,
|
|
9526
|
+
},
|
|
9527
|
+
title: {
|
|
9528
|
+
type: 'string',
|
|
9529
|
+
maxLength: 4096,
|
|
9530
|
+
},
|
|
9531
|
+
description: {
|
|
9532
|
+
type: 'string',
|
|
9533
|
+
maxLength: 4096,
|
|
9534
|
+
},
|
|
9535
|
+
logo: {
|
|
9536
|
+
type: 'string',
|
|
9537
|
+
format: 'uri',
|
|
9538
|
+
maxLength: 4096,
|
|
9539
|
+
description: "The app's logo, using its account avatar when available.",
|
|
9540
|
+
},
|
|
9541
|
+
banner: {
|
|
9542
|
+
type: 'string',
|
|
9543
|
+
format: 'uri',
|
|
9544
|
+
maxLength: 4096,
|
|
9545
|
+
description: "The app's banner, using its account banner when available.",
|
|
9546
|
+
},
|
|
9547
|
+
url: {
|
|
9548
|
+
type: 'string',
|
|
9549
|
+
format: 'uri',
|
|
9550
|
+
maxLength: 4096,
|
|
9551
|
+
},
|
|
9552
|
+
category: {
|
|
9553
|
+
type: 'string',
|
|
9554
|
+
maxLength: 100,
|
|
9555
|
+
},
|
|
9556
|
+
profile: {
|
|
9557
|
+
type: 'ref',
|
|
9558
|
+
ref: 'lex:app.bsky.actor.defs#profileViewDetailed',
|
|
9559
|
+
description: "The app's account profile, when available.",
|
|
9560
|
+
},
|
|
9561
|
+
},
|
|
9562
|
+
},
|
|
9563
|
+
},
|
|
9564
|
+
},
|
|
9485
9565
|
AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: {
|
|
9486
9566
|
lexicon: 1,
|
|
9487
9567
|
id: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations',
|
|
@@ -9545,26 +9625,18 @@ export const schemaDict = {
|
|
|
9545
9625
|
defs: {
|
|
9546
9626
|
main: {
|
|
9547
9627
|
type: 'query',
|
|
9548
|
-
description: 'Get Atmosphere Explore content. Articles are recommended when algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Authentication is optional; authenticated requests include viewer-specific profile state.',
|
|
9628
|
+
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.',
|
|
9549
9629
|
parameters: {
|
|
9550
9630
|
type: 'params',
|
|
9551
9631
|
properties: {
|
|
9552
9632
|
langs: {
|
|
9553
9633
|
type: 'array',
|
|
9554
|
-
description: 'Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9634
|
+
description: 'Preferred languages for article and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9555
9635
|
items: {
|
|
9556
9636
|
type: 'string',
|
|
9557
9637
|
format: 'language',
|
|
9558
9638
|
},
|
|
9559
9639
|
},
|
|
9560
|
-
countryCode: {
|
|
9561
|
-
type: 'string',
|
|
9562
|
-
description: 'The ISO 3166-1 alpha-2 country code used to select curated content.',
|
|
9563
|
-
},
|
|
9564
|
-
regionCode: {
|
|
9565
|
-
type: 'string',
|
|
9566
|
-
description: 'The ISO 3166-2 region code used to select curated content.',
|
|
9567
|
-
},
|
|
9568
9640
|
},
|
|
9569
9641
|
},
|
|
9570
9642
|
output: {
|
|
@@ -9687,6 +9759,11 @@ export const schemaDict = {
|
|
|
9687
9759
|
type: 'boolean',
|
|
9688
9760
|
description: 'Deprecated. Retained for compatibility; always false.',
|
|
9689
9761
|
},
|
|
9762
|
+
bskyPostRef: {
|
|
9763
|
+
type: 'ref',
|
|
9764
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
9765
|
+
description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.',
|
|
9766
|
+
},
|
|
9690
9767
|
view: {
|
|
9691
9768
|
type: 'ref',
|
|
9692
9769
|
ref: 'lex:app.bsky.embed.external#viewArticle',
|
|
@@ -9729,6 +9806,11 @@ export const schemaDict = {
|
|
|
9729
9806
|
type: 'boolean',
|
|
9730
9807
|
description: 'Deprecated. Retained for compatibility; always false.',
|
|
9731
9808
|
},
|
|
9809
|
+
bskyPostRef: {
|
|
9810
|
+
type: 'ref',
|
|
9811
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
9812
|
+
description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.',
|
|
9813
|
+
},
|
|
9732
9814
|
view: {
|
|
9733
9815
|
type: 'ref',
|
|
9734
9816
|
ref: 'lex:app.bsky.embed.external#viewLivestream',
|
|
@@ -9825,6 +9907,175 @@ export const schemaDict = {
|
|
|
9825
9907
|
},
|
|
9826
9908
|
},
|
|
9827
9909
|
},
|
|
9910
|
+
AppBskyUnspeccedGetAtmosphereTimeline: {
|
|
9911
|
+
lexicon: 1,
|
|
9912
|
+
id: 'app.bsky.unspecced.getAtmosphereTimeline',
|
|
9913
|
+
defs: {
|
|
9914
|
+
main: {
|
|
9915
|
+
type: 'query',
|
|
9916
|
+
description: "Get the authenticated viewer's Atmosphere activity timeline. Grouping and related activity are limited to the returned page.",
|
|
9917
|
+
parameters: {
|
|
9918
|
+
type: 'params',
|
|
9919
|
+
properties: {
|
|
9920
|
+
cursor: {
|
|
9921
|
+
type: 'string',
|
|
9922
|
+
},
|
|
9923
|
+
},
|
|
9924
|
+
},
|
|
9925
|
+
output: {
|
|
9926
|
+
encoding: 'application/json',
|
|
9927
|
+
schema: {
|
|
9928
|
+
type: 'object',
|
|
9929
|
+
required: ['feed'],
|
|
9930
|
+
properties: {
|
|
9931
|
+
cursor: {
|
|
9932
|
+
type: 'string',
|
|
9933
|
+
},
|
|
9934
|
+
feed: {
|
|
9935
|
+
type: 'array',
|
|
9936
|
+
items: {
|
|
9937
|
+
type: 'union',
|
|
9938
|
+
refs: [
|
|
9939
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
9940
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow',
|
|
9941
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroup',
|
|
9942
|
+
],
|
|
9943
|
+
},
|
|
9944
|
+
},
|
|
9945
|
+
},
|
|
9946
|
+
},
|
|
9947
|
+
},
|
|
9948
|
+
},
|
|
9949
|
+
activityRecord: {
|
|
9950
|
+
type: 'object',
|
|
9951
|
+
required: ['uri', 'cid', 'indexedAt'],
|
|
9952
|
+
properties: {
|
|
9953
|
+
uri: {
|
|
9954
|
+
type: 'string',
|
|
9955
|
+
format: 'at-uri',
|
|
9956
|
+
},
|
|
9957
|
+
cid: {
|
|
9958
|
+
type: 'string',
|
|
9959
|
+
format: 'cid',
|
|
9960
|
+
},
|
|
9961
|
+
indexedAt: {
|
|
9962
|
+
type: 'string',
|
|
9963
|
+
format: 'datetime',
|
|
9964
|
+
},
|
|
9965
|
+
},
|
|
9966
|
+
},
|
|
9967
|
+
viewerState: {
|
|
9968
|
+
type: 'object',
|
|
9969
|
+
required: ['subscribed'],
|
|
9970
|
+
properties: {
|
|
9971
|
+
subscribed: {
|
|
9972
|
+
type: 'boolean',
|
|
9973
|
+
},
|
|
9974
|
+
},
|
|
9975
|
+
},
|
|
9976
|
+
activityItem: {
|
|
9977
|
+
type: 'object',
|
|
9978
|
+
required: ['record', 'collection', 'viewerState'],
|
|
9979
|
+
properties: {
|
|
9980
|
+
record: {
|
|
9981
|
+
type: 'ref',
|
|
9982
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord',
|
|
9983
|
+
},
|
|
9984
|
+
collection: {
|
|
9985
|
+
type: 'string',
|
|
9986
|
+
format: 'nsid',
|
|
9987
|
+
},
|
|
9988
|
+
viewerState: {
|
|
9989
|
+
type: 'ref',
|
|
9990
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState',
|
|
9991
|
+
},
|
|
9992
|
+
bskyPostRef: {
|
|
9993
|
+
type: 'ref',
|
|
9994
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
9995
|
+
description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.',
|
|
9996
|
+
},
|
|
9997
|
+
view: {
|
|
9998
|
+
type: 'union',
|
|
9999
|
+
refs: [
|
|
10000
|
+
'lex:app.bsky.embed.external#viewArticle',
|
|
10001
|
+
'lex:app.bsky.embed.external#viewArticlePublication',
|
|
10002
|
+
'lex:app.bsky.embed.external#viewGallery',
|
|
10003
|
+
'lex:app.bsky.embed.external#viewLivestream',
|
|
10004
|
+
'lex:app.bsky.feed.defs#postView',
|
|
10005
|
+
],
|
|
10006
|
+
},
|
|
10007
|
+
relatedActivity: {
|
|
10008
|
+
type: 'array',
|
|
10009
|
+
description: 'Recommendations and shares attached to this article. Attached activities do not themselves contain related activity.',
|
|
10010
|
+
items: {
|
|
10011
|
+
type: 'ref',
|
|
10012
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
10013
|
+
},
|
|
10014
|
+
},
|
|
10015
|
+
},
|
|
10016
|
+
},
|
|
10017
|
+
activityItemOverflow: {
|
|
10018
|
+
type: 'object',
|
|
10019
|
+
description: 'Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records.',
|
|
10020
|
+
required: ['count', 'collection', 'associatedProfiles'],
|
|
10021
|
+
properties: {
|
|
10022
|
+
count: {
|
|
10023
|
+
type: 'integer',
|
|
10024
|
+
minimum: 1,
|
|
10025
|
+
},
|
|
10026
|
+
collection: {
|
|
10027
|
+
type: 'string',
|
|
10028
|
+
format: 'nsid',
|
|
10029
|
+
},
|
|
10030
|
+
associatedProfiles: {
|
|
10031
|
+
type: 'array',
|
|
10032
|
+
items: {
|
|
10033
|
+
type: 'ref',
|
|
10034
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
10035
|
+
},
|
|
10036
|
+
},
|
|
10037
|
+
},
|
|
10038
|
+
},
|
|
10039
|
+
activityGroup: {
|
|
10040
|
+
type: 'object',
|
|
10041
|
+
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.",
|
|
10042
|
+
required: ['id', 'groupBy', 'collection', 'indexedAt', 'items'],
|
|
10043
|
+
properties: {
|
|
10044
|
+
id: {
|
|
10045
|
+
type: 'string',
|
|
10046
|
+
},
|
|
10047
|
+
groupBy: {
|
|
10048
|
+
type: 'string',
|
|
10049
|
+
knownValues: ['subject', 'actor'],
|
|
10050
|
+
},
|
|
10051
|
+
collection: {
|
|
10052
|
+
type: 'string',
|
|
10053
|
+
format: 'nsid',
|
|
10054
|
+
},
|
|
10055
|
+
indexedAt: {
|
|
10056
|
+
type: 'string',
|
|
10057
|
+
format: 'datetime',
|
|
10058
|
+
},
|
|
10059
|
+
items: {
|
|
10060
|
+
type: 'array',
|
|
10061
|
+
minLength: 2,
|
|
10062
|
+
items: {
|
|
10063
|
+
type: 'ref',
|
|
10064
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
10065
|
+
},
|
|
10066
|
+
},
|
|
10067
|
+
subject: {
|
|
10068
|
+
type: 'string',
|
|
10069
|
+
format: 'at-uri',
|
|
10070
|
+
},
|
|
10071
|
+
actor: {
|
|
10072
|
+
type: 'string',
|
|
10073
|
+
format: 'did',
|
|
10074
|
+
},
|
|
10075
|
+
},
|
|
10076
|
+
},
|
|
10077
|
+
},
|
|
10078
|
+
},
|
|
9828
10079
|
AppBskyUnspeccedGetConfig: {
|
|
9829
10080
|
lexicon: 1,
|
|
9830
10081
|
id: 'app.bsky.unspecced.getConfig',
|
|
@@ -17640,6 +17891,48 @@ export const schemaDict = {
|
|
|
17640
17891
|
},
|
|
17641
17892
|
},
|
|
17642
17893
|
},
|
|
17894
|
+
ComAtprotoLabelRecord: {
|
|
17895
|
+
lexicon: 1,
|
|
17896
|
+
id: 'com.atproto.label.record',
|
|
17897
|
+
defs: {
|
|
17898
|
+
main: {
|
|
17899
|
+
type: 'record',
|
|
17900
|
+
description: "Metadata tag on an atproto resource (eg, repo or record), published as a record in the labeler's repository. Currently ONLY intended to be used in atproto space repos, not the public broadcast repository. For public data, continue to use signed label objects. This guidance may be updated in the future.",
|
|
17901
|
+
key: 'tid',
|
|
17902
|
+
record: {
|
|
17903
|
+
type: 'object',
|
|
17904
|
+
required: ['uri', 'val', 'cts'],
|
|
17905
|
+
properties: {
|
|
17906
|
+
uri: {
|
|
17907
|
+
type: 'string',
|
|
17908
|
+
format: 'uri',
|
|
17909
|
+
description: 'URI of the record, repository (account), or other resource that this label applies to. Currently only intended for use in the context of atproto spaces.',
|
|
17910
|
+
},
|
|
17911
|
+
cid: {
|
|
17912
|
+
type: 'string',
|
|
17913
|
+
format: 'cid',
|
|
17914
|
+
description: "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
|
|
17915
|
+
},
|
|
17916
|
+
val: {
|
|
17917
|
+
type: 'string',
|
|
17918
|
+
maxLength: 128,
|
|
17919
|
+
description: 'The short string name of the value or type of this label.',
|
|
17920
|
+
},
|
|
17921
|
+
cts: {
|
|
17922
|
+
type: 'string',
|
|
17923
|
+
format: 'datetime',
|
|
17924
|
+
description: 'Timestamp when this label was created.',
|
|
17925
|
+
},
|
|
17926
|
+
exp: {
|
|
17927
|
+
type: 'string',
|
|
17928
|
+
format: 'datetime',
|
|
17929
|
+
description: 'Timestamp at which this label expires (no longer applies).',
|
|
17930
|
+
},
|
|
17931
|
+
},
|
|
17932
|
+
},
|
|
17933
|
+
},
|
|
17934
|
+
},
|
|
17935
|
+
},
|
|
17643
17936
|
ComAtprotoLabelSubscribeLabels: {
|
|
17644
17937
|
lexicon: 1,
|
|
17645
17938
|
id: 'com.atproto.label.subscribeLabels',
|
|
@@ -21790,6 +22083,11 @@ export const schemaDict = {
|
|
|
21790
22083
|
type: 'unknown',
|
|
21791
22084
|
description: 'Raw record JSON for the subject, when the subject is a record and the record is available.',
|
|
21792
22085
|
},
|
|
22086
|
+
account: {
|
|
22087
|
+
type: 'ref',
|
|
22088
|
+
ref: 'lex:tools.ozone.inbox.defs#accountPreview',
|
|
22089
|
+
description: 'Best-effort current profile information for an account subject.',
|
|
22090
|
+
},
|
|
21793
22091
|
enforcement: {
|
|
21794
22092
|
type: 'ref',
|
|
21795
22093
|
ref: 'lex:tools.ozone.inbox.defs#enforcementView',
|
|
@@ -21833,6 +22131,20 @@ export const schemaDict = {
|
|
|
21833
22131
|
},
|
|
21834
22132
|
},
|
|
21835
22133
|
},
|
|
22134
|
+
accountPreview: {
|
|
22135
|
+
type: 'object',
|
|
22136
|
+
description: 'Current account information, when available; this is not a snapshot of the account at the time of the action.',
|
|
22137
|
+
properties: {
|
|
22138
|
+
handle: {
|
|
22139
|
+
type: 'string',
|
|
22140
|
+
format: 'handle',
|
|
22141
|
+
},
|
|
22142
|
+
profile: {
|
|
22143
|
+
type: 'unknown',
|
|
22144
|
+
description: 'Raw app.bsky.actor.profile record, when available.',
|
|
22145
|
+
},
|
|
22146
|
+
},
|
|
22147
|
+
},
|
|
21836
22148
|
reportsSummary: {
|
|
21837
22149
|
type: 'object',
|
|
21838
22150
|
description: 'Aggregate view of reports filed against this subject. Deliberately carries no report IDs, no count, and no reporter identities.',
|
|
@@ -21994,6 +22306,15 @@ export const schemaDict = {
|
|
|
21994
22306
|
type: 'string',
|
|
21995
22307
|
knownValues: ['good', 'warning', 'atRisk'],
|
|
21996
22308
|
},
|
|
22309
|
+
hasActiveStrikes: {
|
|
22310
|
+
type: 'boolean',
|
|
22311
|
+
description: 'Whether the account currently has any active strikes.',
|
|
22312
|
+
},
|
|
22313
|
+
enforcement: {
|
|
22314
|
+
type: 'ref',
|
|
22315
|
+
ref: 'lex:tools.ozone.inbox.defs#enforcementView',
|
|
22316
|
+
description: 'Current account takedown or suspension, independent of strike standing.',
|
|
22317
|
+
},
|
|
21997
22318
|
updatedAt: {
|
|
21998
22319
|
type: 'string',
|
|
21999
22320
|
format: 'datetime',
|
|
@@ -22976,16 +23297,6 @@ export const schemaDict = {
|
|
|
22976
23297
|
type: 'string',
|
|
22977
23298
|
},
|
|
22978
23299
|
},
|
|
22979
|
-
accountStats: {
|
|
22980
|
-
description: 'Statistics related to the account subject',
|
|
22981
|
-
type: 'ref',
|
|
22982
|
-
ref: 'lex:tools.ozone.moderation.defs#accountStats',
|
|
22983
|
-
},
|
|
22984
|
-
recordsStats: {
|
|
22985
|
-
description: "Statistics related to the record subjects authored by the subject's account",
|
|
22986
|
-
type: 'ref',
|
|
22987
|
-
ref: 'lex:tools.ozone.moderation.defs#recordsStats',
|
|
22988
|
-
},
|
|
22989
23300
|
accountStrike: {
|
|
22990
23301
|
description: 'Strike information for the account (account-level only)',
|
|
22991
23302
|
type: 'ref',
|
|
@@ -23033,70 +23344,6 @@ export const schemaDict = {
|
|
|
23033
23344
|
},
|
|
23034
23345
|
},
|
|
23035
23346
|
},
|
|
23036
|
-
accountStats: {
|
|
23037
|
-
description: 'Statistics about a particular account subject',
|
|
23038
|
-
type: 'object',
|
|
23039
|
-
properties: {
|
|
23040
|
-
reportCount: {
|
|
23041
|
-
description: 'Total number of reports on the account',
|
|
23042
|
-
type: 'integer',
|
|
23043
|
-
},
|
|
23044
|
-
appealCount: {
|
|
23045
|
-
description: 'Total number of appeals against a moderation action on the account',
|
|
23046
|
-
type: 'integer',
|
|
23047
|
-
},
|
|
23048
|
-
suspendCount: {
|
|
23049
|
-
description: 'Number of times the account was suspended',
|
|
23050
|
-
type: 'integer',
|
|
23051
|
-
},
|
|
23052
|
-
escalateCount: {
|
|
23053
|
-
description: 'Number of times the account was escalated',
|
|
23054
|
-
type: 'integer',
|
|
23055
|
-
},
|
|
23056
|
-
takedownCount: {
|
|
23057
|
-
description: 'Number of times the account was taken down',
|
|
23058
|
-
type: 'integer',
|
|
23059
|
-
},
|
|
23060
|
-
},
|
|
23061
|
-
},
|
|
23062
|
-
recordsStats: {
|
|
23063
|
-
description: 'Statistics about a set of record subject items',
|
|
23064
|
-
type: 'object',
|
|
23065
|
-
properties: {
|
|
23066
|
-
totalReports: {
|
|
23067
|
-
description: 'Cumulative sum of the number of reports on the items in the set',
|
|
23068
|
-
type: 'integer',
|
|
23069
|
-
},
|
|
23070
|
-
reportedCount: {
|
|
23071
|
-
description: 'Number of items that were reported at least once',
|
|
23072
|
-
type: 'integer',
|
|
23073
|
-
},
|
|
23074
|
-
escalatedCount: {
|
|
23075
|
-
description: 'Number of items that were escalated at least once',
|
|
23076
|
-
type: 'integer',
|
|
23077
|
-
},
|
|
23078
|
-
appealedCount: {
|
|
23079
|
-
description: 'Number of items that were appealed at least once',
|
|
23080
|
-
type: 'integer',
|
|
23081
|
-
},
|
|
23082
|
-
subjectCount: {
|
|
23083
|
-
description: 'Total number of item in the set',
|
|
23084
|
-
type: 'integer',
|
|
23085
|
-
},
|
|
23086
|
-
pendingCount: {
|
|
23087
|
-
description: 'Number of item currently in "reviewOpen" or "reviewEscalated" state',
|
|
23088
|
-
type: 'integer',
|
|
23089
|
-
},
|
|
23090
|
-
processedCount: {
|
|
23091
|
-
description: 'Number of item currently in "reviewNone" or "reviewClosed" state',
|
|
23092
|
-
type: 'integer',
|
|
23093
|
-
},
|
|
23094
|
-
takendownCount: {
|
|
23095
|
-
description: 'Number of item currently taken down',
|
|
23096
|
-
type: 'integer',
|
|
23097
|
-
},
|
|
23098
|
-
},
|
|
23099
|
-
},
|
|
23100
23347
|
accountStrike: {
|
|
23101
23348
|
description: 'Strike information for an account',
|
|
23102
23349
|
type: 'object',
|
|
@@ -24339,6 +24586,10 @@ export const schemaDict = {
|
|
|
24339
24586
|
type: 'boolean',
|
|
24340
24587
|
description: 'Target ALL reports on the subject. Excludes assigned and escalated reports.',
|
|
24341
24588
|
},
|
|
24589
|
+
allOwned: {
|
|
24590
|
+
type: 'boolean',
|
|
24591
|
+
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.',
|
|
24592
|
+
},
|
|
24342
24593
|
note: {
|
|
24343
24594
|
type: 'string',
|
|
24344
24595
|
description: 'Note to send to reporter(s) when actioning their report',
|
|
@@ -25110,13 +25361,14 @@ export const schemaDict = {
|
|
|
25110
25361
|
},
|
|
25111
25362
|
sortField: {
|
|
25112
25363
|
type: 'string',
|
|
25364
|
+
description: 'The reportedRecordsCount and takendownRecordsCount values are deprecated and use lastReportedAt instead.',
|
|
25113
25365
|
default: 'lastReportedAt',
|
|
25114
25366
|
enum: [
|
|
25115
25367
|
'lastReviewedAt',
|
|
25116
25368
|
'lastReportedAt',
|
|
25369
|
+
'priorityScore',
|
|
25117
25370
|
'reportedRecordsCount',
|
|
25118
25371
|
'takendownRecordsCount',
|
|
25119
|
-
'priorityScore',
|
|
25120
25372
|
],
|
|
25121
25373
|
},
|
|
25122
25374
|
sortDirection: {
|
|
@@ -25169,18 +25421,6 @@ export const schemaDict = {
|
|
|
25169
25421
|
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.",
|
|
25170
25422
|
knownValues: ['account', 'record', 'conversation'],
|
|
25171
25423
|
},
|
|
25172
|
-
minAccountSuspendCount: {
|
|
25173
|
-
type: 'integer',
|
|
25174
|
-
description: 'If specified, only subjects that belong to an account that has at least this many suspensions will be returned.',
|
|
25175
|
-
},
|
|
25176
|
-
minReportedRecordsCount: {
|
|
25177
|
-
type: 'integer',
|
|
25178
|
-
description: 'If specified, only subjects that belong to an account that has at least this many reported records will be returned.',
|
|
25179
|
-
},
|
|
25180
|
-
minTakendownRecordsCount: {
|
|
25181
|
-
type: 'integer',
|
|
25182
|
-
description: 'If specified, only subjects that belong to an account that has at least this many taken down records will be returned.',
|
|
25183
|
-
},
|
|
25184
25424
|
minPriorityScore: {
|
|
25185
25425
|
minimum: 0,
|
|
25186
25426
|
maximum: 100,
|
|
@@ -26207,7 +26447,7 @@ export const schemaDict = {
|
|
|
26207
26447
|
defs: {
|
|
26208
26448
|
main: {
|
|
26209
26449
|
type: 'procedure',
|
|
26210
|
-
description: 'Close eligible reports on a subject matching the given criteria. Assigned and
|
|
26450
|
+
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.',
|
|
26211
26451
|
input: {
|
|
26212
26452
|
encoding: 'application/json',
|
|
26213
26453
|
schema: {
|
|
@@ -26238,6 +26478,11 @@ export const schemaDict = {
|
|
|
26238
26478
|
},
|
|
26239
26479
|
description: 'Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded.',
|
|
26240
26480
|
},
|
|
26481
|
+
actionEventId: {
|
|
26482
|
+
type: 'integer',
|
|
26483
|
+
minimum: 1,
|
|
26484
|
+
description: 'Optional existing moderation event that closes reports. It must target the exact subject or its owning account; account-wide closure requires an account event. The event is linked to each closed report and may predate the report. The link does not imply the action is still in effect.',
|
|
26485
|
+
},
|
|
26241
26486
|
internalNote: {
|
|
26242
26487
|
type: 'string',
|
|
26243
26488
|
description: 'Optional moderator-only note recorded on each close activity. Not visible to reporters.',
|
|
@@ -29830,8 +30075,10 @@ export const ids = {
|
|
|
29830
30075
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
|
29831
30076
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
|
29832
30077
|
AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
|
|
30078
|
+
AppBskyUnspeccedGetAtmosphereApps: 'app.bsky.unspecced.getAtmosphereApps',
|
|
29833
30079
|
AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations',
|
|
29834
30080
|
AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab',
|
|
30081
|
+
AppBskyUnspeccedGetAtmosphereTimeline: 'app.bsky.unspecced.getAtmosphereTimeline',
|
|
29835
30082
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
|
29836
30083
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
|
|
29837
30084
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',
|
|
@@ -29955,6 +30202,7 @@ export const ids = {
|
|
|
29955
30202
|
ComAtprotoIdentityUpdateHandle: 'com.atproto.identity.updateHandle',
|
|
29956
30203
|
ComAtprotoLabelDefs: 'com.atproto.label.defs',
|
|
29957
30204
|
ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
|
|
30205
|
+
ComAtprotoLabelRecord: 'com.atproto.label.record',
|
|
29958
30206
|
ComAtprotoLabelSubscribeLabels: 'com.atproto.label.subscribeLabels',
|
|
29959
30207
|
ComAtprotoLexiconResolveLexicon: 'com.atproto.lexicon.resolveLexicon',
|
|
29960
30208
|
ComAtprotoLexiconSchema: 'com.atproto.lexicon.schema',
|