@atproto/api 0.27.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.
Files changed (24) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +5 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +372 -56
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +187 -28
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +2 -0
  11. package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
  13. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts +33 -0
  14. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts.map +1 -0
  15. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js +21 -0
  16. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js.map +1 -0
  17. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +37 -5
  18. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
  19. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +28 -0
  20. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
  21. package/dist/client/types/tools/ozone/queue/defs.d.ts +26 -6
  22. package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
  23. package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
  24. package/package.json +14 -8
@@ -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 curated Atmosphere Explore content. Authentication is optional; authenticated requests include viewer-specific profile state.',
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. Currently ignored.',
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: 'array',
9524
- items: {
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: 'array',
9531
- items: {
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: 'array',
9538
- items: {
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: 'array',
9545
- items: {
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'],
@@ -25535,30 +25653,70 @@ export const schemaDict = {
25535
25653
  maximum: 100,
25536
25654
  description: 'Percent of reports meeting their closure target.',
25537
25655
  },
25656
+ closedCount: {
25657
+ type: 'integer',
25658
+ description: 'Number of reports whose current closure falls within this UTC calendar day.',
25659
+ },
25538
25660
  actionedCount: {
25539
25661
  type: 'integer',
25540
- description: "Number of reports in 'closed' status",
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.',
25541
25667
  },
25542
25668
  escalatedCount: {
25543
25669
  type: 'integer',
25544
- description: "Number of reports in 'escalated' status",
25670
+ description: 'Number of report escalation events during this UTC calendar day.',
25545
25671
  },
25546
25672
  inboundCount: {
25547
25673
  type: 'integer',
25548
- description: 'Reports received in this queue in the last 24 hours.',
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.',
25549
25703
  },
25550
25704
  actionRate: {
25551
25705
  type: 'integer',
25552
- description: 'Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0.',
25706
+ description: 'Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.',
25553
25707
  },
25554
25708
  avgHandlingTimeSec: {
25555
25709
  type: 'integer',
25556
- description: 'Average time in seconds from report creation to close, for reports closed in this period.',
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.',
25557
25715
  },
25558
25716
  lastUpdated: {
25559
25717
  type: 'string',
25560
25718
  format: 'datetime',
25561
- description: 'When these statistics were last computed',
25719
+ description: 'When these statistics were last computed.',
25562
25720
  },
25563
25721
  },
25564
25722
  },
@@ -29415,6 +29573,7 @@ export const ids = {
29415
29573
  AppBskyRichtextFacet: 'app.bsky.richtext.facet',
29416
29574
  AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
29417
29575
  AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
29576
+ AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations',
29418
29577
  AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab',
29419
29578
  AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
29420
29579
  AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',