@atproto/pds 0.4.0 → 0.4.1

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