@atproto/api 0.6.24 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/definitions/labels.json +6 -0
  3. package/definitions/locale/en/labels.json +14 -0
  4. package/definitions/moderation-behaviors.d.ts +1 -0
  5. package/definitions/post-moderation-behaviors.json +118 -0
  6. package/definitions/profile-moderation-behaviors.json +48 -0
  7. package/dist/client/index.d.ts +12 -0
  8. package/dist/client/lexicons.d.ts +134 -0
  9. package/dist/client/types/com/atproto/admin/deleteAccount.d.ts +17 -0
  10. package/dist/client/types/com/atproto/temp/importRepo.d.ts +16 -0
  11. package/dist/client/types/com/atproto/temp/pushBlob.d.ts +15 -0
  12. package/dist/client/types/com/atproto/temp/transferAccount.d.ts +48 -0
  13. package/dist/index.js +635 -325
  14. package/dist/index.js.map +3 -3
  15. package/dist/moderation/types.d.ts +1 -1
  16. package/docs/labels.md +16 -0
  17. package/docs/moderation-behaviors/posts.md +159 -92
  18. package/docs/moderation-behaviors/profiles.md +68 -0
  19. package/package.json +2 -2
  20. package/scripts/docs/labels.mjs +27 -27
  21. package/scripts/docs/post-moderation-behaviors.mjs +43 -48
  22. package/src/client/index.ts +52 -0
  23. package/src/client/lexicons.ts +156 -0
  24. package/src/client/types/com/atproto/admin/deleteAccount.ts +32 -0
  25. package/src/client/types/com/atproto/temp/importRepo.ts +33 -0
  26. package/src/client/types/com/atproto/temp/pushBlob.ts +32 -0
  27. package/src/client/types/com/atproto/temp/transferAccount.ts +92 -0
  28. package/src/moderation/accumulator.ts +5 -0
  29. package/src/moderation/const/label-groups.ts +6 -1
  30. package/src/moderation/const/labels.ts +31 -0
  31. package/src/moderation/types.ts +1 -1
  32. package/tests/util/moderation-behavior.ts +4 -1
package/dist/index.js CHANGED
@@ -8950,6 +8950,7 @@ __export(src_exports2, {
8950
8950
  COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
8951
8951
  COM_ATPROTO_MODERATION: () => COM_ATPROTO_MODERATION,
8952
8952
  ComAtprotoAdminDefs: () => defs_exports,
8953
+ ComAtprotoAdminDeleteAccount: () => deleteAccount_exports,
8953
8954
  ComAtprotoAdminDisableAccountInvites: () => disableAccountInvites_exports,
8954
8955
  ComAtprotoAdminDisableInviteCodes: () => disableInviteCodes_exports,
8955
8956
  ComAtprotoAdminEmitModerationEvent: () => emitModerationEvent_exports,
@@ -8990,7 +8991,7 @@ __export(src_exports2, {
8990
8991
  ComAtprotoServerCreateInviteCodes: () => createInviteCodes_exports,
8991
8992
  ComAtprotoServerCreateSession: () => createSession_exports,
8992
8993
  ComAtprotoServerDefs: () => defs_exports4,
8993
- ComAtprotoServerDeleteAccount: () => deleteAccount_exports,
8994
+ ComAtprotoServerDeleteAccount: () => deleteAccount_exports2,
8994
8995
  ComAtprotoServerDeleteSession: () => deleteSession_exports,
8995
8996
  ComAtprotoServerDescribeServer: () => describeServer_exports,
8996
8997
  ComAtprotoServerGetAccountInviteCodes: () => getAccountInviteCodes_exports,
@@ -9018,6 +9019,9 @@ __export(src_exports2, {
9018
9019
  ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
9019
9020
  ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
9020
9021
  ComAtprotoTempFetchLabels: () => fetchLabels_exports,
9022
+ ComAtprotoTempImportRepo: () => importRepo_exports,
9023
+ ComAtprotoTempPushBlob: () => pushBlob_exports,
9024
+ ComAtprotoTempTransferAccount: () => transferAccount_exports,
9021
9025
  ComNS: () => ComNS,
9022
9026
  EmbedNS: () => EmbedNS,
9023
9027
  FeedNS: () => FeedNS,
@@ -16480,6 +16484,29 @@ var schemaDict = {
16480
16484
  }
16481
16485
  }
16482
16486
  },
16487
+ ComAtprotoAdminDeleteAccount: {
16488
+ lexicon: 1,
16489
+ id: "com.atproto.admin.deleteAccount",
16490
+ defs: {
16491
+ main: {
16492
+ type: "procedure",
16493
+ description: "Delete a user account as an administrator.",
16494
+ input: {
16495
+ encoding: "application/json",
16496
+ schema: {
16497
+ type: "object",
16498
+ required: ["did"],
16499
+ properties: {
16500
+ did: {
16501
+ type: "string",
16502
+ format: "did"
16503
+ }
16504
+ }
16505
+ }
16506
+ }
16507
+ }
16508
+ }
16509
+ },
16483
16510
  ComAtprotoAdminDisableAccountInvites: {
16484
16511
  lexicon: 1,
16485
16512
  id: "com.atproto.admin.disableAccountInvites",
@@ -19595,6 +19622,133 @@ var schemaDict = {
19595
19622
  }
19596
19623
  }
19597
19624
  },
19625
+ ComAtprotoTempImportRepo: {
19626
+ lexicon: 1,
19627
+ id: "com.atproto.temp.importRepo",
19628
+ defs: {
19629
+ main: {
19630
+ type: "procedure",
19631
+ description: "Gets the did's repo, optionally catching up from a specific revision.",
19632
+ parameters: {
19633
+ type: "params",
19634
+ required: ["did"],
19635
+ properties: {
19636
+ did: {
19637
+ type: "string",
19638
+ format: "did",
19639
+ description: "The DID of the repo."
19640
+ }
19641
+ }
19642
+ },
19643
+ input: {
19644
+ encoding: "application/vnd.ipld.car"
19645
+ },
19646
+ output: {
19647
+ encoding: "text/plain"
19648
+ }
19649
+ }
19650
+ }
19651
+ },
19652
+ ComAtprotoTempPushBlob: {
19653
+ lexicon: 1,
19654
+ id: "com.atproto.temp.pushBlob",
19655
+ defs: {
19656
+ main: {
19657
+ type: "procedure",
19658
+ description: "Gets the did's repo, optionally catching up from a specific revision.",
19659
+ parameters: {
19660
+ type: "params",
19661
+ required: ["did"],
19662
+ properties: {
19663
+ did: {
19664
+ type: "string",
19665
+ format: "did",
19666
+ description: "The DID of the repo."
19667
+ }
19668
+ }
19669
+ },
19670
+ input: {
19671
+ encoding: "*/*"
19672
+ }
19673
+ }
19674
+ }
19675
+ },
19676
+ ComAtprotoTempTransferAccount: {
19677
+ lexicon: 1,
19678
+ id: "com.atproto.temp.transferAccount",
19679
+ defs: {
19680
+ main: {
19681
+ type: "procedure",
19682
+ description: "Transfer an account.",
19683
+ input: {
19684
+ encoding: "application/json",
19685
+ schema: {
19686
+ type: "object",
19687
+ required: ["handle", "did", "plcOp"],
19688
+ properties: {
19689
+ handle: {
19690
+ type: "string",
19691
+ format: "handle"
19692
+ },
19693
+ did: {
19694
+ type: "string",
19695
+ format: "did"
19696
+ },
19697
+ plcOp: {
19698
+ type: "unknown"
19699
+ }
19700
+ }
19701
+ }
19702
+ },
19703
+ output: {
19704
+ encoding: "application/json",
19705
+ schema: {
19706
+ type: "object",
19707
+ required: ["accessJwt", "refreshJwt", "handle", "did"],
19708
+ properties: {
19709
+ accessJwt: {
19710
+ type: "string"
19711
+ },
19712
+ refreshJwt: {
19713
+ type: "string"
19714
+ },
19715
+ handle: {
19716
+ type: "string",
19717
+ format: "handle"
19718
+ },
19719
+ did: {
19720
+ type: "string",
19721
+ format: "did"
19722
+ }
19723
+ }
19724
+ }
19725
+ },
19726
+ errors: [
19727
+ {
19728
+ name: "InvalidHandle"
19729
+ },
19730
+ {
19731
+ name: "InvalidPassword"
19732
+ },
19733
+ {
19734
+ name: "InvalidInviteCode"
19735
+ },
19736
+ {
19737
+ name: "HandleNotAvailable"
19738
+ },
19739
+ {
19740
+ name: "UnsupportedDomain"
19741
+ },
19742
+ {
19743
+ name: "UnresolvableDid"
19744
+ },
19745
+ {
19746
+ name: "IncompatibleDidDoc"
19747
+ }
19748
+ ]
19749
+ }
19750
+ }
19751
+ },
19598
19752
  AppBskyActorDefs: {
19599
19753
  lexicon: 1,
19600
19754
  id: "app.bsky.actor.defs",
@@ -23259,12 +23413,23 @@ var schemaDict = {
23259
23413
  var schemas = Object.values(schemaDict);
23260
23414
  var lexicons = new Lexicons(schemas);
23261
23415
 
23416
+ // src/client/types/com/atproto/admin/deleteAccount.ts
23417
+ var deleteAccount_exports = {};
23418
+ __export(deleteAccount_exports, {
23419
+ toKnownErr: () => toKnownErr
23420
+ });
23421
+ function toKnownErr(e) {
23422
+ if (e instanceof XRPCError) {
23423
+ }
23424
+ return e;
23425
+ }
23426
+
23262
23427
  // src/client/types/com/atproto/admin/disableAccountInvites.ts
23263
23428
  var disableAccountInvites_exports = {};
23264
23429
  __export(disableAccountInvites_exports, {
23265
- toKnownErr: () => toKnownErr
23430
+ toKnownErr: () => toKnownErr2
23266
23431
  });
23267
- function toKnownErr(e) {
23432
+ function toKnownErr2(e) {
23268
23433
  if (e instanceof XRPCError) {
23269
23434
  }
23270
23435
  return e;
@@ -23273,9 +23438,9 @@ function toKnownErr(e) {
23273
23438
  // src/client/types/com/atproto/admin/disableInviteCodes.ts
23274
23439
  var disableInviteCodes_exports = {};
23275
23440
  __export(disableInviteCodes_exports, {
23276
- toKnownErr: () => toKnownErr2
23441
+ toKnownErr: () => toKnownErr3
23277
23442
  });
23278
- function toKnownErr2(e) {
23443
+ function toKnownErr3(e) {
23279
23444
  if (e instanceof XRPCError) {
23280
23445
  }
23281
23446
  return e;
@@ -23285,14 +23450,14 @@ function toKnownErr2(e) {
23285
23450
  var emitModerationEvent_exports = {};
23286
23451
  __export(emitModerationEvent_exports, {
23287
23452
  SubjectHasActionError: () => SubjectHasActionError,
23288
- toKnownErr: () => toKnownErr3
23453
+ toKnownErr: () => toKnownErr4
23289
23454
  });
23290
23455
  var SubjectHasActionError = class extends XRPCError {
23291
23456
  constructor(src2) {
23292
23457
  super(src2.status, src2.error, src2.message, src2.headers);
23293
23458
  }
23294
23459
  };
23295
- function toKnownErr3(e) {
23460
+ function toKnownErr4(e) {
23296
23461
  if (e instanceof XRPCError) {
23297
23462
  if (e.error === "SubjectHasAction")
23298
23463
  return new SubjectHasActionError(e);
@@ -23303,9 +23468,9 @@ function toKnownErr3(e) {
23303
23468
  // src/client/types/com/atproto/admin/enableAccountInvites.ts
23304
23469
  var enableAccountInvites_exports = {};
23305
23470
  __export(enableAccountInvites_exports, {
23306
- toKnownErr: () => toKnownErr4
23471
+ toKnownErr: () => toKnownErr5
23307
23472
  });
23308
- function toKnownErr4(e) {
23473
+ function toKnownErr5(e) {
23309
23474
  if (e instanceof XRPCError) {
23310
23475
  }
23311
23476
  return e;
@@ -23314,9 +23479,9 @@ function toKnownErr4(e) {
23314
23479
  // src/client/types/com/atproto/admin/getAccountInfo.ts
23315
23480
  var getAccountInfo_exports = {};
23316
23481
  __export(getAccountInfo_exports, {
23317
- toKnownErr: () => toKnownErr5
23482
+ toKnownErr: () => toKnownErr6
23318
23483
  });
23319
- function toKnownErr5(e) {
23484
+ function toKnownErr6(e) {
23320
23485
  if (e instanceof XRPCError) {
23321
23486
  }
23322
23487
  return e;
@@ -23325,9 +23490,9 @@ function toKnownErr5(e) {
23325
23490
  // src/client/types/com/atproto/admin/getInviteCodes.ts
23326
23491
  var getInviteCodes_exports = {};
23327
23492
  __export(getInviteCodes_exports, {
23328
- toKnownErr: () => toKnownErr6
23493
+ toKnownErr: () => toKnownErr7
23329
23494
  });
23330
- function toKnownErr6(e) {
23495
+ function toKnownErr7(e) {
23331
23496
  if (e instanceof XRPCError) {
23332
23497
  }
23333
23498
  return e;
@@ -23336,9 +23501,9 @@ function toKnownErr6(e) {
23336
23501
  // src/client/types/com/atproto/admin/getModerationEvent.ts
23337
23502
  var getModerationEvent_exports = {};
23338
23503
  __export(getModerationEvent_exports, {
23339
- toKnownErr: () => toKnownErr7
23504
+ toKnownErr: () => toKnownErr8
23340
23505
  });
23341
- function toKnownErr7(e) {
23506
+ function toKnownErr8(e) {
23342
23507
  if (e instanceof XRPCError) {
23343
23508
  }
23344
23509
  return e;
@@ -23348,14 +23513,14 @@ function toKnownErr7(e) {
23348
23513
  var getRecord_exports = {};
23349
23514
  __export(getRecord_exports, {
23350
23515
  RecordNotFoundError: () => RecordNotFoundError,
23351
- toKnownErr: () => toKnownErr8
23516
+ toKnownErr: () => toKnownErr9
23352
23517
  });
23353
23518
  var RecordNotFoundError = class extends XRPCError {
23354
23519
  constructor(src2) {
23355
23520
  super(src2.status, src2.error, src2.message, src2.headers);
23356
23521
  }
23357
23522
  };
23358
- function toKnownErr8(e) {
23523
+ function toKnownErr9(e) {
23359
23524
  if (e instanceof XRPCError) {
23360
23525
  if (e.error === "RecordNotFound")
23361
23526
  return new RecordNotFoundError(e);
@@ -23367,14 +23532,14 @@ function toKnownErr8(e) {
23367
23532
  var getRepo_exports = {};
23368
23533
  __export(getRepo_exports, {
23369
23534
  RepoNotFoundError: () => RepoNotFoundError,
23370
- toKnownErr: () => toKnownErr9
23535
+ toKnownErr: () => toKnownErr10
23371
23536
  });
23372
23537
  var RepoNotFoundError = class extends XRPCError {
23373
23538
  constructor(src2) {
23374
23539
  super(src2.status, src2.error, src2.message, src2.headers);
23375
23540
  }
23376
23541
  };
23377
- function toKnownErr9(e) {
23542
+ function toKnownErr10(e) {
23378
23543
  if (e instanceof XRPCError) {
23379
23544
  if (e.error === "RepoNotFound")
23380
23545
  return new RepoNotFoundError(e);
@@ -23385,9 +23550,9 @@ function toKnownErr9(e) {
23385
23550
  // src/client/types/com/atproto/admin/getSubjectStatus.ts
23386
23551
  var getSubjectStatus_exports = {};
23387
23552
  __export(getSubjectStatus_exports, {
23388
- toKnownErr: () => toKnownErr10
23553
+ toKnownErr: () => toKnownErr11
23389
23554
  });
23390
- function toKnownErr10(e) {
23555
+ function toKnownErr11(e) {
23391
23556
  if (e instanceof XRPCError) {
23392
23557
  }
23393
23558
  return e;
@@ -23396,9 +23561,9 @@ function toKnownErr10(e) {
23396
23561
  // src/client/types/com/atproto/admin/queryModerationEvents.ts
23397
23562
  var queryModerationEvents_exports = {};
23398
23563
  __export(queryModerationEvents_exports, {
23399
- toKnownErr: () => toKnownErr11
23564
+ toKnownErr: () => toKnownErr12
23400
23565
  });
23401
- function toKnownErr11(e) {
23566
+ function toKnownErr12(e) {
23402
23567
  if (e instanceof XRPCError) {
23403
23568
  }
23404
23569
  return e;
@@ -23407,9 +23572,9 @@ function toKnownErr11(e) {
23407
23572
  // src/client/types/com/atproto/admin/queryModerationStatuses.ts
23408
23573
  var queryModerationStatuses_exports = {};
23409
23574
  __export(queryModerationStatuses_exports, {
23410
- toKnownErr: () => toKnownErr12
23575
+ toKnownErr: () => toKnownErr13
23411
23576
  });
23412
- function toKnownErr12(e) {
23577
+ function toKnownErr13(e) {
23413
23578
  if (e instanceof XRPCError) {
23414
23579
  }
23415
23580
  return e;
@@ -23418,9 +23583,9 @@ function toKnownErr12(e) {
23418
23583
  // src/client/types/com/atproto/admin/searchRepos.ts
23419
23584
  var searchRepos_exports = {};
23420
23585
  __export(searchRepos_exports, {
23421
- toKnownErr: () => toKnownErr13
23586
+ toKnownErr: () => toKnownErr14
23422
23587
  });
23423
- function toKnownErr13(e) {
23588
+ function toKnownErr14(e) {
23424
23589
  if (e instanceof XRPCError) {
23425
23590
  }
23426
23591
  return e;
@@ -23429,9 +23594,9 @@ function toKnownErr13(e) {
23429
23594
  // src/client/types/com/atproto/admin/sendEmail.ts
23430
23595
  var sendEmail_exports = {};
23431
23596
  __export(sendEmail_exports, {
23432
- toKnownErr: () => toKnownErr14
23597
+ toKnownErr: () => toKnownErr15
23433
23598
  });
23434
- function toKnownErr14(e) {
23599
+ function toKnownErr15(e) {
23435
23600
  if (e instanceof XRPCError) {
23436
23601
  }
23437
23602
  return e;
@@ -23440,9 +23605,9 @@ function toKnownErr14(e) {
23440
23605
  // src/client/types/com/atproto/admin/updateAccountEmail.ts
23441
23606
  var updateAccountEmail_exports = {};
23442
23607
  __export(updateAccountEmail_exports, {
23443
- toKnownErr: () => toKnownErr15
23608
+ toKnownErr: () => toKnownErr16
23444
23609
  });
23445
- function toKnownErr15(e) {
23610
+ function toKnownErr16(e) {
23446
23611
  if (e instanceof XRPCError) {
23447
23612
  }
23448
23613
  return e;
@@ -23451,9 +23616,9 @@ function toKnownErr15(e) {
23451
23616
  // src/client/types/com/atproto/admin/updateAccountHandle.ts
23452
23617
  var updateAccountHandle_exports = {};
23453
23618
  __export(updateAccountHandle_exports, {
23454
- toKnownErr: () => toKnownErr16
23619
+ toKnownErr: () => toKnownErr17
23455
23620
  });
23456
- function toKnownErr16(e) {
23621
+ function toKnownErr17(e) {
23457
23622
  if (e instanceof XRPCError) {
23458
23623
  }
23459
23624
  return e;
@@ -23462,9 +23627,9 @@ function toKnownErr16(e) {
23462
23627
  // src/client/types/com/atproto/admin/updateSubjectStatus.ts
23463
23628
  var updateSubjectStatus_exports = {};
23464
23629
  __export(updateSubjectStatus_exports, {
23465
- toKnownErr: () => toKnownErr17
23630
+ toKnownErr: () => toKnownErr18
23466
23631
  });
23467
- function toKnownErr17(e) {
23632
+ function toKnownErr18(e) {
23468
23633
  if (e instanceof XRPCError) {
23469
23634
  }
23470
23635
  return e;
@@ -23473,9 +23638,9 @@ function toKnownErr17(e) {
23473
23638
  // src/client/types/com/atproto/identity/resolveHandle.ts
23474
23639
  var resolveHandle_exports = {};
23475
23640
  __export(resolveHandle_exports, {
23476
- toKnownErr: () => toKnownErr18
23641
+ toKnownErr: () => toKnownErr19
23477
23642
  });
23478
- function toKnownErr18(e) {
23643
+ function toKnownErr19(e) {
23479
23644
  if (e instanceof XRPCError) {
23480
23645
  }
23481
23646
  return e;
@@ -23484,9 +23649,9 @@ function toKnownErr18(e) {
23484
23649
  // src/client/types/com/atproto/identity/updateHandle.ts
23485
23650
  var updateHandle_exports = {};
23486
23651
  __export(updateHandle_exports, {
23487
- toKnownErr: () => toKnownErr19
23652
+ toKnownErr: () => toKnownErr20
23488
23653
  });
23489
- function toKnownErr19(e) {
23654
+ function toKnownErr20(e) {
23490
23655
  if (e instanceof XRPCError) {
23491
23656
  }
23492
23657
  return e;
@@ -23495,9 +23660,9 @@ function toKnownErr19(e) {
23495
23660
  // src/client/types/com/atproto/label/queryLabels.ts
23496
23661
  var queryLabels_exports = {};
23497
23662
  __export(queryLabels_exports, {
23498
- toKnownErr: () => toKnownErr20
23663
+ toKnownErr: () => toKnownErr21
23499
23664
  });
23500
- function toKnownErr20(e) {
23665
+ function toKnownErr21(e) {
23501
23666
  if (e instanceof XRPCError) {
23502
23667
  }
23503
23668
  return e;
@@ -23506,9 +23671,9 @@ function toKnownErr20(e) {
23506
23671
  // src/client/types/com/atproto/moderation/createReport.ts
23507
23672
  var createReport_exports = {};
23508
23673
  __export(createReport_exports, {
23509
- toKnownErr: () => toKnownErr21
23674
+ toKnownErr: () => toKnownErr22
23510
23675
  });
23511
- function toKnownErr21(e) {
23676
+ function toKnownErr22(e) {
23512
23677
  if (e instanceof XRPCError) {
23513
23678
  }
23514
23679
  return e;
@@ -23521,7 +23686,7 @@ __export(applyWrites_exports, {
23521
23686
  isCreate: () => isCreate,
23522
23687
  isDelete: () => isDelete,
23523
23688
  isUpdate: () => isUpdate,
23524
- toKnownErr: () => toKnownErr22,
23689
+ toKnownErr: () => toKnownErr23,
23525
23690
  validateCreate: () => validateCreate,
23526
23691
  validateDelete: () => validateDelete,
23527
23692
  validateUpdate: () => validateUpdate
@@ -23541,7 +23706,7 @@ var InvalidSwapError = class extends XRPCError {
23541
23706
  super(src2.status, src2.error, src2.message, src2.headers);
23542
23707
  }
23543
23708
  };
23544
- function toKnownErr22(e) {
23709
+ function toKnownErr23(e) {
23545
23710
  if (e instanceof XRPCError) {
23546
23711
  if (e.error === "InvalidSwap")
23547
23712
  return new InvalidSwapError(e);
@@ -23571,14 +23736,14 @@ function validateDelete(v) {
23571
23736
  var createRecord_exports = {};
23572
23737
  __export(createRecord_exports, {
23573
23738
  InvalidSwapError: () => InvalidSwapError2,
23574
- toKnownErr: () => toKnownErr23
23739
+ toKnownErr: () => toKnownErr24
23575
23740
  });
23576
23741
  var InvalidSwapError2 = class extends XRPCError {
23577
23742
  constructor(src2) {
23578
23743
  super(src2.status, src2.error, src2.message, src2.headers);
23579
23744
  }
23580
23745
  };
23581
- function toKnownErr23(e) {
23746
+ function toKnownErr24(e) {
23582
23747
  if (e instanceof XRPCError) {
23583
23748
  if (e.error === "InvalidSwap")
23584
23749
  return new InvalidSwapError2(e);
@@ -23590,14 +23755,14 @@ function toKnownErr23(e) {
23590
23755
  var deleteRecord_exports = {};
23591
23756
  __export(deleteRecord_exports, {
23592
23757
  InvalidSwapError: () => InvalidSwapError3,
23593
- toKnownErr: () => toKnownErr24
23758
+ toKnownErr: () => toKnownErr25
23594
23759
  });
23595
23760
  var InvalidSwapError3 = class extends XRPCError {
23596
23761
  constructor(src2) {
23597
23762
  super(src2.status, src2.error, src2.message, src2.headers);
23598
23763
  }
23599
23764
  };
23600
- function toKnownErr24(e) {
23765
+ function toKnownErr25(e) {
23601
23766
  if (e instanceof XRPCError) {
23602
23767
  if (e.error === "InvalidSwap")
23603
23768
  return new InvalidSwapError3(e);
@@ -23608,9 +23773,9 @@ function toKnownErr24(e) {
23608
23773
  // src/client/types/com/atproto/repo/describeRepo.ts
23609
23774
  var describeRepo_exports = {};
23610
23775
  __export(describeRepo_exports, {
23611
- toKnownErr: () => toKnownErr25
23776
+ toKnownErr: () => toKnownErr26
23612
23777
  });
23613
- function toKnownErr25(e) {
23778
+ function toKnownErr26(e) {
23614
23779
  if (e instanceof XRPCError) {
23615
23780
  }
23616
23781
  return e;
@@ -23619,9 +23784,9 @@ function toKnownErr25(e) {
23619
23784
  // src/client/types/com/atproto/repo/getRecord.ts
23620
23785
  var getRecord_exports2 = {};
23621
23786
  __export(getRecord_exports2, {
23622
- toKnownErr: () => toKnownErr26
23787
+ toKnownErr: () => toKnownErr27
23623
23788
  });
23624
- function toKnownErr26(e) {
23789
+ function toKnownErr27(e) {
23625
23790
  if (e instanceof XRPCError) {
23626
23791
  }
23627
23792
  return e;
@@ -23631,10 +23796,10 @@ function toKnownErr26(e) {
23631
23796
  var listRecords_exports = {};
23632
23797
  __export(listRecords_exports, {
23633
23798
  isRecord: () => isRecord,
23634
- toKnownErr: () => toKnownErr27,
23799
+ toKnownErr: () => toKnownErr28,
23635
23800
  validateRecord: () => validateRecord
23636
23801
  });
23637
- function toKnownErr27(e) {
23802
+ function toKnownErr28(e) {
23638
23803
  if (e instanceof XRPCError) {
23639
23804
  }
23640
23805
  return e;
@@ -23650,14 +23815,14 @@ function validateRecord(v) {
23650
23815
  var putRecord_exports = {};
23651
23816
  __export(putRecord_exports, {
23652
23817
  InvalidSwapError: () => InvalidSwapError4,
23653
- toKnownErr: () => toKnownErr28
23818
+ toKnownErr: () => toKnownErr29
23654
23819
  });
23655
23820
  var InvalidSwapError4 = class extends XRPCError {
23656
23821
  constructor(src2) {
23657
23822
  super(src2.status, src2.error, src2.message, src2.headers);
23658
23823
  }
23659
23824
  };
23660
- function toKnownErr28(e) {
23825
+ function toKnownErr29(e) {
23661
23826
  if (e instanceof XRPCError) {
23662
23827
  if (e.error === "InvalidSwap")
23663
23828
  return new InvalidSwapError4(e);
@@ -23668,9 +23833,9 @@ function toKnownErr28(e) {
23668
23833
  // src/client/types/com/atproto/repo/uploadBlob.ts
23669
23834
  var uploadBlob_exports = {};
23670
23835
  __export(uploadBlob_exports, {
23671
- toKnownErr: () => toKnownErr29
23836
+ toKnownErr: () => toKnownErr30
23672
23837
  });
23673
- function toKnownErr29(e) {
23838
+ function toKnownErr30(e) {
23674
23839
  if (e instanceof XRPCError) {
23675
23840
  }
23676
23841
  return e;
@@ -23683,7 +23848,7 @@ __export(confirmEmail_exports, {
23683
23848
  ExpiredTokenError: () => ExpiredTokenError,
23684
23849
  InvalidEmailError: () => InvalidEmailError,
23685
23850
  InvalidTokenError: () => InvalidTokenError,
23686
- toKnownErr: () => toKnownErr30
23851
+ toKnownErr: () => toKnownErr31
23687
23852
  });
23688
23853
  var AccountNotFoundError = class extends XRPCError {
23689
23854
  constructor(src2) {
@@ -23705,7 +23870,7 @@ var InvalidEmailError = class extends XRPCError {
23705
23870
  super(src2.status, src2.error, src2.message, src2.headers);
23706
23871
  }
23707
23872
  };
23708
- function toKnownErr30(e) {
23873
+ function toKnownErr31(e) {
23709
23874
  if (e instanceof XRPCError) {
23710
23875
  if (e.error === "AccountNotFound")
23711
23876
  return new AccountNotFoundError(e);
@@ -23729,7 +23894,7 @@ __export(createAccount_exports, {
23729
23894
  InvalidPasswordError: () => InvalidPasswordError,
23730
23895
  UnresolvableDidError: () => UnresolvableDidError,
23731
23896
  UnsupportedDomainError: () => UnsupportedDomainError,
23732
- toKnownErr: () => toKnownErr31
23897
+ toKnownErr: () => toKnownErr32
23733
23898
  });
23734
23899
  var InvalidHandleError2 = class extends XRPCError {
23735
23900
  constructor(src2) {
@@ -23766,7 +23931,7 @@ var IncompatibleDidDocError = class extends XRPCError {
23766
23931
  super(src2.status, src2.error, src2.message, src2.headers);
23767
23932
  }
23768
23933
  };
23769
- function toKnownErr31(e) {
23934
+ function toKnownErr32(e) {
23770
23935
  if (e instanceof XRPCError) {
23771
23936
  if (e.error === "InvalidHandle")
23772
23937
  return new InvalidHandleError2(e);
@@ -23791,7 +23956,7 @@ var createAppPassword_exports = {};
23791
23956
  __export(createAppPassword_exports, {
23792
23957
  AccountTakedownError: () => AccountTakedownError,
23793
23958
  isAppPassword: () => isAppPassword,
23794
- toKnownErr: () => toKnownErr32,
23959
+ toKnownErr: () => toKnownErr33,
23795
23960
  validateAppPassword: () => validateAppPassword
23796
23961
  });
23797
23962
  var AccountTakedownError = class extends XRPCError {
@@ -23799,7 +23964,7 @@ var AccountTakedownError = class extends XRPCError {
23799
23964
  super(src2.status, src2.error, src2.message, src2.headers);
23800
23965
  }
23801
23966
  };
23802
- function toKnownErr32(e) {
23967
+ function toKnownErr33(e) {
23803
23968
  if (e instanceof XRPCError) {
23804
23969
  if (e.error === "AccountTakedown")
23805
23970
  return new AccountTakedownError(e);
@@ -23816,9 +23981,9 @@ function validateAppPassword(v) {
23816
23981
  // src/client/types/com/atproto/server/createInviteCode.ts
23817
23982
  var createInviteCode_exports = {};
23818
23983
  __export(createInviteCode_exports, {
23819
- toKnownErr: () => toKnownErr33
23984
+ toKnownErr: () => toKnownErr34
23820
23985
  });
23821
- function toKnownErr33(e) {
23986
+ function toKnownErr34(e) {
23822
23987
  if (e instanceof XRPCError) {
23823
23988
  }
23824
23989
  return e;
@@ -23828,10 +23993,10 @@ function toKnownErr33(e) {
23828
23993
  var createInviteCodes_exports = {};
23829
23994
  __export(createInviteCodes_exports, {
23830
23995
  isAccountCodes: () => isAccountCodes,
23831
- toKnownErr: () => toKnownErr34,
23996
+ toKnownErr: () => toKnownErr35,
23832
23997
  validateAccountCodes: () => validateAccountCodes
23833
23998
  });
23834
- function toKnownErr34(e) {
23999
+ function toKnownErr35(e) {
23835
24000
  if (e instanceof XRPCError) {
23836
24001
  }
23837
24002
  return e;
@@ -23847,14 +24012,14 @@ function validateAccountCodes(v) {
23847
24012
  var createSession_exports = {};
23848
24013
  __export(createSession_exports, {
23849
24014
  AccountTakedownError: () => AccountTakedownError2,
23850
- toKnownErr: () => toKnownErr35
24015
+ toKnownErr: () => toKnownErr36
23851
24016
  });
23852
24017
  var AccountTakedownError2 = class extends XRPCError {
23853
24018
  constructor(src2) {
23854
24019
  super(src2.status, src2.error, src2.message, src2.headers);
23855
24020
  }
23856
24021
  };
23857
- function toKnownErr35(e) {
24022
+ function toKnownErr36(e) {
23858
24023
  if (e instanceof XRPCError) {
23859
24024
  if (e.error === "AccountTakedown")
23860
24025
  return new AccountTakedownError2(e);
@@ -23863,11 +24028,11 @@ function toKnownErr35(e) {
23863
24028
  }
23864
24029
 
23865
24030
  // src/client/types/com/atproto/server/deleteAccount.ts
23866
- var deleteAccount_exports = {};
23867
- __export(deleteAccount_exports, {
24031
+ var deleteAccount_exports2 = {};
24032
+ __export(deleteAccount_exports2, {
23868
24033
  ExpiredTokenError: () => ExpiredTokenError2,
23869
24034
  InvalidTokenError: () => InvalidTokenError2,
23870
- toKnownErr: () => toKnownErr36
24035
+ toKnownErr: () => toKnownErr37
23871
24036
  });
23872
24037
  var ExpiredTokenError2 = class extends XRPCError {
23873
24038
  constructor(src2) {
@@ -23879,7 +24044,7 @@ var InvalidTokenError2 = class extends XRPCError {
23879
24044
  super(src2.status, src2.error, src2.message, src2.headers);
23880
24045
  }
23881
24046
  };
23882
- function toKnownErr36(e) {
24047
+ function toKnownErr37(e) {
23883
24048
  if (e instanceof XRPCError) {
23884
24049
  if (e.error === "ExpiredToken")
23885
24050
  return new ExpiredTokenError2(e);
@@ -23892,9 +24057,9 @@ function toKnownErr36(e) {
23892
24057
  // src/client/types/com/atproto/server/deleteSession.ts
23893
24058
  var deleteSession_exports = {};
23894
24059
  __export(deleteSession_exports, {
23895
- toKnownErr: () => toKnownErr37
24060
+ toKnownErr: () => toKnownErr38
23896
24061
  });
23897
- function toKnownErr37(e) {
24062
+ function toKnownErr38(e) {
23898
24063
  if (e instanceof XRPCError) {
23899
24064
  }
23900
24065
  return e;
@@ -23904,10 +24069,10 @@ function toKnownErr37(e) {
23904
24069
  var describeServer_exports = {};
23905
24070
  __export(describeServer_exports, {
23906
24071
  isLinks: () => isLinks,
23907
- toKnownErr: () => toKnownErr38,
24072
+ toKnownErr: () => toKnownErr39,
23908
24073
  validateLinks: () => validateLinks
23909
24074
  });
23910
- function toKnownErr38(e) {
24075
+ function toKnownErr39(e) {
23911
24076
  if (e instanceof XRPCError) {
23912
24077
  }
23913
24078
  return e;
@@ -23923,14 +24088,14 @@ function validateLinks(v) {
23923
24088
  var getAccountInviteCodes_exports = {};
23924
24089
  __export(getAccountInviteCodes_exports, {
23925
24090
  DuplicateCreateError: () => DuplicateCreateError,
23926
- toKnownErr: () => toKnownErr39
24091
+ toKnownErr: () => toKnownErr40
23927
24092
  });
23928
24093
  var DuplicateCreateError = class extends XRPCError {
23929
24094
  constructor(src2) {
23930
24095
  super(src2.status, src2.error, src2.message, src2.headers);
23931
24096
  }
23932
24097
  };
23933
- function toKnownErr39(e) {
24098
+ function toKnownErr40(e) {
23934
24099
  if (e instanceof XRPCError) {
23935
24100
  if (e.error === "DuplicateCreate")
23936
24101
  return new DuplicateCreateError(e);
@@ -23941,9 +24106,9 @@ function toKnownErr39(e) {
23941
24106
  // src/client/types/com/atproto/server/getSession.ts
23942
24107
  var getSession_exports = {};
23943
24108
  __export(getSession_exports, {
23944
- toKnownErr: () => toKnownErr40
24109
+ toKnownErr: () => toKnownErr41
23945
24110
  });
23946
- function toKnownErr40(e) {
24111
+ function toKnownErr41(e) {
23947
24112
  if (e instanceof XRPCError) {
23948
24113
  }
23949
24114
  return e;
@@ -23954,7 +24119,7 @@ var listAppPasswords_exports = {};
23954
24119
  __export(listAppPasswords_exports, {
23955
24120
  AccountTakedownError: () => AccountTakedownError3,
23956
24121
  isAppPassword: () => isAppPassword2,
23957
- toKnownErr: () => toKnownErr41,
24122
+ toKnownErr: () => toKnownErr42,
23958
24123
  validateAppPassword: () => validateAppPassword2
23959
24124
  });
23960
24125
  var AccountTakedownError3 = class extends XRPCError {
@@ -23962,7 +24127,7 @@ var AccountTakedownError3 = class extends XRPCError {
23962
24127
  super(src2.status, src2.error, src2.message, src2.headers);
23963
24128
  }
23964
24129
  };
23965
- function toKnownErr41(e) {
24130
+ function toKnownErr42(e) {
23966
24131
  if (e instanceof XRPCError) {
23967
24132
  if (e.error === "AccountTakedown")
23968
24133
  return new AccountTakedownError3(e);
@@ -23980,14 +24145,14 @@ function validateAppPassword2(v) {
23980
24145
  var refreshSession_exports = {};
23981
24146
  __export(refreshSession_exports, {
23982
24147
  AccountTakedownError: () => AccountTakedownError4,
23983
- toKnownErr: () => toKnownErr42
24148
+ toKnownErr: () => toKnownErr43
23984
24149
  });
23985
24150
  var AccountTakedownError4 = class extends XRPCError {
23986
24151
  constructor(src2) {
23987
24152
  super(src2.status, src2.error, src2.message, src2.headers);
23988
24153
  }
23989
24154
  };
23990
- function toKnownErr42(e) {
24155
+ function toKnownErr43(e) {
23991
24156
  if (e instanceof XRPCError) {
23992
24157
  if (e.error === "AccountTakedown")
23993
24158
  return new AccountTakedownError4(e);
@@ -23998,9 +24163,9 @@ function toKnownErr42(e) {
23998
24163
  // src/client/types/com/atproto/server/requestAccountDelete.ts
23999
24164
  var requestAccountDelete_exports = {};
24000
24165
  __export(requestAccountDelete_exports, {
24001
- toKnownErr: () => toKnownErr43
24166
+ toKnownErr: () => toKnownErr44
24002
24167
  });
24003
- function toKnownErr43(e) {
24168
+ function toKnownErr44(e) {
24004
24169
  if (e instanceof XRPCError) {
24005
24170
  }
24006
24171
  return e;
@@ -24009,9 +24174,9 @@ function toKnownErr43(e) {
24009
24174
  // src/client/types/com/atproto/server/requestEmailConfirmation.ts
24010
24175
  var requestEmailConfirmation_exports = {};
24011
24176
  __export(requestEmailConfirmation_exports, {
24012
- toKnownErr: () => toKnownErr44
24177
+ toKnownErr: () => toKnownErr45
24013
24178
  });
24014
- function toKnownErr44(e) {
24179
+ function toKnownErr45(e) {
24015
24180
  if (e instanceof XRPCError) {
24016
24181
  }
24017
24182
  return e;
@@ -24020,9 +24185,9 @@ function toKnownErr44(e) {
24020
24185
  // src/client/types/com/atproto/server/requestEmailUpdate.ts
24021
24186
  var requestEmailUpdate_exports = {};
24022
24187
  __export(requestEmailUpdate_exports, {
24023
- toKnownErr: () => toKnownErr45
24188
+ toKnownErr: () => toKnownErr46
24024
24189
  });
24025
- function toKnownErr45(e) {
24190
+ function toKnownErr46(e) {
24026
24191
  if (e instanceof XRPCError) {
24027
24192
  }
24028
24193
  return e;
@@ -24031,9 +24196,9 @@ function toKnownErr45(e) {
24031
24196
  // src/client/types/com/atproto/server/requestPasswordReset.ts
24032
24197
  var requestPasswordReset_exports = {};
24033
24198
  __export(requestPasswordReset_exports, {
24034
- toKnownErr: () => toKnownErr46
24199
+ toKnownErr: () => toKnownErr47
24035
24200
  });
24036
- function toKnownErr46(e) {
24201
+ function toKnownErr47(e) {
24037
24202
  if (e instanceof XRPCError) {
24038
24203
  }
24039
24204
  return e;
@@ -24042,9 +24207,9 @@ function toKnownErr46(e) {
24042
24207
  // src/client/types/com/atproto/server/reserveSigningKey.ts
24043
24208
  var reserveSigningKey_exports = {};
24044
24209
  __export(reserveSigningKey_exports, {
24045
- toKnownErr: () => toKnownErr47
24210
+ toKnownErr: () => toKnownErr48
24046
24211
  });
24047
- function toKnownErr47(e) {
24212
+ function toKnownErr48(e) {
24048
24213
  if (e instanceof XRPCError) {
24049
24214
  }
24050
24215
  return e;
@@ -24055,7 +24220,7 @@ var resetPassword_exports = {};
24055
24220
  __export(resetPassword_exports, {
24056
24221
  ExpiredTokenError: () => ExpiredTokenError3,
24057
24222
  InvalidTokenError: () => InvalidTokenError3,
24058
- toKnownErr: () => toKnownErr48
24223
+ toKnownErr: () => toKnownErr49
24059
24224
  });
24060
24225
  var ExpiredTokenError3 = class extends XRPCError {
24061
24226
  constructor(src2) {
@@ -24067,7 +24232,7 @@ var InvalidTokenError3 = class extends XRPCError {
24067
24232
  super(src2.status, src2.error, src2.message, src2.headers);
24068
24233
  }
24069
24234
  };
24070
- function toKnownErr48(e) {
24235
+ function toKnownErr49(e) {
24071
24236
  if (e instanceof XRPCError) {
24072
24237
  if (e.error === "ExpiredToken")
24073
24238
  return new ExpiredTokenError3(e);
@@ -24080,9 +24245,9 @@ function toKnownErr48(e) {
24080
24245
  // src/client/types/com/atproto/server/revokeAppPassword.ts
24081
24246
  var revokeAppPassword_exports = {};
24082
24247
  __export(revokeAppPassword_exports, {
24083
- toKnownErr: () => toKnownErr49
24248
+ toKnownErr: () => toKnownErr50
24084
24249
  });
24085
- function toKnownErr49(e) {
24250
+ function toKnownErr50(e) {
24086
24251
  if (e instanceof XRPCError) {
24087
24252
  }
24088
24253
  return e;
@@ -24094,7 +24259,7 @@ __export(updateEmail_exports, {
24094
24259
  ExpiredTokenError: () => ExpiredTokenError4,
24095
24260
  InvalidTokenError: () => InvalidTokenError4,
24096
24261
  TokenRequiredError: () => TokenRequiredError,
24097
- toKnownErr: () => toKnownErr50
24262
+ toKnownErr: () => toKnownErr51
24098
24263
  });
24099
24264
  var ExpiredTokenError4 = class extends XRPCError {
24100
24265
  constructor(src2) {
@@ -24111,7 +24276,7 @@ var TokenRequiredError = class extends XRPCError {
24111
24276
  super(src2.status, src2.error, src2.message, src2.headers);
24112
24277
  }
24113
24278
  };
24114
- function toKnownErr50(e) {
24279
+ function toKnownErr51(e) {
24115
24280
  if (e instanceof XRPCError) {
24116
24281
  if (e.error === "ExpiredToken")
24117
24282
  return new ExpiredTokenError4(e);
@@ -24126,9 +24291,9 @@ function toKnownErr50(e) {
24126
24291
  // src/client/types/com/atproto/sync/getBlob.ts
24127
24292
  var getBlob_exports = {};
24128
24293
  __export(getBlob_exports, {
24129
- toKnownErr: () => toKnownErr51
24294
+ toKnownErr: () => toKnownErr52
24130
24295
  });
24131
- function toKnownErr51(e) {
24296
+ function toKnownErr52(e) {
24132
24297
  if (e instanceof XRPCError) {
24133
24298
  }
24134
24299
  return e;
@@ -24137,9 +24302,9 @@ function toKnownErr51(e) {
24137
24302
  // src/client/types/com/atproto/sync/getBlocks.ts
24138
24303
  var getBlocks_exports = {};
24139
24304
  __export(getBlocks_exports, {
24140
- toKnownErr: () => toKnownErr52
24305
+ toKnownErr: () => toKnownErr53
24141
24306
  });
24142
- function toKnownErr52(e) {
24307
+ function toKnownErr53(e) {
24143
24308
  if (e instanceof XRPCError) {
24144
24309
  }
24145
24310
  return e;
@@ -24148,9 +24313,9 @@ function toKnownErr52(e) {
24148
24313
  // src/client/types/com/atproto/sync/getCheckout.ts
24149
24314
  var getCheckout_exports = {};
24150
24315
  __export(getCheckout_exports, {
24151
- toKnownErr: () => toKnownErr53
24316
+ toKnownErr: () => toKnownErr54
24152
24317
  });
24153
- function toKnownErr53(e) {
24318
+ function toKnownErr54(e) {
24154
24319
  if (e instanceof XRPCError) {
24155
24320
  }
24156
24321
  return e;
@@ -24160,14 +24325,14 @@ function toKnownErr53(e) {
24160
24325
  var getHead_exports = {};
24161
24326
  __export(getHead_exports, {
24162
24327
  HeadNotFoundError: () => HeadNotFoundError,
24163
- toKnownErr: () => toKnownErr54
24328
+ toKnownErr: () => toKnownErr55
24164
24329
  });
24165
24330
  var HeadNotFoundError = class extends XRPCError {
24166
24331
  constructor(src2) {
24167
24332
  super(src2.status, src2.error, src2.message, src2.headers);
24168
24333
  }
24169
24334
  };
24170
- function toKnownErr54(e) {
24335
+ function toKnownErr55(e) {
24171
24336
  if (e instanceof XRPCError) {
24172
24337
  if (e.error === "HeadNotFound")
24173
24338
  return new HeadNotFoundError(e);
@@ -24179,14 +24344,14 @@ function toKnownErr54(e) {
24179
24344
  var getLatestCommit_exports = {};
24180
24345
  __export(getLatestCommit_exports, {
24181
24346
  RepoNotFoundError: () => RepoNotFoundError2,
24182
- toKnownErr: () => toKnownErr55
24347
+ toKnownErr: () => toKnownErr56
24183
24348
  });
24184
24349
  var RepoNotFoundError2 = class extends XRPCError {
24185
24350
  constructor(src2) {
24186
24351
  super(src2.status, src2.error, src2.message, src2.headers);
24187
24352
  }
24188
24353
  };
24189
- function toKnownErr55(e) {
24354
+ function toKnownErr56(e) {
24190
24355
  if (e instanceof XRPCError) {
24191
24356
  if (e.error === "RepoNotFound")
24192
24357
  return new RepoNotFoundError2(e);
@@ -24197,9 +24362,9 @@ function toKnownErr55(e) {
24197
24362
  // src/client/types/com/atproto/sync/getRecord.ts
24198
24363
  var getRecord_exports3 = {};
24199
24364
  __export(getRecord_exports3, {
24200
- toKnownErr: () => toKnownErr56
24365
+ toKnownErr: () => toKnownErr57
24201
24366
  });
24202
- function toKnownErr56(e) {
24367
+ function toKnownErr57(e) {
24203
24368
  if (e instanceof XRPCError) {
24204
24369
  }
24205
24370
  return e;
@@ -24208,9 +24373,9 @@ function toKnownErr56(e) {
24208
24373
  // src/client/types/com/atproto/sync/getRepo.ts
24209
24374
  var getRepo_exports2 = {};
24210
24375
  __export(getRepo_exports2, {
24211
- toKnownErr: () => toKnownErr57
24376
+ toKnownErr: () => toKnownErr58
24212
24377
  });
24213
- function toKnownErr57(e) {
24378
+ function toKnownErr58(e) {
24214
24379
  if (e instanceof XRPCError) {
24215
24380
  }
24216
24381
  return e;
@@ -24219,9 +24384,9 @@ function toKnownErr57(e) {
24219
24384
  // src/client/types/com/atproto/sync/listBlobs.ts
24220
24385
  var listBlobs_exports = {};
24221
24386
  __export(listBlobs_exports, {
24222
- toKnownErr: () => toKnownErr58
24387
+ toKnownErr: () => toKnownErr59
24223
24388
  });
24224
- function toKnownErr58(e) {
24389
+ function toKnownErr59(e) {
24225
24390
  if (e instanceof XRPCError) {
24226
24391
  }
24227
24392
  return e;
@@ -24231,10 +24396,10 @@ function toKnownErr58(e) {
24231
24396
  var listRepos_exports = {};
24232
24397
  __export(listRepos_exports, {
24233
24398
  isRepo: () => isRepo,
24234
- toKnownErr: () => toKnownErr59,
24399
+ toKnownErr: () => toKnownErr60,
24235
24400
  validateRepo: () => validateRepo
24236
24401
  });
24237
- function toKnownErr59(e) {
24402
+ function toKnownErr60(e) {
24238
24403
  if (e instanceof XRPCError) {
24239
24404
  }
24240
24405
  return e;
@@ -24249,9 +24414,9 @@ function validateRepo(v) {
24249
24414
  // src/client/types/com/atproto/sync/notifyOfUpdate.ts
24250
24415
  var notifyOfUpdate_exports = {};
24251
24416
  __export(notifyOfUpdate_exports, {
24252
- toKnownErr: () => toKnownErr60
24417
+ toKnownErr: () => toKnownErr61
24253
24418
  });
24254
- function toKnownErr60(e) {
24419
+ function toKnownErr61(e) {
24255
24420
  if (e instanceof XRPCError) {
24256
24421
  }
24257
24422
  return e;
@@ -24260,9 +24425,9 @@ function toKnownErr60(e) {
24260
24425
  // src/client/types/com/atproto/sync/requestCrawl.ts
24261
24426
  var requestCrawl_exports = {};
24262
24427
  __export(requestCrawl_exports, {
24263
- toKnownErr: () => toKnownErr61
24428
+ toKnownErr: () => toKnownErr62
24264
24429
  });
24265
- function toKnownErr61(e) {
24430
+ function toKnownErr62(e) {
24266
24431
  if (e instanceof XRPCError) {
24267
24432
  }
24268
24433
  return e;
@@ -24271,20 +24436,109 @@ function toKnownErr61(e) {
24271
24436
  // src/client/types/com/atproto/temp/fetchLabels.ts
24272
24437
  var fetchLabels_exports = {};
24273
24438
  __export(fetchLabels_exports, {
24274
- toKnownErr: () => toKnownErr62
24439
+ toKnownErr: () => toKnownErr63
24275
24440
  });
24276
- function toKnownErr62(e) {
24441
+ function toKnownErr63(e) {
24442
+ if (e instanceof XRPCError) {
24443
+ }
24444
+ return e;
24445
+ }
24446
+
24447
+ // src/client/types/com/atproto/temp/importRepo.ts
24448
+ var importRepo_exports = {};
24449
+ __export(importRepo_exports, {
24450
+ toKnownErr: () => toKnownErr64
24451
+ });
24452
+ function toKnownErr64(e) {
24453
+ if (e instanceof XRPCError) {
24454
+ }
24455
+ return e;
24456
+ }
24457
+
24458
+ // src/client/types/com/atproto/temp/pushBlob.ts
24459
+ var pushBlob_exports = {};
24460
+ __export(pushBlob_exports, {
24461
+ toKnownErr: () => toKnownErr65
24462
+ });
24463
+ function toKnownErr65(e) {
24277
24464
  if (e instanceof XRPCError) {
24278
24465
  }
24279
24466
  return e;
24280
24467
  }
24281
24468
 
24469
+ // src/client/types/com/atproto/temp/transferAccount.ts
24470
+ var transferAccount_exports = {};
24471
+ __export(transferAccount_exports, {
24472
+ HandleNotAvailableError: () => HandleNotAvailableError2,
24473
+ IncompatibleDidDocError: () => IncompatibleDidDocError2,
24474
+ InvalidHandleError: () => InvalidHandleError3,
24475
+ InvalidInviteCodeError: () => InvalidInviteCodeError2,
24476
+ InvalidPasswordError: () => InvalidPasswordError2,
24477
+ UnresolvableDidError: () => UnresolvableDidError2,
24478
+ UnsupportedDomainError: () => UnsupportedDomainError2,
24479
+ toKnownErr: () => toKnownErr66
24480
+ });
24481
+ var InvalidHandleError3 = class extends XRPCError {
24482
+ constructor(src2) {
24483
+ super(src2.status, src2.error, src2.message, src2.headers);
24484
+ }
24485
+ };
24486
+ var InvalidPasswordError2 = class extends XRPCError {
24487
+ constructor(src2) {
24488
+ super(src2.status, src2.error, src2.message, src2.headers);
24489
+ }
24490
+ };
24491
+ var InvalidInviteCodeError2 = class extends XRPCError {
24492
+ constructor(src2) {
24493
+ super(src2.status, src2.error, src2.message, src2.headers);
24494
+ }
24495
+ };
24496
+ var HandleNotAvailableError2 = class extends XRPCError {
24497
+ constructor(src2) {
24498
+ super(src2.status, src2.error, src2.message, src2.headers);
24499
+ }
24500
+ };
24501
+ var UnsupportedDomainError2 = class extends XRPCError {
24502
+ constructor(src2) {
24503
+ super(src2.status, src2.error, src2.message, src2.headers);
24504
+ }
24505
+ };
24506
+ var UnresolvableDidError2 = class extends XRPCError {
24507
+ constructor(src2) {
24508
+ super(src2.status, src2.error, src2.message, src2.headers);
24509
+ }
24510
+ };
24511
+ var IncompatibleDidDocError2 = class extends XRPCError {
24512
+ constructor(src2) {
24513
+ super(src2.status, src2.error, src2.message, src2.headers);
24514
+ }
24515
+ };
24516
+ function toKnownErr66(e) {
24517
+ if (e instanceof XRPCError) {
24518
+ if (e.error === "InvalidHandle")
24519
+ return new InvalidHandleError3(e);
24520
+ if (e.error === "InvalidPassword")
24521
+ return new InvalidPasswordError2(e);
24522
+ if (e.error === "InvalidInviteCode")
24523
+ return new InvalidInviteCodeError2(e);
24524
+ if (e.error === "HandleNotAvailable")
24525
+ return new HandleNotAvailableError2(e);
24526
+ if (e.error === "UnsupportedDomain")
24527
+ return new UnsupportedDomainError2(e);
24528
+ if (e.error === "UnresolvableDid")
24529
+ return new UnresolvableDidError2(e);
24530
+ if (e.error === "IncompatibleDidDoc")
24531
+ return new IncompatibleDidDocError2(e);
24532
+ }
24533
+ return e;
24534
+ }
24535
+
24282
24536
  // src/client/types/app/bsky/actor/getPreferences.ts
24283
24537
  var getPreferences_exports = {};
24284
24538
  __export(getPreferences_exports, {
24285
- toKnownErr: () => toKnownErr63
24539
+ toKnownErr: () => toKnownErr67
24286
24540
  });
24287
- function toKnownErr63(e) {
24541
+ function toKnownErr67(e) {
24288
24542
  if (e instanceof XRPCError) {
24289
24543
  }
24290
24544
  return e;
@@ -24293,9 +24547,9 @@ function toKnownErr63(e) {
24293
24547
  // src/client/types/app/bsky/actor/getProfile.ts
24294
24548
  var getProfile_exports = {};
24295
24549
  __export(getProfile_exports, {
24296
- toKnownErr: () => toKnownErr64
24550
+ toKnownErr: () => toKnownErr68
24297
24551
  });
24298
- function toKnownErr64(e) {
24552
+ function toKnownErr68(e) {
24299
24553
  if (e instanceof XRPCError) {
24300
24554
  }
24301
24555
  return e;
@@ -24304,9 +24558,9 @@ function toKnownErr64(e) {
24304
24558
  // src/client/types/app/bsky/actor/getProfiles.ts
24305
24559
  var getProfiles_exports = {};
24306
24560
  __export(getProfiles_exports, {
24307
- toKnownErr: () => toKnownErr65
24561
+ toKnownErr: () => toKnownErr69
24308
24562
  });
24309
- function toKnownErr65(e) {
24563
+ function toKnownErr69(e) {
24310
24564
  if (e instanceof XRPCError) {
24311
24565
  }
24312
24566
  return e;
@@ -24315,9 +24569,9 @@ function toKnownErr65(e) {
24315
24569
  // src/client/types/app/bsky/actor/getSuggestions.ts
24316
24570
  var getSuggestions_exports = {};
24317
24571
  __export(getSuggestions_exports, {
24318
- toKnownErr: () => toKnownErr66
24572
+ toKnownErr: () => toKnownErr70
24319
24573
  });
24320
- function toKnownErr66(e) {
24574
+ function toKnownErr70(e) {
24321
24575
  if (e instanceof XRPCError) {
24322
24576
  }
24323
24577
  return e;
@@ -24326,9 +24580,9 @@ function toKnownErr66(e) {
24326
24580
  // src/client/types/app/bsky/actor/putPreferences.ts
24327
24581
  var putPreferences_exports = {};
24328
24582
  __export(putPreferences_exports, {
24329
- toKnownErr: () => toKnownErr67
24583
+ toKnownErr: () => toKnownErr71
24330
24584
  });
24331
- function toKnownErr67(e) {
24585
+ function toKnownErr71(e) {
24332
24586
  if (e instanceof XRPCError) {
24333
24587
  }
24334
24588
  return e;
@@ -24337,9 +24591,9 @@ function toKnownErr67(e) {
24337
24591
  // src/client/types/app/bsky/actor/searchActors.ts
24338
24592
  var searchActors_exports = {};
24339
24593
  __export(searchActors_exports, {
24340
- toKnownErr: () => toKnownErr68
24594
+ toKnownErr: () => toKnownErr72
24341
24595
  });
24342
- function toKnownErr68(e) {
24596
+ function toKnownErr72(e) {
24343
24597
  if (e instanceof XRPCError) {
24344
24598
  }
24345
24599
  return e;
@@ -24348,9 +24602,9 @@ function toKnownErr68(e) {
24348
24602
  // src/client/types/app/bsky/actor/searchActorsTypeahead.ts
24349
24603
  var searchActorsTypeahead_exports = {};
24350
24604
  __export(searchActorsTypeahead_exports, {
24351
- toKnownErr: () => toKnownErr69
24605
+ toKnownErr: () => toKnownErr73
24352
24606
  });
24353
- function toKnownErr69(e) {
24607
+ function toKnownErr73(e) {
24354
24608
  if (e instanceof XRPCError) {
24355
24609
  }
24356
24610
  return e;
@@ -24361,11 +24615,11 @@ var describeFeedGenerator_exports = {};
24361
24615
  __export(describeFeedGenerator_exports, {
24362
24616
  isFeed: () => isFeed,
24363
24617
  isLinks: () => isLinks2,
24364
- toKnownErr: () => toKnownErr70,
24618
+ toKnownErr: () => toKnownErr74,
24365
24619
  validateFeed: () => validateFeed,
24366
24620
  validateLinks: () => validateLinks2
24367
24621
  });
24368
- function toKnownErr70(e) {
24622
+ function toKnownErr74(e) {
24369
24623
  if (e instanceof XRPCError) {
24370
24624
  }
24371
24625
  return e;
@@ -24386,9 +24640,9 @@ function validateLinks2(v) {
24386
24640
  // src/client/types/app/bsky/feed/getActorFeeds.ts
24387
24641
  var getActorFeeds_exports = {};
24388
24642
  __export(getActorFeeds_exports, {
24389
- toKnownErr: () => toKnownErr71
24643
+ toKnownErr: () => toKnownErr75
24390
24644
  });
24391
- function toKnownErr71(e) {
24645
+ function toKnownErr75(e) {
24392
24646
  if (e instanceof XRPCError) {
24393
24647
  }
24394
24648
  return e;
@@ -24399,7 +24653,7 @@ var getActorLikes_exports = {};
24399
24653
  __export(getActorLikes_exports, {
24400
24654
  BlockedActorError: () => BlockedActorError,
24401
24655
  BlockedByActorError: () => BlockedByActorError,
24402
- toKnownErr: () => toKnownErr72
24656
+ toKnownErr: () => toKnownErr76
24403
24657
  });
24404
24658
  var BlockedActorError = class extends XRPCError {
24405
24659
  constructor(src2) {
@@ -24411,7 +24665,7 @@ var BlockedByActorError = class extends XRPCError {
24411
24665
  super(src2.status, src2.error, src2.message, src2.headers);
24412
24666
  }
24413
24667
  };
24414
- function toKnownErr72(e) {
24668
+ function toKnownErr76(e) {
24415
24669
  if (e instanceof XRPCError) {
24416
24670
  if (e.error === "BlockedActor")
24417
24671
  return new BlockedActorError(e);
@@ -24426,7 +24680,7 @@ var getAuthorFeed_exports = {};
24426
24680
  __export(getAuthorFeed_exports, {
24427
24681
  BlockedActorError: () => BlockedActorError2,
24428
24682
  BlockedByActorError: () => BlockedByActorError2,
24429
- toKnownErr: () => toKnownErr73
24683
+ toKnownErr: () => toKnownErr77
24430
24684
  });
24431
24685
  var BlockedActorError2 = class extends XRPCError {
24432
24686
  constructor(src2) {
@@ -24438,7 +24692,7 @@ var BlockedByActorError2 = class extends XRPCError {
24438
24692
  super(src2.status, src2.error, src2.message, src2.headers);
24439
24693
  }
24440
24694
  };
24441
- function toKnownErr73(e) {
24695
+ function toKnownErr77(e) {
24442
24696
  if (e instanceof XRPCError) {
24443
24697
  if (e.error === "BlockedActor")
24444
24698
  return new BlockedActorError2(e);
@@ -24452,14 +24706,14 @@ function toKnownErr73(e) {
24452
24706
  var getFeed_exports = {};
24453
24707
  __export(getFeed_exports, {
24454
24708
  UnknownFeedError: () => UnknownFeedError,
24455
- toKnownErr: () => toKnownErr74
24709
+ toKnownErr: () => toKnownErr78
24456
24710
  });
24457
24711
  var UnknownFeedError = class extends XRPCError {
24458
24712
  constructor(src2) {
24459
24713
  super(src2.status, src2.error, src2.message, src2.headers);
24460
24714
  }
24461
24715
  };
24462
- function toKnownErr74(e) {
24716
+ function toKnownErr78(e) {
24463
24717
  if (e instanceof XRPCError) {
24464
24718
  if (e.error === "UnknownFeed")
24465
24719
  return new UnknownFeedError(e);
@@ -24470,9 +24724,9 @@ function toKnownErr74(e) {
24470
24724
  // src/client/types/app/bsky/feed/getFeedGenerator.ts
24471
24725
  var getFeedGenerator_exports = {};
24472
24726
  __export(getFeedGenerator_exports, {
24473
- toKnownErr: () => toKnownErr75
24727
+ toKnownErr: () => toKnownErr79
24474
24728
  });
24475
- function toKnownErr75(e) {
24729
+ function toKnownErr79(e) {
24476
24730
  if (e instanceof XRPCError) {
24477
24731
  }
24478
24732
  return e;
@@ -24481,9 +24735,9 @@ function toKnownErr75(e) {
24481
24735
  // src/client/types/app/bsky/feed/getFeedGenerators.ts
24482
24736
  var getFeedGenerators_exports = {};
24483
24737
  __export(getFeedGenerators_exports, {
24484
- toKnownErr: () => toKnownErr76
24738
+ toKnownErr: () => toKnownErr80
24485
24739
  });
24486
- function toKnownErr76(e) {
24740
+ function toKnownErr80(e) {
24487
24741
  if (e instanceof XRPCError) {
24488
24742
  }
24489
24743
  return e;
@@ -24493,14 +24747,14 @@ function toKnownErr76(e) {
24493
24747
  var getFeedSkeleton_exports = {};
24494
24748
  __export(getFeedSkeleton_exports, {
24495
24749
  UnknownFeedError: () => UnknownFeedError2,
24496
- toKnownErr: () => toKnownErr77
24750
+ toKnownErr: () => toKnownErr81
24497
24751
  });
24498
24752
  var UnknownFeedError2 = class extends XRPCError {
24499
24753
  constructor(src2) {
24500
24754
  super(src2.status, src2.error, src2.message, src2.headers);
24501
24755
  }
24502
24756
  };
24503
- function toKnownErr77(e) {
24757
+ function toKnownErr81(e) {
24504
24758
  if (e instanceof XRPCError) {
24505
24759
  if (e.error === "UnknownFeed")
24506
24760
  return new UnknownFeedError2(e);
@@ -24512,10 +24766,10 @@ function toKnownErr77(e) {
24512
24766
  var getLikes_exports = {};
24513
24767
  __export(getLikes_exports, {
24514
24768
  isLike: () => isLike,
24515
- toKnownErr: () => toKnownErr78,
24769
+ toKnownErr: () => toKnownErr82,
24516
24770
  validateLike: () => validateLike
24517
24771
  });
24518
- function toKnownErr78(e) {
24772
+ function toKnownErr82(e) {
24519
24773
  if (e instanceof XRPCError) {
24520
24774
  }
24521
24775
  return e;
@@ -24531,14 +24785,14 @@ function validateLike(v) {
24531
24785
  var getListFeed_exports = {};
24532
24786
  __export(getListFeed_exports, {
24533
24787
  UnknownListError: () => UnknownListError,
24534
- toKnownErr: () => toKnownErr79
24788
+ toKnownErr: () => toKnownErr83
24535
24789
  });
24536
24790
  var UnknownListError = class extends XRPCError {
24537
24791
  constructor(src2) {
24538
24792
  super(src2.status, src2.error, src2.message, src2.headers);
24539
24793
  }
24540
24794
  };
24541
- function toKnownErr79(e) {
24795
+ function toKnownErr83(e) {
24542
24796
  if (e instanceof XRPCError) {
24543
24797
  if (e.error === "UnknownList")
24544
24798
  return new UnknownListError(e);
@@ -24550,14 +24804,14 @@ function toKnownErr79(e) {
24550
24804
  var getPostThread_exports = {};
24551
24805
  __export(getPostThread_exports, {
24552
24806
  NotFoundError: () => NotFoundError,
24553
- toKnownErr: () => toKnownErr80
24807
+ toKnownErr: () => toKnownErr84
24554
24808
  });
24555
24809
  var NotFoundError = class extends XRPCError {
24556
24810
  constructor(src2) {
24557
24811
  super(src2.status, src2.error, src2.message, src2.headers);
24558
24812
  }
24559
24813
  };
24560
- function toKnownErr80(e) {
24814
+ function toKnownErr84(e) {
24561
24815
  if (e instanceof XRPCError) {
24562
24816
  if (e.error === "NotFound")
24563
24817
  return new NotFoundError(e);
@@ -24568,9 +24822,9 @@ function toKnownErr80(e) {
24568
24822
  // src/client/types/app/bsky/feed/getPosts.ts
24569
24823
  var getPosts_exports = {};
24570
24824
  __export(getPosts_exports, {
24571
- toKnownErr: () => toKnownErr81
24825
+ toKnownErr: () => toKnownErr85
24572
24826
  });
24573
- function toKnownErr81(e) {
24827
+ function toKnownErr85(e) {
24574
24828
  if (e instanceof XRPCError) {
24575
24829
  }
24576
24830
  return e;
@@ -24579,9 +24833,9 @@ function toKnownErr81(e) {
24579
24833
  // src/client/types/app/bsky/feed/getRepostedBy.ts
24580
24834
  var getRepostedBy_exports = {};
24581
24835
  __export(getRepostedBy_exports, {
24582
- toKnownErr: () => toKnownErr82
24836
+ toKnownErr: () => toKnownErr86
24583
24837
  });
24584
- function toKnownErr82(e) {
24838
+ function toKnownErr86(e) {
24585
24839
  if (e instanceof XRPCError) {
24586
24840
  }
24587
24841
  return e;
@@ -24590,9 +24844,9 @@ function toKnownErr82(e) {
24590
24844
  // src/client/types/app/bsky/feed/getSuggestedFeeds.ts
24591
24845
  var getSuggestedFeeds_exports = {};
24592
24846
  __export(getSuggestedFeeds_exports, {
24593
- toKnownErr: () => toKnownErr83
24847
+ toKnownErr: () => toKnownErr87
24594
24848
  });
24595
- function toKnownErr83(e) {
24849
+ function toKnownErr87(e) {
24596
24850
  if (e instanceof XRPCError) {
24597
24851
  }
24598
24852
  return e;
@@ -24601,9 +24855,9 @@ function toKnownErr83(e) {
24601
24855
  // src/client/types/app/bsky/feed/getTimeline.ts
24602
24856
  var getTimeline_exports = {};
24603
24857
  __export(getTimeline_exports, {
24604
- toKnownErr: () => toKnownErr84
24858
+ toKnownErr: () => toKnownErr88
24605
24859
  });
24606
- function toKnownErr84(e) {
24860
+ function toKnownErr88(e) {
24607
24861
  if (e instanceof XRPCError) {
24608
24862
  }
24609
24863
  return e;
@@ -24613,14 +24867,14 @@ function toKnownErr84(e) {
24613
24867
  var searchPosts_exports = {};
24614
24868
  __export(searchPosts_exports, {
24615
24869
  BadQueryStringError: () => BadQueryStringError,
24616
- toKnownErr: () => toKnownErr85
24870
+ toKnownErr: () => toKnownErr89
24617
24871
  });
24618
24872
  var BadQueryStringError = class extends XRPCError {
24619
24873
  constructor(src2) {
24620
24874
  super(src2.status, src2.error, src2.message, src2.headers);
24621
24875
  }
24622
24876
  };
24623
- function toKnownErr85(e) {
24877
+ function toKnownErr89(e) {
24624
24878
  if (e instanceof XRPCError) {
24625
24879
  if (e.error === "BadQueryString")
24626
24880
  return new BadQueryStringError(e);
@@ -24631,9 +24885,9 @@ function toKnownErr85(e) {
24631
24885
  // src/client/types/app/bsky/graph/getBlocks.ts
24632
24886
  var getBlocks_exports2 = {};
24633
24887
  __export(getBlocks_exports2, {
24634
- toKnownErr: () => toKnownErr86
24888
+ toKnownErr: () => toKnownErr90
24635
24889
  });
24636
- function toKnownErr86(e) {
24890
+ function toKnownErr90(e) {
24637
24891
  if (e instanceof XRPCError) {
24638
24892
  }
24639
24893
  return e;
@@ -24642,9 +24896,9 @@ function toKnownErr86(e) {
24642
24896
  // src/client/types/app/bsky/graph/getFollowers.ts
24643
24897
  var getFollowers_exports = {};
24644
24898
  __export(getFollowers_exports, {
24645
- toKnownErr: () => toKnownErr87
24899
+ toKnownErr: () => toKnownErr91
24646
24900
  });
24647
- function toKnownErr87(e) {
24901
+ function toKnownErr91(e) {
24648
24902
  if (e instanceof XRPCError) {
24649
24903
  }
24650
24904
  return e;
@@ -24653,9 +24907,9 @@ function toKnownErr87(e) {
24653
24907
  // src/client/types/app/bsky/graph/getFollows.ts
24654
24908
  var getFollows_exports = {};
24655
24909
  __export(getFollows_exports, {
24656
- toKnownErr: () => toKnownErr88
24910
+ toKnownErr: () => toKnownErr92
24657
24911
  });
24658
- function toKnownErr88(e) {
24912
+ function toKnownErr92(e) {
24659
24913
  if (e instanceof XRPCError) {
24660
24914
  }
24661
24915
  return e;
@@ -24664,9 +24918,9 @@ function toKnownErr88(e) {
24664
24918
  // src/client/types/app/bsky/graph/getList.ts
24665
24919
  var getList_exports = {};
24666
24920
  __export(getList_exports, {
24667
- toKnownErr: () => toKnownErr89
24921
+ toKnownErr: () => toKnownErr93
24668
24922
  });
24669
- function toKnownErr89(e) {
24923
+ function toKnownErr93(e) {
24670
24924
  if (e instanceof XRPCError) {
24671
24925
  }
24672
24926
  return e;
@@ -24675,9 +24929,9 @@ function toKnownErr89(e) {
24675
24929
  // src/client/types/app/bsky/graph/getListBlocks.ts
24676
24930
  var getListBlocks_exports = {};
24677
24931
  __export(getListBlocks_exports, {
24678
- toKnownErr: () => toKnownErr90
24932
+ toKnownErr: () => toKnownErr94
24679
24933
  });
24680
- function toKnownErr90(e) {
24934
+ function toKnownErr94(e) {
24681
24935
  if (e instanceof XRPCError) {
24682
24936
  }
24683
24937
  return e;
@@ -24686,9 +24940,9 @@ function toKnownErr90(e) {
24686
24940
  // src/client/types/app/bsky/graph/getListMutes.ts
24687
24941
  var getListMutes_exports = {};
24688
24942
  __export(getListMutes_exports, {
24689
- toKnownErr: () => toKnownErr91
24943
+ toKnownErr: () => toKnownErr95
24690
24944
  });
24691
- function toKnownErr91(e) {
24945
+ function toKnownErr95(e) {
24692
24946
  if (e instanceof XRPCError) {
24693
24947
  }
24694
24948
  return e;
@@ -24697,9 +24951,9 @@ function toKnownErr91(e) {
24697
24951
  // src/client/types/app/bsky/graph/getLists.ts
24698
24952
  var getLists_exports = {};
24699
24953
  __export(getLists_exports, {
24700
- toKnownErr: () => toKnownErr92
24954
+ toKnownErr: () => toKnownErr96
24701
24955
  });
24702
- function toKnownErr92(e) {
24956
+ function toKnownErr96(e) {
24703
24957
  if (e instanceof XRPCError) {
24704
24958
  }
24705
24959
  return e;
@@ -24708,9 +24962,9 @@ function toKnownErr92(e) {
24708
24962
  // src/client/types/app/bsky/graph/getMutes.ts
24709
24963
  var getMutes_exports = {};
24710
24964
  __export(getMutes_exports, {
24711
- toKnownErr: () => toKnownErr93
24965
+ toKnownErr: () => toKnownErr97
24712
24966
  });
24713
- function toKnownErr93(e) {
24967
+ function toKnownErr97(e) {
24714
24968
  if (e instanceof XRPCError) {
24715
24969
  }
24716
24970
  return e;
@@ -24719,9 +24973,9 @@ function toKnownErr93(e) {
24719
24973
  // src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
24720
24974
  var getSuggestedFollowsByActor_exports = {};
24721
24975
  __export(getSuggestedFollowsByActor_exports, {
24722
- toKnownErr: () => toKnownErr94
24976
+ toKnownErr: () => toKnownErr98
24723
24977
  });
24724
- function toKnownErr94(e) {
24978
+ function toKnownErr98(e) {
24725
24979
  if (e instanceof XRPCError) {
24726
24980
  }
24727
24981
  return e;
@@ -24730,9 +24984,9 @@ function toKnownErr94(e) {
24730
24984
  // src/client/types/app/bsky/graph/muteActor.ts
24731
24985
  var muteActor_exports = {};
24732
24986
  __export(muteActor_exports, {
24733
- toKnownErr: () => toKnownErr95
24987
+ toKnownErr: () => toKnownErr99
24734
24988
  });
24735
- function toKnownErr95(e) {
24989
+ function toKnownErr99(e) {
24736
24990
  if (e instanceof XRPCError) {
24737
24991
  }
24738
24992
  return e;
@@ -24741,9 +24995,9 @@ function toKnownErr95(e) {
24741
24995
  // src/client/types/app/bsky/graph/muteActorList.ts
24742
24996
  var muteActorList_exports = {};
24743
24997
  __export(muteActorList_exports, {
24744
- toKnownErr: () => toKnownErr96
24998
+ toKnownErr: () => toKnownErr100
24745
24999
  });
24746
- function toKnownErr96(e) {
25000
+ function toKnownErr100(e) {
24747
25001
  if (e instanceof XRPCError) {
24748
25002
  }
24749
25003
  return e;
@@ -24752,9 +25006,9 @@ function toKnownErr96(e) {
24752
25006
  // src/client/types/app/bsky/graph/unmuteActor.ts
24753
25007
  var unmuteActor_exports = {};
24754
25008
  __export(unmuteActor_exports, {
24755
- toKnownErr: () => toKnownErr97
25009
+ toKnownErr: () => toKnownErr101
24756
25010
  });
24757
- function toKnownErr97(e) {
25011
+ function toKnownErr101(e) {
24758
25012
  if (e instanceof XRPCError) {
24759
25013
  }
24760
25014
  return e;
@@ -24763,9 +25017,9 @@ function toKnownErr97(e) {
24763
25017
  // src/client/types/app/bsky/graph/unmuteActorList.ts
24764
25018
  var unmuteActorList_exports = {};
24765
25019
  __export(unmuteActorList_exports, {
24766
- toKnownErr: () => toKnownErr98
25020
+ toKnownErr: () => toKnownErr102
24767
25021
  });
24768
- function toKnownErr98(e) {
25022
+ function toKnownErr102(e) {
24769
25023
  if (e instanceof XRPCError) {
24770
25024
  }
24771
25025
  return e;
@@ -24774,9 +25028,9 @@ function toKnownErr98(e) {
24774
25028
  // src/client/types/app/bsky/notification/getUnreadCount.ts
24775
25029
  var getUnreadCount_exports = {};
24776
25030
  __export(getUnreadCount_exports, {
24777
- toKnownErr: () => toKnownErr99
25031
+ toKnownErr: () => toKnownErr103
24778
25032
  });
24779
- function toKnownErr99(e) {
25033
+ function toKnownErr103(e) {
24780
25034
  if (e instanceof XRPCError) {
24781
25035
  }
24782
25036
  return e;
@@ -24786,10 +25040,10 @@ function toKnownErr99(e) {
24786
25040
  var listNotifications_exports = {};
24787
25041
  __export(listNotifications_exports, {
24788
25042
  isNotification: () => isNotification,
24789
- toKnownErr: () => toKnownErr100,
25043
+ toKnownErr: () => toKnownErr104,
24790
25044
  validateNotification: () => validateNotification
24791
25045
  });
24792
- function toKnownErr100(e) {
25046
+ function toKnownErr104(e) {
24793
25047
  if (e instanceof XRPCError) {
24794
25048
  }
24795
25049
  return e;
@@ -24804,9 +25058,9 @@ function validateNotification(v) {
24804
25058
  // src/client/types/app/bsky/notification/registerPush.ts
24805
25059
  var registerPush_exports = {};
24806
25060
  __export(registerPush_exports, {
24807
- toKnownErr: () => toKnownErr101
25061
+ toKnownErr: () => toKnownErr105
24808
25062
  });
24809
- function toKnownErr101(e) {
25063
+ function toKnownErr105(e) {
24810
25064
  if (e instanceof XRPCError) {
24811
25065
  }
24812
25066
  return e;
@@ -24815,9 +25069,9 @@ function toKnownErr101(e) {
24815
25069
  // src/client/types/app/bsky/notification/updateSeen.ts
24816
25070
  var updateSeen_exports = {};
24817
25071
  __export(updateSeen_exports, {
24818
- toKnownErr: () => toKnownErr102
25072
+ toKnownErr: () => toKnownErr106
24819
25073
  });
24820
- function toKnownErr102(e) {
25074
+ function toKnownErr106(e) {
24821
25075
  if (e instanceof XRPCError) {
24822
25076
  }
24823
25077
  return e;
@@ -24826,9 +25080,9 @@ function toKnownErr102(e) {
24826
25080
  // src/client/types/app/bsky/unspecced/getPopular.ts
24827
25081
  var getPopular_exports = {};
24828
25082
  __export(getPopular_exports, {
24829
- toKnownErr: () => toKnownErr103
25083
+ toKnownErr: () => toKnownErr107
24830
25084
  });
24831
- function toKnownErr103(e) {
25085
+ function toKnownErr107(e) {
24832
25086
  if (e instanceof XRPCError) {
24833
25087
  }
24834
25088
  return e;
@@ -24837,9 +25091,9 @@ function toKnownErr103(e) {
24837
25091
  // src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
24838
25092
  var getPopularFeedGenerators_exports = {};
24839
25093
  __export(getPopularFeedGenerators_exports, {
24840
- toKnownErr: () => toKnownErr104
25094
+ toKnownErr: () => toKnownErr108
24841
25095
  });
24842
- function toKnownErr104(e) {
25096
+ function toKnownErr108(e) {
24843
25097
  if (e instanceof XRPCError) {
24844
25098
  }
24845
25099
  return e;
@@ -24849,14 +25103,14 @@ function toKnownErr104(e) {
24849
25103
  var getTimelineSkeleton_exports = {};
24850
25104
  __export(getTimelineSkeleton_exports, {
24851
25105
  UnknownFeedError: () => UnknownFeedError3,
24852
- toKnownErr: () => toKnownErr105
25106
+ toKnownErr: () => toKnownErr109
24853
25107
  });
24854
25108
  var UnknownFeedError3 = class extends XRPCError {
24855
25109
  constructor(src2) {
24856
25110
  super(src2.status, src2.error, src2.message, src2.headers);
24857
25111
  }
24858
25112
  };
24859
- function toKnownErr105(e) {
25113
+ function toKnownErr109(e) {
24860
25114
  if (e instanceof XRPCError) {
24861
25115
  if (e.error === "UnknownFeed")
24862
25116
  return new UnknownFeedError3(e);
@@ -24868,14 +25122,14 @@ function toKnownErr105(e) {
24868
25122
  var searchActorsSkeleton_exports = {};
24869
25123
  __export(searchActorsSkeleton_exports, {
24870
25124
  BadQueryStringError: () => BadQueryStringError2,
24871
- toKnownErr: () => toKnownErr106
25125
+ toKnownErr: () => toKnownErr110
24872
25126
  });
24873
25127
  var BadQueryStringError2 = class extends XRPCError {
24874
25128
  constructor(src2) {
24875
25129
  super(src2.status, src2.error, src2.message, src2.headers);
24876
25130
  }
24877
25131
  };
24878
- function toKnownErr106(e) {
25132
+ function toKnownErr110(e) {
24879
25133
  if (e instanceof XRPCError) {
24880
25134
  if (e.error === "BadQueryString")
24881
25135
  return new BadQueryStringError2(e);
@@ -24887,14 +25141,14 @@ function toKnownErr106(e) {
24887
25141
  var searchPostsSkeleton_exports = {};
24888
25142
  __export(searchPostsSkeleton_exports, {
24889
25143
  BadQueryStringError: () => BadQueryStringError3,
24890
- toKnownErr: () => toKnownErr107
25144
+ toKnownErr: () => toKnownErr111
24891
25145
  });
24892
25146
  var BadQueryStringError3 = class extends XRPCError {
24893
25147
  constructor(src2) {
24894
25148
  super(src2.status, src2.error, src2.message, src2.headers);
24895
25149
  }
24896
25150
  };
24897
- function toKnownErr107(e) {
25151
+ function toKnownErr111(e) {
24898
25152
  if (e instanceof XRPCError) {
24899
25153
  if (e.error === "BadQueryString")
24900
25154
  return new BadQueryStringError3(e);
@@ -26016,89 +26270,94 @@ var AdminNS = class {
26016
26270
  constructor(service2) {
26017
26271
  this._service = service2;
26018
26272
  }
26273
+ deleteAccount(data, opts) {
26274
+ return this._service.xrpc.call("com.atproto.admin.deleteAccount", opts?.qp, data, opts).catch((e) => {
26275
+ throw toKnownErr(e);
26276
+ });
26277
+ }
26019
26278
  disableAccountInvites(data, opts) {
26020
26279
  return this._service.xrpc.call("com.atproto.admin.disableAccountInvites", opts?.qp, data, opts).catch((e) => {
26021
- throw toKnownErr(e);
26280
+ throw toKnownErr2(e);
26022
26281
  });
26023
26282
  }
26024
26283
  disableInviteCodes(data, opts) {
26025
26284
  return this._service.xrpc.call("com.atproto.admin.disableInviteCodes", opts?.qp, data, opts).catch((e) => {
26026
- throw toKnownErr2(e);
26285
+ throw toKnownErr3(e);
26027
26286
  });
26028
26287
  }
26029
26288
  emitModerationEvent(data, opts) {
26030
26289
  return this._service.xrpc.call("com.atproto.admin.emitModerationEvent", opts?.qp, data, opts).catch((e) => {
26031
- throw toKnownErr3(e);
26290
+ throw toKnownErr4(e);
26032
26291
  });
26033
26292
  }
26034
26293
  enableAccountInvites(data, opts) {
26035
26294
  return this._service.xrpc.call("com.atproto.admin.enableAccountInvites", opts?.qp, data, opts).catch((e) => {
26036
- throw toKnownErr4(e);
26295
+ throw toKnownErr5(e);
26037
26296
  });
26038
26297
  }
26039
26298
  getAccountInfo(params2, opts) {
26040
26299
  return this._service.xrpc.call("com.atproto.admin.getAccountInfo", params2, void 0, opts).catch((e) => {
26041
- throw toKnownErr5(e);
26300
+ throw toKnownErr6(e);
26042
26301
  });
26043
26302
  }
26044
26303
  getInviteCodes(params2, opts) {
26045
26304
  return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
26046
- throw toKnownErr6(e);
26305
+ throw toKnownErr7(e);
26047
26306
  });
26048
26307
  }
26049
26308
  getModerationEvent(params2, opts) {
26050
26309
  return this._service.xrpc.call("com.atproto.admin.getModerationEvent", params2, void 0, opts).catch((e) => {
26051
- throw toKnownErr7(e);
26310
+ throw toKnownErr8(e);
26052
26311
  });
26053
26312
  }
26054
26313
  getRecord(params2, opts) {
26055
26314
  return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
26056
- throw toKnownErr8(e);
26315
+ throw toKnownErr9(e);
26057
26316
  });
26058
26317
  }
26059
26318
  getRepo(params2, opts) {
26060
26319
  return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
26061
- throw toKnownErr9(e);
26320
+ throw toKnownErr10(e);
26062
26321
  });
26063
26322
  }
26064
26323
  getSubjectStatus(params2, opts) {
26065
26324
  return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
26066
- throw toKnownErr10(e);
26325
+ throw toKnownErr11(e);
26067
26326
  });
26068
26327
  }
26069
26328
  queryModerationEvents(params2, opts) {
26070
26329
  return this._service.xrpc.call("com.atproto.admin.queryModerationEvents", params2, void 0, opts).catch((e) => {
26071
- throw toKnownErr11(e);
26330
+ throw toKnownErr12(e);
26072
26331
  });
26073
26332
  }
26074
26333
  queryModerationStatuses(params2, opts) {
26075
26334
  return this._service.xrpc.call("com.atproto.admin.queryModerationStatuses", params2, void 0, opts).catch((e) => {
26076
- throw toKnownErr12(e);
26335
+ throw toKnownErr13(e);
26077
26336
  });
26078
26337
  }
26079
26338
  searchRepos(params2, opts) {
26080
26339
  return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
26081
- throw toKnownErr13(e);
26340
+ throw toKnownErr14(e);
26082
26341
  });
26083
26342
  }
26084
26343
  sendEmail(data, opts) {
26085
26344
  return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
26086
- throw toKnownErr14(e);
26345
+ throw toKnownErr15(e);
26087
26346
  });
26088
26347
  }
26089
26348
  updateAccountEmail(data, opts) {
26090
26349
  return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
26091
- throw toKnownErr15(e);
26350
+ throw toKnownErr16(e);
26092
26351
  });
26093
26352
  }
26094
26353
  updateAccountHandle(data, opts) {
26095
26354
  return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
26096
- throw toKnownErr16(e);
26355
+ throw toKnownErr17(e);
26097
26356
  });
26098
26357
  }
26099
26358
  updateSubjectStatus(data, opts) {
26100
26359
  return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
26101
- throw toKnownErr17(e);
26360
+ throw toKnownErr18(e);
26102
26361
  });
26103
26362
  }
26104
26363
  };
@@ -26108,12 +26367,12 @@ var IdentityNS = class {
26108
26367
  }
26109
26368
  resolveHandle(params2, opts) {
26110
26369
  return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
26111
- throw toKnownErr18(e);
26370
+ throw toKnownErr19(e);
26112
26371
  });
26113
26372
  }
26114
26373
  updateHandle(data, opts) {
26115
26374
  return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
26116
- throw toKnownErr19(e);
26375
+ throw toKnownErr20(e);
26117
26376
  });
26118
26377
  }
26119
26378
  };
@@ -26123,7 +26382,7 @@ var LabelNS = class {
26123
26382
  }
26124
26383
  queryLabels(params2, opts) {
26125
26384
  return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
26126
- throw toKnownErr20(e);
26385
+ throw toKnownErr21(e);
26127
26386
  });
26128
26387
  }
26129
26388
  };
@@ -26133,7 +26392,7 @@ var ModerationNS = class {
26133
26392
  }
26134
26393
  createReport(data, opts) {
26135
26394
  return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
26136
- throw toKnownErr21(e);
26395
+ throw toKnownErr22(e);
26137
26396
  });
26138
26397
  }
26139
26398
  };
@@ -26143,42 +26402,42 @@ var RepoNS = class {
26143
26402
  }
26144
26403
  applyWrites(data, opts) {
26145
26404
  return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
26146
- throw toKnownErr22(e);
26405
+ throw toKnownErr23(e);
26147
26406
  });
26148
26407
  }
26149
26408
  createRecord(data, opts) {
26150
26409
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
26151
- throw toKnownErr23(e);
26410
+ throw toKnownErr24(e);
26152
26411
  });
26153
26412
  }
26154
26413
  deleteRecord(data, opts) {
26155
26414
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
26156
- throw toKnownErr24(e);
26415
+ throw toKnownErr25(e);
26157
26416
  });
26158
26417
  }
26159
26418
  describeRepo(params2, opts) {
26160
26419
  return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
26161
- throw toKnownErr25(e);
26420
+ throw toKnownErr26(e);
26162
26421
  });
26163
26422
  }
26164
26423
  getRecord(params2, opts) {
26165
26424
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
26166
- throw toKnownErr26(e);
26425
+ throw toKnownErr27(e);
26167
26426
  });
26168
26427
  }
26169
26428
  listRecords(params2, opts) {
26170
26429
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
26171
- throw toKnownErr27(e);
26430
+ throw toKnownErr28(e);
26172
26431
  });
26173
26432
  }
26174
26433
  putRecord(data, opts) {
26175
26434
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
26176
- throw toKnownErr28(e);
26435
+ throw toKnownErr29(e);
26177
26436
  });
26178
26437
  }
26179
26438
  uploadBlob(data, opts) {
26180
26439
  return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
26181
- throw toKnownErr29(e);
26440
+ throw toKnownErr30(e);
26182
26441
  });
26183
26442
  }
26184
26443
  };
@@ -26188,107 +26447,107 @@ var ServerNS = class {
26188
26447
  }
26189
26448
  confirmEmail(data, opts) {
26190
26449
  return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
26191
- throw toKnownErr30(e);
26450
+ throw toKnownErr31(e);
26192
26451
  });
26193
26452
  }
26194
26453
  createAccount(data, opts) {
26195
26454
  return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
26196
- throw toKnownErr31(e);
26455
+ throw toKnownErr32(e);
26197
26456
  });
26198
26457
  }
26199
26458
  createAppPassword(data, opts) {
26200
26459
  return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
26201
- throw toKnownErr32(e);
26460
+ throw toKnownErr33(e);
26202
26461
  });
26203
26462
  }
26204
26463
  createInviteCode(data, opts) {
26205
26464
  return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
26206
- throw toKnownErr33(e);
26465
+ throw toKnownErr34(e);
26207
26466
  });
26208
26467
  }
26209
26468
  createInviteCodes(data, opts) {
26210
26469
  return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
26211
- throw toKnownErr34(e);
26470
+ throw toKnownErr35(e);
26212
26471
  });
26213
26472
  }
26214
26473
  createSession(data, opts) {
26215
26474
  return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
26216
- throw toKnownErr35(e);
26475
+ throw toKnownErr36(e);
26217
26476
  });
26218
26477
  }
26219
26478
  deleteAccount(data, opts) {
26220
26479
  return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
26221
- throw toKnownErr36(e);
26480
+ throw toKnownErr37(e);
26222
26481
  });
26223
26482
  }
26224
26483
  deleteSession(data, opts) {
26225
26484
  return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
26226
- throw toKnownErr37(e);
26485
+ throw toKnownErr38(e);
26227
26486
  });
26228
26487
  }
26229
26488
  describeServer(params2, opts) {
26230
26489
  return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
26231
- throw toKnownErr38(e);
26490
+ throw toKnownErr39(e);
26232
26491
  });
26233
26492
  }
26234
26493
  getAccountInviteCodes(params2, opts) {
26235
26494
  return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
26236
- throw toKnownErr39(e);
26495
+ throw toKnownErr40(e);
26237
26496
  });
26238
26497
  }
26239
26498
  getSession(params2, opts) {
26240
26499
  return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
26241
- throw toKnownErr40(e);
26500
+ throw toKnownErr41(e);
26242
26501
  });
26243
26502
  }
26244
26503
  listAppPasswords(params2, opts) {
26245
26504
  return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
26246
- throw toKnownErr41(e);
26505
+ throw toKnownErr42(e);
26247
26506
  });
26248
26507
  }
26249
26508
  refreshSession(data, opts) {
26250
26509
  return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
26251
- throw toKnownErr42(e);
26510
+ throw toKnownErr43(e);
26252
26511
  });
26253
26512
  }
26254
26513
  requestAccountDelete(data, opts) {
26255
26514
  return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
26256
- throw toKnownErr43(e);
26515
+ throw toKnownErr44(e);
26257
26516
  });
26258
26517
  }
26259
26518
  requestEmailConfirmation(data, opts) {
26260
26519
  return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
26261
- throw toKnownErr44(e);
26520
+ throw toKnownErr45(e);
26262
26521
  });
26263
26522
  }
26264
26523
  requestEmailUpdate(data, opts) {
26265
26524
  return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
26266
- throw toKnownErr45(e);
26525
+ throw toKnownErr46(e);
26267
26526
  });
26268
26527
  }
26269
26528
  requestPasswordReset(data, opts) {
26270
26529
  return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
26271
- throw toKnownErr46(e);
26530
+ throw toKnownErr47(e);
26272
26531
  });
26273
26532
  }
26274
26533
  reserveSigningKey(data, opts) {
26275
26534
  return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
26276
- throw toKnownErr47(e);
26535
+ throw toKnownErr48(e);
26277
26536
  });
26278
26537
  }
26279
26538
  resetPassword(data, opts) {
26280
26539
  return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
26281
- throw toKnownErr48(e);
26540
+ throw toKnownErr49(e);
26282
26541
  });
26283
26542
  }
26284
26543
  revokeAppPassword(data, opts) {
26285
26544
  return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
26286
- throw toKnownErr49(e);
26545
+ throw toKnownErr50(e);
26287
26546
  });
26288
26547
  }
26289
26548
  updateEmail(data, opts) {
26290
26549
  return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
26291
- throw toKnownErr50(e);
26550
+ throw toKnownErr51(e);
26292
26551
  });
26293
26552
  }
26294
26553
  };
@@ -26298,57 +26557,57 @@ var SyncNS = class {
26298
26557
  }
26299
26558
  getBlob(params2, opts) {
26300
26559
  return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
26301
- throw toKnownErr51(e);
26560
+ throw toKnownErr52(e);
26302
26561
  });
26303
26562
  }
26304
26563
  getBlocks(params2, opts) {
26305
26564
  return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
26306
- throw toKnownErr52(e);
26565
+ throw toKnownErr53(e);
26307
26566
  });
26308
26567
  }
26309
26568
  getCheckout(params2, opts) {
26310
26569
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
26311
- throw toKnownErr53(e);
26570
+ throw toKnownErr54(e);
26312
26571
  });
26313
26572
  }
26314
26573
  getHead(params2, opts) {
26315
26574
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
26316
- throw toKnownErr54(e);
26575
+ throw toKnownErr55(e);
26317
26576
  });
26318
26577
  }
26319
26578
  getLatestCommit(params2, opts) {
26320
26579
  return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
26321
- throw toKnownErr55(e);
26580
+ throw toKnownErr56(e);
26322
26581
  });
26323
26582
  }
26324
26583
  getRecord(params2, opts) {
26325
26584
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
26326
- throw toKnownErr56(e);
26585
+ throw toKnownErr57(e);
26327
26586
  });
26328
26587
  }
26329
26588
  getRepo(params2, opts) {
26330
26589
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
26331
- throw toKnownErr57(e);
26590
+ throw toKnownErr58(e);
26332
26591
  });
26333
26592
  }
26334
26593
  listBlobs(params2, opts) {
26335
26594
  return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
26336
- throw toKnownErr58(e);
26595
+ throw toKnownErr59(e);
26337
26596
  });
26338
26597
  }
26339
26598
  listRepos(params2, opts) {
26340
26599
  return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
26341
- throw toKnownErr59(e);
26600
+ throw toKnownErr60(e);
26342
26601
  });
26343
26602
  }
26344
26603
  notifyOfUpdate(data, opts) {
26345
26604
  return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
26346
- throw toKnownErr60(e);
26605
+ throw toKnownErr61(e);
26347
26606
  });
26348
26607
  }
26349
26608
  requestCrawl(data, opts) {
26350
26609
  return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
26351
- throw toKnownErr61(e);
26610
+ throw toKnownErr62(e);
26352
26611
  });
26353
26612
  }
26354
26613
  };
@@ -26358,7 +26617,22 @@ var TempNS = class {
26358
26617
  }
26359
26618
  fetchLabels(params2, opts) {
26360
26619
  return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
26361
- throw toKnownErr62(e);
26620
+ throw toKnownErr63(e);
26621
+ });
26622
+ }
26623
+ importRepo(data, opts) {
26624
+ return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
26625
+ throw toKnownErr64(e);
26626
+ });
26627
+ }
26628
+ pushBlob(data, opts) {
26629
+ return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
26630
+ throw toKnownErr65(e);
26631
+ });
26632
+ }
26633
+ transferAccount(data, opts) {
26634
+ return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
26635
+ throw toKnownErr66(e);
26362
26636
  });
26363
26637
  }
26364
26638
  };
@@ -26387,37 +26661,37 @@ var ActorNS = class {
26387
26661
  }
26388
26662
  getPreferences(params2, opts) {
26389
26663
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
26390
- throw toKnownErr63(e);
26664
+ throw toKnownErr67(e);
26391
26665
  });
26392
26666
  }
26393
26667
  getProfile(params2, opts) {
26394
26668
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
26395
- throw toKnownErr64(e);
26669
+ throw toKnownErr68(e);
26396
26670
  });
26397
26671
  }
26398
26672
  getProfiles(params2, opts) {
26399
26673
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
26400
- throw toKnownErr65(e);
26674
+ throw toKnownErr69(e);
26401
26675
  });
26402
26676
  }
26403
26677
  getSuggestions(params2, opts) {
26404
26678
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
26405
- throw toKnownErr66(e);
26679
+ throw toKnownErr70(e);
26406
26680
  });
26407
26681
  }
26408
26682
  putPreferences(data, opts) {
26409
26683
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
26410
- throw toKnownErr67(e);
26684
+ throw toKnownErr71(e);
26411
26685
  });
26412
26686
  }
26413
26687
  searchActors(params2, opts) {
26414
26688
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
26415
- throw toKnownErr68(e);
26689
+ throw toKnownErr72(e);
26416
26690
  });
26417
26691
  }
26418
26692
  searchActorsTypeahead(params2, opts) {
26419
26693
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
26420
- throw toKnownErr69(e);
26694
+ throw toKnownErr73(e);
26421
26695
  });
26422
26696
  }
26423
26697
  };
@@ -26464,82 +26738,82 @@ var FeedNS = class {
26464
26738
  }
26465
26739
  describeFeedGenerator(params2, opts) {
26466
26740
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
26467
- throw toKnownErr70(e);
26741
+ throw toKnownErr74(e);
26468
26742
  });
26469
26743
  }
26470
26744
  getActorFeeds(params2, opts) {
26471
26745
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
26472
- throw toKnownErr71(e);
26746
+ throw toKnownErr75(e);
26473
26747
  });
26474
26748
  }
26475
26749
  getActorLikes(params2, opts) {
26476
26750
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
26477
- throw toKnownErr72(e);
26751
+ throw toKnownErr76(e);
26478
26752
  });
26479
26753
  }
26480
26754
  getAuthorFeed(params2, opts) {
26481
26755
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
26482
- throw toKnownErr73(e);
26756
+ throw toKnownErr77(e);
26483
26757
  });
26484
26758
  }
26485
26759
  getFeed(params2, opts) {
26486
26760
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
26487
- throw toKnownErr74(e);
26761
+ throw toKnownErr78(e);
26488
26762
  });
26489
26763
  }
26490
26764
  getFeedGenerator(params2, opts) {
26491
26765
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
26492
- throw toKnownErr75(e);
26766
+ throw toKnownErr79(e);
26493
26767
  });
26494
26768
  }
26495
26769
  getFeedGenerators(params2, opts) {
26496
26770
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
26497
- throw toKnownErr76(e);
26771
+ throw toKnownErr80(e);
26498
26772
  });
26499
26773
  }
26500
26774
  getFeedSkeleton(params2, opts) {
26501
26775
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
26502
- throw toKnownErr77(e);
26776
+ throw toKnownErr81(e);
26503
26777
  });
26504
26778
  }
26505
26779
  getLikes(params2, opts) {
26506
26780
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
26507
- throw toKnownErr78(e);
26781
+ throw toKnownErr82(e);
26508
26782
  });
26509
26783
  }
26510
26784
  getListFeed(params2, opts) {
26511
26785
  return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
26512
- throw toKnownErr79(e);
26786
+ throw toKnownErr83(e);
26513
26787
  });
26514
26788
  }
26515
26789
  getPostThread(params2, opts) {
26516
26790
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
26517
- throw toKnownErr80(e);
26791
+ throw toKnownErr84(e);
26518
26792
  });
26519
26793
  }
26520
26794
  getPosts(params2, opts) {
26521
26795
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
26522
- throw toKnownErr81(e);
26796
+ throw toKnownErr85(e);
26523
26797
  });
26524
26798
  }
26525
26799
  getRepostedBy(params2, opts) {
26526
26800
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
26527
- throw toKnownErr82(e);
26801
+ throw toKnownErr86(e);
26528
26802
  });
26529
26803
  }
26530
26804
  getSuggestedFeeds(params2, opts) {
26531
26805
  return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
26532
- throw toKnownErr83(e);
26806
+ throw toKnownErr87(e);
26533
26807
  });
26534
26808
  }
26535
26809
  getTimeline(params2, opts) {
26536
26810
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
26537
- throw toKnownErr84(e);
26811
+ throw toKnownErr88(e);
26538
26812
  });
26539
26813
  }
26540
26814
  searchPosts(params2, opts) {
26541
26815
  return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
26542
- throw toKnownErr85(e);
26816
+ throw toKnownErr89(e);
26543
26817
  });
26544
26818
  }
26545
26819
  };
@@ -26689,67 +26963,67 @@ var GraphNS = class {
26689
26963
  }
26690
26964
  getBlocks(params2, opts) {
26691
26965
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
26692
- throw toKnownErr86(e);
26966
+ throw toKnownErr90(e);
26693
26967
  });
26694
26968
  }
26695
26969
  getFollowers(params2, opts) {
26696
26970
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
26697
- throw toKnownErr87(e);
26971
+ throw toKnownErr91(e);
26698
26972
  });
26699
26973
  }
26700
26974
  getFollows(params2, opts) {
26701
26975
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
26702
- throw toKnownErr88(e);
26976
+ throw toKnownErr92(e);
26703
26977
  });
26704
26978
  }
26705
26979
  getList(params2, opts) {
26706
26980
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
26707
- throw toKnownErr89(e);
26981
+ throw toKnownErr93(e);
26708
26982
  });
26709
26983
  }
26710
26984
  getListBlocks(params2, opts) {
26711
26985
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
26712
- throw toKnownErr90(e);
26986
+ throw toKnownErr94(e);
26713
26987
  });
26714
26988
  }
26715
26989
  getListMutes(params2, opts) {
26716
26990
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
26717
- throw toKnownErr91(e);
26991
+ throw toKnownErr95(e);
26718
26992
  });
26719
26993
  }
26720
26994
  getLists(params2, opts) {
26721
26995
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
26722
- throw toKnownErr92(e);
26996
+ throw toKnownErr96(e);
26723
26997
  });
26724
26998
  }
26725
26999
  getMutes(params2, opts) {
26726
27000
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
26727
- throw toKnownErr93(e);
27001
+ throw toKnownErr97(e);
26728
27002
  });
26729
27003
  }
26730
27004
  getSuggestedFollowsByActor(params2, opts) {
26731
27005
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
26732
- throw toKnownErr94(e);
27006
+ throw toKnownErr98(e);
26733
27007
  });
26734
27008
  }
26735
27009
  muteActor(data, opts) {
26736
27010
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
26737
- throw toKnownErr95(e);
27011
+ throw toKnownErr99(e);
26738
27012
  });
26739
27013
  }
26740
27014
  muteActorList(data, opts) {
26741
27015
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
26742
- throw toKnownErr96(e);
27016
+ throw toKnownErr100(e);
26743
27017
  });
26744
27018
  }
26745
27019
  unmuteActor(data, opts) {
26746
27020
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
26747
- throw toKnownErr97(e);
27021
+ throw toKnownErr101(e);
26748
27022
  });
26749
27023
  }
26750
27024
  unmuteActorList(data, opts) {
26751
27025
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
26752
- throw toKnownErr98(e);
27026
+ throw toKnownErr102(e);
26753
27027
  });
26754
27028
  }
26755
27029
  };
@@ -26894,22 +27168,22 @@ var NotificationNS = class {
26894
27168
  }
26895
27169
  getUnreadCount(params2, opts) {
26896
27170
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
26897
- throw toKnownErr99(e);
27171
+ throw toKnownErr103(e);
26898
27172
  });
26899
27173
  }
26900
27174
  listNotifications(params2, opts) {
26901
27175
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
26902
- throw toKnownErr100(e);
27176
+ throw toKnownErr104(e);
26903
27177
  });
26904
27178
  }
26905
27179
  registerPush(data, opts) {
26906
27180
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
26907
- throw toKnownErr101(e);
27181
+ throw toKnownErr105(e);
26908
27182
  });
26909
27183
  }
26910
27184
  updateSeen(data, opts) {
26911
27185
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
26912
- throw toKnownErr102(e);
27186
+ throw toKnownErr106(e);
26913
27187
  });
26914
27188
  }
26915
27189
  };
@@ -26924,27 +27198,27 @@ var UnspeccedNS = class {
26924
27198
  }
26925
27199
  getPopular(params2, opts) {
26926
27200
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
26927
- throw toKnownErr103(e);
27201
+ throw toKnownErr107(e);
26928
27202
  });
26929
27203
  }
26930
27204
  getPopularFeedGenerators(params2, opts) {
26931
27205
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
26932
- throw toKnownErr104(e);
27206
+ throw toKnownErr108(e);
26933
27207
  });
26934
27208
  }
26935
27209
  getTimelineSkeleton(params2, opts) {
26936
27210
  return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
26937
- throw toKnownErr105(e);
27211
+ throw toKnownErr109(e);
26938
27212
  });
26939
27213
  }
26940
27214
  searchActorsSkeleton(params2, opts) {
26941
27215
  return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
26942
- throw toKnownErr106(e);
27216
+ throw toKnownErr110(e);
26943
27217
  });
26944
27218
  }
26945
27219
  searchPostsSkeleton(params2, opts) {
26946
27220
  return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
26947
- throw toKnownErr107(e);
27221
+ throw toKnownErr111(e);
26948
27222
  });
26949
27223
  }
26950
27224
  };
@@ -29084,6 +29358,34 @@ var LABELS = {
29084
29358
  }
29085
29359
  }
29086
29360
  },
29361
+ "!no-unauthenticated": {
29362
+ id: "!no-unauthenticated",
29363
+ preferences: ["hide"],
29364
+ flags: ["no-override", "unauthed"],
29365
+ onwarn: "blur",
29366
+ groupId: "system",
29367
+ configurable: false,
29368
+ strings: {
29369
+ settings: {
29370
+ en: {
29371
+ name: "Requested Hidden to Logged-out Users",
29372
+ description: "This user has requested that their content only be shown to logged-in accounts."
29373
+ }
29374
+ },
29375
+ account: {
29376
+ en: {
29377
+ name: "Sign-in Required",
29378
+ description: "This user has requested that their content only be shown to logged-in accounts."
29379
+ }
29380
+ },
29381
+ content: {
29382
+ en: {
29383
+ name: "Sign-in Required",
29384
+ description: "This user has requested that their content only be shown to logged-in accounts."
29385
+ }
29386
+ }
29387
+ }
29388
+ },
29087
29389
  "dmca-violation": {
29088
29390
  id: "dmca-violation",
29089
29391
  preferences: ["hide"],
@@ -29823,6 +30125,9 @@ var ModerationCauseAccumulator = class {
29823
30125
  if (labelPref === "ignore") {
29824
30126
  return;
29825
30127
  }
30128
+ if (labelDef.flags.includes("unauthed") && !!opts.userDid) {
30129
+ return;
30130
+ }
29826
30131
  let priority;
29827
30132
  if (labelDef.flags.includes("no-override")) {
29828
30133
  priority = 1;
@@ -30251,7 +30556,12 @@ var LABEL_GROUPS = {
30251
30556
  system: {
30252
30557
  id: "system",
30253
30558
  configurable: false,
30254
- labels: [LABELS["!hide"], LABELS["!no-promote"], LABELS["!warn"]],
30559
+ labels: [
30560
+ LABELS["!hide"],
30561
+ LABELS["!no-promote"],
30562
+ LABELS["!warn"],
30563
+ LABELS["!no-unauthenticated"]
30564
+ ],
30255
30565
  strings: {
30256
30566
  settings: {
30257
30567
  en: {