@atproto/api 0.22.0 → 0.23.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.
@@ -4280,6 +4280,10 @@ export declare const schemaDict: {
4280
4280
  readonly cursor: {
4281
4281
  readonly type: 'string';
4282
4282
  };
4283
+ readonly since: {
4284
+ readonly type: 'string';
4285
+ readonly description: 'Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary.';
4286
+ };
4283
4287
  };
4284
4288
  };
4285
4289
  readonly output: {
@@ -4291,6 +4295,10 @@ export declare const schemaDict: {
4291
4295
  readonly cursor: {
4292
4296
  readonly type: 'string';
4293
4297
  };
4298
+ readonly startCursor: {
4299
+ readonly type: 'string';
4300
+ readonly description: 'Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content.';
4301
+ };
4294
4302
  readonly feed: {
4295
4303
  readonly type: 'array';
4296
4304
  readonly items: {
@@ -4598,6 +4606,10 @@ export declare const schemaDict: {
4598
4606
  readonly cursor: {
4599
4607
  readonly type: 'string';
4600
4608
  };
4609
+ readonly since: {
4610
+ readonly type: 'string';
4611
+ readonly description: 'Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary.';
4612
+ };
4601
4613
  };
4602
4614
  };
4603
4615
  readonly output: {
@@ -4609,6 +4621,10 @@ export declare const schemaDict: {
4609
4621
  readonly cursor: {
4610
4622
  readonly type: 'string';
4611
4623
  };
4624
+ readonly startCursor: {
4625
+ readonly type: 'string';
4626
+ readonly description: 'Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content.';
4627
+ };
4612
4628
  readonly feed: {
4613
4629
  readonly type: 'array';
4614
4630
  readonly items: {
@@ -7357,6 +7373,454 @@ export declare const schemaDict: {
7357
7373
  };
7358
7374
  };
7359
7375
  };
7376
+ readonly AppBskyNotificationGetGroupedNotifications: {
7377
+ readonly lexicon: 1;
7378
+ readonly id: 'app.bsky.notification.getGroupedNotifications';
7379
+ readonly defs: {
7380
+ readonly main: {
7381
+ readonly type: 'query';
7382
+ readonly description: '[UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth.';
7383
+ readonly parameters: {
7384
+ readonly type: 'params';
7385
+ readonly properties: {
7386
+ readonly feed: {
7387
+ readonly type: 'string';
7388
+ readonly description: "Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'.";
7389
+ readonly maxLength: 32;
7390
+ readonly knownValues: ["all", "people-i-follow", "conversations", "followers", "activity"];
7391
+ readonly default: 'all';
7392
+ };
7393
+ readonly limit: {
7394
+ readonly type: 'integer';
7395
+ readonly description: 'Maximum number of groups to return.';
7396
+ readonly minimum: 1;
7397
+ readonly maximum: 50;
7398
+ readonly default: 30;
7399
+ };
7400
+ readonly cursor: {
7401
+ readonly type: 'string';
7402
+ readonly maxLength: 1024;
7403
+ };
7404
+ };
7405
+ };
7406
+ readonly output: {
7407
+ readonly encoding: 'application/json';
7408
+ readonly schema: {
7409
+ readonly type: 'object';
7410
+ readonly required: ["groups"];
7411
+ readonly properties: {
7412
+ readonly cursor: {
7413
+ readonly type: 'string';
7414
+ readonly maxLength: 1024;
7415
+ };
7416
+ readonly groups: {
7417
+ readonly type: 'array';
7418
+ readonly description: 'Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed.';
7419
+ readonly items: {
7420
+ readonly type: 'ref';
7421
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#group';
7422
+ };
7423
+ };
7424
+ readonly seenAt: {
7425
+ readonly type: 'string';
7426
+ readonly format: 'datetime';
7427
+ };
7428
+ readonly relatedViews: {
7429
+ readonly type: 'array';
7430
+ readonly description: 'Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here.';
7431
+ readonly items: {
7432
+ readonly type: 'union';
7433
+ readonly refs: ["lex:app.bsky.actor.defs#profileViewDetailed", "lex:app.bsky.feed.defs#blockedPost", "lex:app.bsky.feed.defs#generatorView", "lex:app.bsky.feed.defs#notFoundPost", "lex:app.bsky.feed.defs#postView", "lex:app.bsky.graph.defs#starterPackView"];
7434
+ };
7435
+ };
7436
+ };
7437
+ };
7438
+ };
7439
+ };
7440
+ readonly group: {
7441
+ readonly type: 'object';
7442
+ readonly description: 'Contains common metadata and kind-specific data for a notification group or individual notification.';
7443
+ readonly required: ["id", "isRead", "indexedAt", "count", "kind"];
7444
+ readonly properties: {
7445
+ readonly id: {
7446
+ readonly type: 'string';
7447
+ readonly maxLength: 256;
7448
+ };
7449
+ readonly isRead: {
7450
+ readonly type: 'boolean';
7451
+ };
7452
+ readonly indexedAt: {
7453
+ readonly type: 'string';
7454
+ readonly format: 'datetime';
7455
+ };
7456
+ readonly count: {
7457
+ readonly type: 'integer';
7458
+ readonly minimum: 1;
7459
+ };
7460
+ readonly kind: {
7461
+ readonly type: 'union';
7462
+ readonly refs: ["lex:app.bsky.notification.getGroupedNotifications#likeGroup", "lex:app.bsky.notification.getGroupedNotifications#multiPostLikeGroup", "lex:app.bsky.notification.getGroupedNotifications#repostGroup", "lex:app.bsky.notification.getGroupedNotifications#likeViaRepostGroup", "lex:app.bsky.notification.getGroupedNotifications#repostViaRepostGroup", "lex:app.bsky.notification.getGroupedNotifications#followGroup", "lex:app.bsky.notification.getGroupedNotifications#subscribedPostGroup", "lex:app.bsky.notification.getGroupedNotifications#generatorLikeGroup", "lex:app.bsky.notification.getGroupedNotifications#replyNotification", "lex:app.bsky.notification.getGroupedNotifications#quoteNotification", "lex:app.bsky.notification.getGroupedNotifications#mentionNotification", "lex:app.bsky.notification.getGroupedNotifications#followBackNotification", "lex:app.bsky.notification.getGroupedNotifications#verifiedNotification", "lex:app.bsky.notification.getGroupedNotifications#unverifiedNotification", "lex:app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification", "lex:app.bsky.notification.getGroupedNotifications#contactMatchNotification"];
7463
+ };
7464
+ };
7465
+ };
7466
+ readonly likeGroup: {
7467
+ readonly type: 'object';
7468
+ readonly description: 'Group of likes by different actors on the same post.';
7469
+ readonly required: ["post", "items"];
7470
+ readonly properties: {
7471
+ readonly post: {
7472
+ readonly type: 'string';
7473
+ readonly format: 'at-uri';
7474
+ };
7475
+ readonly items: {
7476
+ readonly type: 'array';
7477
+ readonly minLength: 1;
7478
+ readonly items: {
7479
+ readonly type: 'ref';
7480
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#likeItem';
7481
+ };
7482
+ };
7483
+ };
7484
+ };
7485
+ readonly likeItem: {
7486
+ readonly type: 'object';
7487
+ readonly description: "One actor who liked the group's post.";
7488
+ readonly required: ["actor"];
7489
+ readonly properties: {
7490
+ readonly actor: {
7491
+ readonly type: 'string';
7492
+ readonly format: 'did';
7493
+ };
7494
+ };
7495
+ };
7496
+ readonly multiPostLikeGroup: {
7497
+ readonly type: 'object';
7498
+ readonly description: 'Group of likes by the same actor on different posts.';
7499
+ readonly required: ["actor", "items"];
7500
+ readonly properties: {
7501
+ readonly actor: {
7502
+ readonly type: 'string';
7503
+ readonly format: 'did';
7504
+ };
7505
+ readonly items: {
7506
+ readonly type: 'array';
7507
+ readonly minLength: 2;
7508
+ readonly items: {
7509
+ readonly type: 'ref';
7510
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#multiPostLikeItem';
7511
+ };
7512
+ };
7513
+ };
7514
+ };
7515
+ readonly multiPostLikeItem: {
7516
+ readonly type: 'object';
7517
+ readonly description: "One post which was liked by the group's actor.";
7518
+ readonly required: ["post"];
7519
+ readonly properties: {
7520
+ readonly post: {
7521
+ readonly type: 'string';
7522
+ readonly format: 'at-uri';
7523
+ };
7524
+ };
7525
+ };
7526
+ readonly repostGroup: {
7527
+ readonly type: 'object';
7528
+ readonly description: 'Group of reposts by different actors of the same post.';
7529
+ readonly required: ["post", "items"];
7530
+ readonly properties: {
7531
+ readonly post: {
7532
+ readonly type: 'string';
7533
+ readonly format: 'at-uri';
7534
+ };
7535
+ readonly items: {
7536
+ readonly type: 'array';
7537
+ readonly minLength: 1;
7538
+ readonly items: {
7539
+ readonly type: 'ref';
7540
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#repostItem';
7541
+ };
7542
+ };
7543
+ };
7544
+ };
7545
+ readonly repostItem: {
7546
+ readonly type: 'object';
7547
+ readonly description: "One actor who reposted the group's post.";
7548
+ readonly required: ["actor"];
7549
+ readonly properties: {
7550
+ readonly actor: {
7551
+ readonly type: 'string';
7552
+ readonly format: 'did';
7553
+ };
7554
+ };
7555
+ };
7556
+ readonly likeViaRepostGroup: {
7557
+ readonly type: 'object';
7558
+ readonly description: "Group of likes by different actors on the same post via the requesting account's repost.";
7559
+ readonly required: ["post", "viaRepost", "items"];
7560
+ readonly properties: {
7561
+ readonly post: {
7562
+ readonly type: 'string';
7563
+ readonly format: 'at-uri';
7564
+ };
7565
+ readonly viaRepost: {
7566
+ readonly type: 'string';
7567
+ readonly format: 'at-uri';
7568
+ };
7569
+ readonly items: {
7570
+ readonly type: 'array';
7571
+ readonly minLength: 1;
7572
+ readonly items: {
7573
+ readonly type: 'ref';
7574
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#likeViaRepostItem';
7575
+ };
7576
+ };
7577
+ };
7578
+ };
7579
+ readonly likeViaRepostItem: {
7580
+ readonly type: 'object';
7581
+ readonly description: "One actor who liked the group's post via the requesting account's repost.";
7582
+ readonly required: ["actor"];
7583
+ readonly properties: {
7584
+ readonly actor: {
7585
+ readonly type: 'string';
7586
+ readonly format: 'did';
7587
+ };
7588
+ };
7589
+ };
7590
+ readonly repostViaRepostGroup: {
7591
+ readonly type: 'object';
7592
+ readonly description: "Group of reposts by different actors of the same post via the requesting account's repost.";
7593
+ readonly required: ["post", "viaRepost", "items"];
7594
+ readonly properties: {
7595
+ readonly post: {
7596
+ readonly type: 'string';
7597
+ readonly format: 'at-uri';
7598
+ };
7599
+ readonly viaRepost: {
7600
+ readonly type: 'string';
7601
+ readonly format: 'at-uri';
7602
+ };
7603
+ readonly items: {
7604
+ readonly type: 'array';
7605
+ readonly minLength: 1;
7606
+ readonly items: {
7607
+ readonly type: 'ref';
7608
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#repostViaRepostItem';
7609
+ };
7610
+ };
7611
+ };
7612
+ };
7613
+ readonly repostViaRepostItem: {
7614
+ readonly type: 'object';
7615
+ readonly description: "One actor who reposted the group's post via the requesting account's repost.";
7616
+ readonly required: ["actor"];
7617
+ readonly properties: {
7618
+ readonly actor: {
7619
+ readonly type: 'string';
7620
+ readonly format: 'did';
7621
+ };
7622
+ };
7623
+ };
7624
+ readonly followGroup: {
7625
+ readonly type: 'object';
7626
+ readonly description: 'Group of actors who followed the requesting account.';
7627
+ readonly required: ["items"];
7628
+ readonly properties: {
7629
+ readonly items: {
7630
+ readonly type: 'array';
7631
+ readonly minLength: 1;
7632
+ readonly items: {
7633
+ readonly type: 'ref';
7634
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#followItem';
7635
+ };
7636
+ };
7637
+ };
7638
+ };
7639
+ readonly followItem: {
7640
+ readonly type: 'object';
7641
+ readonly description: 'An actor who followed the requesting account, possibly via a starter pack.';
7642
+ readonly required: ["actor"];
7643
+ readonly properties: {
7644
+ readonly actor: {
7645
+ readonly type: 'string';
7646
+ readonly format: 'did';
7647
+ };
7648
+ readonly starterPack: {
7649
+ readonly type: 'string';
7650
+ readonly format: 'at-uri';
7651
+ };
7652
+ };
7653
+ };
7654
+ readonly subscribedPostGroup: {
7655
+ readonly type: 'object';
7656
+ readonly description: 'Group of new posts by actors the requesting account subscribes to.';
7657
+ readonly required: ["items"];
7658
+ readonly properties: {
7659
+ readonly items: {
7660
+ readonly type: 'array';
7661
+ readonly minLength: 1;
7662
+ readonly items: {
7663
+ readonly type: 'ref';
7664
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#subscribedPostItem';
7665
+ };
7666
+ };
7667
+ };
7668
+ };
7669
+ readonly subscribedPostItem: {
7670
+ readonly type: 'object';
7671
+ readonly description: 'One new post by an actor the requesting account subscribes to.';
7672
+ readonly required: ["actor", "post"];
7673
+ readonly properties: {
7674
+ readonly actor: {
7675
+ readonly type: 'string';
7676
+ readonly format: 'did';
7677
+ };
7678
+ readonly post: {
7679
+ readonly type: 'string';
7680
+ readonly format: 'at-uri';
7681
+ };
7682
+ };
7683
+ };
7684
+ readonly generatorLikeGroup: {
7685
+ readonly type: 'object';
7686
+ readonly description: 'Group of likes by different actors on the same feed generator.';
7687
+ readonly required: ["generator", "items"];
7688
+ readonly properties: {
7689
+ readonly generator: {
7690
+ readonly type: 'string';
7691
+ readonly format: 'at-uri';
7692
+ };
7693
+ readonly items: {
7694
+ readonly type: 'array';
7695
+ readonly minLength: 1;
7696
+ readonly items: {
7697
+ readonly type: 'ref';
7698
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#generatorLikeItem';
7699
+ };
7700
+ };
7701
+ };
7702
+ };
7703
+ readonly generatorLikeItem: {
7704
+ readonly type: 'object';
7705
+ readonly description: 'One actor who liked the feed generator in the group.';
7706
+ readonly required: ["actor"];
7707
+ readonly properties: {
7708
+ readonly actor: {
7709
+ readonly type: 'string';
7710
+ readonly format: 'did';
7711
+ };
7712
+ };
7713
+ };
7714
+ readonly replyNotification: {
7715
+ readonly type: 'object';
7716
+ readonly description: 'A reply to a post by the requesting account or to a thread they are participating in.';
7717
+ readonly required: ["post", "parent"];
7718
+ readonly properties: {
7719
+ readonly post: {
7720
+ readonly type: 'string';
7721
+ readonly format: 'at-uri';
7722
+ };
7723
+ readonly parent: {
7724
+ readonly type: 'string';
7725
+ readonly format: 'at-uri';
7726
+ };
7727
+ };
7728
+ };
7729
+ readonly quoteNotification: {
7730
+ readonly type: 'object';
7731
+ readonly description: 'A post quoting a post by the requesting account.';
7732
+ readonly required: ["post"];
7733
+ readonly properties: {
7734
+ readonly post: {
7735
+ readonly type: 'string';
7736
+ readonly format: 'at-uri';
7737
+ };
7738
+ readonly parent: {
7739
+ readonly type: 'string';
7740
+ readonly format: 'at-uri';
7741
+ };
7742
+ };
7743
+ };
7744
+ readonly mentionNotification: {
7745
+ readonly type: 'object';
7746
+ readonly description: 'A post mentioning the requesting account.';
7747
+ readonly required: ["post"];
7748
+ readonly properties: {
7749
+ readonly post: {
7750
+ readonly type: 'string';
7751
+ readonly format: 'at-uri';
7752
+ };
7753
+ readonly parent: {
7754
+ readonly type: 'string';
7755
+ readonly format: 'at-uri';
7756
+ };
7757
+ };
7758
+ };
7759
+ readonly followBackNotification: {
7760
+ readonly type: 'object';
7761
+ readonly description: 'An actor followed the requesting account back, possibly via a starter pack.';
7762
+ readonly required: ["actor"];
7763
+ readonly properties: {
7764
+ readonly actor: {
7765
+ readonly type: 'string';
7766
+ readonly format: 'did';
7767
+ };
7768
+ readonly starterPack: {
7769
+ readonly type: 'string';
7770
+ readonly format: 'at-uri';
7771
+ };
7772
+ };
7773
+ };
7774
+ readonly verifiedNotification: {
7775
+ readonly type: 'object';
7776
+ readonly description: 'An actor verified the requesting account.';
7777
+ readonly required: ["actor"];
7778
+ readonly properties: {
7779
+ readonly actor: {
7780
+ readonly type: 'string';
7781
+ readonly format: 'did';
7782
+ };
7783
+ };
7784
+ };
7785
+ readonly unverifiedNotification: {
7786
+ readonly type: 'object';
7787
+ readonly description: 'A verification of the requesting account was removed.';
7788
+ readonly required: ["actor"];
7789
+ readonly properties: {
7790
+ readonly actor: {
7791
+ readonly type: 'string';
7792
+ readonly format: 'did';
7793
+ };
7794
+ };
7795
+ };
7796
+ readonly starterPackJoinedNotification: {
7797
+ readonly type: 'object';
7798
+ readonly description: 'An actor joined Bluesky via a starter pack created by the requesting account.';
7799
+ readonly required: ["actor", "starterPack"];
7800
+ readonly properties: {
7801
+ readonly actor: {
7802
+ readonly type: 'string';
7803
+ readonly format: 'did';
7804
+ };
7805
+ readonly starterPack: {
7806
+ readonly type: 'string';
7807
+ readonly format: 'at-uri';
7808
+ };
7809
+ };
7810
+ };
7811
+ readonly contactMatchNotification: {
7812
+ readonly type: 'object';
7813
+ readonly description: 'A contact of the requesting account joined Bluesky.';
7814
+ readonly required: ["actor"];
7815
+ readonly properties: {
7816
+ readonly actor: {
7817
+ readonly type: 'string';
7818
+ readonly format: 'did';
7819
+ };
7820
+ };
7821
+ };
7822
+ };
7823
+ };
7360
7824
  readonly AppBskyNotificationGetPreferences: {
7361
7825
  readonly lexicon: 1;
7362
7826
  readonly id: 'app.bsky.notification.getPreferences';
@@ -29647,6 +30111,10 @@ export declare const schemas: ({
29647
30111
  readonly cursor: {
29648
30112
  readonly type: 'string';
29649
30113
  };
30114
+ readonly since: {
30115
+ readonly type: 'string';
30116
+ readonly description: 'Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary.';
30117
+ };
29650
30118
  };
29651
30119
  };
29652
30120
  readonly output: {
@@ -29658,6 +30126,10 @@ export declare const schemas: ({
29658
30126
  readonly cursor: {
29659
30127
  readonly type: 'string';
29660
30128
  };
30129
+ readonly startCursor: {
30130
+ readonly type: 'string';
30131
+ readonly description: 'Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content.';
30132
+ };
29661
30133
  readonly feed: {
29662
30134
  readonly type: 'array';
29663
30135
  readonly items: {
@@ -29959,6 +30431,10 @@ export declare const schemas: ({
29959
30431
  readonly cursor: {
29960
30432
  readonly type: 'string';
29961
30433
  };
30434
+ readonly since: {
30435
+ readonly type: 'string';
30436
+ readonly description: 'Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary.';
30437
+ };
29962
30438
  };
29963
30439
  };
29964
30440
  readonly output: {
@@ -29970,6 +30446,10 @@ export declare const schemas: ({
29970
30446
  readonly cursor: {
29971
30447
  readonly type: 'string';
29972
30448
  };
30449
+ readonly startCursor: {
30450
+ readonly type: 'string';
30451
+ readonly description: 'Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content.';
30452
+ };
29973
30453
  readonly feed: {
29974
30454
  readonly type: 'array';
29975
30455
  readonly items: {
@@ -32671,6 +33151,453 @@ export declare const schemas: ({
32671
33151
  };
32672
33152
  };
32673
33153
  };
33154
+ } | {
33155
+ readonly lexicon: 1;
33156
+ readonly id: 'app.bsky.notification.getGroupedNotifications';
33157
+ readonly defs: {
33158
+ readonly main: {
33159
+ readonly type: 'query';
33160
+ readonly description: '[UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth.';
33161
+ readonly parameters: {
33162
+ readonly type: 'params';
33163
+ readonly properties: {
33164
+ readonly feed: {
33165
+ readonly type: 'string';
33166
+ readonly description: "Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'.";
33167
+ readonly maxLength: 32;
33168
+ readonly knownValues: ["all", "people-i-follow", "conversations", "followers", "activity"];
33169
+ readonly default: 'all';
33170
+ };
33171
+ readonly limit: {
33172
+ readonly type: 'integer';
33173
+ readonly description: 'Maximum number of groups to return.';
33174
+ readonly minimum: 1;
33175
+ readonly maximum: 50;
33176
+ readonly default: 30;
33177
+ };
33178
+ readonly cursor: {
33179
+ readonly type: 'string';
33180
+ readonly maxLength: 1024;
33181
+ };
33182
+ };
33183
+ };
33184
+ readonly output: {
33185
+ readonly encoding: 'application/json';
33186
+ readonly schema: {
33187
+ readonly type: 'object';
33188
+ readonly required: ["groups"];
33189
+ readonly properties: {
33190
+ readonly cursor: {
33191
+ readonly type: 'string';
33192
+ readonly maxLength: 1024;
33193
+ };
33194
+ readonly groups: {
33195
+ readonly type: 'array';
33196
+ readonly description: 'Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed.';
33197
+ readonly items: {
33198
+ readonly type: 'ref';
33199
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#group';
33200
+ };
33201
+ };
33202
+ readonly seenAt: {
33203
+ readonly type: 'string';
33204
+ readonly format: 'datetime';
33205
+ };
33206
+ readonly relatedViews: {
33207
+ readonly type: 'array';
33208
+ readonly description: 'Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here.';
33209
+ readonly items: {
33210
+ readonly type: 'union';
33211
+ readonly refs: ["lex:app.bsky.actor.defs#profileViewDetailed", "lex:app.bsky.feed.defs#blockedPost", "lex:app.bsky.feed.defs#generatorView", "lex:app.bsky.feed.defs#notFoundPost", "lex:app.bsky.feed.defs#postView", "lex:app.bsky.graph.defs#starterPackView"];
33212
+ };
33213
+ };
33214
+ };
33215
+ };
33216
+ };
33217
+ };
33218
+ readonly group: {
33219
+ readonly type: 'object';
33220
+ readonly description: 'Contains common metadata and kind-specific data for a notification group or individual notification.';
33221
+ readonly required: ["id", "isRead", "indexedAt", "count", "kind"];
33222
+ readonly properties: {
33223
+ readonly id: {
33224
+ readonly type: 'string';
33225
+ readonly maxLength: 256;
33226
+ };
33227
+ readonly isRead: {
33228
+ readonly type: 'boolean';
33229
+ };
33230
+ readonly indexedAt: {
33231
+ readonly type: 'string';
33232
+ readonly format: 'datetime';
33233
+ };
33234
+ readonly count: {
33235
+ readonly type: 'integer';
33236
+ readonly minimum: 1;
33237
+ };
33238
+ readonly kind: {
33239
+ readonly type: 'union';
33240
+ readonly refs: ["lex:app.bsky.notification.getGroupedNotifications#likeGroup", "lex:app.bsky.notification.getGroupedNotifications#multiPostLikeGroup", "lex:app.bsky.notification.getGroupedNotifications#repostGroup", "lex:app.bsky.notification.getGroupedNotifications#likeViaRepostGroup", "lex:app.bsky.notification.getGroupedNotifications#repostViaRepostGroup", "lex:app.bsky.notification.getGroupedNotifications#followGroup", "lex:app.bsky.notification.getGroupedNotifications#subscribedPostGroup", "lex:app.bsky.notification.getGroupedNotifications#generatorLikeGroup", "lex:app.bsky.notification.getGroupedNotifications#replyNotification", "lex:app.bsky.notification.getGroupedNotifications#quoteNotification", "lex:app.bsky.notification.getGroupedNotifications#mentionNotification", "lex:app.bsky.notification.getGroupedNotifications#followBackNotification", "lex:app.bsky.notification.getGroupedNotifications#verifiedNotification", "lex:app.bsky.notification.getGroupedNotifications#unverifiedNotification", "lex:app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification", "lex:app.bsky.notification.getGroupedNotifications#contactMatchNotification"];
33241
+ };
33242
+ };
33243
+ };
33244
+ readonly likeGroup: {
33245
+ readonly type: 'object';
33246
+ readonly description: 'Group of likes by different actors on the same post.';
33247
+ readonly required: ["post", "items"];
33248
+ readonly properties: {
33249
+ readonly post: {
33250
+ readonly type: 'string';
33251
+ readonly format: 'at-uri';
33252
+ };
33253
+ readonly items: {
33254
+ readonly type: 'array';
33255
+ readonly minLength: 1;
33256
+ readonly items: {
33257
+ readonly type: 'ref';
33258
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#likeItem';
33259
+ };
33260
+ };
33261
+ };
33262
+ };
33263
+ readonly likeItem: {
33264
+ readonly type: 'object';
33265
+ readonly description: "One actor who liked the group's post.";
33266
+ readonly required: ["actor"];
33267
+ readonly properties: {
33268
+ readonly actor: {
33269
+ readonly type: 'string';
33270
+ readonly format: 'did';
33271
+ };
33272
+ };
33273
+ };
33274
+ readonly multiPostLikeGroup: {
33275
+ readonly type: 'object';
33276
+ readonly description: 'Group of likes by the same actor on different posts.';
33277
+ readonly required: ["actor", "items"];
33278
+ readonly properties: {
33279
+ readonly actor: {
33280
+ readonly type: 'string';
33281
+ readonly format: 'did';
33282
+ };
33283
+ readonly items: {
33284
+ readonly type: 'array';
33285
+ readonly minLength: 2;
33286
+ readonly items: {
33287
+ readonly type: 'ref';
33288
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#multiPostLikeItem';
33289
+ };
33290
+ };
33291
+ };
33292
+ };
33293
+ readonly multiPostLikeItem: {
33294
+ readonly type: 'object';
33295
+ readonly description: "One post which was liked by the group's actor.";
33296
+ readonly required: ["post"];
33297
+ readonly properties: {
33298
+ readonly post: {
33299
+ readonly type: 'string';
33300
+ readonly format: 'at-uri';
33301
+ };
33302
+ };
33303
+ };
33304
+ readonly repostGroup: {
33305
+ readonly type: 'object';
33306
+ readonly description: 'Group of reposts by different actors of the same post.';
33307
+ readonly required: ["post", "items"];
33308
+ readonly properties: {
33309
+ readonly post: {
33310
+ readonly type: 'string';
33311
+ readonly format: 'at-uri';
33312
+ };
33313
+ readonly items: {
33314
+ readonly type: 'array';
33315
+ readonly minLength: 1;
33316
+ readonly items: {
33317
+ readonly type: 'ref';
33318
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#repostItem';
33319
+ };
33320
+ };
33321
+ };
33322
+ };
33323
+ readonly repostItem: {
33324
+ readonly type: 'object';
33325
+ readonly description: "One actor who reposted the group's post.";
33326
+ readonly required: ["actor"];
33327
+ readonly properties: {
33328
+ readonly actor: {
33329
+ readonly type: 'string';
33330
+ readonly format: 'did';
33331
+ };
33332
+ };
33333
+ };
33334
+ readonly likeViaRepostGroup: {
33335
+ readonly type: 'object';
33336
+ readonly description: "Group of likes by different actors on the same post via the requesting account's repost.";
33337
+ readonly required: ["post", "viaRepost", "items"];
33338
+ readonly properties: {
33339
+ readonly post: {
33340
+ readonly type: 'string';
33341
+ readonly format: 'at-uri';
33342
+ };
33343
+ readonly viaRepost: {
33344
+ readonly type: 'string';
33345
+ readonly format: 'at-uri';
33346
+ };
33347
+ readonly items: {
33348
+ readonly type: 'array';
33349
+ readonly minLength: 1;
33350
+ readonly items: {
33351
+ readonly type: 'ref';
33352
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#likeViaRepostItem';
33353
+ };
33354
+ };
33355
+ };
33356
+ };
33357
+ readonly likeViaRepostItem: {
33358
+ readonly type: 'object';
33359
+ readonly description: "One actor who liked the group's post via the requesting account's repost.";
33360
+ readonly required: ["actor"];
33361
+ readonly properties: {
33362
+ readonly actor: {
33363
+ readonly type: 'string';
33364
+ readonly format: 'did';
33365
+ };
33366
+ };
33367
+ };
33368
+ readonly repostViaRepostGroup: {
33369
+ readonly type: 'object';
33370
+ readonly description: "Group of reposts by different actors of the same post via the requesting account's repost.";
33371
+ readonly required: ["post", "viaRepost", "items"];
33372
+ readonly properties: {
33373
+ readonly post: {
33374
+ readonly type: 'string';
33375
+ readonly format: 'at-uri';
33376
+ };
33377
+ readonly viaRepost: {
33378
+ readonly type: 'string';
33379
+ readonly format: 'at-uri';
33380
+ };
33381
+ readonly items: {
33382
+ readonly type: 'array';
33383
+ readonly minLength: 1;
33384
+ readonly items: {
33385
+ readonly type: 'ref';
33386
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#repostViaRepostItem';
33387
+ };
33388
+ };
33389
+ };
33390
+ };
33391
+ readonly repostViaRepostItem: {
33392
+ readonly type: 'object';
33393
+ readonly description: "One actor who reposted the group's post via the requesting account's repost.";
33394
+ readonly required: ["actor"];
33395
+ readonly properties: {
33396
+ readonly actor: {
33397
+ readonly type: 'string';
33398
+ readonly format: 'did';
33399
+ };
33400
+ };
33401
+ };
33402
+ readonly followGroup: {
33403
+ readonly type: 'object';
33404
+ readonly description: 'Group of actors who followed the requesting account.';
33405
+ readonly required: ["items"];
33406
+ readonly properties: {
33407
+ readonly items: {
33408
+ readonly type: 'array';
33409
+ readonly minLength: 1;
33410
+ readonly items: {
33411
+ readonly type: 'ref';
33412
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#followItem';
33413
+ };
33414
+ };
33415
+ };
33416
+ };
33417
+ readonly followItem: {
33418
+ readonly type: 'object';
33419
+ readonly description: 'An actor who followed the requesting account, possibly via a starter pack.';
33420
+ readonly required: ["actor"];
33421
+ readonly properties: {
33422
+ readonly actor: {
33423
+ readonly type: 'string';
33424
+ readonly format: 'did';
33425
+ };
33426
+ readonly starterPack: {
33427
+ readonly type: 'string';
33428
+ readonly format: 'at-uri';
33429
+ };
33430
+ };
33431
+ };
33432
+ readonly subscribedPostGroup: {
33433
+ readonly type: 'object';
33434
+ readonly description: 'Group of new posts by actors the requesting account subscribes to.';
33435
+ readonly required: ["items"];
33436
+ readonly properties: {
33437
+ readonly items: {
33438
+ readonly type: 'array';
33439
+ readonly minLength: 1;
33440
+ readonly items: {
33441
+ readonly type: 'ref';
33442
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#subscribedPostItem';
33443
+ };
33444
+ };
33445
+ };
33446
+ };
33447
+ readonly subscribedPostItem: {
33448
+ readonly type: 'object';
33449
+ readonly description: 'One new post by an actor the requesting account subscribes to.';
33450
+ readonly required: ["actor", "post"];
33451
+ readonly properties: {
33452
+ readonly actor: {
33453
+ readonly type: 'string';
33454
+ readonly format: 'did';
33455
+ };
33456
+ readonly post: {
33457
+ readonly type: 'string';
33458
+ readonly format: 'at-uri';
33459
+ };
33460
+ };
33461
+ };
33462
+ readonly generatorLikeGroup: {
33463
+ readonly type: 'object';
33464
+ readonly description: 'Group of likes by different actors on the same feed generator.';
33465
+ readonly required: ["generator", "items"];
33466
+ readonly properties: {
33467
+ readonly generator: {
33468
+ readonly type: 'string';
33469
+ readonly format: 'at-uri';
33470
+ };
33471
+ readonly items: {
33472
+ readonly type: 'array';
33473
+ readonly minLength: 1;
33474
+ readonly items: {
33475
+ readonly type: 'ref';
33476
+ readonly ref: 'lex:app.bsky.notification.getGroupedNotifications#generatorLikeItem';
33477
+ };
33478
+ };
33479
+ };
33480
+ };
33481
+ readonly generatorLikeItem: {
33482
+ readonly type: 'object';
33483
+ readonly description: 'One actor who liked the feed generator in the group.';
33484
+ readonly required: ["actor"];
33485
+ readonly properties: {
33486
+ readonly actor: {
33487
+ readonly type: 'string';
33488
+ readonly format: 'did';
33489
+ };
33490
+ };
33491
+ };
33492
+ readonly replyNotification: {
33493
+ readonly type: 'object';
33494
+ readonly description: 'A reply to a post by the requesting account or to a thread they are participating in.';
33495
+ readonly required: ["post", "parent"];
33496
+ readonly properties: {
33497
+ readonly post: {
33498
+ readonly type: 'string';
33499
+ readonly format: 'at-uri';
33500
+ };
33501
+ readonly parent: {
33502
+ readonly type: 'string';
33503
+ readonly format: 'at-uri';
33504
+ };
33505
+ };
33506
+ };
33507
+ readonly quoteNotification: {
33508
+ readonly type: 'object';
33509
+ readonly description: 'A post quoting a post by the requesting account.';
33510
+ readonly required: ["post"];
33511
+ readonly properties: {
33512
+ readonly post: {
33513
+ readonly type: 'string';
33514
+ readonly format: 'at-uri';
33515
+ };
33516
+ readonly parent: {
33517
+ readonly type: 'string';
33518
+ readonly format: 'at-uri';
33519
+ };
33520
+ };
33521
+ };
33522
+ readonly mentionNotification: {
33523
+ readonly type: 'object';
33524
+ readonly description: 'A post mentioning the requesting account.';
33525
+ readonly required: ["post"];
33526
+ readonly properties: {
33527
+ readonly post: {
33528
+ readonly type: 'string';
33529
+ readonly format: 'at-uri';
33530
+ };
33531
+ readonly parent: {
33532
+ readonly type: 'string';
33533
+ readonly format: 'at-uri';
33534
+ };
33535
+ };
33536
+ };
33537
+ readonly followBackNotification: {
33538
+ readonly type: 'object';
33539
+ readonly description: 'An actor followed the requesting account back, possibly via a starter pack.';
33540
+ readonly required: ["actor"];
33541
+ readonly properties: {
33542
+ readonly actor: {
33543
+ readonly type: 'string';
33544
+ readonly format: 'did';
33545
+ };
33546
+ readonly starterPack: {
33547
+ readonly type: 'string';
33548
+ readonly format: 'at-uri';
33549
+ };
33550
+ };
33551
+ };
33552
+ readonly verifiedNotification: {
33553
+ readonly type: 'object';
33554
+ readonly description: 'An actor verified the requesting account.';
33555
+ readonly required: ["actor"];
33556
+ readonly properties: {
33557
+ readonly actor: {
33558
+ readonly type: 'string';
33559
+ readonly format: 'did';
33560
+ };
33561
+ };
33562
+ };
33563
+ readonly unverifiedNotification: {
33564
+ readonly type: 'object';
33565
+ readonly description: 'A verification of the requesting account was removed.';
33566
+ readonly required: ["actor"];
33567
+ readonly properties: {
33568
+ readonly actor: {
33569
+ readonly type: 'string';
33570
+ readonly format: 'did';
33571
+ };
33572
+ };
33573
+ };
33574
+ readonly starterPackJoinedNotification: {
33575
+ readonly type: 'object';
33576
+ readonly description: 'An actor joined Bluesky via a starter pack created by the requesting account.';
33577
+ readonly required: ["actor", "starterPack"];
33578
+ readonly properties: {
33579
+ readonly actor: {
33580
+ readonly type: 'string';
33581
+ readonly format: 'did';
33582
+ };
33583
+ readonly starterPack: {
33584
+ readonly type: 'string';
33585
+ readonly format: 'at-uri';
33586
+ };
33587
+ };
33588
+ };
33589
+ readonly contactMatchNotification: {
33590
+ readonly type: 'object';
33591
+ readonly description: 'A contact of the requesting account joined Bluesky.';
33592
+ readonly required: ["actor"];
33593
+ readonly properties: {
33594
+ readonly actor: {
33595
+ readonly type: 'string';
33596
+ readonly format: 'did';
33597
+ };
33598
+ };
33599
+ };
33600
+ };
32674
33601
  } | {
32675
33602
  readonly lexicon: 1;
32676
33603
  readonly id: 'app.bsky.notification.getPreferences';
@@ -50565,6 +51492,7 @@ export declare const ids: {
50565
51492
  readonly AppBskyLabelerService: 'app.bsky.labeler.service';
50566
51493
  readonly AppBskyNotificationDeclaration: 'app.bsky.notification.declaration';
50567
51494
  readonly AppBskyNotificationDefs: 'app.bsky.notification.defs';
51495
+ readonly AppBskyNotificationGetGroupedNotifications: 'app.bsky.notification.getGroupedNotifications';
50568
51496
  readonly AppBskyNotificationGetPreferences: 'app.bsky.notification.getPreferences';
50569
51497
  readonly AppBskyNotificationGetUnreadCount: 'app.bsky.notification.getUnreadCount';
50570
51498
  readonly AppBskyNotificationListActivitySubscriptions: 'app.bsky.notification.listActivitySubscriptions';