@atproto/api 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -82,10 +82,12 @@ __export(src_exports4, {
82
82
  ActorNS: () => ActorNS,
83
83
  AdminNS: () => AdminNS,
84
84
  AppBskyActorDefs: () => defs_exports5,
85
+ AppBskyActorGetPreferences: () => getPreferences_exports,
85
86
  AppBskyActorGetProfile: () => getProfile_exports,
86
87
  AppBskyActorGetProfiles: () => getProfiles_exports,
87
88
  AppBskyActorGetSuggestions: () => getSuggestions_exports,
88
89
  AppBskyActorProfile: () => profile_exports,
90
+ AppBskyActorPutPreferences: () => putPreferences_exports,
89
91
  AppBskyActorSearchActors: () => searchActors_exports,
90
92
  AppBskyActorSearchActorsTypeahead: () => searchActorsTypeahead_exports,
91
93
  AppBskyEmbedExternal: () => external_exports,
@@ -11283,6 +11285,66 @@ var schemaDict = {
11283
11285
  format: "at-uri"
11284
11286
  }
11285
11287
  }
11288
+ },
11289
+ preferences: {
11290
+ type: "array",
11291
+ items: {
11292
+ type: "union",
11293
+ refs: [
11294
+ "lex:app.bsky.actor.defs#adultContentPref",
11295
+ "lex:app.bsky.actor.defs#contentLabelPref"
11296
+ ]
11297
+ }
11298
+ },
11299
+ adultContentPref: {
11300
+ type: "object",
11301
+ required: ["enabled"],
11302
+ properties: {
11303
+ enabled: {
11304
+ type: "boolean",
11305
+ default: false
11306
+ }
11307
+ }
11308
+ },
11309
+ contentLabelPref: {
11310
+ type: "object",
11311
+ required: ["label", "visibility"],
11312
+ properties: {
11313
+ label: {
11314
+ type: "string"
11315
+ },
11316
+ visibility: {
11317
+ type: "string",
11318
+ knownValues: ["show", "warn", "hide"]
11319
+ }
11320
+ }
11321
+ }
11322
+ }
11323
+ },
11324
+ AppBskyActorGetPreferences: {
11325
+ lexicon: 1,
11326
+ id: "app.bsky.actor.getPreferences",
11327
+ defs: {
11328
+ main: {
11329
+ type: "query",
11330
+ description: "Get private preferences attached to the account.",
11331
+ parameters: {
11332
+ type: "params",
11333
+ properties: {}
11334
+ },
11335
+ output: {
11336
+ encoding: "application/json",
11337
+ schema: {
11338
+ type: "object",
11339
+ required: ["preferences"],
11340
+ properties: {
11341
+ preferences: {
11342
+ type: "ref",
11343
+ ref: "lex:app.bsky.actor.defs#preferences"
11344
+ }
11345
+ }
11346
+ }
11347
+ }
11286
11348
  }
11287
11349
  }
11288
11350
  },
@@ -11429,6 +11491,29 @@ var schemaDict = {
11429
11491
  }
11430
11492
  }
11431
11493
  },
11494
+ AppBskyActorPutPreferences: {
11495
+ lexicon: 1,
11496
+ id: "app.bsky.actor.putPreferences",
11497
+ defs: {
11498
+ main: {
11499
+ type: "procedure",
11500
+ description: "Sets the private preferences attached to the account.",
11501
+ input: {
11502
+ encoding: "application/json",
11503
+ schema: {
11504
+ type: "object",
11505
+ required: ["preferences"],
11506
+ properties: {
11507
+ preferences: {
11508
+ type: "ref",
11509
+ ref: "lex:app.bsky.actor.defs#preferences"
11510
+ }
11511
+ }
11512
+ }
11513
+ }
11514
+ }
11515
+ }
11516
+ },
11432
11517
  AppBskyActorSearchActors: {
11433
11518
  lexicon: 1,
11434
11519
  id: "app.bsky.actor.searchActors",
@@ -14220,12 +14305,23 @@ function toKnownErr56(e) {
14220
14305
  return e;
14221
14306
  }
14222
14307
 
14308
+ // src/client/types/app/bsky/actor/getPreferences.ts
14309
+ var getPreferences_exports = {};
14310
+ __export(getPreferences_exports, {
14311
+ toKnownErr: () => toKnownErr57
14312
+ });
14313
+ function toKnownErr57(e) {
14314
+ if (e instanceof XRPCError) {
14315
+ }
14316
+ return e;
14317
+ }
14318
+
14223
14319
  // src/client/types/app/bsky/actor/getProfile.ts
14224
14320
  var getProfile_exports = {};
14225
14321
  __export(getProfile_exports, {
14226
- toKnownErr: () => toKnownErr57
14322
+ toKnownErr: () => toKnownErr58
14227
14323
  });
14228
- function toKnownErr57(e) {
14324
+ function toKnownErr58(e) {
14229
14325
  if (e instanceof XRPCError) {
14230
14326
  }
14231
14327
  return e;
@@ -14234,9 +14330,9 @@ function toKnownErr57(e) {
14234
14330
  // src/client/types/app/bsky/actor/getProfiles.ts
14235
14331
  var getProfiles_exports = {};
14236
14332
  __export(getProfiles_exports, {
14237
- toKnownErr: () => toKnownErr58
14333
+ toKnownErr: () => toKnownErr59
14238
14334
  });
14239
- function toKnownErr58(e) {
14335
+ function toKnownErr59(e) {
14240
14336
  if (e instanceof XRPCError) {
14241
14337
  }
14242
14338
  return e;
@@ -14245,9 +14341,20 @@ function toKnownErr58(e) {
14245
14341
  // src/client/types/app/bsky/actor/getSuggestions.ts
14246
14342
  var getSuggestions_exports = {};
14247
14343
  __export(getSuggestions_exports, {
14248
- toKnownErr: () => toKnownErr59
14344
+ toKnownErr: () => toKnownErr60
14249
14345
  });
14250
- function toKnownErr59(e) {
14346
+ function toKnownErr60(e) {
14347
+ if (e instanceof XRPCError) {
14348
+ }
14349
+ return e;
14350
+ }
14351
+
14352
+ // src/client/types/app/bsky/actor/putPreferences.ts
14353
+ var putPreferences_exports = {};
14354
+ __export(putPreferences_exports, {
14355
+ toKnownErr: () => toKnownErr61
14356
+ });
14357
+ function toKnownErr61(e) {
14251
14358
  if (e instanceof XRPCError) {
14252
14359
  }
14253
14360
  return e;
@@ -14256,9 +14363,9 @@ function toKnownErr59(e) {
14256
14363
  // src/client/types/app/bsky/actor/searchActors.ts
14257
14364
  var searchActors_exports = {};
14258
14365
  __export(searchActors_exports, {
14259
- toKnownErr: () => toKnownErr60
14366
+ toKnownErr: () => toKnownErr62
14260
14367
  });
14261
- function toKnownErr60(e) {
14368
+ function toKnownErr62(e) {
14262
14369
  if (e instanceof XRPCError) {
14263
14370
  }
14264
14371
  return e;
@@ -14267,9 +14374,9 @@ function toKnownErr60(e) {
14267
14374
  // src/client/types/app/bsky/actor/searchActorsTypeahead.ts
14268
14375
  var searchActorsTypeahead_exports = {};
14269
14376
  __export(searchActorsTypeahead_exports, {
14270
- toKnownErr: () => toKnownErr61
14377
+ toKnownErr: () => toKnownErr63
14271
14378
  });
14272
- function toKnownErr61(e) {
14379
+ function toKnownErr63(e) {
14273
14380
  if (e instanceof XRPCError) {
14274
14381
  }
14275
14382
  return e;
@@ -14280,7 +14387,7 @@ var getAuthorFeed_exports = {};
14280
14387
  __export(getAuthorFeed_exports, {
14281
14388
  BlockedActorError: () => BlockedActorError,
14282
14389
  BlockedByActorError: () => BlockedByActorError,
14283
- toKnownErr: () => toKnownErr62
14390
+ toKnownErr: () => toKnownErr64
14284
14391
  });
14285
14392
  var BlockedActorError = class extends XRPCError {
14286
14393
  constructor(src2) {
@@ -14292,7 +14399,7 @@ var BlockedByActorError = class extends XRPCError {
14292
14399
  super(src2.status, src2.error, src2.message);
14293
14400
  }
14294
14401
  };
14295
- function toKnownErr62(e) {
14402
+ function toKnownErr64(e) {
14296
14403
  if (e instanceof XRPCError) {
14297
14404
  if (e.error === "BlockedActor")
14298
14405
  return new BlockedActorError(e);
@@ -14306,10 +14413,10 @@ function toKnownErr62(e) {
14306
14413
  var getLikes_exports = {};
14307
14414
  __export(getLikes_exports, {
14308
14415
  isLike: () => isLike,
14309
- toKnownErr: () => toKnownErr63,
14416
+ toKnownErr: () => toKnownErr65,
14310
14417
  validateLike: () => validateLike
14311
14418
  });
14312
- function toKnownErr63(e) {
14419
+ function toKnownErr65(e) {
14313
14420
  if (e instanceof XRPCError) {
14314
14421
  }
14315
14422
  return e;
@@ -14325,14 +14432,14 @@ function validateLike(v) {
14325
14432
  var getPostThread_exports = {};
14326
14433
  __export(getPostThread_exports, {
14327
14434
  NotFoundError: () => NotFoundError,
14328
- toKnownErr: () => toKnownErr64
14435
+ toKnownErr: () => toKnownErr66
14329
14436
  });
14330
14437
  var NotFoundError = class extends XRPCError {
14331
14438
  constructor(src2) {
14332
14439
  super(src2.status, src2.error, src2.message);
14333
14440
  }
14334
14441
  };
14335
- function toKnownErr64(e) {
14442
+ function toKnownErr66(e) {
14336
14443
  if (e instanceof XRPCError) {
14337
14444
  if (e.error === "NotFound")
14338
14445
  return new NotFoundError(e);
@@ -14343,9 +14450,9 @@ function toKnownErr64(e) {
14343
14450
  // src/client/types/app/bsky/feed/getPosts.ts
14344
14451
  var getPosts_exports = {};
14345
14452
  __export(getPosts_exports, {
14346
- toKnownErr: () => toKnownErr65
14453
+ toKnownErr: () => toKnownErr67
14347
14454
  });
14348
- function toKnownErr65(e) {
14455
+ function toKnownErr67(e) {
14349
14456
  if (e instanceof XRPCError) {
14350
14457
  }
14351
14458
  return e;
@@ -14354,9 +14461,9 @@ function toKnownErr65(e) {
14354
14461
  // src/client/types/app/bsky/feed/getRepostedBy.ts
14355
14462
  var getRepostedBy_exports = {};
14356
14463
  __export(getRepostedBy_exports, {
14357
- toKnownErr: () => toKnownErr66
14464
+ toKnownErr: () => toKnownErr68
14358
14465
  });
14359
- function toKnownErr66(e) {
14466
+ function toKnownErr68(e) {
14360
14467
  if (e instanceof XRPCError) {
14361
14468
  }
14362
14469
  return e;
@@ -14365,9 +14472,9 @@ function toKnownErr66(e) {
14365
14472
  // src/client/types/app/bsky/feed/getTimeline.ts
14366
14473
  var getTimeline_exports = {};
14367
14474
  __export(getTimeline_exports, {
14368
- toKnownErr: () => toKnownErr67
14475
+ toKnownErr: () => toKnownErr69
14369
14476
  });
14370
- function toKnownErr67(e) {
14477
+ function toKnownErr69(e) {
14371
14478
  if (e instanceof XRPCError) {
14372
14479
  }
14373
14480
  return e;
@@ -14376,9 +14483,9 @@ function toKnownErr67(e) {
14376
14483
  // src/client/types/app/bsky/graph/getBlocks.ts
14377
14484
  var getBlocks_exports2 = {};
14378
14485
  __export(getBlocks_exports2, {
14379
- toKnownErr: () => toKnownErr68
14486
+ toKnownErr: () => toKnownErr70
14380
14487
  });
14381
- function toKnownErr68(e) {
14488
+ function toKnownErr70(e) {
14382
14489
  if (e instanceof XRPCError) {
14383
14490
  }
14384
14491
  return e;
@@ -14387,9 +14494,9 @@ function toKnownErr68(e) {
14387
14494
  // src/client/types/app/bsky/graph/getFollowers.ts
14388
14495
  var getFollowers_exports = {};
14389
14496
  __export(getFollowers_exports, {
14390
- toKnownErr: () => toKnownErr69
14497
+ toKnownErr: () => toKnownErr71
14391
14498
  });
14392
- function toKnownErr69(e) {
14499
+ function toKnownErr71(e) {
14393
14500
  if (e instanceof XRPCError) {
14394
14501
  }
14395
14502
  return e;
@@ -14398,9 +14505,9 @@ function toKnownErr69(e) {
14398
14505
  // src/client/types/app/bsky/graph/getFollows.ts
14399
14506
  var getFollows_exports = {};
14400
14507
  __export(getFollows_exports, {
14401
- toKnownErr: () => toKnownErr70
14508
+ toKnownErr: () => toKnownErr72
14402
14509
  });
14403
- function toKnownErr70(e) {
14510
+ function toKnownErr72(e) {
14404
14511
  if (e instanceof XRPCError) {
14405
14512
  }
14406
14513
  return e;
@@ -14409,9 +14516,9 @@ function toKnownErr70(e) {
14409
14516
  // src/client/types/app/bsky/graph/getList.ts
14410
14517
  var getList_exports = {};
14411
14518
  __export(getList_exports, {
14412
- toKnownErr: () => toKnownErr71
14519
+ toKnownErr: () => toKnownErr73
14413
14520
  });
14414
- function toKnownErr71(e) {
14521
+ function toKnownErr73(e) {
14415
14522
  if (e instanceof XRPCError) {
14416
14523
  }
14417
14524
  return e;
@@ -14420,9 +14527,9 @@ function toKnownErr71(e) {
14420
14527
  // src/client/types/app/bsky/graph/getListMutes.ts
14421
14528
  var getListMutes_exports = {};
14422
14529
  __export(getListMutes_exports, {
14423
- toKnownErr: () => toKnownErr72
14530
+ toKnownErr: () => toKnownErr74
14424
14531
  });
14425
- function toKnownErr72(e) {
14532
+ function toKnownErr74(e) {
14426
14533
  if (e instanceof XRPCError) {
14427
14534
  }
14428
14535
  return e;
@@ -14431,9 +14538,9 @@ function toKnownErr72(e) {
14431
14538
  // src/client/types/app/bsky/graph/getLists.ts
14432
14539
  var getLists_exports = {};
14433
14540
  __export(getLists_exports, {
14434
- toKnownErr: () => toKnownErr73
14541
+ toKnownErr: () => toKnownErr75
14435
14542
  });
14436
- function toKnownErr73(e) {
14543
+ function toKnownErr75(e) {
14437
14544
  if (e instanceof XRPCError) {
14438
14545
  }
14439
14546
  return e;
@@ -14442,9 +14549,9 @@ function toKnownErr73(e) {
14442
14549
  // src/client/types/app/bsky/graph/getMutes.ts
14443
14550
  var getMutes_exports = {};
14444
14551
  __export(getMutes_exports, {
14445
- toKnownErr: () => toKnownErr74
14552
+ toKnownErr: () => toKnownErr76
14446
14553
  });
14447
- function toKnownErr74(e) {
14554
+ function toKnownErr76(e) {
14448
14555
  if (e instanceof XRPCError) {
14449
14556
  }
14450
14557
  return e;
@@ -14453,9 +14560,9 @@ function toKnownErr74(e) {
14453
14560
  // src/client/types/app/bsky/graph/muteActor.ts
14454
14561
  var muteActor_exports = {};
14455
14562
  __export(muteActor_exports, {
14456
- toKnownErr: () => toKnownErr75
14563
+ toKnownErr: () => toKnownErr77
14457
14564
  });
14458
- function toKnownErr75(e) {
14565
+ function toKnownErr77(e) {
14459
14566
  if (e instanceof XRPCError) {
14460
14567
  }
14461
14568
  return e;
@@ -14464,9 +14571,9 @@ function toKnownErr75(e) {
14464
14571
  // src/client/types/app/bsky/graph/muteActorList.ts
14465
14572
  var muteActorList_exports = {};
14466
14573
  __export(muteActorList_exports, {
14467
- toKnownErr: () => toKnownErr76
14574
+ toKnownErr: () => toKnownErr78
14468
14575
  });
14469
- function toKnownErr76(e) {
14576
+ function toKnownErr78(e) {
14470
14577
  if (e instanceof XRPCError) {
14471
14578
  }
14472
14579
  return e;
@@ -14475,9 +14582,9 @@ function toKnownErr76(e) {
14475
14582
  // src/client/types/app/bsky/graph/unmuteActor.ts
14476
14583
  var unmuteActor_exports = {};
14477
14584
  __export(unmuteActor_exports, {
14478
- toKnownErr: () => toKnownErr77
14585
+ toKnownErr: () => toKnownErr79
14479
14586
  });
14480
- function toKnownErr77(e) {
14587
+ function toKnownErr79(e) {
14481
14588
  if (e instanceof XRPCError) {
14482
14589
  }
14483
14590
  return e;
@@ -14486,9 +14593,9 @@ function toKnownErr77(e) {
14486
14593
  // src/client/types/app/bsky/graph/unmuteActorList.ts
14487
14594
  var unmuteActorList_exports = {};
14488
14595
  __export(unmuteActorList_exports, {
14489
- toKnownErr: () => toKnownErr78
14596
+ toKnownErr: () => toKnownErr80
14490
14597
  });
14491
- function toKnownErr78(e) {
14598
+ function toKnownErr80(e) {
14492
14599
  if (e instanceof XRPCError) {
14493
14600
  }
14494
14601
  return e;
@@ -14497,9 +14604,9 @@ function toKnownErr78(e) {
14497
14604
  // src/client/types/app/bsky/notification/getUnreadCount.ts
14498
14605
  var getUnreadCount_exports = {};
14499
14606
  __export(getUnreadCount_exports, {
14500
- toKnownErr: () => toKnownErr79
14607
+ toKnownErr: () => toKnownErr81
14501
14608
  });
14502
- function toKnownErr79(e) {
14609
+ function toKnownErr81(e) {
14503
14610
  if (e instanceof XRPCError) {
14504
14611
  }
14505
14612
  return e;
@@ -14509,10 +14616,10 @@ function toKnownErr79(e) {
14509
14616
  var listNotifications_exports = {};
14510
14617
  __export(listNotifications_exports, {
14511
14618
  isNotification: () => isNotification,
14512
- toKnownErr: () => toKnownErr80,
14619
+ toKnownErr: () => toKnownErr82,
14513
14620
  validateNotification: () => validateNotification
14514
14621
  });
14515
- function toKnownErr80(e) {
14622
+ function toKnownErr82(e) {
14516
14623
  if (e instanceof XRPCError) {
14517
14624
  }
14518
14625
  return e;
@@ -14530,9 +14637,9 @@ function validateNotification(v) {
14530
14637
  // src/client/types/app/bsky/notification/updateSeen.ts
14531
14638
  var updateSeen_exports = {};
14532
14639
  __export(updateSeen_exports, {
14533
- toKnownErr: () => toKnownErr81
14640
+ toKnownErr: () => toKnownErr83
14534
14641
  });
14535
- function toKnownErr81(e) {
14642
+ function toKnownErr83(e) {
14536
14643
  if (e instanceof XRPCError) {
14537
14644
  }
14538
14645
  return e;
@@ -14541,9 +14648,9 @@ function toKnownErr81(e) {
14541
14648
  // src/client/types/app/bsky/unspecced/getPopular.ts
14542
14649
  var getPopular_exports = {};
14543
14650
  __export(getPopular_exports, {
14544
- toKnownErr: () => toKnownErr82
14651
+ toKnownErr: () => toKnownErr84
14545
14652
  });
14546
- function toKnownErr82(e) {
14653
+ function toKnownErr84(e) {
14547
14654
  if (e instanceof XRPCError) {
14548
14655
  }
14549
14656
  return e;
@@ -14831,10 +14938,14 @@ function validateRepoOp(v) {
14831
14938
  // src/client/types/app/bsky/actor/defs.ts
14832
14939
  var defs_exports5 = {};
14833
14940
  __export(defs_exports5, {
14941
+ isAdultContentPref: () => isAdultContentPref,
14942
+ isContentLabelPref: () => isContentLabelPref,
14834
14943
  isProfileView: () => isProfileView,
14835
14944
  isProfileViewBasic: () => isProfileViewBasic,
14836
14945
  isProfileViewDetailed: () => isProfileViewDetailed,
14837
14946
  isViewerState: () => isViewerState,
14947
+ validateAdultContentPref: () => validateAdultContentPref,
14948
+ validateContentLabelPref: () => validateContentLabelPref,
14838
14949
  validateProfileView: () => validateProfileView,
14839
14950
  validateProfileViewBasic: () => validateProfileViewBasic,
14840
14951
  validateProfileViewDetailed: () => validateProfileViewDetailed,
@@ -14864,6 +14975,18 @@ function isViewerState(v) {
14864
14975
  function validateViewerState(v) {
14865
14976
  return lexicons.validate("app.bsky.actor.defs#viewerState", v);
14866
14977
  }
14978
+ function isAdultContentPref(v) {
14979
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.defs#adultContentPref";
14980
+ }
14981
+ function validateAdultContentPref(v) {
14982
+ return lexicons.validate("app.bsky.actor.defs#adultContentPref", v);
14983
+ }
14984
+ function isContentLabelPref(v) {
14985
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.defs#contentLabelPref";
14986
+ }
14987
+ function validateContentLabelPref(v) {
14988
+ return lexicons.validate("app.bsky.actor.defs#contentLabelPref", v);
14989
+ }
14867
14990
 
14868
14991
  // src/client/types/app/bsky/actor/profile.ts
14869
14992
  var profile_exports = {};
@@ -15672,29 +15795,39 @@ var ActorNS = class {
15672
15795
  this._service = service;
15673
15796
  this.profile = new ProfileRecord(service);
15674
15797
  }
15798
+ getPreferences(params2, opts) {
15799
+ return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
15800
+ throw toKnownErr57(e);
15801
+ });
15802
+ }
15675
15803
  getProfile(params2, opts) {
15676
15804
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
15677
- throw toKnownErr57(e);
15805
+ throw toKnownErr58(e);
15678
15806
  });
15679
15807
  }
15680
15808
  getProfiles(params2, opts) {
15681
15809
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
15682
- throw toKnownErr58(e);
15810
+ throw toKnownErr59(e);
15683
15811
  });
15684
15812
  }
15685
15813
  getSuggestions(params2, opts) {
15686
15814
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
15687
- throw toKnownErr59(e);
15815
+ throw toKnownErr60(e);
15816
+ });
15817
+ }
15818
+ putPreferences(data, opts) {
15819
+ return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
15820
+ throw toKnownErr61(e);
15688
15821
  });
15689
15822
  }
15690
15823
  searchActors(params2, opts) {
15691
15824
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
15692
- throw toKnownErr60(e);
15825
+ throw toKnownErr62(e);
15693
15826
  });
15694
15827
  }
15695
15828
  searchActorsTypeahead(params2, opts) {
15696
15829
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
15697
- throw toKnownErr61(e);
15830
+ throw toKnownErr63(e);
15698
15831
  });
15699
15832
  }
15700
15833
  };
@@ -15749,32 +15882,32 @@ var FeedNS = class {
15749
15882
  }
15750
15883
  getAuthorFeed(params2, opts) {
15751
15884
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
15752
- throw toKnownErr62(e);
15885
+ throw toKnownErr64(e);
15753
15886
  });
15754
15887
  }
15755
15888
  getLikes(params2, opts) {
15756
15889
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
15757
- throw toKnownErr63(e);
15890
+ throw toKnownErr65(e);
15758
15891
  });
15759
15892
  }
15760
15893
  getPostThread(params2, opts) {
15761
15894
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
15762
- throw toKnownErr64(e);
15895
+ throw toKnownErr66(e);
15763
15896
  });
15764
15897
  }
15765
15898
  getPosts(params2, opts) {
15766
15899
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
15767
- throw toKnownErr65(e);
15900
+ throw toKnownErr67(e);
15768
15901
  });
15769
15902
  }
15770
15903
  getRepostedBy(params2, opts) {
15771
15904
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
15772
- throw toKnownErr66(e);
15905
+ throw toKnownErr68(e);
15773
15906
  });
15774
15907
  }
15775
15908
  getTimeline(params2, opts) {
15776
15909
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
15777
- throw toKnownErr67(e);
15910
+ throw toKnownErr69(e);
15778
15911
  });
15779
15912
  }
15780
15913
  };
@@ -15899,57 +16032,57 @@ var GraphNS = class {
15899
16032
  }
15900
16033
  getBlocks(params2, opts) {
15901
16034
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
15902
- throw toKnownErr68(e);
16035
+ throw toKnownErr70(e);
15903
16036
  });
15904
16037
  }
15905
16038
  getFollowers(params2, opts) {
15906
16039
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
15907
- throw toKnownErr69(e);
16040
+ throw toKnownErr71(e);
15908
16041
  });
15909
16042
  }
15910
16043
  getFollows(params2, opts) {
15911
16044
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
15912
- throw toKnownErr70(e);
16045
+ throw toKnownErr72(e);
15913
16046
  });
15914
16047
  }
15915
16048
  getList(params2, opts) {
15916
16049
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
15917
- throw toKnownErr71(e);
16050
+ throw toKnownErr73(e);
15918
16051
  });
15919
16052
  }
15920
16053
  getListMutes(params2, opts) {
15921
16054
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
15922
- throw toKnownErr72(e);
16055
+ throw toKnownErr74(e);
15923
16056
  });
15924
16057
  }
15925
16058
  getLists(params2, opts) {
15926
16059
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
15927
- throw toKnownErr73(e);
16060
+ throw toKnownErr75(e);
15928
16061
  });
15929
16062
  }
15930
16063
  getMutes(params2, opts) {
15931
16064
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
15932
- throw toKnownErr74(e);
16065
+ throw toKnownErr76(e);
15933
16066
  });
15934
16067
  }
15935
16068
  muteActor(data, opts) {
15936
16069
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
15937
- throw toKnownErr75(e);
16070
+ throw toKnownErr77(e);
15938
16071
  });
15939
16072
  }
15940
16073
  muteActorList(data, opts) {
15941
16074
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
15942
- throw toKnownErr76(e);
16075
+ throw toKnownErr78(e);
15943
16076
  });
15944
16077
  }
15945
16078
  unmuteActor(data, opts) {
15946
16079
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
15947
- throw toKnownErr77(e);
16080
+ throw toKnownErr79(e);
15948
16081
  });
15949
16082
  }
15950
16083
  unmuteActorList(data, opts) {
15951
16084
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
15952
- throw toKnownErr78(e);
16085
+ throw toKnownErr80(e);
15953
16086
  });
15954
16087
  }
15955
16088
  };
@@ -16107,17 +16240,17 @@ var NotificationNS = class {
16107
16240
  }
16108
16241
  getUnreadCount(params2, opts) {
16109
16242
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
16110
- throw toKnownErr79(e);
16243
+ throw toKnownErr81(e);
16111
16244
  });
16112
16245
  }
16113
16246
  listNotifications(params2, opts) {
16114
16247
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
16115
- throw toKnownErr80(e);
16248
+ throw toKnownErr82(e);
16116
16249
  });
16117
16250
  }
16118
16251
  updateSeen(data, opts) {
16119
16252
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
16120
- throw toKnownErr81(e);
16253
+ throw toKnownErr83(e);
16121
16254
  });
16122
16255
  }
16123
16256
  };
@@ -16132,7 +16265,7 @@ var UnspeccedNS = class {
16132
16265
  }
16133
16266
  getPopular(params2, opts) {
16134
16267
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
16135
- throw toKnownErr82(e);
16268
+ throw toKnownErr84(e);
16136
16269
  });
16137
16270
  }
16138
16271
  };