@atproto/api 0.26.0 → 0.28.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 +37 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +392 -56
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +197 -28
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +2 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts +33 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js +21 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +37 -5
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +28 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +4 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +26 -6
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/package.json +14 -8
package/dist/client/lexicons.js
CHANGED
|
@@ -8485,6 +8485,11 @@ export const schemaDict = {
|
|
|
8485
8485
|
type: 'string',
|
|
8486
8486
|
format: 'at-uri',
|
|
8487
8487
|
},
|
|
8488
|
+
parent: {
|
|
8489
|
+
type: 'string',
|
|
8490
|
+
format: 'at-uri',
|
|
8491
|
+
description: 'The post this one replies to, if it is a reply.',
|
|
8492
|
+
},
|
|
8488
8493
|
},
|
|
8489
8494
|
},
|
|
8490
8495
|
generatorLikeGroup: {
|
|
@@ -9475,19 +9480,76 @@ export const schemaDict = {
|
|
|
9475
9480
|
},
|
|
9476
9481
|
},
|
|
9477
9482
|
},
|
|
9483
|
+
AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: {
|
|
9484
|
+
lexicon: 1,
|
|
9485
|
+
id: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations',
|
|
9486
|
+
defs: {
|
|
9487
|
+
main: {
|
|
9488
|
+
type: 'query',
|
|
9489
|
+
description: 'Get a skeleton of recommended Atmosphere Explore articles. Intended to be called and hydrated by app.bsky.unspecced.getAtmosphereExploreTab',
|
|
9490
|
+
parameters: {
|
|
9491
|
+
type: 'params',
|
|
9492
|
+
properties: {
|
|
9493
|
+
viewer: {
|
|
9494
|
+
type: 'string',
|
|
9495
|
+
format: 'did',
|
|
9496
|
+
description: 'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
9497
|
+
},
|
|
9498
|
+
limit: {
|
|
9499
|
+
type: 'integer',
|
|
9500
|
+
minimum: 1,
|
|
9501
|
+
maximum: 100,
|
|
9502
|
+
default: 25,
|
|
9503
|
+
},
|
|
9504
|
+
},
|
|
9505
|
+
},
|
|
9506
|
+
output: {
|
|
9507
|
+
encoding: 'application/json',
|
|
9508
|
+
schema: {
|
|
9509
|
+
type: 'object',
|
|
9510
|
+
required: ['articles', 'recIdStr'],
|
|
9511
|
+
properties: {
|
|
9512
|
+
articles: {
|
|
9513
|
+
type: 'array',
|
|
9514
|
+
maxLength: 100,
|
|
9515
|
+
items: {
|
|
9516
|
+
type: 'ref',
|
|
9517
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreArticleRecommendations#article',
|
|
9518
|
+
},
|
|
9519
|
+
},
|
|
9520
|
+
recIdStr: {
|
|
9521
|
+
type: 'string',
|
|
9522
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
9523
|
+
},
|
|
9524
|
+
},
|
|
9525
|
+
},
|
|
9526
|
+
},
|
|
9527
|
+
},
|
|
9528
|
+
article: {
|
|
9529
|
+
type: 'object',
|
|
9530
|
+
required: ['uri'],
|
|
9531
|
+
properties: {
|
|
9532
|
+
uri: {
|
|
9533
|
+
type: 'string',
|
|
9534
|
+
format: 'at-uri',
|
|
9535
|
+
},
|
|
9536
|
+
},
|
|
9537
|
+
},
|
|
9538
|
+
},
|
|
9539
|
+
},
|
|
9478
9540
|
AppBskyUnspeccedGetAtmosphereExploreTab: {
|
|
9479
9541
|
lexicon: 1,
|
|
9480
9542
|
id: 'app.bsky.unspecced.getAtmosphereExploreTab',
|
|
9481
9543
|
defs: {
|
|
9482
9544
|
main: {
|
|
9483
9545
|
type: 'query',
|
|
9484
|
-
description: 'Get
|
|
9546
|
+
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.',
|
|
9485
9547
|
parameters: {
|
|
9486
9548
|
type: 'params',
|
|
9487
9549
|
properties: {
|
|
9488
9550
|
langs: {
|
|
9489
9551
|
type: 'array',
|
|
9490
|
-
description: 'Preferred languages.
|
|
9552
|
+
description: 'Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9491
9553
|
items: {
|
|
9492
9554
|
type: 'string',
|
|
9493
9555
|
format: 'language',
|
|
@@ -9520,32 +9582,20 @@ export const schemaDict = {
|
|
|
9520
9582
|
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#announcementBanner',
|
|
9521
9583
|
},
|
|
9522
9584
|
articles: {
|
|
9523
|
-
type: '
|
|
9524
|
-
|
|
9525
|
-
type: 'ref',
|
|
9526
|
-
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#articleItem',
|
|
9527
|
-
},
|
|
9585
|
+
type: 'ref',
|
|
9586
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#articleList',
|
|
9528
9587
|
},
|
|
9529
9588
|
publications: {
|
|
9530
|
-
type: '
|
|
9531
|
-
|
|
9532
|
-
type: 'ref',
|
|
9533
|
-
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#publicationItem',
|
|
9534
|
-
},
|
|
9589
|
+
type: 'ref',
|
|
9590
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#publicationList',
|
|
9535
9591
|
},
|
|
9536
9592
|
photos: {
|
|
9537
|
-
type: '
|
|
9538
|
-
|
|
9539
|
-
type: 'ref',
|
|
9540
|
-
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#galleryItem',
|
|
9541
|
-
},
|
|
9593
|
+
type: 'ref',
|
|
9594
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#galleryList',
|
|
9542
9595
|
},
|
|
9543
9596
|
livestreams: {
|
|
9544
|
-
type: '
|
|
9545
|
-
|
|
9546
|
-
type: 'ref',
|
|
9547
|
-
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem',
|
|
9548
|
-
},
|
|
9597
|
+
type: 'ref',
|
|
9598
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#livestreamList',
|
|
9549
9599
|
},
|
|
9550
9600
|
apps: {
|
|
9551
9601
|
type: 'array',
|
|
@@ -9559,6 +9609,74 @@ export const schemaDict = {
|
|
|
9559
9609
|
},
|
|
9560
9610
|
},
|
|
9561
9611
|
},
|
|
9612
|
+
articleList: {
|
|
9613
|
+
type: 'object',
|
|
9614
|
+
required: ['items'],
|
|
9615
|
+
properties: {
|
|
9616
|
+
items: {
|
|
9617
|
+
type: 'array',
|
|
9618
|
+
items: {
|
|
9619
|
+
type: 'ref',
|
|
9620
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#articleItem',
|
|
9621
|
+
},
|
|
9622
|
+
},
|
|
9623
|
+
recIdStr: {
|
|
9624
|
+
type: 'string',
|
|
9625
|
+
description: "Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
|
|
9626
|
+
},
|
|
9627
|
+
},
|
|
9628
|
+
},
|
|
9629
|
+
publicationList: {
|
|
9630
|
+
type: 'object',
|
|
9631
|
+
required: ['items'],
|
|
9632
|
+
properties: {
|
|
9633
|
+
items: {
|
|
9634
|
+
type: 'array',
|
|
9635
|
+
items: {
|
|
9636
|
+
type: 'ref',
|
|
9637
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#publicationItem',
|
|
9638
|
+
},
|
|
9639
|
+
},
|
|
9640
|
+
recIdStr: {
|
|
9641
|
+
type: 'string',
|
|
9642
|
+
description: "Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
|
|
9643
|
+
},
|
|
9644
|
+
},
|
|
9645
|
+
},
|
|
9646
|
+
galleryList: {
|
|
9647
|
+
type: 'object',
|
|
9648
|
+
required: ['items'],
|
|
9649
|
+
properties: {
|
|
9650
|
+
items: {
|
|
9651
|
+
type: 'array',
|
|
9652
|
+
items: {
|
|
9653
|
+
type: 'ref',
|
|
9654
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#galleryItem',
|
|
9655
|
+
},
|
|
9656
|
+
},
|
|
9657
|
+
recIdStr: {
|
|
9658
|
+
type: 'string',
|
|
9659
|
+
description: "Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
|
|
9660
|
+
},
|
|
9661
|
+
},
|
|
9662
|
+
},
|
|
9663
|
+
livestreamList: {
|
|
9664
|
+
type: 'object',
|
|
9665
|
+
required: ['items'],
|
|
9666
|
+
properties: {
|
|
9667
|
+
items: {
|
|
9668
|
+
type: 'array',
|
|
9669
|
+
items: {
|
|
9670
|
+
type: 'ref',
|
|
9671
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem',
|
|
9672
|
+
},
|
|
9673
|
+
},
|
|
9674
|
+
recIdStr: {
|
|
9675
|
+
type: 'string',
|
|
9676
|
+
description: "Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
|
|
9677
|
+
},
|
|
9678
|
+
},
|
|
9679
|
+
},
|
|
9562
9680
|
articleItem: {
|
|
9563
9681
|
type: 'object',
|
|
9564
9682
|
required: ['featured', 'view'],
|
|
@@ -21553,6 +21671,11 @@ export const schemaDict = {
|
|
|
21553
21671
|
format: 'datetime',
|
|
21554
21672
|
description: "When the appeal's report was closed.",
|
|
21555
21673
|
},
|
|
21674
|
+
outcome: {
|
|
21675
|
+
type: 'string',
|
|
21676
|
+
knownValues: ['approved', 'denied'],
|
|
21677
|
+
description: 'Decision on a resolved appeal.',
|
|
21678
|
+
},
|
|
21556
21679
|
appealableUntil: {
|
|
21557
21680
|
type: 'string',
|
|
21558
21681
|
format: 'datetime',
|
|
@@ -21798,6 +21921,11 @@ export const schemaDict = {
|
|
|
21798
21921
|
type: 'object',
|
|
21799
21922
|
required: ['subject'],
|
|
21800
21923
|
properties: {
|
|
21924
|
+
appealOutcome: {
|
|
21925
|
+
type: 'string',
|
|
21926
|
+
knownValues: ['approved', 'denied'],
|
|
21927
|
+
description: 'Decision captured when an appealResolved notification was created. Omitted when the outcome is unknown.',
|
|
21928
|
+
},
|
|
21801
21929
|
subject: {
|
|
21802
21930
|
type: 'union',
|
|
21803
21931
|
refs: [
|
|
@@ -25525,30 +25653,70 @@ export const schemaDict = {
|
|
|
25525
25653
|
maximum: 100,
|
|
25526
25654
|
description: 'Percent of reports meeting their closure target.',
|
|
25527
25655
|
},
|
|
25656
|
+
closedCount: {
|
|
25657
|
+
type: 'integer',
|
|
25658
|
+
description: 'Number of reports whose current closure falls within this UTC calendar day.',
|
|
25659
|
+
},
|
|
25528
25660
|
actionedCount: {
|
|
25529
25661
|
type: 'integer',
|
|
25530
|
-
description:
|
|
25662
|
+
description: 'Number of closures whose last report action is label, tag, or takedown.',
|
|
25663
|
+
},
|
|
25664
|
+
acknowledgedCount: {
|
|
25665
|
+
type: 'integer',
|
|
25666
|
+
description: 'Number of closures whose last report action is not label, tag, or takedown.',
|
|
25531
25667
|
},
|
|
25532
25668
|
escalatedCount: {
|
|
25533
25669
|
type: 'integer',
|
|
25534
|
-
description:
|
|
25670
|
+
description: 'Number of report escalation events during this UTC calendar day.',
|
|
25535
25671
|
},
|
|
25536
25672
|
inboundCount: {
|
|
25537
25673
|
type: 'integer',
|
|
25538
|
-
description: 'Reports received in this queue
|
|
25674
|
+
description: 'Reports received in this queue during this UTC calendar day.',
|
|
25675
|
+
},
|
|
25676
|
+
labelActionCount: {
|
|
25677
|
+
type: 'integer',
|
|
25678
|
+
description: 'Closures whose last report action is a label event.',
|
|
25679
|
+
},
|
|
25680
|
+
tagActionCount: {
|
|
25681
|
+
type: 'integer',
|
|
25682
|
+
description: 'Closures whose last report action is a tag event.',
|
|
25683
|
+
},
|
|
25684
|
+
takedownActionCount: {
|
|
25685
|
+
type: 'integer',
|
|
25686
|
+
description: 'Closures whose last report action is a takedown event.',
|
|
25687
|
+
},
|
|
25688
|
+
ahtDurationSec: {
|
|
25689
|
+
type: 'integer',
|
|
25690
|
+
description: 'Sum of report assignment-to-close seconds.',
|
|
25691
|
+
},
|
|
25692
|
+
ahtSampleCount: {
|
|
25693
|
+
type: 'integer',
|
|
25694
|
+
description: 'Number of assigned closed-report samples in ahtDurationSec.',
|
|
25695
|
+
},
|
|
25696
|
+
resolutionDurationSec: {
|
|
25697
|
+
type: 'integer',
|
|
25698
|
+
description: 'Sum of report creation-to-close seconds.',
|
|
25699
|
+
},
|
|
25700
|
+
resolutionSampleCount: {
|
|
25701
|
+
type: 'integer',
|
|
25702
|
+
description: 'Number of closed-report samples in resolutionDurationSec.',
|
|
25539
25703
|
},
|
|
25540
25704
|
actionRate: {
|
|
25541
25705
|
type: 'integer',
|
|
25542
|
-
description: 'Percentage of
|
|
25706
|
+
description: 'Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.',
|
|
25543
25707
|
},
|
|
25544
25708
|
avgHandlingTimeSec: {
|
|
25545
25709
|
type: 'integer',
|
|
25546
|
-
description: 'Average time in seconds from report
|
|
25710
|
+
description: 'Average handling time in seconds from report assignment to close.',
|
|
25711
|
+
},
|
|
25712
|
+
avgResolutionTimeSec: {
|
|
25713
|
+
type: 'integer',
|
|
25714
|
+
description: 'Average resolution time in seconds from report creation to close.',
|
|
25547
25715
|
},
|
|
25548
25716
|
lastUpdated: {
|
|
25549
25717
|
type: 'string',
|
|
25550
25718
|
format: 'datetime',
|
|
25551
|
-
description: 'When these statistics were last computed',
|
|
25719
|
+
description: 'When these statistics were last computed.',
|
|
25552
25720
|
},
|
|
25553
25721
|
},
|
|
25554
25722
|
},
|
|
@@ -29405,6 +29573,7 @@ export const ids = {
|
|
|
29405
29573
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
|
29406
29574
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
|
29407
29575
|
AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
|
|
29576
|
+
AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations',
|
|
29408
29577
|
AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab',
|
|
29409
29578
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
|
29410
29579
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
|