@atproto/api 0.6.4 → 0.6.6

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 (82) hide show
  1. package/dist/bsky-agent.d.ts +1 -0
  2. package/dist/client/index.d.ts +6 -0
  3. package/dist/client/lexicons.d.ts +87 -0
  4. package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
  5. package/dist/client/types/app/bsky/actor/ref.d.ts +28 -0
  6. package/dist/client/types/app/bsky/actor/search.d.ts +22 -0
  7. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +20 -0
  8. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +40 -0
  9. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
  10. package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +28 -0
  11. package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
  12. package/dist/client/types/app/bsky/feed/getVotes.d.ts +36 -0
  13. package/dist/client/types/app/bsky/feed/saveFeed.d.ts +17 -0
  14. package/dist/client/types/app/bsky/feed/setVote.d.ts +25 -0
  15. package/dist/client/types/app/bsky/feed/trend.d.ts +9 -0
  16. package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +17 -0
  17. package/dist/client/types/app/bsky/feed/vote.d.ts +10 -0
  18. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
  19. package/dist/client/types/app/bsky/graph/assertMember.d.ts +1 -0
  20. package/dist/client/types/app/bsky/graph/assertion.d.ts +10 -0
  21. package/dist/client/types/app/bsky/graph/confirmation.d.ts +11 -0
  22. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
  23. package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +21 -0
  24. package/dist/client/types/app/bsky/graph/getMembers.d.ts +36 -0
  25. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +36 -0
  26. package/dist/client/types/app/bsky/graph/listblock.d.ts +8 -0
  27. package/dist/client/types/app/bsky/graph/mute.d.ts +17 -0
  28. package/dist/client/types/app/bsky/graph/subscribeMuteList.d.ts +17 -0
  29. package/dist/client/types/app/bsky/graph/unmute.d.ts +17 -0
  30. package/dist/client/types/app/bsky/graph/unsubscribeMuteList.d.ts +17 -0
  31. package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
  32. package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
  33. package/dist/client/types/app/bsky/notification/registerPush.d.ts +20 -0
  34. package/dist/client/types/app/bsky/system/actorScene.d.ts +1 -0
  35. package/dist/client/types/app/bsky/system/actorUser.d.ts +1 -0
  36. package/dist/client/types/app/bsky/system/declRef.d.ts +8 -0
  37. package/dist/client/types/app/bsky/system/declaration.d.ts +7 -0
  38. package/dist/client/types/app/bsky/unspecced/registerPushNotification.d.ts +16 -0
  39. package/dist/client/types/com/atproto/account/create.d.ts +41 -0
  40. package/dist/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
  41. package/dist/client/types/com/atproto/account/delete.d.ts +25 -0
  42. package/dist/client/types/com/atproto/account/get.d.ts +12 -0
  43. package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
  44. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
  45. package/dist/client/types/com/atproto/account/resetPassword.d.ts +24 -0
  46. package/dist/client/types/com/atproto/admin/blob.d.ts +37 -0
  47. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +60 -0
  48. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
  49. package/dist/client/types/com/atproto/admin/record.d.ts +43 -0
  50. package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
  51. package/dist/client/types/com/atproto/blob/upload.d.ts +19 -0
  52. package/dist/client/types/com/atproto/handle/resolve.d.ts +18 -0
  53. package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
  54. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +46 -0
  55. package/dist/client/types/com/atproto/repo/describe.d.ts +22 -0
  56. package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
  57. package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
  58. package/dist/client/types/com/atproto/report/create.d.ts +39 -0
  59. package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
  60. package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
  61. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +27 -0
  62. package/dist/client/types/com/atproto/session/create.d.ts +29 -0
  63. package/dist/client/types/com/atproto/session/delete.d.ts +13 -0
  64. package/dist/client/types/com/atproto/session/get.d.ts +18 -0
  65. package/dist/client/types/com/atproto/session/refresh.d.ts +24 -0
  66. package/dist/client/types/com/atproto/sync/getRoot.d.ts +18 -0
  67. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +9 -0
  68. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
  69. package/dist/helpers/bsky.d.ts +20 -0
  70. package/dist/index.js +226 -85
  71. package/dist/index.js.map +4 -4
  72. package/dist/mixins/bsky.d.ts +23 -0
  73. package/dist/rich-text/sanitize.d.ts +4 -0
  74. package/dist/session.d.ts +42 -0
  75. package/package.json +1 -1
  76. package/src/bsky-agent.ts +3 -0
  77. package/src/client/index.ts +26 -0
  78. package/src/client/lexicons.ts +93 -0
  79. package/src/client/types/app/bsky/feed/getActorLikes.ts +53 -0
  80. package/src/client/types/app/bsky/notification/registerPush.ts +35 -0
  81. package/src/client/types/com/atproto/sync/subscribeRepos.ts +1 -0
  82. package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js CHANGED
@@ -8892,6 +8892,7 @@ __export(src_exports4, {
8892
8892
  AppBskyFeedDescribeFeedGenerator: () => describeFeedGenerator_exports,
8893
8893
  AppBskyFeedGenerator: () => generator_exports,
8894
8894
  AppBskyFeedGetActorFeeds: () => getActorFeeds_exports,
8895
+ AppBskyFeedGetActorLikes: () => getActorLikes_exports,
8895
8896
  AppBskyFeedGetAuthorFeed: () => getAuthorFeed_exports,
8896
8897
  AppBskyFeedGetFeed: () => getFeed_exports,
8897
8898
  AppBskyFeedGetFeedGenerator: () => getFeedGenerator_exports,
@@ -8923,6 +8924,7 @@ __export(src_exports4, {
8923
8924
  AppBskyGraphUnmuteActorList: () => unmuteActorList_exports,
8924
8925
  AppBskyNotificationGetUnreadCount: () => getUnreadCount_exports,
8925
8926
  AppBskyNotificationListNotifications: () => listNotifications_exports,
8927
+ AppBskyNotificationRegisterPush: () => registerPush_exports,
8926
8928
  AppBskyNotificationUpdateSeen: () => updateSeen_exports,
8927
8929
  AppBskyRichtextFacet: () => facet_exports,
8928
8930
  AppBskyUnspeccedApplyLabels: () => applyLabels_exports,
@@ -19243,6 +19245,7 @@ var schemaDict = {
19243
19245
  },
19244
19246
  repoOp: {
19245
19247
  type: "object",
19248
+ description: "A repo operation, ie a write of a single record. For creates and updates, cid is the record's CID as of this operation. For deletes, it's null.",
19246
19249
  required: ["action", "path", "cid"],
19247
19250
  nullable: ["cid"],
19248
19251
  properties: {
@@ -20479,6 +20482,62 @@ var schemaDict = {
20479
20482
  }
20480
20483
  }
20481
20484
  },
20485
+ AppBskyFeedGetActorLikes: {
20486
+ lexicon: 1,
20487
+ id: "app.bsky.feed.getActorLikes",
20488
+ defs: {
20489
+ main: {
20490
+ type: "query",
20491
+ description: "A view of the posts liked by an actor.",
20492
+ parameters: {
20493
+ type: "params",
20494
+ required: ["actor"],
20495
+ properties: {
20496
+ actor: {
20497
+ type: "string",
20498
+ format: "at-identifier"
20499
+ },
20500
+ limit: {
20501
+ type: "integer",
20502
+ minimum: 1,
20503
+ maximum: 100,
20504
+ default: 50
20505
+ },
20506
+ cursor: {
20507
+ type: "string"
20508
+ }
20509
+ }
20510
+ },
20511
+ output: {
20512
+ encoding: "application/json",
20513
+ schema: {
20514
+ type: "object",
20515
+ required: ["feed"],
20516
+ properties: {
20517
+ cursor: {
20518
+ type: "string"
20519
+ },
20520
+ feed: {
20521
+ type: "array",
20522
+ items: {
20523
+ type: "ref",
20524
+ ref: "lex:app.bsky.feed.defs#feedViewPost"
20525
+ }
20526
+ }
20527
+ }
20528
+ }
20529
+ },
20530
+ errors: [
20531
+ {
20532
+ name: "BlockedActor"
20533
+ },
20534
+ {
20535
+ name: "BlockedByActor"
20536
+ }
20537
+ ]
20538
+ }
20539
+ }
20540
+ },
20482
20541
  AppBskyFeedGetAuthorFeed: {
20483
20542
  lexicon: 1,
20484
20543
  id: "app.bsky.feed.getAuthorFeed",
@@ -21969,6 +22028,39 @@ var schemaDict = {
21969
22028
  }
21970
22029
  }
21971
22030
  },
22031
+ AppBskyNotificationRegisterPush: {
22032
+ lexicon: 1,
22033
+ id: "app.bsky.notification.registerPush",
22034
+ defs: {
22035
+ main: {
22036
+ type: "procedure",
22037
+ description: "Register for push notifications with a service",
22038
+ input: {
22039
+ encoding: "application/json",
22040
+ schema: {
22041
+ type: "object",
22042
+ required: ["serviceDid", "token", "platform", "appId"],
22043
+ properties: {
22044
+ serviceDid: {
22045
+ type: "string",
22046
+ format: "did"
22047
+ },
22048
+ token: {
22049
+ type: "string"
22050
+ },
22051
+ platform: {
22052
+ type: "string",
22053
+ knownValues: ["ios", "android", "web"]
22054
+ },
22055
+ appId: {
22056
+ type: "string"
22057
+ }
22058
+ }
22059
+ }
22060
+ }
22061
+ }
22062
+ }
22063
+ },
21972
22064
  AppBskyNotificationUpdateSeen: {
21973
22065
  lexicon: 1,
21974
22066
  id: "app.bsky.notification.updateSeen",
@@ -23291,9 +23383,9 @@ function toKnownErr67(e) {
23291
23383
  return e;
23292
23384
  }
23293
23385
 
23294
- // src/client/types/app/bsky/feed/getAuthorFeed.ts
23295
- var getAuthorFeed_exports = {};
23296
- __export(getAuthorFeed_exports, {
23386
+ // src/client/types/app/bsky/feed/getActorLikes.ts
23387
+ var getActorLikes_exports = {};
23388
+ __export(getActorLikes_exports, {
23297
23389
  BlockedActorError: () => BlockedActorError,
23298
23390
  BlockedByActorError: () => BlockedByActorError,
23299
23391
  toKnownErr: () => toKnownErr68
@@ -23318,18 +23410,45 @@ function toKnownErr68(e) {
23318
23410
  return e;
23319
23411
  }
23320
23412
 
23413
+ // src/client/types/app/bsky/feed/getAuthorFeed.ts
23414
+ var getAuthorFeed_exports = {};
23415
+ __export(getAuthorFeed_exports, {
23416
+ BlockedActorError: () => BlockedActorError2,
23417
+ BlockedByActorError: () => BlockedByActorError2,
23418
+ toKnownErr: () => toKnownErr69
23419
+ });
23420
+ var BlockedActorError2 = class extends XRPCError {
23421
+ constructor(src2) {
23422
+ super(src2.status, src2.error, src2.message, src2.headers);
23423
+ }
23424
+ };
23425
+ var BlockedByActorError2 = class extends XRPCError {
23426
+ constructor(src2) {
23427
+ super(src2.status, src2.error, src2.message, src2.headers);
23428
+ }
23429
+ };
23430
+ function toKnownErr69(e) {
23431
+ if (e instanceof XRPCError) {
23432
+ if (e.error === "BlockedActor")
23433
+ return new BlockedActorError2(e);
23434
+ if (e.error === "BlockedByActor")
23435
+ return new BlockedByActorError2(e);
23436
+ }
23437
+ return e;
23438
+ }
23439
+
23321
23440
  // src/client/types/app/bsky/feed/getFeed.ts
23322
23441
  var getFeed_exports = {};
23323
23442
  __export(getFeed_exports, {
23324
23443
  UnknownFeedError: () => UnknownFeedError,
23325
- toKnownErr: () => toKnownErr69
23444
+ toKnownErr: () => toKnownErr70
23326
23445
  });
23327
23446
  var UnknownFeedError = class extends XRPCError {
23328
23447
  constructor(src2) {
23329
23448
  super(src2.status, src2.error, src2.message, src2.headers);
23330
23449
  }
23331
23450
  };
23332
- function toKnownErr69(e) {
23451
+ function toKnownErr70(e) {
23333
23452
  if (e instanceof XRPCError) {
23334
23453
  if (e.error === "UnknownFeed")
23335
23454
  return new UnknownFeedError(e);
@@ -23340,9 +23459,9 @@ function toKnownErr69(e) {
23340
23459
  // src/client/types/app/bsky/feed/getFeedGenerator.ts
23341
23460
  var getFeedGenerator_exports = {};
23342
23461
  __export(getFeedGenerator_exports, {
23343
- toKnownErr: () => toKnownErr70
23462
+ toKnownErr: () => toKnownErr71
23344
23463
  });
23345
- function toKnownErr70(e) {
23464
+ function toKnownErr71(e) {
23346
23465
  if (e instanceof XRPCError) {
23347
23466
  }
23348
23467
  return e;
@@ -23351,9 +23470,9 @@ function toKnownErr70(e) {
23351
23470
  // src/client/types/app/bsky/feed/getFeedGenerators.ts
23352
23471
  var getFeedGenerators_exports = {};
23353
23472
  __export(getFeedGenerators_exports, {
23354
- toKnownErr: () => toKnownErr71
23473
+ toKnownErr: () => toKnownErr72
23355
23474
  });
23356
- function toKnownErr71(e) {
23475
+ function toKnownErr72(e) {
23357
23476
  if (e instanceof XRPCError) {
23358
23477
  }
23359
23478
  return e;
@@ -23363,14 +23482,14 @@ function toKnownErr71(e) {
23363
23482
  var getFeedSkeleton_exports = {};
23364
23483
  __export(getFeedSkeleton_exports, {
23365
23484
  UnknownFeedError: () => UnknownFeedError2,
23366
- toKnownErr: () => toKnownErr72
23485
+ toKnownErr: () => toKnownErr73
23367
23486
  });
23368
23487
  var UnknownFeedError2 = class extends XRPCError {
23369
23488
  constructor(src2) {
23370
23489
  super(src2.status, src2.error, src2.message, src2.headers);
23371
23490
  }
23372
23491
  };
23373
- function toKnownErr72(e) {
23492
+ function toKnownErr73(e) {
23374
23493
  if (e instanceof XRPCError) {
23375
23494
  if (e.error === "UnknownFeed")
23376
23495
  return new UnknownFeedError2(e);
@@ -23382,10 +23501,10 @@ function toKnownErr72(e) {
23382
23501
  var getLikes_exports = {};
23383
23502
  __export(getLikes_exports, {
23384
23503
  isLike: () => isLike,
23385
- toKnownErr: () => toKnownErr73,
23504
+ toKnownErr: () => toKnownErr74,
23386
23505
  validateLike: () => validateLike
23387
23506
  });
23388
- function toKnownErr73(e) {
23507
+ function toKnownErr74(e) {
23389
23508
  if (e instanceof XRPCError) {
23390
23509
  }
23391
23510
  return e;
@@ -23401,14 +23520,14 @@ function validateLike(v) {
23401
23520
  var getPostThread_exports = {};
23402
23521
  __export(getPostThread_exports, {
23403
23522
  NotFoundError: () => NotFoundError,
23404
- toKnownErr: () => toKnownErr74
23523
+ toKnownErr: () => toKnownErr75
23405
23524
  });
23406
23525
  var NotFoundError = class extends XRPCError {
23407
23526
  constructor(src2) {
23408
23527
  super(src2.status, src2.error, src2.message, src2.headers);
23409
23528
  }
23410
23529
  };
23411
- function toKnownErr74(e) {
23530
+ function toKnownErr75(e) {
23412
23531
  if (e instanceof XRPCError) {
23413
23532
  if (e.error === "NotFound")
23414
23533
  return new NotFoundError(e);
@@ -23419,9 +23538,9 @@ function toKnownErr74(e) {
23419
23538
  // src/client/types/app/bsky/feed/getPosts.ts
23420
23539
  var getPosts_exports = {};
23421
23540
  __export(getPosts_exports, {
23422
- toKnownErr: () => toKnownErr75
23541
+ toKnownErr: () => toKnownErr76
23423
23542
  });
23424
- function toKnownErr75(e) {
23543
+ function toKnownErr76(e) {
23425
23544
  if (e instanceof XRPCError) {
23426
23545
  }
23427
23546
  return e;
@@ -23430,9 +23549,9 @@ function toKnownErr75(e) {
23430
23549
  // src/client/types/app/bsky/feed/getRepostedBy.ts
23431
23550
  var getRepostedBy_exports = {};
23432
23551
  __export(getRepostedBy_exports, {
23433
- toKnownErr: () => toKnownErr76
23552
+ toKnownErr: () => toKnownErr77
23434
23553
  });
23435
- function toKnownErr76(e) {
23554
+ function toKnownErr77(e) {
23436
23555
  if (e instanceof XRPCError) {
23437
23556
  }
23438
23557
  return e;
@@ -23441,9 +23560,9 @@ function toKnownErr76(e) {
23441
23560
  // src/client/types/app/bsky/feed/getTimeline.ts
23442
23561
  var getTimeline_exports = {};
23443
23562
  __export(getTimeline_exports, {
23444
- toKnownErr: () => toKnownErr77
23563
+ toKnownErr: () => toKnownErr78
23445
23564
  });
23446
- function toKnownErr77(e) {
23565
+ function toKnownErr78(e) {
23447
23566
  if (e instanceof XRPCError) {
23448
23567
  }
23449
23568
  return e;
@@ -23452,9 +23571,9 @@ function toKnownErr77(e) {
23452
23571
  // src/client/types/app/bsky/graph/getBlocks.ts
23453
23572
  var getBlocks_exports2 = {};
23454
23573
  __export(getBlocks_exports2, {
23455
- toKnownErr: () => toKnownErr78
23574
+ toKnownErr: () => toKnownErr79
23456
23575
  });
23457
- function toKnownErr78(e) {
23576
+ function toKnownErr79(e) {
23458
23577
  if (e instanceof XRPCError) {
23459
23578
  }
23460
23579
  return e;
@@ -23463,9 +23582,9 @@ function toKnownErr78(e) {
23463
23582
  // src/client/types/app/bsky/graph/getFollowers.ts
23464
23583
  var getFollowers_exports = {};
23465
23584
  __export(getFollowers_exports, {
23466
- toKnownErr: () => toKnownErr79
23585
+ toKnownErr: () => toKnownErr80
23467
23586
  });
23468
- function toKnownErr79(e) {
23587
+ function toKnownErr80(e) {
23469
23588
  if (e instanceof XRPCError) {
23470
23589
  }
23471
23590
  return e;
@@ -23474,9 +23593,9 @@ function toKnownErr79(e) {
23474
23593
  // src/client/types/app/bsky/graph/getFollows.ts
23475
23594
  var getFollows_exports = {};
23476
23595
  __export(getFollows_exports, {
23477
- toKnownErr: () => toKnownErr80
23596
+ toKnownErr: () => toKnownErr81
23478
23597
  });
23479
- function toKnownErr80(e) {
23598
+ function toKnownErr81(e) {
23480
23599
  if (e instanceof XRPCError) {
23481
23600
  }
23482
23601
  return e;
@@ -23485,9 +23604,9 @@ function toKnownErr80(e) {
23485
23604
  // src/client/types/app/bsky/graph/getList.ts
23486
23605
  var getList_exports = {};
23487
23606
  __export(getList_exports, {
23488
- toKnownErr: () => toKnownErr81
23607
+ toKnownErr: () => toKnownErr82
23489
23608
  });
23490
- function toKnownErr81(e) {
23609
+ function toKnownErr82(e) {
23491
23610
  if (e instanceof XRPCError) {
23492
23611
  }
23493
23612
  return e;
@@ -23496,9 +23615,9 @@ function toKnownErr81(e) {
23496
23615
  // src/client/types/app/bsky/graph/getListMutes.ts
23497
23616
  var getListMutes_exports = {};
23498
23617
  __export(getListMutes_exports, {
23499
- toKnownErr: () => toKnownErr82
23618
+ toKnownErr: () => toKnownErr83
23500
23619
  });
23501
- function toKnownErr82(e) {
23620
+ function toKnownErr83(e) {
23502
23621
  if (e instanceof XRPCError) {
23503
23622
  }
23504
23623
  return e;
@@ -23507,9 +23626,9 @@ function toKnownErr82(e) {
23507
23626
  // src/client/types/app/bsky/graph/getLists.ts
23508
23627
  var getLists_exports = {};
23509
23628
  __export(getLists_exports, {
23510
- toKnownErr: () => toKnownErr83
23629
+ toKnownErr: () => toKnownErr84
23511
23630
  });
23512
- function toKnownErr83(e) {
23631
+ function toKnownErr84(e) {
23513
23632
  if (e instanceof XRPCError) {
23514
23633
  }
23515
23634
  return e;
@@ -23518,9 +23637,9 @@ function toKnownErr83(e) {
23518
23637
  // src/client/types/app/bsky/graph/getMutes.ts
23519
23638
  var getMutes_exports = {};
23520
23639
  __export(getMutes_exports, {
23521
- toKnownErr: () => toKnownErr84
23640
+ toKnownErr: () => toKnownErr85
23522
23641
  });
23523
- function toKnownErr84(e) {
23642
+ function toKnownErr85(e) {
23524
23643
  if (e instanceof XRPCError) {
23525
23644
  }
23526
23645
  return e;
@@ -23529,9 +23648,9 @@ function toKnownErr84(e) {
23529
23648
  // src/client/types/app/bsky/graph/muteActor.ts
23530
23649
  var muteActor_exports = {};
23531
23650
  __export(muteActor_exports, {
23532
- toKnownErr: () => toKnownErr85
23651
+ toKnownErr: () => toKnownErr86
23533
23652
  });
23534
- function toKnownErr85(e) {
23653
+ function toKnownErr86(e) {
23535
23654
  if (e instanceof XRPCError) {
23536
23655
  }
23537
23656
  return e;
@@ -23540,9 +23659,9 @@ function toKnownErr85(e) {
23540
23659
  // src/client/types/app/bsky/graph/muteActorList.ts
23541
23660
  var muteActorList_exports = {};
23542
23661
  __export(muteActorList_exports, {
23543
- toKnownErr: () => toKnownErr86
23662
+ toKnownErr: () => toKnownErr87
23544
23663
  });
23545
- function toKnownErr86(e) {
23664
+ function toKnownErr87(e) {
23546
23665
  if (e instanceof XRPCError) {
23547
23666
  }
23548
23667
  return e;
@@ -23551,9 +23670,9 @@ function toKnownErr86(e) {
23551
23670
  // src/client/types/app/bsky/graph/unmuteActor.ts
23552
23671
  var unmuteActor_exports = {};
23553
23672
  __export(unmuteActor_exports, {
23554
- toKnownErr: () => toKnownErr87
23673
+ toKnownErr: () => toKnownErr88
23555
23674
  });
23556
- function toKnownErr87(e) {
23675
+ function toKnownErr88(e) {
23557
23676
  if (e instanceof XRPCError) {
23558
23677
  }
23559
23678
  return e;
@@ -23562,9 +23681,9 @@ function toKnownErr87(e) {
23562
23681
  // src/client/types/app/bsky/graph/unmuteActorList.ts
23563
23682
  var unmuteActorList_exports = {};
23564
23683
  __export(unmuteActorList_exports, {
23565
- toKnownErr: () => toKnownErr88
23684
+ toKnownErr: () => toKnownErr89
23566
23685
  });
23567
- function toKnownErr88(e) {
23686
+ function toKnownErr89(e) {
23568
23687
  if (e instanceof XRPCError) {
23569
23688
  }
23570
23689
  return e;
@@ -23573,9 +23692,9 @@ function toKnownErr88(e) {
23573
23692
  // src/client/types/app/bsky/notification/getUnreadCount.ts
23574
23693
  var getUnreadCount_exports = {};
23575
23694
  __export(getUnreadCount_exports, {
23576
- toKnownErr: () => toKnownErr89
23695
+ toKnownErr: () => toKnownErr90
23577
23696
  });
23578
- function toKnownErr89(e) {
23697
+ function toKnownErr90(e) {
23579
23698
  if (e instanceof XRPCError) {
23580
23699
  }
23581
23700
  return e;
@@ -23585,10 +23704,10 @@ function toKnownErr89(e) {
23585
23704
  var listNotifications_exports = {};
23586
23705
  __export(listNotifications_exports, {
23587
23706
  isNotification: () => isNotification,
23588
- toKnownErr: () => toKnownErr90,
23707
+ toKnownErr: () => toKnownErr91,
23589
23708
  validateNotification: () => validateNotification
23590
23709
  });
23591
- function toKnownErr90(e) {
23710
+ function toKnownErr91(e) {
23592
23711
  if (e instanceof XRPCError) {
23593
23712
  }
23594
23713
  return e;
@@ -23603,12 +23722,23 @@ function validateNotification(v) {
23603
23722
  );
23604
23723
  }
23605
23724
 
23725
+ // src/client/types/app/bsky/notification/registerPush.ts
23726
+ var registerPush_exports = {};
23727
+ __export(registerPush_exports, {
23728
+ toKnownErr: () => toKnownErr92
23729
+ });
23730
+ function toKnownErr92(e) {
23731
+ if (e instanceof XRPCError) {
23732
+ }
23733
+ return e;
23734
+ }
23735
+
23606
23736
  // src/client/types/app/bsky/notification/updateSeen.ts
23607
23737
  var updateSeen_exports = {};
23608
23738
  __export(updateSeen_exports, {
23609
- toKnownErr: () => toKnownErr91
23739
+ toKnownErr: () => toKnownErr93
23610
23740
  });
23611
- function toKnownErr91(e) {
23741
+ function toKnownErr93(e) {
23612
23742
  if (e instanceof XRPCError) {
23613
23743
  }
23614
23744
  return e;
@@ -23617,9 +23747,9 @@ function toKnownErr91(e) {
23617
23747
  // src/client/types/app/bsky/unspecced/applyLabels.ts
23618
23748
  var applyLabels_exports = {};
23619
23749
  __export(applyLabels_exports, {
23620
- toKnownErr: () => toKnownErr92
23750
+ toKnownErr: () => toKnownErr94
23621
23751
  });
23622
- function toKnownErr92(e) {
23752
+ function toKnownErr94(e) {
23623
23753
  if (e instanceof XRPCError) {
23624
23754
  }
23625
23755
  return e;
@@ -23628,9 +23758,9 @@ function toKnownErr92(e) {
23628
23758
  // src/client/types/app/bsky/unspecced/getPopular.ts
23629
23759
  var getPopular_exports = {};
23630
23760
  __export(getPopular_exports, {
23631
- toKnownErr: () => toKnownErr93
23761
+ toKnownErr: () => toKnownErr95
23632
23762
  });
23633
- function toKnownErr93(e) {
23763
+ function toKnownErr95(e) {
23634
23764
  if (e instanceof XRPCError) {
23635
23765
  }
23636
23766
  return e;
@@ -23639,9 +23769,9 @@ function toKnownErr93(e) {
23639
23769
  // src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
23640
23770
  var getPopularFeedGenerators_exports = {};
23641
23771
  __export(getPopularFeedGenerators_exports, {
23642
- toKnownErr: () => toKnownErr94
23772
+ toKnownErr: () => toKnownErr96
23643
23773
  });
23644
- function toKnownErr94(e) {
23774
+ function toKnownErr96(e) {
23645
23775
  if (e instanceof XRPCError) {
23646
23776
  }
23647
23777
  return e;
@@ -23651,14 +23781,14 @@ function toKnownErr94(e) {
23651
23781
  var getTimelineSkeleton_exports = {};
23652
23782
  __export(getTimelineSkeleton_exports, {
23653
23783
  UnknownFeedError: () => UnknownFeedError3,
23654
- toKnownErr: () => toKnownErr95
23784
+ toKnownErr: () => toKnownErr97
23655
23785
  });
23656
23786
  var UnknownFeedError3 = class extends XRPCError {
23657
23787
  constructor(src2) {
23658
23788
  super(src2.status, src2.error, src2.message, src2.headers);
23659
23789
  }
23660
23790
  };
23661
- function toKnownErr95(e) {
23791
+ function toKnownErr97(e) {
23662
23792
  if (e instanceof XRPCError) {
23663
23793
  if (e.error === "UnknownFeed")
23664
23794
  return new UnknownFeedError3(e);
@@ -25004,54 +25134,59 @@ var FeedNS = class {
25004
25134
  throw toKnownErr67(e);
25005
25135
  });
25006
25136
  }
25137
+ getActorLikes(params2, opts) {
25138
+ return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
25139
+ throw toKnownErr68(e);
25140
+ });
25141
+ }
25007
25142
  getAuthorFeed(params2, opts) {
25008
25143
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
25009
- throw toKnownErr68(e);
25144
+ throw toKnownErr69(e);
25010
25145
  });
25011
25146
  }
25012
25147
  getFeed(params2, opts) {
25013
25148
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
25014
- throw toKnownErr69(e);
25149
+ throw toKnownErr70(e);
25015
25150
  });
25016
25151
  }
25017
25152
  getFeedGenerator(params2, opts) {
25018
25153
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
25019
- throw toKnownErr70(e);
25154
+ throw toKnownErr71(e);
25020
25155
  });
25021
25156
  }
25022
25157
  getFeedGenerators(params2, opts) {
25023
25158
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
25024
- throw toKnownErr71(e);
25159
+ throw toKnownErr72(e);
25025
25160
  });
25026
25161
  }
25027
25162
  getFeedSkeleton(params2, opts) {
25028
25163
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
25029
- throw toKnownErr72(e);
25164
+ throw toKnownErr73(e);
25030
25165
  });
25031
25166
  }
25032
25167
  getLikes(params2, opts) {
25033
25168
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
25034
- throw toKnownErr73(e);
25169
+ throw toKnownErr74(e);
25035
25170
  });
25036
25171
  }
25037
25172
  getPostThread(params2, opts) {
25038
25173
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
25039
- throw toKnownErr74(e);
25174
+ throw toKnownErr75(e);
25040
25175
  });
25041
25176
  }
25042
25177
  getPosts(params2, opts) {
25043
25178
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
25044
- throw toKnownErr75(e);
25179
+ throw toKnownErr76(e);
25045
25180
  });
25046
25181
  }
25047
25182
  getRepostedBy(params2, opts) {
25048
25183
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
25049
- throw toKnownErr76(e);
25184
+ throw toKnownErr77(e);
25050
25185
  });
25051
25186
  }
25052
25187
  getTimeline(params2, opts) {
25053
25188
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
25054
- throw toKnownErr77(e);
25189
+ throw toKnownErr78(e);
25055
25190
  });
25056
25191
  }
25057
25192
  };
@@ -25213,57 +25348,57 @@ var GraphNS = class {
25213
25348
  }
25214
25349
  getBlocks(params2, opts) {
25215
25350
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
25216
- throw toKnownErr78(e);
25351
+ throw toKnownErr79(e);
25217
25352
  });
25218
25353
  }
25219
25354
  getFollowers(params2, opts) {
25220
25355
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
25221
- throw toKnownErr79(e);
25356
+ throw toKnownErr80(e);
25222
25357
  });
25223
25358
  }
25224
25359
  getFollows(params2, opts) {
25225
25360
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
25226
- throw toKnownErr80(e);
25361
+ throw toKnownErr81(e);
25227
25362
  });
25228
25363
  }
25229
25364
  getList(params2, opts) {
25230
25365
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
25231
- throw toKnownErr81(e);
25366
+ throw toKnownErr82(e);
25232
25367
  });
25233
25368
  }
25234
25369
  getListMutes(params2, opts) {
25235
25370
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
25236
- throw toKnownErr82(e);
25371
+ throw toKnownErr83(e);
25237
25372
  });
25238
25373
  }
25239
25374
  getLists(params2, opts) {
25240
25375
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
25241
- throw toKnownErr83(e);
25376
+ throw toKnownErr84(e);
25242
25377
  });
25243
25378
  }
25244
25379
  getMutes(params2, opts) {
25245
25380
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
25246
- throw toKnownErr84(e);
25381
+ throw toKnownErr85(e);
25247
25382
  });
25248
25383
  }
25249
25384
  muteActor(data, opts) {
25250
25385
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
25251
- throw toKnownErr85(e);
25386
+ throw toKnownErr86(e);
25252
25387
  });
25253
25388
  }
25254
25389
  muteActorList(data, opts) {
25255
25390
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
25256
- throw toKnownErr86(e);
25391
+ throw toKnownErr87(e);
25257
25392
  });
25258
25393
  }
25259
25394
  unmuteActor(data, opts) {
25260
25395
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
25261
- throw toKnownErr87(e);
25396
+ throw toKnownErr88(e);
25262
25397
  });
25263
25398
  }
25264
25399
  unmuteActorList(data, opts) {
25265
25400
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
25266
- throw toKnownErr88(e);
25401
+ throw toKnownErr89(e);
25267
25402
  });
25268
25403
  }
25269
25404
  };
@@ -25421,17 +25556,22 @@ var NotificationNS = class {
25421
25556
  }
25422
25557
  getUnreadCount(params2, opts) {
25423
25558
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
25424
- throw toKnownErr89(e);
25559
+ throw toKnownErr90(e);
25425
25560
  });
25426
25561
  }
25427
25562
  listNotifications(params2, opts) {
25428
25563
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
25429
- throw toKnownErr90(e);
25564
+ throw toKnownErr91(e);
25565
+ });
25566
+ }
25567
+ registerPush(data, opts) {
25568
+ return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
25569
+ throw toKnownErr92(e);
25430
25570
  });
25431
25571
  }
25432
25572
  updateSeen(data, opts) {
25433
25573
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
25434
- throw toKnownErr91(e);
25574
+ throw toKnownErr93(e);
25435
25575
  });
25436
25576
  }
25437
25577
  };
@@ -25446,12 +25586,12 @@ var UnspeccedNS = class {
25446
25586
  }
25447
25587
  applyLabels(data, opts) {
25448
25588
  return this._service.xrpc.call("app.bsky.unspecced.applyLabels", opts?.qp, data, opts).catch((e) => {
25449
- throw toKnownErr92(e);
25589
+ throw toKnownErr94(e);
25450
25590
  });
25451
25591
  }
25452
25592
  getPopular(params2, opts) {
25453
25593
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
25454
- throw toKnownErr93(e);
25594
+ throw toKnownErr95(e);
25455
25595
  });
25456
25596
  }
25457
25597
  getPopularFeedGenerators(params2, opts) {
@@ -25461,12 +25601,12 @@ var UnspeccedNS = class {
25461
25601
  void 0,
25462
25602
  opts
25463
25603
  ).catch((e) => {
25464
- throw toKnownErr94(e);
25604
+ throw toKnownErr96(e);
25465
25605
  });
25466
25606
  }
25467
25607
  getTimelineSkeleton(params2, opts) {
25468
25608
  return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
25469
- throw toKnownErr95(e);
25609
+ throw toKnownErr97(e);
25470
25610
  });
25471
25611
  }
25472
25612
  };
@@ -28859,6 +28999,7 @@ var BskyAgent = class extends AtpAgent {
28859
28999
  super(...arguments);
28860
29000
  this.getTimeline = (params2, opts) => this.api.app.bsky.feed.getTimeline(params2, opts);
28861
29001
  this.getAuthorFeed = (params2, opts) => this.api.app.bsky.feed.getAuthorFeed(params2, opts);
29002
+ this.getActorLikes = (params2, opts) => this.api.app.bsky.feed.getActorLikes(params2, opts);
28862
29003
  this.getPostThread = (params2, opts) => this.api.app.bsky.feed.getPostThread(params2, opts);
28863
29004
  this.getPost = (params2) => this.api.app.bsky.feed.post.get(params2);
28864
29005
  this.getPosts = (params2, opts) => this.api.app.bsky.feed.getPosts(params2, opts);