@atproto/pds 0.4.0-beta.3 → 0.4.0-beta.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -214676,6 +214676,32 @@ var schemaDict = {
214676
214676
  }
214677
214677
  }
214678
214678
  },
214679
+ ComAtprotoAdminUpdateAccountPassword: {
214680
+ lexicon: 1,
214681
+ id: "com.atproto.admin.updateAccountPassword",
214682
+ defs: {
214683
+ main: {
214684
+ type: "procedure",
214685
+ description: "Update the password for a user account as an administrator.",
214686
+ input: {
214687
+ encoding: "application/json",
214688
+ schema: {
214689
+ type: "object",
214690
+ required: ["did", "password"],
214691
+ properties: {
214692
+ did: {
214693
+ type: "string",
214694
+ format: "did"
214695
+ },
214696
+ password: {
214697
+ type: "string"
214698
+ }
214699
+ }
214700
+ }
214701
+ }
214702
+ }
214703
+ }
214704
+ },
214679
214705
  ComAtprotoAdminUpdateCommunicationTemplate: {
214680
214706
  lexicon: 1,
214681
214707
  id: "com.atproto.admin.updateCommunicationTemplate",
@@ -221451,6 +221477,7 @@ var ids = {
221451
221477
  ComAtprotoAdminSendEmail: "com.atproto.admin.sendEmail",
221452
221478
  ComAtprotoAdminUpdateAccountEmail: "com.atproto.admin.updateAccountEmail",
221453
221479
  ComAtprotoAdminUpdateAccountHandle: "com.atproto.admin.updateAccountHandle",
221480
+ ComAtprotoAdminUpdateAccountPassword: "com.atproto.admin.updateAccountPassword",
221454
221481
  ComAtprotoAdminUpdateCommunicationTemplate: "com.atproto.admin.updateCommunicationTemplate",
221455
221482
  ComAtprotoAdminUpdateSubjectStatus: "com.atproto.admin.updateSubjectStatus",
221456
221483
  ComAtprotoIdentityGetRecommendedDidCredentials: "com.atproto.identity.getRecommendedDidCredentials",
@@ -232464,6 +232491,24 @@ function updateAccountEmail_default(server, ctx) {
232464
232491
  });
232465
232492
  }
232466
232493
 
232494
+ // src/api/com/atproto/admin/updateAccountPassword.ts
232495
+ function updateAccountPassword_default(server, ctx) {
232496
+ server.com.atproto.admin.updateAccountPassword({
232497
+ auth: ctx.authVerifier.role,
232498
+ handler: async ({ input, auth, req }) => {
232499
+ if (!auth.credentials.admin) {
232500
+ throw new AuthRequiredError("Must be an admin to update an account password");
232501
+ }
232502
+ if (ctx.entrywayAgent) {
232503
+ await ctx.entrywayAgent.com.atproto.admin.updateAccountPassword(input.body, authPassthru(req, true));
232504
+ return;
232505
+ }
232506
+ const { did: did2, password } = input.body;
232507
+ await ctx.accountManager.updateAccountPassword({ did: did2, password });
232508
+ }
232509
+ });
232510
+ }
232511
+
232467
232512
  // src/api/com/atproto/admin/sendEmail.ts
232468
232513
  function sendEmail_default(server, ctx) {
232469
232514
  server.com.atproto.admin.sendEmail({
@@ -232631,6 +232676,7 @@ function admin_default(server, ctx) {
232631
232676
  getInviteCodes_default(server, ctx);
232632
232677
  updateAccountHandle_default(server, ctx);
232633
232678
  updateAccountEmail_default(server, ctx);
232679
+ updateAccountPassword_default(server, ctx);
232634
232680
  sendEmail_default(server, ctx);
232635
232681
  deleteAccount_default(server, ctx);
232636
232682
  listCommunicationTemplates_default(server, ctx);
@@ -241112,6 +241158,32 @@ var schemaDict2 = {
241112
241158
  }
241113
241159
  }
241114
241160
  },
241161
+ ComAtprotoAdminUpdateAccountPassword: {
241162
+ lexicon: 1,
241163
+ id: "com.atproto.admin.updateAccountPassword",
241164
+ defs: {
241165
+ main: {
241166
+ type: "procedure",
241167
+ description: "Update the password for a user account as an administrator.",
241168
+ input: {
241169
+ encoding: "application/json",
241170
+ schema: {
241171
+ type: "object",
241172
+ required: ["did", "password"],
241173
+ properties: {
241174
+ did: {
241175
+ type: "string",
241176
+ format: "did"
241177
+ },
241178
+ password: {
241179
+ type: "string"
241180
+ }
241181
+ }
241182
+ }
241183
+ }
241184
+ }
241185
+ }
241186
+ },
241115
241187
  ComAtprotoAdminUpdateCommunicationTemplate: {
241116
241188
  lexicon: 1,
241117
241189
  id: "com.atproto.admin.updateCommunicationTemplate",
@@ -248033,83 +248105,90 @@ function toKnownErr21(e) {
248033
248105
  return e;
248034
248106
  }
248035
248107
 
248036
- // ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
248108
+ // ../api/src/client/types/com/atproto/admin/updateAccountPassword.ts
248037
248109
  function toKnownErr22(e) {
248038
248110
  if (e instanceof XRPCError) {
248039
248111
  }
248040
248112
  return e;
248041
248113
  }
248042
248114
 
248043
- // ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
248115
+ // ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
248044
248116
  function toKnownErr23(e) {
248045
248117
  if (e instanceof XRPCError) {
248046
248118
  }
248047
248119
  return e;
248048
248120
  }
248049
248121
 
248050
- // ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
248122
+ // ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
248051
248123
  function toKnownErr24(e) {
248052
248124
  if (e instanceof XRPCError) {
248053
248125
  }
248054
248126
  return e;
248055
248127
  }
248056
248128
 
248057
- // ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
248129
+ // ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
248058
248130
  function toKnownErr25(e) {
248059
248131
  if (e instanceof XRPCError) {
248060
248132
  }
248061
248133
  return e;
248062
248134
  }
248063
248135
 
248064
- // ../api/src/client/types/com/atproto/identity/resolveHandle.ts
248136
+ // ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
248065
248137
  function toKnownErr26(e) {
248066
248138
  if (e instanceof XRPCError) {
248067
248139
  }
248068
248140
  return e;
248069
248141
  }
248070
248142
 
248071
- // ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
248143
+ // ../api/src/client/types/com/atproto/identity/resolveHandle.ts
248072
248144
  function toKnownErr27(e) {
248073
248145
  if (e instanceof XRPCError) {
248074
248146
  }
248075
248147
  return e;
248076
248148
  }
248077
248149
 
248078
- // ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
248150
+ // ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
248079
248151
  function toKnownErr28(e) {
248080
248152
  if (e instanceof XRPCError) {
248081
248153
  }
248082
248154
  return e;
248083
248155
  }
248084
248156
 
248085
- // ../api/src/client/types/com/atproto/identity/updateHandle.ts
248157
+ // ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
248086
248158
  function toKnownErr29(e) {
248087
248159
  if (e instanceof XRPCError) {
248088
248160
  }
248089
248161
  return e;
248090
248162
  }
248091
248163
 
248092
- // ../api/src/client/types/com/atproto/label/queryLabels.ts
248164
+ // ../api/src/client/types/com/atproto/identity/updateHandle.ts
248093
248165
  function toKnownErr30(e) {
248094
248166
  if (e instanceof XRPCError) {
248095
248167
  }
248096
248168
  return e;
248097
248169
  }
248098
248170
 
248099
- // ../api/src/client/types/com/atproto/moderation/createReport.ts
248171
+ // ../api/src/client/types/com/atproto/label/queryLabels.ts
248100
248172
  function toKnownErr31(e) {
248101
248173
  if (e instanceof XRPCError) {
248102
248174
  }
248103
248175
  return e;
248104
248176
  }
248105
248177
 
248178
+ // ../api/src/client/types/com/atproto/moderation/createReport.ts
248179
+ function toKnownErr32(e) {
248180
+ if (e instanceof XRPCError) {
248181
+ }
248182
+ return e;
248183
+ }
248184
+
248106
248185
  // ../api/src/client/types/com/atproto/repo/applyWrites.ts
248107
248186
  var InvalidSwapError = class extends XRPCError {
248108
248187
  constructor(src3) {
248109
248188
  super(src3.status, src3.error, src3.message, src3.headers);
248110
248189
  }
248111
248190
  };
248112
- function toKnownErr32(e) {
248191
+ function toKnownErr33(e) {
248113
248192
  if (e instanceof XRPCError) {
248114
248193
  if (e.error === "InvalidSwap")
248115
248194
  return new InvalidSwapError(e);
@@ -248123,7 +248202,7 @@ var InvalidSwapError2 = class extends XRPCError {
248123
248202
  super(src3.status, src3.error, src3.message, src3.headers);
248124
248203
  }
248125
248204
  };
248126
- function toKnownErr33(e) {
248205
+ function toKnownErr34(e) {
248127
248206
  if (e instanceof XRPCError) {
248128
248207
  if (e.error === "InvalidSwap")
248129
248208
  return new InvalidSwapError2(e);
@@ -248137,7 +248216,7 @@ var InvalidSwapError3 = class extends XRPCError {
248137
248216
  super(src3.status, src3.error, src3.message, src3.headers);
248138
248217
  }
248139
248218
  };
248140
- function toKnownErr34(e) {
248219
+ function toKnownErr35(e) {
248141
248220
  if (e instanceof XRPCError) {
248142
248221
  if (e.error === "InvalidSwap")
248143
248222
  return new InvalidSwapError3(e);
@@ -248146,35 +248225,35 @@ function toKnownErr34(e) {
248146
248225
  }
248147
248226
 
248148
248227
  // ../api/src/client/types/com/atproto/repo/describeRepo.ts
248149
- function toKnownErr35(e) {
248228
+ function toKnownErr36(e) {
248150
248229
  if (e instanceof XRPCError) {
248151
248230
  }
248152
248231
  return e;
248153
248232
  }
248154
248233
 
248155
248234
  // ../api/src/client/types/com/atproto/repo/getRecord.ts
248156
- function toKnownErr36(e) {
248235
+ function toKnownErr37(e) {
248157
248236
  if (e instanceof XRPCError) {
248158
248237
  }
248159
248238
  return e;
248160
248239
  }
248161
248240
 
248162
248241
  // ../api/src/client/types/com/atproto/repo/importRepo.ts
248163
- function toKnownErr37(e) {
248242
+ function toKnownErr38(e) {
248164
248243
  if (e instanceof XRPCError) {
248165
248244
  }
248166
248245
  return e;
248167
248246
  }
248168
248247
 
248169
248248
  // ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
248170
- function toKnownErr38(e) {
248249
+ function toKnownErr39(e) {
248171
248250
  if (e instanceof XRPCError) {
248172
248251
  }
248173
248252
  return e;
248174
248253
  }
248175
248254
 
248176
248255
  // ../api/src/client/types/com/atproto/repo/listRecords.ts
248177
- function toKnownErr39(e) {
248256
+ function toKnownErr40(e) {
248178
248257
  if (e instanceof XRPCError) {
248179
248258
  }
248180
248259
  return e;
@@ -248186,7 +248265,7 @@ var InvalidSwapError4 = class extends XRPCError {
248186
248265
  super(src3.status, src3.error, src3.message, src3.headers);
248187
248266
  }
248188
248267
  };
248189
- function toKnownErr40(e) {
248268
+ function toKnownErr41(e) {
248190
248269
  if (e instanceof XRPCError) {
248191
248270
  if (e.error === "InvalidSwap")
248192
248271
  return new InvalidSwapError4(e);
@@ -248195,21 +248274,21 @@ function toKnownErr40(e) {
248195
248274
  }
248196
248275
 
248197
248276
  // ../api/src/client/types/com/atproto/repo/uploadBlob.ts
248198
- function toKnownErr41(e) {
248277
+ function toKnownErr42(e) {
248199
248278
  if (e instanceof XRPCError) {
248200
248279
  }
248201
248280
  return e;
248202
248281
  }
248203
248282
 
248204
248283
  // ../api/src/client/types/com/atproto/server/activateAccount.ts
248205
- function toKnownErr42(e) {
248284
+ function toKnownErr43(e) {
248206
248285
  if (e instanceof XRPCError) {
248207
248286
  }
248208
248287
  return e;
248209
248288
  }
248210
248289
 
248211
248290
  // ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
248212
- function toKnownErr43(e) {
248291
+ function toKnownErr44(e) {
248213
248292
  if (e instanceof XRPCError) {
248214
248293
  }
248215
248294
  return e;
@@ -248236,7 +248315,7 @@ var InvalidEmailError = class extends XRPCError {
248236
248315
  super(src3.status, src3.error, src3.message, src3.headers);
248237
248316
  }
248238
248317
  };
248239
- function toKnownErr44(e) {
248318
+ function toKnownErr45(e) {
248240
248319
  if (e instanceof XRPCError) {
248241
248320
  if (e.error === "AccountNotFound")
248242
248321
  return new AccountNotFoundError(e);
@@ -248286,7 +248365,7 @@ var IncompatibleDidDocError = class extends XRPCError {
248286
248365
  super(src3.status, src3.error, src3.message, src3.headers);
248287
248366
  }
248288
248367
  };
248289
- function toKnownErr45(e) {
248368
+ function toKnownErr46(e) {
248290
248369
  if (e instanceof XRPCError) {
248291
248370
  if (e.error === "InvalidHandle")
248292
248371
  return new InvalidHandleError2(e);
@@ -248312,7 +248391,7 @@ var AccountTakedownError = class extends XRPCError {
248312
248391
  super(src3.status, src3.error, src3.message, src3.headers);
248313
248392
  }
248314
248393
  };
248315
- function toKnownErr46(e) {
248394
+ function toKnownErr47(e) {
248316
248395
  if (e instanceof XRPCError) {
248317
248396
  if (e.error === "AccountTakedown")
248318
248397
  return new AccountTakedownError(e);
@@ -248321,14 +248400,14 @@ function toKnownErr46(e) {
248321
248400
  }
248322
248401
 
248323
248402
  // ../api/src/client/types/com/atproto/server/createInviteCode.ts
248324
- function toKnownErr47(e) {
248403
+ function toKnownErr48(e) {
248325
248404
  if (e instanceof XRPCError) {
248326
248405
  }
248327
248406
  return e;
248328
248407
  }
248329
248408
 
248330
248409
  // ../api/src/client/types/com/atproto/server/createInviteCodes.ts
248331
- function toKnownErr48(e) {
248410
+ function toKnownErr49(e) {
248332
248411
  if (e instanceof XRPCError) {
248333
248412
  }
248334
248413
  return e;
@@ -248340,7 +248419,7 @@ var AccountTakedownError2 = class extends XRPCError {
248340
248419
  super(src3.status, src3.error, src3.message, src3.headers);
248341
248420
  }
248342
248421
  };
248343
- function toKnownErr49(e) {
248422
+ function toKnownErr50(e) {
248344
248423
  if (e instanceof XRPCError) {
248345
248424
  if (e.error === "AccountTakedown")
248346
248425
  return new AccountTakedownError2(e);
@@ -248349,7 +248428,7 @@ function toKnownErr49(e) {
248349
248428
  }
248350
248429
 
248351
248430
  // ../api/src/client/types/com/atproto/server/deactivateAccount.ts
248352
- function toKnownErr50(e) {
248431
+ function toKnownErr51(e) {
248353
248432
  if (e instanceof XRPCError) {
248354
248433
  }
248355
248434
  return e;
@@ -248366,7 +248445,7 @@ var InvalidTokenError2 = class extends XRPCError {
248366
248445
  super(src3.status, src3.error, src3.message, src3.headers);
248367
248446
  }
248368
248447
  };
248369
- function toKnownErr51(e) {
248448
+ function toKnownErr52(e) {
248370
248449
  if (e instanceof XRPCError) {
248371
248450
  if (e.error === "ExpiredToken")
248372
248451
  return new ExpiredTokenError2(e);
@@ -248377,14 +248456,14 @@ function toKnownErr51(e) {
248377
248456
  }
248378
248457
 
248379
248458
  // ../api/src/client/types/com/atproto/server/deleteSession.ts
248380
- function toKnownErr52(e) {
248459
+ function toKnownErr53(e) {
248381
248460
  if (e instanceof XRPCError) {
248382
248461
  }
248383
248462
  return e;
248384
248463
  }
248385
248464
 
248386
248465
  // ../api/src/client/types/com/atproto/server/describeServer.ts
248387
- function toKnownErr53(e) {
248466
+ function toKnownErr54(e) {
248388
248467
  if (e instanceof XRPCError) {
248389
248468
  }
248390
248469
  return e;
@@ -248396,7 +248475,7 @@ var DuplicateCreateError = class extends XRPCError {
248396
248475
  super(src3.status, src3.error, src3.message, src3.headers);
248397
248476
  }
248398
248477
  };
248399
- function toKnownErr54(e) {
248478
+ function toKnownErr55(e) {
248400
248479
  if (e instanceof XRPCError) {
248401
248480
  if (e.error === "DuplicateCreate")
248402
248481
  return new DuplicateCreateError(e);
@@ -248405,14 +248484,14 @@ function toKnownErr54(e) {
248405
248484
  }
248406
248485
 
248407
248486
  // ../api/src/client/types/com/atproto/server/getServiceAuth.ts
248408
- function toKnownErr55(e) {
248487
+ function toKnownErr56(e) {
248409
248488
  if (e instanceof XRPCError) {
248410
248489
  }
248411
248490
  return e;
248412
248491
  }
248413
248492
 
248414
248493
  // ../api/src/client/types/com/atproto/server/getSession.ts
248415
- function toKnownErr56(e) {
248494
+ function toKnownErr57(e) {
248416
248495
  if (e instanceof XRPCError) {
248417
248496
  }
248418
248497
  return e;
@@ -248424,7 +248503,7 @@ var AccountTakedownError3 = class extends XRPCError {
248424
248503
  super(src3.status, src3.error, src3.message, src3.headers);
248425
248504
  }
248426
248505
  };
248427
- function toKnownErr57(e) {
248506
+ function toKnownErr58(e) {
248428
248507
  if (e instanceof XRPCError) {
248429
248508
  if (e.error === "AccountTakedown")
248430
248509
  return new AccountTakedownError3(e);
@@ -248438,7 +248517,7 @@ var AccountTakedownError4 = class extends XRPCError {
248438
248517
  super(src3.status, src3.error, src3.message, src3.headers);
248439
248518
  }
248440
248519
  };
248441
- function toKnownErr58(e) {
248520
+ function toKnownErr59(e) {
248442
248521
  if (e instanceof XRPCError) {
248443
248522
  if (e.error === "AccountTakedown")
248444
248523
  return new AccountTakedownError4(e);
@@ -248447,35 +248526,35 @@ function toKnownErr58(e) {
248447
248526
  }
248448
248527
 
248449
248528
  // ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
248450
- function toKnownErr59(e) {
248529
+ function toKnownErr60(e) {
248451
248530
  if (e instanceof XRPCError) {
248452
248531
  }
248453
248532
  return e;
248454
248533
  }
248455
248534
 
248456
248535
  // ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
248457
- function toKnownErr60(e) {
248536
+ function toKnownErr61(e) {
248458
248537
  if (e instanceof XRPCError) {
248459
248538
  }
248460
248539
  return e;
248461
248540
  }
248462
248541
 
248463
248542
  // ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
248464
- function toKnownErr61(e) {
248543
+ function toKnownErr62(e) {
248465
248544
  if (e instanceof XRPCError) {
248466
248545
  }
248467
248546
  return e;
248468
248547
  }
248469
248548
 
248470
248549
  // ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
248471
- function toKnownErr62(e) {
248550
+ function toKnownErr63(e) {
248472
248551
  if (e instanceof XRPCError) {
248473
248552
  }
248474
248553
  return e;
248475
248554
  }
248476
248555
 
248477
248556
  // ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
248478
- function toKnownErr63(e) {
248557
+ function toKnownErr64(e) {
248479
248558
  if (e instanceof XRPCError) {
248480
248559
  }
248481
248560
  return e;
@@ -248492,7 +248571,7 @@ var InvalidTokenError3 = class extends XRPCError {
248492
248571
  super(src3.status, src3.error, src3.message, src3.headers);
248493
248572
  }
248494
248573
  };
248495
- function toKnownErr64(e) {
248574
+ function toKnownErr65(e) {
248496
248575
  if (e instanceof XRPCError) {
248497
248576
  if (e.error === "ExpiredToken")
248498
248577
  return new ExpiredTokenError3(e);
@@ -248503,7 +248582,7 @@ function toKnownErr64(e) {
248503
248582
  }
248504
248583
 
248505
248584
  // ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
248506
- function toKnownErr65(e) {
248585
+ function toKnownErr66(e) {
248507
248586
  if (e instanceof XRPCError) {
248508
248587
  }
248509
248588
  return e;
@@ -248525,7 +248604,7 @@ var TokenRequiredError = class extends XRPCError {
248525
248604
  super(src3.status, src3.error, src3.message, src3.headers);
248526
248605
  }
248527
248606
  };
248528
- function toKnownErr66(e) {
248607
+ function toKnownErr67(e) {
248529
248608
  if (e instanceof XRPCError) {
248530
248609
  if (e.error === "ExpiredToken")
248531
248610
  return new ExpiredTokenError4(e);
@@ -248538,21 +248617,21 @@ function toKnownErr66(e) {
248538
248617
  }
248539
248618
 
248540
248619
  // ../api/src/client/types/com/atproto/sync/getBlob.ts
248541
- function toKnownErr67(e) {
248620
+ function toKnownErr68(e) {
248542
248621
  if (e instanceof XRPCError) {
248543
248622
  }
248544
248623
  return e;
248545
248624
  }
248546
248625
 
248547
248626
  // ../api/src/client/types/com/atproto/sync/getBlocks.ts
248548
- function toKnownErr68(e) {
248627
+ function toKnownErr69(e) {
248549
248628
  if (e instanceof XRPCError) {
248550
248629
  }
248551
248630
  return e;
248552
248631
  }
248553
248632
 
248554
248633
  // ../api/src/client/types/com/atproto/sync/getCheckout.ts
248555
- function toKnownErr69(e) {
248634
+ function toKnownErr70(e) {
248556
248635
  if (e instanceof XRPCError) {
248557
248636
  }
248558
248637
  return e;
@@ -248564,7 +248643,7 @@ var HeadNotFoundError = class extends XRPCError {
248564
248643
  super(src3.status, src3.error, src3.message, src3.headers);
248565
248644
  }
248566
248645
  };
248567
- function toKnownErr70(e) {
248646
+ function toKnownErr71(e) {
248568
248647
  if (e instanceof XRPCError) {
248569
248648
  if (e.error === "HeadNotFound")
248570
248649
  return new HeadNotFoundError(e);
@@ -248578,7 +248657,7 @@ var RepoNotFoundError2 = class extends XRPCError {
248578
248657
  super(src3.status, src3.error, src3.message, src3.headers);
248579
248658
  }
248580
248659
  };
248581
- function toKnownErr71(e) {
248660
+ function toKnownErr72(e) {
248582
248661
  if (e instanceof XRPCError) {
248583
248662
  if (e.error === "RepoNotFound")
248584
248663
  return new RepoNotFoundError2(e);
@@ -248587,126 +248666,126 @@ function toKnownErr71(e) {
248587
248666
  }
248588
248667
 
248589
248668
  // ../api/src/client/types/com/atproto/sync/getRecord.ts
248590
- function toKnownErr72(e) {
248669
+ function toKnownErr73(e) {
248591
248670
  if (e instanceof XRPCError) {
248592
248671
  }
248593
248672
  return e;
248594
248673
  }
248595
248674
 
248596
248675
  // ../api/src/client/types/com/atproto/sync/getRepo.ts
248597
- function toKnownErr73(e) {
248676
+ function toKnownErr74(e) {
248598
248677
  if (e instanceof XRPCError) {
248599
248678
  }
248600
248679
  return e;
248601
248680
  }
248602
248681
 
248603
248682
  // ../api/src/client/types/com/atproto/sync/listBlobs.ts
248604
- function toKnownErr74(e) {
248683
+ function toKnownErr75(e) {
248605
248684
  if (e instanceof XRPCError) {
248606
248685
  }
248607
248686
  return e;
248608
248687
  }
248609
248688
 
248610
248689
  // ../api/src/client/types/com/atproto/sync/listRepos.ts
248611
- function toKnownErr75(e) {
248690
+ function toKnownErr76(e) {
248612
248691
  if (e instanceof XRPCError) {
248613
248692
  }
248614
248693
  return e;
248615
248694
  }
248616
248695
 
248617
248696
  // ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
248618
- function toKnownErr76(e) {
248697
+ function toKnownErr77(e) {
248619
248698
  if (e instanceof XRPCError) {
248620
248699
  }
248621
248700
  return e;
248622
248701
  }
248623
248702
 
248624
248703
  // ../api/src/client/types/com/atproto/sync/requestCrawl.ts
248625
- function toKnownErr77(e) {
248704
+ function toKnownErr78(e) {
248626
248705
  if (e instanceof XRPCError) {
248627
248706
  }
248628
248707
  return e;
248629
248708
  }
248630
248709
 
248631
248710
  // ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
248632
- function toKnownErr78(e) {
248711
+ function toKnownErr79(e) {
248633
248712
  if (e instanceof XRPCError) {
248634
248713
  }
248635
248714
  return e;
248636
248715
  }
248637
248716
 
248638
248717
  // ../api/src/client/types/com/atproto/temp/fetchLabels.ts
248639
- function toKnownErr79(e) {
248718
+ function toKnownErr80(e) {
248640
248719
  if (e instanceof XRPCError) {
248641
248720
  }
248642
248721
  return e;
248643
248722
  }
248644
248723
 
248645
248724
  // ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
248646
- function toKnownErr80(e) {
248725
+ function toKnownErr81(e) {
248647
248726
  if (e instanceof XRPCError) {
248648
248727
  }
248649
248728
  return e;
248650
248729
  }
248651
248730
 
248652
248731
  // ../api/src/client/types/app/bsky/actor/getPreferences.ts
248653
- function toKnownErr81(e) {
248732
+ function toKnownErr82(e) {
248654
248733
  if (e instanceof XRPCError) {
248655
248734
  }
248656
248735
  return e;
248657
248736
  }
248658
248737
 
248659
248738
  // ../api/src/client/types/app/bsky/actor/getProfile.ts
248660
- function toKnownErr82(e) {
248739
+ function toKnownErr83(e) {
248661
248740
  if (e instanceof XRPCError) {
248662
248741
  }
248663
248742
  return e;
248664
248743
  }
248665
248744
 
248666
248745
  // ../api/src/client/types/app/bsky/actor/getProfiles.ts
248667
- function toKnownErr83(e) {
248746
+ function toKnownErr84(e) {
248668
248747
  if (e instanceof XRPCError) {
248669
248748
  }
248670
248749
  return e;
248671
248750
  }
248672
248751
 
248673
248752
  // ../api/src/client/types/app/bsky/actor/getSuggestions.ts
248674
- function toKnownErr84(e) {
248753
+ function toKnownErr85(e) {
248675
248754
  if (e instanceof XRPCError) {
248676
248755
  }
248677
248756
  return e;
248678
248757
  }
248679
248758
 
248680
248759
  // ../api/src/client/types/app/bsky/actor/putPreferences.ts
248681
- function toKnownErr85(e) {
248760
+ function toKnownErr86(e) {
248682
248761
  if (e instanceof XRPCError) {
248683
248762
  }
248684
248763
  return e;
248685
248764
  }
248686
248765
 
248687
248766
  // ../api/src/client/types/app/bsky/actor/searchActors.ts
248688
- function toKnownErr86(e) {
248767
+ function toKnownErr87(e) {
248689
248768
  if (e instanceof XRPCError) {
248690
248769
  }
248691
248770
  return e;
248692
248771
  }
248693
248772
 
248694
248773
  // ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
248695
- function toKnownErr87(e) {
248774
+ function toKnownErr88(e) {
248696
248775
  if (e instanceof XRPCError) {
248697
248776
  }
248698
248777
  return e;
248699
248778
  }
248700
248779
 
248701
248780
  // ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
248702
- function toKnownErr88(e) {
248781
+ function toKnownErr89(e) {
248703
248782
  if (e instanceof XRPCError) {
248704
248783
  }
248705
248784
  return e;
248706
248785
  }
248707
248786
 
248708
248787
  // ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
248709
- function toKnownErr89(e) {
248788
+ function toKnownErr90(e) {
248710
248789
  if (e instanceof XRPCError) {
248711
248790
  }
248712
248791
  return e;
@@ -248723,7 +248802,7 @@ var BlockedByActorError = class extends XRPCError {
248723
248802
  super(src3.status, src3.error, src3.message, src3.headers);
248724
248803
  }
248725
248804
  };
248726
- function toKnownErr90(e) {
248805
+ function toKnownErr91(e) {
248727
248806
  if (e instanceof XRPCError) {
248728
248807
  if (e.error === "BlockedActor")
248729
248808
  return new BlockedActorError(e);
@@ -248744,7 +248823,7 @@ var BlockedByActorError2 = class extends XRPCError {
248744
248823
  super(src3.status, src3.error, src3.message, src3.headers);
248745
248824
  }
248746
248825
  };
248747
- function toKnownErr91(e) {
248826
+ function toKnownErr92(e) {
248748
248827
  if (e instanceof XRPCError) {
248749
248828
  if (e.error === "BlockedActor")
248750
248829
  return new BlockedActorError2(e);
@@ -248760,7 +248839,7 @@ var UnknownFeedError = class extends XRPCError {
248760
248839
  super(src3.status, src3.error, src3.message, src3.headers);
248761
248840
  }
248762
248841
  };
248763
- function toKnownErr92(e) {
248842
+ function toKnownErr93(e) {
248764
248843
  if (e instanceof XRPCError) {
248765
248844
  if (e.error === "UnknownFeed")
248766
248845
  return new UnknownFeedError(e);
@@ -248769,14 +248848,14 @@ function toKnownErr92(e) {
248769
248848
  }
248770
248849
 
248771
248850
  // ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
248772
- function toKnownErr93(e) {
248851
+ function toKnownErr94(e) {
248773
248852
  if (e instanceof XRPCError) {
248774
248853
  }
248775
248854
  return e;
248776
248855
  }
248777
248856
 
248778
248857
  // ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
248779
- function toKnownErr94(e) {
248858
+ function toKnownErr95(e) {
248780
248859
  if (e instanceof XRPCError) {
248781
248860
  }
248782
248861
  return e;
@@ -248788,7 +248867,7 @@ var UnknownFeedError2 = class extends XRPCError {
248788
248867
  super(src3.status, src3.error, src3.message, src3.headers);
248789
248868
  }
248790
248869
  };
248791
- function toKnownErr95(e) {
248870
+ function toKnownErr96(e) {
248792
248871
  if (e instanceof XRPCError) {
248793
248872
  if (e.error === "UnknownFeed")
248794
248873
  return new UnknownFeedError2(e);
@@ -248797,7 +248876,7 @@ function toKnownErr95(e) {
248797
248876
  }
248798
248877
 
248799
248878
  // ../api/src/client/types/app/bsky/feed/getLikes.ts
248800
- function toKnownErr96(e) {
248879
+ function toKnownErr97(e) {
248801
248880
  if (e instanceof XRPCError) {
248802
248881
  }
248803
248882
  return e;
@@ -248809,7 +248888,7 @@ var UnknownListError = class extends XRPCError {
248809
248888
  super(src3.status, src3.error, src3.message, src3.headers);
248810
248889
  }
248811
248890
  };
248812
- function toKnownErr97(e) {
248891
+ function toKnownErr98(e) {
248813
248892
  if (e instanceof XRPCError) {
248814
248893
  if (e.error === "UnknownList")
248815
248894
  return new UnknownListError(e);
@@ -248823,7 +248902,7 @@ var NotFoundError = class extends XRPCError {
248823
248902
  super(src3.status, src3.error, src3.message, src3.headers);
248824
248903
  }
248825
248904
  };
248826
- function toKnownErr98(e) {
248905
+ function toKnownErr99(e) {
248827
248906
  if (e instanceof XRPCError) {
248828
248907
  if (e.error === "NotFound")
248829
248908
  return new NotFoundError(e);
@@ -248832,28 +248911,28 @@ function toKnownErr98(e) {
248832
248911
  }
248833
248912
 
248834
248913
  // ../api/src/client/types/app/bsky/feed/getPosts.ts
248835
- function toKnownErr99(e) {
248914
+ function toKnownErr100(e) {
248836
248915
  if (e instanceof XRPCError) {
248837
248916
  }
248838
248917
  return e;
248839
248918
  }
248840
248919
 
248841
248920
  // ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
248842
- function toKnownErr100(e) {
248921
+ function toKnownErr101(e) {
248843
248922
  if (e instanceof XRPCError) {
248844
248923
  }
248845
248924
  return e;
248846
248925
  }
248847
248926
 
248848
248927
  // ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
248849
- function toKnownErr101(e) {
248928
+ function toKnownErr102(e) {
248850
248929
  if (e instanceof XRPCError) {
248851
248930
  }
248852
248931
  return e;
248853
248932
  }
248854
248933
 
248855
248934
  // ../api/src/client/types/app/bsky/feed/getTimeline.ts
248856
- function toKnownErr102(e) {
248935
+ function toKnownErr103(e) {
248857
248936
  if (e instanceof XRPCError) {
248858
248937
  }
248859
248938
  return e;
@@ -248865,7 +248944,7 @@ var BadQueryStringError = class extends XRPCError {
248865
248944
  super(src3.status, src3.error, src3.message, src3.headers);
248866
248945
  }
248867
248946
  };
248868
- function toKnownErr103(e) {
248947
+ function toKnownErr104(e) {
248869
248948
  if (e instanceof XRPCError) {
248870
248949
  if (e.error === "BadQueryString")
248871
248950
  return new BadQueryStringError(e);
@@ -248874,56 +248953,56 @@ function toKnownErr103(e) {
248874
248953
  }
248875
248954
 
248876
248955
  // ../api/src/client/types/app/bsky/graph/getBlocks.ts
248877
- function toKnownErr104(e) {
248956
+ function toKnownErr105(e) {
248878
248957
  if (e instanceof XRPCError) {
248879
248958
  }
248880
248959
  return e;
248881
248960
  }
248882
248961
 
248883
248962
  // ../api/src/client/types/app/bsky/graph/getFollowers.ts
248884
- function toKnownErr105(e) {
248963
+ function toKnownErr106(e) {
248885
248964
  if (e instanceof XRPCError) {
248886
248965
  }
248887
248966
  return e;
248888
248967
  }
248889
248968
 
248890
248969
  // ../api/src/client/types/app/bsky/graph/getFollows.ts
248891
- function toKnownErr106(e) {
248970
+ function toKnownErr107(e) {
248892
248971
  if (e instanceof XRPCError) {
248893
248972
  }
248894
248973
  return e;
248895
248974
  }
248896
248975
 
248897
248976
  // ../api/src/client/types/app/bsky/graph/getList.ts
248898
- function toKnownErr107(e) {
248977
+ function toKnownErr108(e) {
248899
248978
  if (e instanceof XRPCError) {
248900
248979
  }
248901
248980
  return e;
248902
248981
  }
248903
248982
 
248904
248983
  // ../api/src/client/types/app/bsky/graph/getListBlocks.ts
248905
- function toKnownErr108(e) {
248984
+ function toKnownErr109(e) {
248906
248985
  if (e instanceof XRPCError) {
248907
248986
  }
248908
248987
  return e;
248909
248988
  }
248910
248989
 
248911
248990
  // ../api/src/client/types/app/bsky/graph/getListMutes.ts
248912
- function toKnownErr109(e) {
248991
+ function toKnownErr110(e) {
248913
248992
  if (e instanceof XRPCError) {
248914
248993
  }
248915
248994
  return e;
248916
248995
  }
248917
248996
 
248918
248997
  // ../api/src/client/types/app/bsky/graph/getLists.ts
248919
- function toKnownErr110(e) {
248998
+ function toKnownErr111(e) {
248920
248999
  if (e instanceof XRPCError) {
248921
249000
  }
248922
249001
  return e;
248923
249002
  }
248924
249003
 
248925
249004
  // ../api/src/client/types/app/bsky/graph/getMutes.ts
248926
- function toKnownErr111(e) {
249005
+ function toKnownErr112(e) {
248927
249006
  if (e instanceof XRPCError) {
248928
249007
  }
248929
249008
  return e;
@@ -248935,7 +249014,7 @@ var ActorNotFoundError = class extends XRPCError {
248935
249014
  super(src3.status, src3.error, src3.message, src3.headers);
248936
249015
  }
248937
249016
  };
248938
- function toKnownErr112(e) {
249017
+ function toKnownErr113(e) {
248939
249018
  if (e instanceof XRPCError) {
248940
249019
  if (e.error === "ActorNotFound")
248941
249020
  return new ActorNotFoundError(e);
@@ -248944,77 +249023,77 @@ function toKnownErr112(e) {
248944
249023
  }
248945
249024
 
248946
249025
  // ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
248947
- function toKnownErr113(e) {
249026
+ function toKnownErr114(e) {
248948
249027
  if (e instanceof XRPCError) {
248949
249028
  }
248950
249029
  return e;
248951
249030
  }
248952
249031
 
248953
249032
  // ../api/src/client/types/app/bsky/graph/muteActor.ts
248954
- function toKnownErr114(e) {
249033
+ function toKnownErr115(e) {
248955
249034
  if (e instanceof XRPCError) {
248956
249035
  }
248957
249036
  return e;
248958
249037
  }
248959
249038
 
248960
249039
  // ../api/src/client/types/app/bsky/graph/muteActorList.ts
248961
- function toKnownErr115(e) {
249040
+ function toKnownErr116(e) {
248962
249041
  if (e instanceof XRPCError) {
248963
249042
  }
248964
249043
  return e;
248965
249044
  }
248966
249045
 
248967
249046
  // ../api/src/client/types/app/bsky/graph/unmuteActor.ts
248968
- function toKnownErr116(e) {
249047
+ function toKnownErr117(e) {
248969
249048
  if (e instanceof XRPCError) {
248970
249049
  }
248971
249050
  return e;
248972
249051
  }
248973
249052
 
248974
249053
  // ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
248975
- function toKnownErr117(e) {
249054
+ function toKnownErr118(e) {
248976
249055
  if (e instanceof XRPCError) {
248977
249056
  }
248978
249057
  return e;
248979
249058
  }
248980
249059
 
248981
249060
  // ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
248982
- function toKnownErr118(e) {
249061
+ function toKnownErr119(e) {
248983
249062
  if (e instanceof XRPCError) {
248984
249063
  }
248985
249064
  return e;
248986
249065
  }
248987
249066
 
248988
249067
  // ../api/src/client/types/app/bsky/notification/listNotifications.ts
248989
- function toKnownErr119(e) {
249068
+ function toKnownErr120(e) {
248990
249069
  if (e instanceof XRPCError) {
248991
249070
  }
248992
249071
  return e;
248993
249072
  }
248994
249073
 
248995
249074
  // ../api/src/client/types/app/bsky/notification/registerPush.ts
248996
- function toKnownErr120(e) {
249075
+ function toKnownErr121(e) {
248997
249076
  if (e instanceof XRPCError) {
248998
249077
  }
248999
249078
  return e;
249000
249079
  }
249001
249080
 
249002
249081
  // ../api/src/client/types/app/bsky/notification/updateSeen.ts
249003
- function toKnownErr121(e) {
249082
+ function toKnownErr122(e) {
249004
249083
  if (e instanceof XRPCError) {
249005
249084
  }
249006
249085
  return e;
249007
249086
  }
249008
249087
 
249009
249088
  // ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
249010
- function toKnownErr122(e) {
249089
+ function toKnownErr123(e) {
249011
249090
  if (e instanceof XRPCError) {
249012
249091
  }
249013
249092
  return e;
249014
249093
  }
249015
249094
 
249016
249095
  // ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
249017
- function toKnownErr123(e) {
249096
+ function toKnownErr124(e) {
249018
249097
  if (e instanceof XRPCError) {
249019
249098
  }
249020
249099
  return e;
@@ -249026,7 +249105,7 @@ var BadQueryStringError2 = class extends XRPCError {
249026
249105
  super(src3.status, src3.error, src3.message, src3.headers);
249027
249106
  }
249028
249107
  };
249029
- function toKnownErr124(e) {
249108
+ function toKnownErr125(e) {
249030
249109
  if (e instanceof XRPCError) {
249031
249110
  if (e.error === "BadQueryString")
249032
249111
  return new BadQueryStringError2(e);
@@ -249040,7 +249119,7 @@ var BadQueryStringError3 = class extends XRPCError {
249040
249119
  super(src3.status, src3.error, src3.message, src3.headers);
249041
249120
  }
249042
249121
  };
249043
- function toKnownErr125(e) {
249122
+ function toKnownErr126(e) {
249044
249123
  if (e instanceof XRPCError) {
249045
249124
  if (e.error === "BadQueryString")
249046
249125
  return new BadQueryStringError3(e);
@@ -249197,14 +249276,19 @@ var ComAtprotoAdminNS = class {
249197
249276
  throw toKnownErr21(e);
249198
249277
  });
249199
249278
  }
249279
+ updateAccountPassword(data, opts) {
249280
+ return this._service.xrpc.call("com.atproto.admin.updateAccountPassword", opts?.qp, data, opts).catch((e) => {
249281
+ throw toKnownErr22(e);
249282
+ });
249283
+ }
249200
249284
  updateCommunicationTemplate(data, opts) {
249201
249285
  return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
249202
- throw toKnownErr22(e);
249286
+ throw toKnownErr23(e);
249203
249287
  });
249204
249288
  }
249205
249289
  updateSubjectStatus(data, opts) {
249206
249290
  return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
249207
- throw toKnownErr23(e);
249291
+ throw toKnownErr24(e);
249208
249292
  });
249209
249293
  }
249210
249294
  };
@@ -249214,32 +249298,32 @@ var ComAtprotoIdentityNS = class {
249214
249298
  }
249215
249299
  getRecommendedDidCredentials(params2, opts) {
249216
249300
  return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
249217
- throw toKnownErr24(e);
249301
+ throw toKnownErr25(e);
249218
249302
  });
249219
249303
  }
249220
249304
  requestPlcOperationSignature(data, opts) {
249221
249305
  return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
249222
- throw toKnownErr25(e);
249306
+ throw toKnownErr26(e);
249223
249307
  });
249224
249308
  }
249225
249309
  resolveHandle(params2, opts) {
249226
249310
  return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
249227
- throw toKnownErr26(e);
249311
+ throw toKnownErr27(e);
249228
249312
  });
249229
249313
  }
249230
249314
  signPlcOperation(data, opts) {
249231
249315
  return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
249232
- throw toKnownErr27(e);
249316
+ throw toKnownErr28(e);
249233
249317
  });
249234
249318
  }
249235
249319
  submitPlcOperation(data, opts) {
249236
249320
  return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
249237
- throw toKnownErr28(e);
249321
+ throw toKnownErr29(e);
249238
249322
  });
249239
249323
  }
249240
249324
  updateHandle(data, opts) {
249241
249325
  return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
249242
- throw toKnownErr29(e);
249326
+ throw toKnownErr30(e);
249243
249327
  });
249244
249328
  }
249245
249329
  };
@@ -249249,7 +249333,7 @@ var ComAtprotoLabelNS = class {
249249
249333
  }
249250
249334
  queryLabels(params2, opts) {
249251
249335
  return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
249252
- throw toKnownErr30(e);
249336
+ throw toKnownErr31(e);
249253
249337
  });
249254
249338
  }
249255
249339
  };
@@ -249259,7 +249343,7 @@ var ComAtprotoModerationNS = class {
249259
249343
  }
249260
249344
  createReport(data, opts) {
249261
249345
  return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
249262
- throw toKnownErr31(e);
249346
+ throw toKnownErr32(e);
249263
249347
  });
249264
249348
  }
249265
249349
  };
@@ -249269,52 +249353,52 @@ var ComAtprotoRepoNS = class {
249269
249353
  }
249270
249354
  applyWrites(data, opts) {
249271
249355
  return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
249272
- throw toKnownErr32(e);
249356
+ throw toKnownErr33(e);
249273
249357
  });
249274
249358
  }
249275
249359
  createRecord(data, opts) {
249276
249360
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
249277
- throw toKnownErr33(e);
249361
+ throw toKnownErr34(e);
249278
249362
  });
249279
249363
  }
249280
249364
  deleteRecord(data, opts) {
249281
249365
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
249282
- throw toKnownErr34(e);
249366
+ throw toKnownErr35(e);
249283
249367
  });
249284
249368
  }
249285
249369
  describeRepo(params2, opts) {
249286
249370
  return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
249287
- throw toKnownErr35(e);
249371
+ throw toKnownErr36(e);
249288
249372
  });
249289
249373
  }
249290
249374
  getRecord(params2, opts) {
249291
249375
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
249292
- throw toKnownErr36(e);
249376
+ throw toKnownErr37(e);
249293
249377
  });
249294
249378
  }
249295
249379
  importRepo(data, opts) {
249296
249380
  return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
249297
- throw toKnownErr37(e);
249381
+ throw toKnownErr38(e);
249298
249382
  });
249299
249383
  }
249300
249384
  listMissingBlobs(params2, opts) {
249301
249385
  return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
249302
- throw toKnownErr38(e);
249386
+ throw toKnownErr39(e);
249303
249387
  });
249304
249388
  }
249305
249389
  listRecords(params2, opts) {
249306
249390
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
249307
- throw toKnownErr39(e);
249391
+ throw toKnownErr40(e);
249308
249392
  });
249309
249393
  }
249310
249394
  putRecord(data, opts) {
249311
249395
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
249312
- throw toKnownErr40(e);
249396
+ throw toKnownErr41(e);
249313
249397
  });
249314
249398
  }
249315
249399
  uploadBlob(data, opts) {
249316
249400
  return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
249317
- throw toKnownErr41(e);
249401
+ throw toKnownErr42(e);
249318
249402
  });
249319
249403
  }
249320
249404
  };
@@ -249324,127 +249408,127 @@ var ComAtprotoServerNS = class {
249324
249408
  }
249325
249409
  activateAccount(data, opts) {
249326
249410
  return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
249327
- throw toKnownErr42(e);
249411
+ throw toKnownErr43(e);
249328
249412
  });
249329
249413
  }
249330
249414
  checkAccountStatus(params2, opts) {
249331
249415
  return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
249332
- throw toKnownErr43(e);
249416
+ throw toKnownErr44(e);
249333
249417
  });
249334
249418
  }
249335
249419
  confirmEmail(data, opts) {
249336
249420
  return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
249337
- throw toKnownErr44(e);
249421
+ throw toKnownErr45(e);
249338
249422
  });
249339
249423
  }
249340
249424
  createAccount(data, opts) {
249341
249425
  return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
249342
- throw toKnownErr45(e);
249426
+ throw toKnownErr46(e);
249343
249427
  });
249344
249428
  }
249345
249429
  createAppPassword(data, opts) {
249346
249430
  return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
249347
- throw toKnownErr46(e);
249431
+ throw toKnownErr47(e);
249348
249432
  });
249349
249433
  }
249350
249434
  createInviteCode(data, opts) {
249351
249435
  return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
249352
- throw toKnownErr47(e);
249436
+ throw toKnownErr48(e);
249353
249437
  });
249354
249438
  }
249355
249439
  createInviteCodes(data, opts) {
249356
249440
  return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
249357
- throw toKnownErr48(e);
249441
+ throw toKnownErr49(e);
249358
249442
  });
249359
249443
  }
249360
249444
  createSession(data, opts) {
249361
249445
  return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
249362
- throw toKnownErr49(e);
249446
+ throw toKnownErr50(e);
249363
249447
  });
249364
249448
  }
249365
249449
  deactivateAccount(data, opts) {
249366
249450
  return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
249367
- throw toKnownErr50(e);
249451
+ throw toKnownErr51(e);
249368
249452
  });
249369
249453
  }
249370
249454
  deleteAccount(data, opts) {
249371
249455
  return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
249372
- throw toKnownErr51(e);
249456
+ throw toKnownErr52(e);
249373
249457
  });
249374
249458
  }
249375
249459
  deleteSession(data, opts) {
249376
249460
  return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
249377
- throw toKnownErr52(e);
249461
+ throw toKnownErr53(e);
249378
249462
  });
249379
249463
  }
249380
249464
  describeServer(params2, opts) {
249381
249465
  return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
249382
- throw toKnownErr53(e);
249466
+ throw toKnownErr54(e);
249383
249467
  });
249384
249468
  }
249385
249469
  getAccountInviteCodes(params2, opts) {
249386
249470
  return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
249387
- throw toKnownErr54(e);
249471
+ throw toKnownErr55(e);
249388
249472
  });
249389
249473
  }
249390
249474
  getServiceAuth(params2, opts) {
249391
249475
  return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
249392
- throw toKnownErr55(e);
249476
+ throw toKnownErr56(e);
249393
249477
  });
249394
249478
  }
249395
249479
  getSession(params2, opts) {
249396
249480
  return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
249397
- throw toKnownErr56(e);
249481
+ throw toKnownErr57(e);
249398
249482
  });
249399
249483
  }
249400
249484
  listAppPasswords(params2, opts) {
249401
249485
  return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
249402
- throw toKnownErr57(e);
249486
+ throw toKnownErr58(e);
249403
249487
  });
249404
249488
  }
249405
249489
  refreshSession(data, opts) {
249406
249490
  return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
249407
- throw toKnownErr58(e);
249491
+ throw toKnownErr59(e);
249408
249492
  });
249409
249493
  }
249410
249494
  requestAccountDelete(data, opts) {
249411
249495
  return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
249412
- throw toKnownErr59(e);
249496
+ throw toKnownErr60(e);
249413
249497
  });
249414
249498
  }
249415
249499
  requestEmailConfirmation(data, opts) {
249416
249500
  return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
249417
- throw toKnownErr60(e);
249501
+ throw toKnownErr61(e);
249418
249502
  });
249419
249503
  }
249420
249504
  requestEmailUpdate(data, opts) {
249421
249505
  return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
249422
- throw toKnownErr61(e);
249506
+ throw toKnownErr62(e);
249423
249507
  });
249424
249508
  }
249425
249509
  requestPasswordReset(data, opts) {
249426
249510
  return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
249427
- throw toKnownErr62(e);
249511
+ throw toKnownErr63(e);
249428
249512
  });
249429
249513
  }
249430
249514
  reserveSigningKey(data, opts) {
249431
249515
  return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
249432
- throw toKnownErr63(e);
249516
+ throw toKnownErr64(e);
249433
249517
  });
249434
249518
  }
249435
249519
  resetPassword(data, opts) {
249436
249520
  return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
249437
- throw toKnownErr64(e);
249521
+ throw toKnownErr65(e);
249438
249522
  });
249439
249523
  }
249440
249524
  revokeAppPassword(data, opts) {
249441
249525
  return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
249442
- throw toKnownErr65(e);
249526
+ throw toKnownErr66(e);
249443
249527
  });
249444
249528
  }
249445
249529
  updateEmail(data, opts) {
249446
249530
  return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
249447
- throw toKnownErr66(e);
249531
+ throw toKnownErr67(e);
249448
249532
  });
249449
249533
  }
249450
249534
  };
@@ -249454,57 +249538,57 @@ var ComAtprotoSyncNS = class {
249454
249538
  }
249455
249539
  getBlob(params2, opts) {
249456
249540
  return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
249457
- throw toKnownErr67(e);
249541
+ throw toKnownErr68(e);
249458
249542
  });
249459
249543
  }
249460
249544
  getBlocks(params2, opts) {
249461
249545
  return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
249462
- throw toKnownErr68(e);
249546
+ throw toKnownErr69(e);
249463
249547
  });
249464
249548
  }
249465
249549
  getCheckout(params2, opts) {
249466
249550
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
249467
- throw toKnownErr69(e);
249551
+ throw toKnownErr70(e);
249468
249552
  });
249469
249553
  }
249470
249554
  getHead(params2, opts) {
249471
249555
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
249472
- throw toKnownErr70(e);
249556
+ throw toKnownErr71(e);
249473
249557
  });
249474
249558
  }
249475
249559
  getLatestCommit(params2, opts) {
249476
249560
  return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
249477
- throw toKnownErr71(e);
249561
+ throw toKnownErr72(e);
249478
249562
  });
249479
249563
  }
249480
249564
  getRecord(params2, opts) {
249481
249565
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
249482
- throw toKnownErr72(e);
249566
+ throw toKnownErr73(e);
249483
249567
  });
249484
249568
  }
249485
249569
  getRepo(params2, opts) {
249486
249570
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
249487
- throw toKnownErr73(e);
249571
+ throw toKnownErr74(e);
249488
249572
  });
249489
249573
  }
249490
249574
  listBlobs(params2, opts) {
249491
249575
  return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
249492
- throw toKnownErr74(e);
249576
+ throw toKnownErr75(e);
249493
249577
  });
249494
249578
  }
249495
249579
  listRepos(params2, opts) {
249496
249580
  return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
249497
- throw toKnownErr75(e);
249581
+ throw toKnownErr76(e);
249498
249582
  });
249499
249583
  }
249500
249584
  notifyOfUpdate(data, opts) {
249501
249585
  return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
249502
- throw toKnownErr76(e);
249586
+ throw toKnownErr77(e);
249503
249587
  });
249504
249588
  }
249505
249589
  requestCrawl(data, opts) {
249506
249590
  return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
249507
- throw toKnownErr77(e);
249591
+ throw toKnownErr78(e);
249508
249592
  });
249509
249593
  }
249510
249594
  };
@@ -249514,17 +249598,17 @@ var ComAtprotoTempNS = class {
249514
249598
  }
249515
249599
  checkSignupQueue(params2, opts) {
249516
249600
  return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
249517
- throw toKnownErr78(e);
249601
+ throw toKnownErr79(e);
249518
249602
  });
249519
249603
  }
249520
249604
  fetchLabels(params2, opts) {
249521
249605
  return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
249522
- throw toKnownErr79(e);
249606
+ throw toKnownErr80(e);
249523
249607
  });
249524
249608
  }
249525
249609
  requestPhoneVerification(data, opts) {
249526
249610
  return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
249527
- throw toKnownErr80(e);
249611
+ throw toKnownErr81(e);
249528
249612
  });
249529
249613
  }
249530
249614
  };
@@ -249553,37 +249637,37 @@ var AppBskyActorNS = class {
249553
249637
  }
249554
249638
  getPreferences(params2, opts) {
249555
249639
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
249556
- throw toKnownErr81(e);
249640
+ throw toKnownErr82(e);
249557
249641
  });
249558
249642
  }
249559
249643
  getProfile(params2, opts) {
249560
249644
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
249561
- throw toKnownErr82(e);
249645
+ throw toKnownErr83(e);
249562
249646
  });
249563
249647
  }
249564
249648
  getProfiles(params2, opts) {
249565
249649
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
249566
- throw toKnownErr83(e);
249650
+ throw toKnownErr84(e);
249567
249651
  });
249568
249652
  }
249569
249653
  getSuggestions(params2, opts) {
249570
249654
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
249571
- throw toKnownErr84(e);
249655
+ throw toKnownErr85(e);
249572
249656
  });
249573
249657
  }
249574
249658
  putPreferences(data, opts) {
249575
249659
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
249576
- throw toKnownErr85(e);
249660
+ throw toKnownErr86(e);
249577
249661
  });
249578
249662
  }
249579
249663
  searchActors(params2, opts) {
249580
249664
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
249581
- throw toKnownErr86(e);
249665
+ throw toKnownErr87(e);
249582
249666
  });
249583
249667
  }
249584
249668
  searchActorsTypeahead(params2, opts) {
249585
249669
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
249586
- throw toKnownErr87(e);
249670
+ throw toKnownErr88(e);
249587
249671
  });
249588
249672
  }
249589
249673
  };
@@ -249630,82 +249714,82 @@ var AppBskyFeedNS = class {
249630
249714
  }
249631
249715
  describeFeedGenerator(params2, opts) {
249632
249716
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
249633
- throw toKnownErr88(e);
249717
+ throw toKnownErr89(e);
249634
249718
  });
249635
249719
  }
249636
249720
  getActorFeeds(params2, opts) {
249637
249721
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
249638
- throw toKnownErr89(e);
249722
+ throw toKnownErr90(e);
249639
249723
  });
249640
249724
  }
249641
249725
  getActorLikes(params2, opts) {
249642
249726
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
249643
- throw toKnownErr90(e);
249727
+ throw toKnownErr91(e);
249644
249728
  });
249645
249729
  }
249646
249730
  getAuthorFeed(params2, opts) {
249647
249731
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
249648
- throw toKnownErr91(e);
249732
+ throw toKnownErr92(e);
249649
249733
  });
249650
249734
  }
249651
249735
  getFeed(params2, opts) {
249652
249736
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
249653
- throw toKnownErr92(e);
249737
+ throw toKnownErr93(e);
249654
249738
  });
249655
249739
  }
249656
249740
  getFeedGenerator(params2, opts) {
249657
249741
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
249658
- throw toKnownErr93(e);
249742
+ throw toKnownErr94(e);
249659
249743
  });
249660
249744
  }
249661
249745
  getFeedGenerators(params2, opts) {
249662
249746
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
249663
- throw toKnownErr94(e);
249747
+ throw toKnownErr95(e);
249664
249748
  });
249665
249749
  }
249666
249750
  getFeedSkeleton(params2, opts) {
249667
249751
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
249668
- throw toKnownErr95(e);
249752
+ throw toKnownErr96(e);
249669
249753
  });
249670
249754
  }
249671
249755
  getLikes(params2, opts) {
249672
249756
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
249673
- throw toKnownErr96(e);
249757
+ throw toKnownErr97(e);
249674
249758
  });
249675
249759
  }
249676
249760
  getListFeed(params2, opts) {
249677
249761
  return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
249678
- throw toKnownErr97(e);
249762
+ throw toKnownErr98(e);
249679
249763
  });
249680
249764
  }
249681
249765
  getPostThread(params2, opts) {
249682
249766
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
249683
- throw toKnownErr98(e);
249767
+ throw toKnownErr99(e);
249684
249768
  });
249685
249769
  }
249686
249770
  getPosts(params2, opts) {
249687
249771
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
249688
- throw toKnownErr99(e);
249772
+ throw toKnownErr100(e);
249689
249773
  });
249690
249774
  }
249691
249775
  getRepostedBy(params2, opts) {
249692
249776
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
249693
- throw toKnownErr100(e);
249777
+ throw toKnownErr101(e);
249694
249778
  });
249695
249779
  }
249696
249780
  getSuggestedFeeds(params2, opts) {
249697
249781
  return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
249698
- throw toKnownErr101(e);
249782
+ throw toKnownErr102(e);
249699
249783
  });
249700
249784
  }
249701
249785
  getTimeline(params2, opts) {
249702
249786
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
249703
- throw toKnownErr102(e);
249787
+ throw toKnownErr103(e);
249704
249788
  });
249705
249789
  }
249706
249790
  searchPosts(params2, opts) {
249707
249791
  return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
249708
- throw toKnownErr103(e);
249792
+ throw toKnownErr104(e);
249709
249793
  });
249710
249794
  }
249711
249795
  };
@@ -249855,72 +249939,72 @@ var AppBskyGraphNS = class {
249855
249939
  }
249856
249940
  getBlocks(params2, opts) {
249857
249941
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
249858
- throw toKnownErr104(e);
249942
+ throw toKnownErr105(e);
249859
249943
  });
249860
249944
  }
249861
249945
  getFollowers(params2, opts) {
249862
249946
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
249863
- throw toKnownErr105(e);
249947
+ throw toKnownErr106(e);
249864
249948
  });
249865
249949
  }
249866
249950
  getFollows(params2, opts) {
249867
249951
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
249868
- throw toKnownErr106(e);
249952
+ throw toKnownErr107(e);
249869
249953
  });
249870
249954
  }
249871
249955
  getList(params2, opts) {
249872
249956
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
249873
- throw toKnownErr107(e);
249957
+ throw toKnownErr108(e);
249874
249958
  });
249875
249959
  }
249876
249960
  getListBlocks(params2, opts) {
249877
249961
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
249878
- throw toKnownErr108(e);
249962
+ throw toKnownErr109(e);
249879
249963
  });
249880
249964
  }
249881
249965
  getListMutes(params2, opts) {
249882
249966
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
249883
- throw toKnownErr109(e);
249967
+ throw toKnownErr110(e);
249884
249968
  });
249885
249969
  }
249886
249970
  getLists(params2, opts) {
249887
249971
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
249888
- throw toKnownErr110(e);
249972
+ throw toKnownErr111(e);
249889
249973
  });
249890
249974
  }
249891
249975
  getMutes(params2, opts) {
249892
249976
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
249893
- throw toKnownErr111(e);
249977
+ throw toKnownErr112(e);
249894
249978
  });
249895
249979
  }
249896
249980
  getRelationships(params2, opts) {
249897
249981
  return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
249898
- throw toKnownErr112(e);
249982
+ throw toKnownErr113(e);
249899
249983
  });
249900
249984
  }
249901
249985
  getSuggestedFollowsByActor(params2, opts) {
249902
249986
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
249903
- throw toKnownErr113(e);
249987
+ throw toKnownErr114(e);
249904
249988
  });
249905
249989
  }
249906
249990
  muteActor(data, opts) {
249907
249991
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
249908
- throw toKnownErr114(e);
249992
+ throw toKnownErr115(e);
249909
249993
  });
249910
249994
  }
249911
249995
  muteActorList(data, opts) {
249912
249996
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
249913
- throw toKnownErr115(e);
249997
+ throw toKnownErr116(e);
249914
249998
  });
249915
249999
  }
249916
250000
  unmuteActor(data, opts) {
249917
250001
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
249918
- throw toKnownErr116(e);
250002
+ throw toKnownErr117(e);
249919
250003
  });
249920
250004
  }
249921
250005
  unmuteActorList(data, opts) {
249922
250006
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
249923
- throw toKnownErr117(e);
250007
+ throw toKnownErr118(e);
249924
250008
  });
249925
250009
  }
249926
250010
  };
@@ -250065,22 +250149,22 @@ var AppBskyNotificationNS = class {
250065
250149
  }
250066
250150
  getUnreadCount(params2, opts) {
250067
250151
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
250068
- throw toKnownErr118(e);
250152
+ throw toKnownErr119(e);
250069
250153
  });
250070
250154
  }
250071
250155
  listNotifications(params2, opts) {
250072
250156
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
250073
- throw toKnownErr119(e);
250157
+ throw toKnownErr120(e);
250074
250158
  });
250075
250159
  }
250076
250160
  registerPush(data, opts) {
250077
250161
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
250078
- throw toKnownErr120(e);
250162
+ throw toKnownErr121(e);
250079
250163
  });
250080
250164
  }
250081
250165
  updateSeen(data, opts) {
250082
250166
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
250083
- throw toKnownErr121(e);
250167
+ throw toKnownErr122(e);
250084
250168
  });
250085
250169
  }
250086
250170
  };
@@ -250095,22 +250179,22 @@ var AppBskyUnspeccedNS = class {
250095
250179
  }
250096
250180
  getPopularFeedGenerators(params2, opts) {
250097
250181
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
250098
- throw toKnownErr122(e);
250182
+ throw toKnownErr123(e);
250099
250183
  });
250100
250184
  }
250101
250185
  getTaggedSuggestions(params2, opts) {
250102
250186
  return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
250103
- throw toKnownErr123(e);
250187
+ throw toKnownErr124(e);
250104
250188
  });
250105
250189
  }
250106
250190
  searchActorsSkeleton(params2, opts) {
250107
250191
  return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
250108
- throw toKnownErr124(e);
250192
+ throw toKnownErr125(e);
250109
250193
  });
250110
250194
  }
250111
250195
  searchPostsSkeleton(params2, opts) {
250112
250196
  return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
250113
- throw toKnownErr125(e);
250197
+ throw toKnownErr126(e);
250114
250198
  });
250115
250199
  }
250116
250200
  };
@@ -251555,6 +251639,10 @@ var ComAtprotoAdminNS2 = class {
251555
251639
  const nsid2 = "com.atproto.admin.updateAccountHandle";
251556
251640
  return this._server.xrpc.method(nsid2, cfg);
251557
251641
  }
251642
+ updateAccountPassword(cfg) {
251643
+ const nsid2 = "com.atproto.admin.updateAccountPassword";
251644
+ return this._server.xrpc.method(nsid2, cfg);
251645
+ }
251558
251646
  updateCommunicationTemplate(cfg) {
251559
251647
  const nsid2 = "com.atproto.admin.updateCommunicationTemplate";
251560
251648
  return this._server.xrpc.method(nsid2, cfg);
@@ -252925,6 +253013,10 @@ var AccountManager = class {
252925
253013
  }
252926
253014
  async resetPassword(opts) {
252927
253015
  const did2 = await assertValidTokenAndFindDid(this.db, "reset_password", opts.token);
253016
+ await this.updateAccountPassword({ did: did2, password: opts.password });
253017
+ }
253018
+ async updateAccountPassword(opts) {
253019
+ const { did: did2 } = opts;
252928
253020
  const passwordScrypt = await genSaltAndHash(opts.password);
252929
253021
  await this.db.transaction(async (dbTxn) => Promise.all([
252930
253022
  updateUserPassword(dbTxn, { did: did2, passwordScrypt }),