@atproto/pds 0.4.151 → 0.4.152

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 (49) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/auth-routes.d.ts +1 -1
  3. package/dist/auth-routes.d.ts.map +1 -1
  4. package/dist/auth-routes.js +13 -3
  5. package/dist/auth-routes.js.map +1 -1
  6. package/dist/lexicon/index.d.ts +6 -2
  7. package/dist/lexicon/index.d.ts.map +1 -1
  8. package/dist/lexicon/index.js +12 -4
  9. package/dist/lexicon/index.js.map +1 -1
  10. package/dist/lexicon/lexicons.d.ts +390 -82
  11. package/dist/lexicon/lexicons.d.ts.map +1 -1
  12. package/dist/lexicon/lexicons.js +199 -42
  13. package/dist/lexicon/lexicons.js.map +1 -1
  14. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +9 -0
  15. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  16. package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
  17. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  18. package/dist/lexicon/types/app/bsky/notification/declaration.d.ts +13 -0
  19. package/dist/lexicon/types/app/bsky/notification/declaration.d.ts.map +1 -0
  20. package/dist/lexicon/types/app/bsky/notification/declaration.js +16 -0
  21. package/dist/lexicon/types/app/bsky/notification/declaration.js.map +1 -0
  22. package/dist/lexicon/types/app/bsky/notification/defs.d.ts +15 -0
  23. package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
  24. package/dist/lexicon/types/app/bsky/notification/defs.js +18 -0
  25. package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
  26. package/dist/lexicon/types/app/bsky/notification/listActivitySubscriptions.d.ts +38 -0
  27. package/dist/lexicon/types/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -0
  28. package/dist/lexicon/types/app/bsky/notification/listActivitySubscriptions.js +7 -0
  29. package/dist/lexicon/types/app/bsky/notification/listActivitySubscriptions.js.map +1 -0
  30. package/dist/lexicon/types/app/bsky/notification/putActivitySubscription.d.ts +42 -0
  31. package/dist/lexicon/types/app/bsky/notification/putActivitySubscription.d.ts.map +1 -0
  32. package/dist/lexicon/types/app/bsky/notification/putActivitySubscription.js +7 -0
  33. package/dist/lexicon/types/app/bsky/notification/putActivitySubscription.js.map +1 -0
  34. package/dist/logger.d.ts +11 -0
  35. package/dist/logger.d.ts.map +1 -1
  36. package/dist/logger.js +7 -5
  37. package/dist/logger.js.map +1 -1
  38. package/package.json +9 -9
  39. package/src/auth-routes.ts +22 -4
  40. package/src/lexicon/index.ts +35 -9
  41. package/src/lexicon/lexicons.ts +207 -43
  42. package/src/lexicon/types/app/bsky/actor/defs.ts +23 -0
  43. package/src/lexicon/types/app/bsky/notification/declaration.ts +32 -0
  44. package/src/lexicon/types/app/bsky/notification/defs.ts +37 -0
  45. package/src/lexicon/types/app/bsky/notification/listActivitySubscriptions.ts +56 -0
  46. package/src/lexicon/types/app/bsky/notification/putActivitySubscription.ts +59 -0
  47. package/src/logger.ts +7 -5
  48. package/tests/oauth.test.ts +16 -19
  49. package/tsconfig.build.tsbuildinfo +1 -1
@@ -4331,6 +4331,10 @@ export declare const schemaDict: {
4331
4331
  readonly type: "ref";
4332
4332
  readonly ref: "lex:app.bsky.actor.defs#profileAssociatedChat";
4333
4333
  };
4334
+ readonly activitySubscription: {
4335
+ readonly type: "ref";
4336
+ readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
4337
+ };
4334
4338
  };
4335
4339
  };
4336
4340
  readonly profileAssociatedChat: {
@@ -4343,6 +4347,16 @@ export declare const schemaDict: {
4343
4347
  };
4344
4348
  };
4345
4349
  };
4350
+ readonly profileAssociatedActivitySubscription: {
4351
+ readonly type: "object";
4352
+ readonly required: ["allowSubscriptions"];
4353
+ readonly properties: {
4354
+ readonly allowSubscriptions: {
4355
+ readonly type: "string";
4356
+ readonly knownValues: ["followers", "mutuals", "none"];
4357
+ };
4358
+ };
4359
+ };
4346
4360
  readonly viewerState: {
4347
4361
  readonly type: "object";
4348
4362
  readonly description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.";
@@ -4377,6 +4391,10 @@ export declare const schemaDict: {
4377
4391
  readonly type: "ref";
4378
4392
  readonly ref: "lex:app.bsky.actor.defs#knownFollowers";
4379
4393
  };
4394
+ readonly activitySubscription: {
4395
+ readonly type: "ref";
4396
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
4397
+ };
4380
4398
  };
4381
4399
  };
4382
4400
  readonly knownFollowers: {
@@ -6650,47 +6668,6 @@ export declare const schemaDict: {
6650
6668
  };
6651
6669
  };
6652
6670
  };
6653
- readonly AppBskyFeedGetPosts: {
6654
- readonly lexicon: 1;
6655
- readonly id: "app.bsky.feed.getPosts";
6656
- readonly defs: {
6657
- readonly main: {
6658
- readonly type: "query";
6659
- readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
6660
- readonly parameters: {
6661
- readonly type: "params";
6662
- readonly required: ["uris"];
6663
- readonly properties: {
6664
- readonly uris: {
6665
- readonly type: "array";
6666
- readonly description: "List of post AT-URIs to return hydrated views for.";
6667
- readonly items: {
6668
- readonly type: "string";
6669
- readonly format: "at-uri";
6670
- };
6671
- readonly maxLength: 25;
6672
- };
6673
- };
6674
- };
6675
- readonly output: {
6676
- readonly encoding: "application/json";
6677
- readonly schema: {
6678
- readonly type: "object";
6679
- readonly required: ["posts"];
6680
- readonly properties: {
6681
- readonly posts: {
6682
- readonly type: "array";
6683
- readonly items: {
6684
- readonly type: "ref";
6685
- readonly ref: "lex:app.bsky.feed.defs#postView";
6686
- };
6687
- };
6688
- };
6689
- };
6690
- };
6691
- };
6692
- };
6693
- };
6694
6671
  readonly AppBskyFeedGetPostThread: {
6695
6672
  readonly lexicon: 1;
6696
6673
  readonly id: "app.bsky.feed.getPostThread";
@@ -6746,6 +6723,47 @@ export declare const schemaDict: {
6746
6723
  };
6747
6724
  };
6748
6725
  };
6726
+ readonly AppBskyFeedGetPosts: {
6727
+ readonly lexicon: 1;
6728
+ readonly id: "app.bsky.feed.getPosts";
6729
+ readonly defs: {
6730
+ readonly main: {
6731
+ readonly type: "query";
6732
+ readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
6733
+ readonly parameters: {
6734
+ readonly type: "params";
6735
+ readonly required: ["uris"];
6736
+ readonly properties: {
6737
+ readonly uris: {
6738
+ readonly type: "array";
6739
+ readonly description: "List of post AT-URIs to return hydrated views for.";
6740
+ readonly items: {
6741
+ readonly type: "string";
6742
+ readonly format: "at-uri";
6743
+ };
6744
+ readonly maxLength: 25;
6745
+ };
6746
+ };
6747
+ };
6748
+ readonly output: {
6749
+ readonly encoding: "application/json";
6750
+ readonly schema: {
6751
+ readonly type: "object";
6752
+ readonly required: ["posts"];
6753
+ readonly properties: {
6754
+ readonly posts: {
6755
+ readonly type: "array";
6756
+ readonly items: {
6757
+ readonly type: "ref";
6758
+ readonly ref: "lex:app.bsky.feed.defs#postView";
6759
+ };
6760
+ };
6761
+ };
6762
+ };
6763
+ };
6764
+ };
6765
+ };
6766
+ };
6749
6767
  readonly AppBskyFeedGetQuotes: {
6750
6768
  readonly lexicon: 1;
6751
6769
  readonly id: "app.bsky.feed.getQuotes";
@@ -9024,6 +9042,28 @@ export declare const schemaDict: {
9024
9042
  };
9025
9043
  };
9026
9044
  };
9045
+ readonly AppBskyNotificationDeclaration: {
9046
+ readonly lexicon: 1;
9047
+ readonly id: "app.bsky.notification.declaration";
9048
+ readonly defs: {
9049
+ readonly main: {
9050
+ readonly type: "record";
9051
+ readonly description: "A declaration of the user's choices related to notifications that can be produced by them.";
9052
+ readonly key: "literal:self";
9053
+ readonly record: {
9054
+ readonly type: "object";
9055
+ readonly required: ["allowSubscriptions"];
9056
+ readonly properties: {
9057
+ readonly allowSubscriptions: {
9058
+ readonly type: "string";
9059
+ readonly description: "A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'.";
9060
+ readonly knownValues: ["followers", "mutuals", "none"];
9061
+ };
9062
+ };
9063
+ };
9064
+ };
9065
+ };
9066
+ };
9027
9067
  readonly AppBskyNotificationDefs: {
9028
9068
  readonly lexicon: 1;
9029
9069
  readonly id: "app.bsky.notification.defs";
@@ -9131,6 +9171,33 @@ export declare const schemaDict: {
9131
9171
  };
9132
9172
  };
9133
9173
  };
9174
+ readonly activitySubscription: {
9175
+ readonly type: "object";
9176
+ readonly required: ["post", "reply"];
9177
+ readonly properties: {
9178
+ readonly post: {
9179
+ readonly type: "boolean";
9180
+ };
9181
+ readonly reply: {
9182
+ readonly type: "boolean";
9183
+ };
9184
+ };
9185
+ };
9186
+ readonly subjectActivitySubscription: {
9187
+ readonly description: "Object used to store activity subscription data in stash.";
9188
+ readonly type: "object";
9189
+ readonly required: ["subject", "activitySubscription"];
9190
+ readonly properties: {
9191
+ readonly subject: {
9192
+ readonly type: "string";
9193
+ readonly format: "did";
9194
+ };
9195
+ readonly activitySubscription: {
9196
+ readonly type: "ref";
9197
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
9198
+ };
9199
+ };
9200
+ };
9134
9201
  };
9135
9202
  };
9136
9203
  readonly AppBskyNotificationGetPreferences: {
@@ -9194,6 +9261,49 @@ export declare const schemaDict: {
9194
9261
  };
9195
9262
  };
9196
9263
  };
9264
+ readonly AppBskyNotificationListActivitySubscriptions: {
9265
+ readonly lexicon: 1;
9266
+ readonly id: "app.bsky.notification.listActivitySubscriptions";
9267
+ readonly defs: {
9268
+ readonly main: {
9269
+ readonly type: "query";
9270
+ readonly description: "Enumerate all accounts to which the requesting account is subscribed to receive notifications for. Requires auth.";
9271
+ readonly parameters: {
9272
+ readonly type: "params";
9273
+ readonly properties: {
9274
+ readonly limit: {
9275
+ readonly type: "integer";
9276
+ readonly minimum: 1;
9277
+ readonly maximum: 100;
9278
+ readonly default: 50;
9279
+ };
9280
+ readonly cursor: {
9281
+ readonly type: "string";
9282
+ };
9283
+ };
9284
+ };
9285
+ readonly output: {
9286
+ readonly encoding: "application/json";
9287
+ readonly schema: {
9288
+ readonly type: "object";
9289
+ readonly required: ["subscriptions"];
9290
+ readonly properties: {
9291
+ readonly cursor: {
9292
+ readonly type: "string";
9293
+ };
9294
+ readonly subscriptions: {
9295
+ readonly type: "array";
9296
+ readonly items: {
9297
+ readonly type: "ref";
9298
+ readonly ref: "lex:app.bsky.actor.defs#profileView";
9299
+ };
9300
+ };
9301
+ };
9302
+ };
9303
+ };
9304
+ };
9305
+ };
9306
+ };
9197
9307
  readonly AppBskyNotificationListNotifications: {
9198
9308
  readonly lexicon: 1;
9199
9309
  readonly id: "app.bsky.notification.listNotifications";
@@ -9303,6 +9413,50 @@ export declare const schemaDict: {
9303
9413
  };
9304
9414
  };
9305
9415
  };
9416
+ readonly AppBskyNotificationPutActivitySubscription: {
9417
+ readonly lexicon: 1;
9418
+ readonly id: "app.bsky.notification.putActivitySubscription";
9419
+ readonly defs: {
9420
+ readonly main: {
9421
+ readonly type: "procedure";
9422
+ readonly description: "Puts an activity subscription entry. The key should be omitted for creation and provided for updates. Requires auth.";
9423
+ readonly input: {
9424
+ readonly encoding: "application/json";
9425
+ readonly schema: {
9426
+ readonly type: "object";
9427
+ readonly required: ["subject", "activitySubscription"];
9428
+ readonly properties: {
9429
+ readonly subject: {
9430
+ readonly type: "string";
9431
+ readonly format: "did";
9432
+ };
9433
+ readonly activitySubscription: {
9434
+ readonly type: "ref";
9435
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
9436
+ };
9437
+ };
9438
+ };
9439
+ };
9440
+ readonly output: {
9441
+ readonly encoding: "application/json";
9442
+ readonly schema: {
9443
+ readonly type: "object";
9444
+ readonly required: ["subject"];
9445
+ readonly properties: {
9446
+ readonly subject: {
9447
+ readonly type: "string";
9448
+ readonly format: "did";
9449
+ };
9450
+ readonly activitySubscription: {
9451
+ readonly type: "ref";
9452
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
9453
+ };
9454
+ };
9455
+ };
9456
+ };
9457
+ };
9458
+ };
9459
+ };
9306
9460
  readonly AppBskyNotificationPutPreferences: {
9307
9461
  readonly lexicon: 1;
9308
9462
  readonly id: "app.bsky.notification.putPreferences";
@@ -19559,6 +19713,10 @@ export declare const schemas: ({
19559
19713
  readonly type: "ref";
19560
19714
  readonly ref: "lex:app.bsky.actor.defs#profileAssociatedChat";
19561
19715
  };
19716
+ readonly activitySubscription: {
19717
+ readonly type: "ref";
19718
+ readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
19719
+ };
19562
19720
  };
19563
19721
  };
19564
19722
  readonly profileAssociatedChat: {
@@ -19571,6 +19729,16 @@ export declare const schemas: ({
19571
19729
  };
19572
19730
  };
19573
19731
  };
19732
+ readonly profileAssociatedActivitySubscription: {
19733
+ readonly type: "object";
19734
+ readonly required: ["allowSubscriptions"];
19735
+ readonly properties: {
19736
+ readonly allowSubscriptions: {
19737
+ readonly type: "string";
19738
+ readonly knownValues: ["followers", "mutuals", "none"];
19739
+ };
19740
+ };
19741
+ };
19574
19742
  readonly viewerState: {
19575
19743
  readonly type: "object";
19576
19744
  readonly description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.";
@@ -19605,6 +19773,10 @@ export declare const schemas: ({
19605
19773
  readonly type: "ref";
19606
19774
  readonly ref: "lex:app.bsky.actor.defs#knownFollowers";
19607
19775
  };
19776
+ readonly activitySubscription: {
19777
+ readonly type: "ref";
19778
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
19779
+ };
19608
19780
  };
19609
19781
  };
19610
19782
  readonly knownFollowers: {
@@ -21850,46 +22022,6 @@ export declare const schemas: ({
21850
22022
  }];
21851
22023
  };
21852
22024
  };
21853
- } | {
21854
- readonly lexicon: 1;
21855
- readonly id: "app.bsky.feed.getPosts";
21856
- readonly defs: {
21857
- readonly main: {
21858
- readonly type: "query";
21859
- readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
21860
- readonly parameters: {
21861
- readonly type: "params";
21862
- readonly required: ["uris"];
21863
- readonly properties: {
21864
- readonly uris: {
21865
- readonly type: "array";
21866
- readonly description: "List of post AT-URIs to return hydrated views for.";
21867
- readonly items: {
21868
- readonly type: "string";
21869
- readonly format: "at-uri";
21870
- };
21871
- readonly maxLength: 25;
21872
- };
21873
- };
21874
- };
21875
- readonly output: {
21876
- readonly encoding: "application/json";
21877
- readonly schema: {
21878
- readonly type: "object";
21879
- readonly required: ["posts"];
21880
- readonly properties: {
21881
- readonly posts: {
21882
- readonly type: "array";
21883
- readonly items: {
21884
- readonly type: "ref";
21885
- readonly ref: "lex:app.bsky.feed.defs#postView";
21886
- };
21887
- };
21888
- };
21889
- };
21890
- };
21891
- };
21892
- };
21893
22025
  } | {
21894
22026
  readonly lexicon: 1;
21895
22027
  readonly id: "app.bsky.feed.getPostThread";
@@ -21944,6 +22076,46 @@ export declare const schemas: ({
21944
22076
  }];
21945
22077
  };
21946
22078
  };
22079
+ } | {
22080
+ readonly lexicon: 1;
22081
+ readonly id: "app.bsky.feed.getPosts";
22082
+ readonly defs: {
22083
+ readonly main: {
22084
+ readonly type: "query";
22085
+ readonly description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.";
22086
+ readonly parameters: {
22087
+ readonly type: "params";
22088
+ readonly required: ["uris"];
22089
+ readonly properties: {
22090
+ readonly uris: {
22091
+ readonly type: "array";
22092
+ readonly description: "List of post AT-URIs to return hydrated views for.";
22093
+ readonly items: {
22094
+ readonly type: "string";
22095
+ readonly format: "at-uri";
22096
+ };
22097
+ readonly maxLength: 25;
22098
+ };
22099
+ };
22100
+ };
22101
+ readonly output: {
22102
+ readonly encoding: "application/json";
22103
+ readonly schema: {
22104
+ readonly type: "object";
22105
+ readonly required: ["posts"];
22106
+ readonly properties: {
22107
+ readonly posts: {
22108
+ readonly type: "array";
22109
+ readonly items: {
22110
+ readonly type: "ref";
22111
+ readonly ref: "lex:app.bsky.feed.defs#postView";
22112
+ };
22113
+ };
22114
+ };
22115
+ };
22116
+ };
22117
+ };
22118
+ };
21947
22119
  } | {
21948
22120
  readonly lexicon: 1;
21949
22121
  readonly id: "app.bsky.feed.getQuotes";
@@ -24179,6 +24351,27 @@ export declare const schemas: ({
24179
24351
  };
24180
24352
  };
24181
24353
  };
24354
+ } | {
24355
+ readonly lexicon: 1;
24356
+ readonly id: "app.bsky.notification.declaration";
24357
+ readonly defs: {
24358
+ readonly main: {
24359
+ readonly type: "record";
24360
+ readonly description: "A declaration of the user's choices related to notifications that can be produced by them.";
24361
+ readonly key: "literal:self";
24362
+ readonly record: {
24363
+ readonly type: "object";
24364
+ readonly required: ["allowSubscriptions"];
24365
+ readonly properties: {
24366
+ readonly allowSubscriptions: {
24367
+ readonly type: "string";
24368
+ readonly description: "A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'.";
24369
+ readonly knownValues: ["followers", "mutuals", "none"];
24370
+ };
24371
+ };
24372
+ };
24373
+ };
24374
+ };
24182
24375
  } | {
24183
24376
  readonly lexicon: 1;
24184
24377
  readonly id: "app.bsky.notification.defs";
@@ -24286,6 +24479,33 @@ export declare const schemas: ({
24286
24479
  };
24287
24480
  };
24288
24481
  };
24482
+ readonly activitySubscription: {
24483
+ readonly type: "object";
24484
+ readonly required: ["post", "reply"];
24485
+ readonly properties: {
24486
+ readonly post: {
24487
+ readonly type: "boolean";
24488
+ };
24489
+ readonly reply: {
24490
+ readonly type: "boolean";
24491
+ };
24492
+ };
24493
+ };
24494
+ readonly subjectActivitySubscription: {
24495
+ readonly description: "Object used to store activity subscription data in stash.";
24496
+ readonly type: "object";
24497
+ readonly required: ["subject", "activitySubscription"];
24498
+ readonly properties: {
24499
+ readonly subject: {
24500
+ readonly type: "string";
24501
+ readonly format: "did";
24502
+ };
24503
+ readonly activitySubscription: {
24504
+ readonly type: "ref";
24505
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
24506
+ };
24507
+ };
24508
+ };
24289
24509
  };
24290
24510
  } | {
24291
24511
  readonly lexicon: 1;
@@ -24346,6 +24566,48 @@ export declare const schemas: ({
24346
24566
  };
24347
24567
  };
24348
24568
  };
24569
+ } | {
24570
+ readonly lexicon: 1;
24571
+ readonly id: "app.bsky.notification.listActivitySubscriptions";
24572
+ readonly defs: {
24573
+ readonly main: {
24574
+ readonly type: "query";
24575
+ readonly description: "Enumerate all accounts to which the requesting account is subscribed to receive notifications for. Requires auth.";
24576
+ readonly parameters: {
24577
+ readonly type: "params";
24578
+ readonly properties: {
24579
+ readonly limit: {
24580
+ readonly type: "integer";
24581
+ readonly minimum: 1;
24582
+ readonly maximum: 100;
24583
+ readonly default: 50;
24584
+ };
24585
+ readonly cursor: {
24586
+ readonly type: "string";
24587
+ };
24588
+ };
24589
+ };
24590
+ readonly output: {
24591
+ readonly encoding: "application/json";
24592
+ readonly schema: {
24593
+ readonly type: "object";
24594
+ readonly required: ["subscriptions"];
24595
+ readonly properties: {
24596
+ readonly cursor: {
24597
+ readonly type: "string";
24598
+ };
24599
+ readonly subscriptions: {
24600
+ readonly type: "array";
24601
+ readonly items: {
24602
+ readonly type: "ref";
24603
+ readonly ref: "lex:app.bsky.actor.defs#profileView";
24604
+ };
24605
+ };
24606
+ };
24607
+ };
24608
+ };
24609
+ };
24610
+ };
24349
24611
  } | {
24350
24612
  readonly lexicon: 1;
24351
24613
  readonly id: "app.bsky.notification.listNotifications";
@@ -24454,6 +24716,49 @@ export declare const schemas: ({
24454
24716
  };
24455
24717
  };
24456
24718
  };
24719
+ } | {
24720
+ readonly lexicon: 1;
24721
+ readonly id: "app.bsky.notification.putActivitySubscription";
24722
+ readonly defs: {
24723
+ readonly main: {
24724
+ readonly type: "procedure";
24725
+ readonly description: "Puts an activity subscription entry. The key should be omitted for creation and provided for updates. Requires auth.";
24726
+ readonly input: {
24727
+ readonly encoding: "application/json";
24728
+ readonly schema: {
24729
+ readonly type: "object";
24730
+ readonly required: ["subject", "activitySubscription"];
24731
+ readonly properties: {
24732
+ readonly subject: {
24733
+ readonly type: "string";
24734
+ readonly format: "did";
24735
+ };
24736
+ readonly activitySubscription: {
24737
+ readonly type: "ref";
24738
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
24739
+ };
24740
+ };
24741
+ };
24742
+ };
24743
+ readonly output: {
24744
+ readonly encoding: "application/json";
24745
+ readonly schema: {
24746
+ readonly type: "object";
24747
+ readonly required: ["subject"];
24748
+ readonly properties: {
24749
+ readonly subject: {
24750
+ readonly type: "string";
24751
+ readonly format: "did";
24752
+ };
24753
+ readonly activitySubscription: {
24754
+ readonly type: "ref";
24755
+ readonly ref: "lex:app.bsky.notification.defs#activitySubscription";
24756
+ };
24757
+ };
24758
+ };
24759
+ };
24760
+ };
24761
+ };
24457
24762
  } | {
24458
24763
  readonly lexicon: 1;
24459
24764
  readonly id: "app.bsky.notification.putPreferences";
@@ -30504,8 +30809,8 @@ export declare const ids: {
30504
30809
  readonly AppBskyFeedGetFeedSkeleton: "app.bsky.feed.getFeedSkeleton";
30505
30810
  readonly AppBskyFeedGetLikes: "app.bsky.feed.getLikes";
30506
30811
  readonly AppBskyFeedGetListFeed: "app.bsky.feed.getListFeed";
30507
- readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
30508
30812
  readonly AppBskyFeedGetPostThread: "app.bsky.feed.getPostThread";
30813
+ readonly AppBskyFeedGetPosts: "app.bsky.feed.getPosts";
30509
30814
  readonly AppBskyFeedGetQuotes: "app.bsky.feed.getQuotes";
30510
30815
  readonly AppBskyFeedGetRepostedBy: "app.bsky.feed.getRepostedBy";
30511
30816
  readonly AppBskyFeedGetSuggestedFeeds: "app.bsky.feed.getSuggestedFeeds";
@@ -30549,10 +30854,13 @@ export declare const ids: {
30549
30854
  readonly AppBskyLabelerDefs: "app.bsky.labeler.defs";
30550
30855
  readonly AppBskyLabelerGetServices: "app.bsky.labeler.getServices";
30551
30856
  readonly AppBskyLabelerService: "app.bsky.labeler.service";
30857
+ readonly AppBskyNotificationDeclaration: "app.bsky.notification.declaration";
30552
30858
  readonly AppBskyNotificationDefs: "app.bsky.notification.defs";
30553
30859
  readonly AppBskyNotificationGetPreferences: "app.bsky.notification.getPreferences";
30554
30860
  readonly AppBskyNotificationGetUnreadCount: "app.bsky.notification.getUnreadCount";
30861
+ readonly AppBskyNotificationListActivitySubscriptions: "app.bsky.notification.listActivitySubscriptions";
30555
30862
  readonly AppBskyNotificationListNotifications: "app.bsky.notification.listNotifications";
30863
+ readonly AppBskyNotificationPutActivitySubscription: "app.bsky.notification.putActivitySubscription";
30556
30864
  readonly AppBskyNotificationPutPreferences: "app.bsky.notification.putPreferences";
30557
30865
  readonly AppBskyNotificationPutPreferencesV2: "app.bsky.notification.putPreferencesV2";
30558
30866
  readonly AppBskyNotificationRegisterPush: "app.bsky.notification.registerPush";