@atproto/bsky 0.0.31 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/db/index.js.map +2 -2
  3. package/dist/index.js +1276 -591
  4. package/dist/index.js.map +3 -3
  5. package/dist/indexer/subscription.d.ts +1 -0
  6. package/dist/lexicon/index.d.ts +22 -6
  7. package/dist/lexicon/lexicons.d.ts +419 -110
  8. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -1
  9. package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts +26 -0
  10. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +33 -0
  11. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts +19 -0
  12. package/dist/lexicon/types/com/atproto/{temp/transferAccount.d.ts → identity/signPlcOperation.d.ts} +6 -8
  13. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +25 -0
  14. package/dist/lexicon/types/com/atproto/{temp/pushBlob.d.ts → repo/importRepo.d.ts} +1 -2
  15. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +41 -0
  16. package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts +19 -0
  17. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +38 -0
  18. package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +25 -0
  19. package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +1 -0
  20. package/dist/lexicon/types/com/atproto/{temp/importRepo.d.ts → server/getServiceAuth.d.ts} +8 -9
  21. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +9 -1
  22. package/dist/subscription/util.d.ts +1 -1
  23. package/package.json +6 -6
  24. package/src/indexer/subscription.ts +6 -0
  25. package/src/ingester/subscription.ts +2 -0
  26. package/src/lexicon/index.ts +136 -36
  27. package/src/lexicon/lexicons.ts +460 -138
  28. package/src/lexicon/types/app/bsky/actor/defs.ts +61 -0
  29. package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
  30. package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +39 -0
  31. package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +47 -0
  32. package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +31 -0
  33. package/src/lexicon/types/com/atproto/{temp/transferAccount.ts → identity/signPlcOperation.ts} +8 -15
  34. package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +38 -0
  35. package/src/lexicon/types/com/atproto/{temp/pushBlob.ts → repo/importRepo.ts} +2 -5
  36. package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +65 -0
  37. package/src/lexicon/types/com/atproto/server/activateAccount.ts +31 -0
  38. package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +51 -0
  39. package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +39 -0
  40. package/src/lexicon/types/com/atproto/server/describeServer.ts +1 -0
  41. package/src/lexicon/types/com/atproto/{temp/importRepo.ts → server/getServiceAuth.ts} +10 -9
  42. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +24 -3
  43. package/tests/auto-moderator/labeler.test.ts +2 -1
package/dist/index.js CHANGED
@@ -105973,7 +105973,7 @@ var require_headers4 = __commonJS({
105973
105973
  return headers;
105974
105974
  }
105975
105975
  };
105976
- var Headers122 = class {
105976
+ var Headers130 = class {
105977
105977
  constructor(init = void 0) {
105978
105978
  if (init === kConstruct) {
105979
105979
  return;
@@ -105986,14 +105986,14 @@ var require_headers4 = __commonJS({
105986
105986
  }
105987
105987
  }
105988
105988
  append(name3, value) {
105989
- webidl.brandCheck(this, Headers122);
105989
+ webidl.brandCheck(this, Headers130);
105990
105990
  webidl.argumentLengthCheck(arguments, 2, { header: "Headers.append" });
105991
105991
  name3 = webidl.converters.ByteString(name3);
105992
105992
  value = webidl.converters.ByteString(value);
105993
105993
  return appendHeader(this, name3, value);
105994
105994
  }
105995
105995
  delete(name3) {
105996
- webidl.brandCheck(this, Headers122);
105996
+ webidl.brandCheck(this, Headers130);
105997
105997
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.delete" });
105998
105998
  name3 = webidl.converters.ByteString(name3);
105999
105999
  if (!isValidHeaderName(name3)) {
@@ -106013,7 +106013,7 @@ var require_headers4 = __commonJS({
106013
106013
  this[kHeadersList].delete(name3);
106014
106014
  }
106015
106015
  get(name3) {
106016
- webidl.brandCheck(this, Headers122);
106016
+ webidl.brandCheck(this, Headers130);
106017
106017
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.get" });
106018
106018
  name3 = webidl.converters.ByteString(name3);
106019
106019
  if (!isValidHeaderName(name3)) {
@@ -106026,7 +106026,7 @@ var require_headers4 = __commonJS({
106026
106026
  return this[kHeadersList].get(name3);
106027
106027
  }
106028
106028
  has(name3) {
106029
- webidl.brandCheck(this, Headers122);
106029
+ webidl.brandCheck(this, Headers130);
106030
106030
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.has" });
106031
106031
  name3 = webidl.converters.ByteString(name3);
106032
106032
  if (!isValidHeaderName(name3)) {
@@ -106039,7 +106039,7 @@ var require_headers4 = __commonJS({
106039
106039
  return this[kHeadersList].contains(name3);
106040
106040
  }
106041
106041
  set(name3, value) {
106042
- webidl.brandCheck(this, Headers122);
106042
+ webidl.brandCheck(this, Headers130);
106043
106043
  webidl.argumentLengthCheck(arguments, 2, { header: "Headers.set" });
106044
106044
  name3 = webidl.converters.ByteString(name3);
106045
106045
  value = webidl.converters.ByteString(value);
@@ -106064,7 +106064,7 @@ var require_headers4 = __commonJS({
106064
106064
  this[kHeadersList].set(name3, value);
106065
106065
  }
106066
106066
  getSetCookie() {
106067
- webidl.brandCheck(this, Headers122);
106067
+ webidl.brandCheck(this, Headers130);
106068
106068
  const list = this[kHeadersList].cookies;
106069
106069
  if (list) {
106070
106070
  return [...list];
@@ -106093,7 +106093,7 @@ var require_headers4 = __commonJS({
106093
106093
  return headers;
106094
106094
  }
106095
106095
  keys() {
106096
- webidl.brandCheck(this, Headers122);
106096
+ webidl.brandCheck(this, Headers130);
106097
106097
  if (this[kGuard] === "immutable") {
106098
106098
  const value = this[kHeadersSortedMap];
106099
106099
  return makeIterator(() => value, "Headers", "key");
@@ -106101,7 +106101,7 @@ var require_headers4 = __commonJS({
106101
106101
  return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key");
106102
106102
  }
106103
106103
  values() {
106104
- webidl.brandCheck(this, Headers122);
106104
+ webidl.brandCheck(this, Headers130);
106105
106105
  if (this[kGuard] === "immutable") {
106106
106106
  const value = this[kHeadersSortedMap];
106107
106107
  return makeIterator(() => value, "Headers", "value");
@@ -106109,7 +106109,7 @@ var require_headers4 = __commonJS({
106109
106109
  return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "value");
106110
106110
  }
106111
106111
  entries() {
106112
- webidl.brandCheck(this, Headers122);
106112
+ webidl.brandCheck(this, Headers130);
106113
106113
  if (this[kGuard] === "immutable") {
106114
106114
  const value = this[kHeadersSortedMap];
106115
106115
  return makeIterator(() => value, "Headers", "key+value");
@@ -106117,7 +106117,7 @@ var require_headers4 = __commonJS({
106117
106117
  return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key+value");
106118
106118
  }
106119
106119
  forEach(callbackFn, thisArg = globalThis) {
106120
- webidl.brandCheck(this, Headers122);
106120
+ webidl.brandCheck(this, Headers130);
106121
106121
  webidl.argumentLengthCheck(arguments, 1, { header: "Headers.forEach" });
106122
106122
  if (typeof callbackFn !== "function") {
106123
106123
  throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");
@@ -106127,12 +106127,12 @@ var require_headers4 = __commonJS({
106127
106127
  }
106128
106128
  }
106129
106129
  [Symbol.for("nodejs.util.inspect.custom")]() {
106130
- webidl.brandCheck(this, Headers122);
106130
+ webidl.brandCheck(this, Headers130);
106131
106131
  return this[kHeadersList];
106132
106132
  }
106133
106133
  };
106134
- Headers122.prototype[Symbol.iterator] = Headers122.prototype.entries;
106135
- Object.defineProperties(Headers122.prototype, {
106134
+ Headers130.prototype[Symbol.iterator] = Headers130.prototype.entries;
106135
+ Object.defineProperties(Headers130.prototype, {
106136
106136
  append: kEnumerableProperty,
106137
106137
  delete: kEnumerableProperty,
106138
106138
  get: kEnumerableProperty,
@@ -106164,7 +106164,7 @@ var require_headers4 = __commonJS({
106164
106164
  };
106165
106165
  module2.exports = {
106166
106166
  fill,
106167
- Headers: Headers122,
106167
+ Headers: Headers130,
106168
106168
  HeadersList
106169
106169
  };
106170
106170
  }
@@ -106174,7 +106174,7 @@ var require_headers4 = __commonJS({
106174
106174
  var require_response2 = __commonJS({
106175
106175
  "../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/response.js"(exports, module2) {
106176
106176
  "use strict";
106177
- var { Headers: Headers122, HeadersList, fill } = require_headers4();
106177
+ var { Headers: Headers130, HeadersList, fill } = require_headers4();
106178
106178
  var { extractBody, cloneBody, mixinBody } = require_body();
106179
106179
  var util2 = require_util2();
106180
106180
  var { kEnumerableProperty } = util2;
@@ -106260,7 +106260,7 @@ var require_response2 = __commonJS({
106260
106260
  init = webidl.converters.ResponseInit(init);
106261
106261
  this[kRealm] = { settingsObject: {} };
106262
106262
  this[kState] = makeResponse({});
106263
- this[kHeaders] = new Headers122(kConstruct);
106263
+ this[kHeaders] = new Headers130(kConstruct);
106264
106264
  this[kHeaders][kGuard] = "response";
106265
106265
  this[kHeaders][kHeadersList] = this[kState].headersList;
106266
106266
  this[kHeaders][kRealm] = this[kRealm];
@@ -106531,7 +106531,7 @@ var require_request3 = __commonJS({
106531
106531
  "../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/request.js"(exports, module2) {
106532
106532
  "use strict";
106533
106533
  var { extractBody, mixinBody, cloneBody } = require_body();
106534
- var { Headers: Headers122, fill: fillHeaders, HeadersList } = require_headers4();
106534
+ var { Headers: Headers130, fill: fillHeaders, HeadersList } = require_headers4();
106535
106535
  var { FinalizationRegistry: FinalizationRegistry2 } = require_dispatcher_weakref()();
106536
106536
  var util2 = require_util2();
106537
106537
  var {
@@ -106745,7 +106745,7 @@ var require_request3 = __commonJS({
106745
106745
  requestFinalizer.register(ac, { signal, abort });
106746
106746
  }
106747
106747
  }
106748
- this[kHeaders] = new Headers122(kConstruct);
106748
+ this[kHeaders] = new Headers130(kConstruct);
106749
106749
  this[kHeaders][kHeadersList] = request.headersList;
106750
106750
  this[kHeaders][kGuard] = "request";
106751
106751
  this[kHeaders][kRealm] = this[kRealm];
@@ -106894,7 +106894,7 @@ var require_request3 = __commonJS({
106894
106894
  const clonedRequestObject = new Request2(kConstruct);
106895
106895
  clonedRequestObject[kState] = clonedRequest;
106896
106896
  clonedRequestObject[kRealm] = this[kRealm];
106897
- clonedRequestObject[kHeaders] = new Headers122(kConstruct);
106897
+ clonedRequestObject[kHeaders] = new Headers130(kConstruct);
106898
106898
  clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList;
106899
106899
  clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard];
106900
106900
  clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm];
@@ -107077,7 +107077,7 @@ var require_fetch = __commonJS({
107077
107077
  filterResponse,
107078
107078
  makeResponse
107079
107079
  } = require_response2();
107080
- var { Headers: Headers122 } = require_headers4();
107080
+ var { Headers: Headers130 } = require_headers4();
107081
107081
  var { Request: Request2, makeRequest } = require_request3();
107082
107082
  var zlib = require("zlib");
107083
107083
  var {
@@ -107935,7 +107935,7 @@ var require_fetch = __commonJS({
107935
107935
  }
107936
107936
  let codings = [];
107937
107937
  let location = "";
107938
- const headers = new Headers122();
107938
+ const headers = new Headers130();
107939
107939
  if (Array.isArray(headersList)) {
107940
107940
  for (let n = 0; n < headersList.length; n += 2) {
107941
107941
  const key = headersList[n + 0].toString("latin1");
@@ -108016,7 +108016,7 @@ var require_fetch = __commonJS({
108016
108016
  if (status !== 101) {
108017
108017
  return;
108018
108018
  }
108019
- const headers = new Headers122();
108019
+ const headers = new Headers130();
108020
108020
  for (let n = 0; n < headersList.length; n += 2) {
108021
108021
  const key = headersList[n + 0].toString("latin1");
108022
108022
  const val = headersList[n + 1].toString("latin1");
@@ -109753,10 +109753,10 @@ var require_cookies2 = __commonJS({
109753
109753
  var { parseSetCookie } = require_parse3();
109754
109754
  var { stringify, getHeadersList } = require_util7();
109755
109755
  var { webidl } = require_webidl();
109756
- var { Headers: Headers122 } = require_headers4();
109756
+ var { Headers: Headers130 } = require_headers4();
109757
109757
  function getCookies(headers) {
109758
109758
  webidl.argumentLengthCheck(arguments, 1, { header: "getCookies" });
109759
- webidl.brandCheck(headers, Headers122, { strict: false });
109759
+ webidl.brandCheck(headers, Headers130, { strict: false });
109760
109760
  const cookie = headers.get("cookie");
109761
109761
  const out = {};
109762
109762
  if (!cookie) {
@@ -109770,7 +109770,7 @@ var require_cookies2 = __commonJS({
109770
109770
  }
109771
109771
  function deleteCookie(headers, name3, attributes) {
109772
109772
  webidl.argumentLengthCheck(arguments, 2, { header: "deleteCookie" });
109773
- webidl.brandCheck(headers, Headers122, { strict: false });
109773
+ webidl.brandCheck(headers, Headers130, { strict: false });
109774
109774
  name3 = webidl.converters.DOMString(name3);
109775
109775
  attributes = webidl.converters.DeleteCookieAttributes(attributes);
109776
109776
  setCookie(headers, {
@@ -109782,7 +109782,7 @@ var require_cookies2 = __commonJS({
109782
109782
  }
109783
109783
  function getSetCookies(headers) {
109784
109784
  webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
109785
- webidl.brandCheck(headers, Headers122, { strict: false });
109785
+ webidl.brandCheck(headers, Headers130, { strict: false });
109786
109786
  const cookies = getHeadersList(headers).cookies;
109787
109787
  if (!cookies) {
109788
109788
  return [];
@@ -109791,7 +109791,7 @@ var require_cookies2 = __commonJS({
109791
109791
  }
109792
109792
  function setCookie(headers, cookie) {
109793
109793
  webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
109794
- webidl.brandCheck(headers, Headers122, { strict: false });
109794
+ webidl.brandCheck(headers, Headers130, { strict: false });
109795
109795
  cookie = webidl.converters.Cookie(cookie);
109796
109796
  const str = stringify(cookie);
109797
109797
  if (str) {
@@ -110277,7 +110277,7 @@ var require_connection = __commonJS({
110277
110277
  var { CloseEvent } = require_events();
110278
110278
  var { makeRequest } = require_request3();
110279
110279
  var { fetching } = require_fetch();
110280
- var { Headers: Headers122 } = require_headers4();
110280
+ var { Headers: Headers130 } = require_headers4();
110281
110281
  var { getGlobalDispatcher } = require_global2();
110282
110282
  var { kHeadersList } = require_symbols2();
110283
110283
  var channels = {};
@@ -110302,7 +110302,7 @@ var require_connection = __commonJS({
110302
110302
  redirect: "error"
110303
110303
  });
110304
110304
  if (options.headers) {
110305
- const headersList = new Headers122(options.headers)[kHeadersList];
110305
+ const headersList = new Headers130(options.headers)[kHeadersList];
110306
110306
  request.headersList = headersList;
110307
110307
  }
110308
110308
  const keyValue = crypto7.randomBytes(16).toString("base64");
@@ -151223,6 +151223,32 @@ var schemaDict = {
151223
151223
  }
151224
151224
  }
151225
151225
  },
151226
+ ComAtprotoAdminUpdateAccountPassword: {
151227
+ lexicon: 1,
151228
+ id: "com.atproto.admin.updateAccountPassword",
151229
+ defs: {
151230
+ main: {
151231
+ type: "procedure",
151232
+ description: "Update the password for a user account as an administrator.",
151233
+ input: {
151234
+ encoding: "application/json",
151235
+ schema: {
151236
+ type: "object",
151237
+ required: ["did", "password"],
151238
+ properties: {
151239
+ did: {
151240
+ type: "string",
151241
+ format: "did"
151242
+ },
151243
+ password: {
151244
+ type: "string"
151245
+ }
151246
+ }
151247
+ }
151248
+ }
151249
+ }
151250
+ }
151251
+ },
151226
151252
  ComAtprotoAdminUpdateCommunicationTemplate: {
151227
151253
  lexicon: 1,
151228
151254
  id: "com.atproto.admin.updateCommunicationTemplate",
@@ -151325,6 +151351,53 @@ var schemaDict = {
151325
151351
  }
151326
151352
  }
151327
151353
  },
151354
+ ComAtprotoIdentityGetRecommendedDidCredentials: {
151355
+ lexicon: 1,
151356
+ id: "com.atproto.identity.getRecommendedDidCredentials",
151357
+ defs: {
151358
+ main: {
151359
+ type: "query",
151360
+ description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
151361
+ output: {
151362
+ encoding: "application/json",
151363
+ schema: {
151364
+ type: "object",
151365
+ properties: {
151366
+ rotationKeys: {
151367
+ description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
151368
+ type: "array",
151369
+ items: {
151370
+ type: "string"
151371
+ }
151372
+ },
151373
+ alsoKnownAs: {
151374
+ type: "array",
151375
+ items: {
151376
+ type: "string"
151377
+ }
151378
+ },
151379
+ verificationMethods: {
151380
+ type: "unknown"
151381
+ },
151382
+ services: {
151383
+ type: "unknown"
151384
+ }
151385
+ }
151386
+ }
151387
+ }
151388
+ }
151389
+ }
151390
+ },
151391
+ ComAtprotoIdentityRequestPlcOperationSignature: {
151392
+ lexicon: 1,
151393
+ id: "com.atproto.identity.requestPlcOperationSignature",
151394
+ defs: {
151395
+ main: {
151396
+ type: "procedure",
151397
+ description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
151398
+ }
151399
+ }
151400
+ },
151328
151401
  ComAtprotoIdentityResolveHandle: {
151329
151402
  lexicon: 1,
151330
151403
  id: "com.atproto.identity.resolveHandle",
@@ -151359,6 +151432,81 @@ var schemaDict = {
151359
151432
  }
151360
151433
  }
151361
151434
  },
151435
+ ComAtprotoIdentitySignPlcOperation: {
151436
+ lexicon: 1,
151437
+ id: "com.atproto.identity.signPlcOperation",
151438
+ defs: {
151439
+ main: {
151440
+ type: "procedure",
151441
+ description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
151442
+ input: {
151443
+ encoding: "application/json",
151444
+ schema: {
151445
+ type: "object",
151446
+ properties: {
151447
+ token: {
151448
+ description: "A token received through com.atproto.identity.requestPlcOperationSignature",
151449
+ type: "string"
151450
+ },
151451
+ rotationKeys: {
151452
+ type: "array",
151453
+ items: {
151454
+ type: "string"
151455
+ }
151456
+ },
151457
+ alsoKnownAs: {
151458
+ type: "array",
151459
+ items: {
151460
+ type: "string"
151461
+ }
151462
+ },
151463
+ verificationMethods: {
151464
+ type: "unknown"
151465
+ },
151466
+ services: {
151467
+ type: "unknown"
151468
+ }
151469
+ }
151470
+ }
151471
+ },
151472
+ output: {
151473
+ encoding: "application/json",
151474
+ schema: {
151475
+ type: "object",
151476
+ required: ["operation"],
151477
+ properties: {
151478
+ operation: {
151479
+ type: "unknown",
151480
+ description: "A signed DID PLC operation."
151481
+ }
151482
+ }
151483
+ }
151484
+ }
151485
+ }
151486
+ }
151487
+ },
151488
+ ComAtprotoIdentitySubmitPlcOperation: {
151489
+ lexicon: 1,
151490
+ id: "com.atproto.identity.submitPlcOperation",
151491
+ defs: {
151492
+ main: {
151493
+ type: "procedure",
151494
+ description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
151495
+ input: {
151496
+ encoding: "application/json",
151497
+ schema: {
151498
+ type: "object",
151499
+ required: ["operation"],
151500
+ properties: {
151501
+ operation: {
151502
+ type: "unknown"
151503
+ }
151504
+ }
151505
+ }
151506
+ }
151507
+ }
151508
+ }
151509
+ },
151362
151510
  ComAtprotoIdentityUpdateHandle: {
151363
151511
  lexicon: 1,
151364
151512
  id: "com.atproto.identity.updateHandle",
@@ -152031,6 +152179,76 @@ var schemaDict = {
152031
152179
  }
152032
152180
  }
152033
152181
  },
152182
+ ComAtprotoRepoImportRepo: {
152183
+ lexicon: 1,
152184
+ id: "com.atproto.repo.importRepo",
152185
+ defs: {
152186
+ main: {
152187
+ type: "procedure",
152188
+ description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
152189
+ input: {
152190
+ encoding: "application/vnd.ipld.car"
152191
+ }
152192
+ }
152193
+ }
152194
+ },
152195
+ ComAtprotoRepoListMissingBlobs: {
152196
+ lexicon: 1,
152197
+ id: "com.atproto.repo.listMissingBlobs",
152198
+ defs: {
152199
+ main: {
152200
+ type: "query",
152201
+ description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
152202
+ parameters: {
152203
+ type: "params",
152204
+ properties: {
152205
+ limit: {
152206
+ type: "integer",
152207
+ minimum: 1,
152208
+ maximum: 1e3,
152209
+ default: 500
152210
+ },
152211
+ cursor: {
152212
+ type: "string"
152213
+ }
152214
+ }
152215
+ },
152216
+ output: {
152217
+ encoding: "application/json",
152218
+ schema: {
152219
+ type: "object",
152220
+ required: ["blobs"],
152221
+ properties: {
152222
+ cursor: {
152223
+ type: "string"
152224
+ },
152225
+ blobs: {
152226
+ type: "array",
152227
+ items: {
152228
+ type: "ref",
152229
+ ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
152230
+ }
152231
+ }
152232
+ }
152233
+ }
152234
+ }
152235
+ },
152236
+ recordBlob: {
152237
+ type: "object",
152238
+ required: ["cid", "recordUri"],
152239
+ properties: {
152240
+ cid: {
152241
+ type: "string",
152242
+ format: "cid"
152243
+ },
152244
+ recordUri: {
152245
+ type: "string",
152246
+ format: "at-uri"
152247
+ }
152248
+ }
152249
+ }
152250
+ }
152251
+ },
152034
152252
  ComAtprotoRepoListRecords: {
152035
152253
  lexicon: 1,
152036
152254
  id: "com.atproto.repo.listRecords",
@@ -152237,6 +152455,73 @@ var schemaDict = {
152237
152455
  }
152238
152456
  }
152239
152457
  },
152458
+ ComAtprotoServerActivateAccount: {
152459
+ lexicon: 1,
152460
+ id: "com.atproto.server.activateAccount",
152461
+ defs: {
152462
+ main: {
152463
+ type: "procedure",
152464
+ description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
152465
+ }
152466
+ }
152467
+ },
152468
+ ComAtprotoServerCheckAccountStatus: {
152469
+ lexicon: 1,
152470
+ id: "com.atproto.server.checkAccountStatus",
152471
+ defs: {
152472
+ main: {
152473
+ type: "query",
152474
+ description: "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
152475
+ output: {
152476
+ encoding: "application/json",
152477
+ schema: {
152478
+ type: "object",
152479
+ required: [
152480
+ "activated",
152481
+ "validDid",
152482
+ "repoCommit",
152483
+ "repoRev",
152484
+ "repoBlocks",
152485
+ "indexedRecords",
152486
+ "privateStateValues",
152487
+ "expectedBlobs",
152488
+ "importedBlobs"
152489
+ ],
152490
+ properties: {
152491
+ activated: {
152492
+ type: "boolean"
152493
+ },
152494
+ validDid: {
152495
+ type: "boolean"
152496
+ },
152497
+ repoCommit: {
152498
+ type: "string",
152499
+ format: "cid"
152500
+ },
152501
+ repoRev: {
152502
+ type: "string"
152503
+ },
152504
+ repoBlocks: {
152505
+ type: "integer"
152506
+ },
152507
+ indexedRecords: {
152508
+ type: "integer"
152509
+ },
152510
+ privateStateValues: {
152511
+ type: "integer"
152512
+ },
152513
+ expectedBlobs: {
152514
+ type: "integer"
152515
+ },
152516
+ importedBlobs: {
152517
+ type: "integer"
152518
+ }
152519
+ }
152520
+ }
152521
+ }
152522
+ }
152523
+ }
152524
+ },
152240
152525
  ComAtprotoServerConfirmEmail: {
152241
152526
  lexicon: 1,
152242
152527
  id: "com.atproto.server.confirmEmail",
@@ -152597,6 +152882,29 @@ var schemaDict = {
152597
152882
  }
152598
152883
  }
152599
152884
  },
152885
+ ComAtprotoServerDeactivateAccount: {
152886
+ lexicon: 1,
152887
+ id: "com.atproto.server.deactivateAccount",
152888
+ defs: {
152889
+ main: {
152890
+ type: "procedure",
152891
+ description: "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
152892
+ input: {
152893
+ encoding: "application/json",
152894
+ schema: {
152895
+ type: "object",
152896
+ properties: {
152897
+ deleteAfter: {
152898
+ type: "string",
152899
+ format: "datetime",
152900
+ description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
152901
+ }
152902
+ }
152903
+ }
152904
+ }
152905
+ }
152906
+ }
152907
+ },
152600
152908
  ComAtprotoServerDefs: {
152601
152909
  lexicon: 1,
152602
152910
  id: "com.atproto.server.defs",
@@ -152715,7 +153023,7 @@ var schemaDict = {
152715
153023
  encoding: "application/json",
152716
153024
  schema: {
152717
153025
  type: "object",
152718
- required: ["availableUserDomains"],
153026
+ required: ["did", "availableUserDomains"],
152719
153027
  properties: {
152720
153028
  inviteCodeRequired: {
152721
153029
  type: "boolean",
@@ -152736,6 +153044,10 @@ var schemaDict = {
152736
153044
  type: "ref",
152737
153045
  description: "URLs of service policy documents.",
152738
153046
  ref: "lex:com.atproto.server.describeServer#links"
153047
+ },
153048
+ did: {
153049
+ type: "string",
153050
+ format: "did"
152739
153051
  }
152740
153052
  }
152741
153053
  }
@@ -152799,6 +153111,39 @@ var schemaDict = {
152799
153111
  }
152800
153112
  }
152801
153113
  },
153114
+ ComAtprotoServerGetServiceAuth: {
153115
+ lexicon: 1,
153116
+ id: "com.atproto.server.getServiceAuth",
153117
+ defs: {
153118
+ main: {
153119
+ type: "query",
153120
+ description: "Get a signed token on behalf of the requesting DID for the requested service.",
153121
+ parameters: {
153122
+ type: "params",
153123
+ required: ["aud"],
153124
+ properties: {
153125
+ aud: {
153126
+ type: "string",
153127
+ format: "did",
153128
+ description: "The DID of the service that the token will be used to authenticate with"
153129
+ }
153130
+ }
153131
+ },
153132
+ output: {
153133
+ encoding: "application/json",
153134
+ schema: {
153135
+ type: "object",
153136
+ required: ["token"],
153137
+ properties: {
153138
+ token: {
153139
+ type: "string"
153140
+ }
153141
+ }
153142
+ }
153143
+ }
153144
+ }
153145
+ }
153146
+ },
152802
153147
  ComAtprotoServerGetSession: {
152803
153148
  lexicon: 1,
152804
153149
  id: "com.atproto.server.getSession",
@@ -153523,6 +153868,7 @@ var schemaDict = {
153523
153868
  type: "union",
153524
153869
  refs: [
153525
153870
  "lex:com.atproto.sync.subscribeRepos#commit",
153871
+ "lex:com.atproto.sync.subscribeRepos#identity",
153526
153872
  "lex:com.atproto.sync.subscribeRepos#handle",
153527
153873
  "lex:com.atproto.sync.subscribeRepos#migrate",
153528
153874
  "lex:com.atproto.sync.subscribeRepos#tombstone",
@@ -153619,9 +153965,27 @@ var schemaDict = {
153619
153965
  }
153620
153966
  }
153621
153967
  },
153968
+ identity: {
153969
+ type: "object",
153970
+ description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
153971
+ required: ["seq", "did", "time"],
153972
+ properties: {
153973
+ seq: {
153974
+ type: "integer"
153975
+ },
153976
+ did: {
153977
+ type: "string",
153978
+ format: "did"
153979
+ },
153980
+ time: {
153981
+ type: "string",
153982
+ format: "datetime"
153983
+ }
153984
+ }
153985
+ },
153622
153986
  handle: {
153623
153987
  type: "object",
153624
- description: "Represents an update of the account's handle, or transition to/from invalid state.",
153988
+ description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
153625
153989
  required: ["seq", "did", "handle", "time"],
153626
153990
  properties: {
153627
153991
  seq: {
@@ -153643,7 +154007,7 @@ var schemaDict = {
153643
154007
  },
153644
154008
  migrate: {
153645
154009
  type: "object",
153646
- description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; full account migration may introduce a new message instead.",
154010
+ description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
153647
154011
  required: ["seq", "did", "migrateTo", "time"],
153648
154012
  nullable: ["migrateTo"],
153649
154013
  properties: {
@@ -153665,7 +154029,7 @@ var schemaDict = {
153665
154029
  },
153666
154030
  tombstone: {
153667
154031
  type: "object",
153668
- description: "Indicates that an account has been deleted.",
154032
+ description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
153669
154033
  required: ["seq", "did", "time"],
153670
154034
  properties: {
153671
154035
  seq: {
@@ -153783,57 +154147,6 @@ var schemaDict = {
153783
154147
  }
153784
154148
  }
153785
154149
  },
153786
- ComAtprotoTempImportRepo: {
153787
- lexicon: 1,
153788
- id: "com.atproto.temp.importRepo",
153789
- defs: {
153790
- main: {
153791
- type: "procedure",
153792
- description: "Gets the did's repo, optionally catching up from a specific revision.",
153793
- parameters: {
153794
- type: "params",
153795
- required: ["did"],
153796
- properties: {
153797
- did: {
153798
- type: "string",
153799
- format: "did",
153800
- description: "The DID of the repo."
153801
- }
153802
- }
153803
- },
153804
- input: {
153805
- encoding: "application/vnd.ipld.car"
153806
- },
153807
- output: {
153808
- encoding: "text/plain"
153809
- }
153810
- }
153811
- }
153812
- },
153813
- ComAtprotoTempPushBlob: {
153814
- lexicon: 1,
153815
- id: "com.atproto.temp.pushBlob",
153816
- defs: {
153817
- main: {
153818
- type: "procedure",
153819
- description: "Gets the did's repo, optionally catching up from a specific revision.",
153820
- parameters: {
153821
- type: "params",
153822
- required: ["did"],
153823
- properties: {
153824
- did: {
153825
- type: "string",
153826
- format: "did",
153827
- description: "The DID of the repo."
153828
- }
153829
- }
153830
- },
153831
- input: {
153832
- encoding: "*/*"
153833
- }
153834
- }
153835
- }
153836
- },
153837
154150
  ComAtprotoTempRequestPhoneVerification: {
153838
154151
  lexicon: 1,
153839
154152
  id: "com.atproto.temp.requestPhoneVerification",
@@ -153856,82 +154169,6 @@ var schemaDict = {
153856
154169
  }
153857
154170
  }
153858
154171
  },
153859
- ComAtprotoTempTransferAccount: {
153860
- lexicon: 1,
153861
- id: "com.atproto.temp.transferAccount",
153862
- defs: {
153863
- main: {
153864
- type: "procedure",
153865
- description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
153866
- input: {
153867
- encoding: "application/json",
153868
- schema: {
153869
- type: "object",
153870
- required: ["handle", "did", "plcOp"],
153871
- properties: {
153872
- handle: {
153873
- type: "string",
153874
- format: "handle"
153875
- },
153876
- did: {
153877
- type: "string",
153878
- format: "did"
153879
- },
153880
- plcOp: {
153881
- type: "unknown"
153882
- }
153883
- }
153884
- }
153885
- },
153886
- output: {
153887
- encoding: "application/json",
153888
- schema: {
153889
- type: "object",
153890
- required: ["accessJwt", "refreshJwt", "handle", "did"],
153891
- properties: {
153892
- accessJwt: {
153893
- type: "string"
153894
- },
153895
- refreshJwt: {
153896
- type: "string"
153897
- },
153898
- handle: {
153899
- type: "string",
153900
- format: "handle"
153901
- },
153902
- did: {
153903
- type: "string",
153904
- format: "did"
153905
- }
153906
- }
153907
- }
153908
- },
153909
- errors: [
153910
- {
153911
- name: "InvalidHandle"
153912
- },
153913
- {
153914
- name: "InvalidPassword"
153915
- },
153916
- {
153917
- name: "InvalidInviteCode"
153918
- },
153919
- {
153920
- name: "HandleNotAvailable"
153921
- },
153922
- {
153923
- name: "UnsupportedDomain"
153924
- },
153925
- {
153926
- name: "UnresolvableDid"
153927
- },
153928
- {
153929
- name: "IncompatibleDidDoc"
153930
- }
153931
- ]
153932
- }
153933
- }
153934
- },
153935
154172
  AppBskyActorDefs: {
153936
154173
  lexicon: 1,
153937
154174
  id: "app.bsky.actor.defs",
@@ -154108,7 +154345,9 @@ var schemaDict = {
154108
154345
  "lex:app.bsky.actor.defs#personalDetailsPref",
154109
154346
  "lex:app.bsky.actor.defs#feedViewPref",
154110
154347
  "lex:app.bsky.actor.defs#threadViewPref",
154111
- "lex:app.bsky.actor.defs#interestsPref"
154348
+ "lex:app.bsky.actor.defs#interestsPref",
154349
+ "lex:app.bsky.actor.defs#mutedWordsPref",
154350
+ "lex:app.bsky.actor.defs#hiddenPostsPref"
154112
154351
  ]
154113
154352
  }
154114
154353
  },
@@ -154227,6 +154466,61 @@ var schemaDict = {
154227
154466
  description: "A list of tags which describe the account owner's interests gathered during onboarding."
154228
154467
  }
154229
154468
  }
154469
+ },
154470
+ mutedWordTarget: {
154471
+ type: "string",
154472
+ knownValues: ["content", "tag"],
154473
+ maxLength: 640,
154474
+ maxGraphemes: 64
154475
+ },
154476
+ mutedWord: {
154477
+ type: "object",
154478
+ description: "A word that the account owner has muted.",
154479
+ required: ["value", "targets"],
154480
+ properties: {
154481
+ value: {
154482
+ type: "string",
154483
+ description: "The muted word itself.",
154484
+ maxLength: 1e4,
154485
+ maxGraphemes: 1e3
154486
+ },
154487
+ targets: {
154488
+ type: "array",
154489
+ description: "The intended targets of the muted word.",
154490
+ items: {
154491
+ type: "ref",
154492
+ ref: "lex:app.bsky.actor.defs#mutedWordTarget"
154493
+ }
154494
+ }
154495
+ }
154496
+ },
154497
+ mutedWordsPref: {
154498
+ type: "object",
154499
+ required: ["items"],
154500
+ properties: {
154501
+ items: {
154502
+ type: "array",
154503
+ items: {
154504
+ type: "ref",
154505
+ ref: "lex:app.bsky.actor.defs#mutedWord"
154506
+ },
154507
+ description: "A list of words the account owner has muted."
154508
+ }
154509
+ }
154510
+ },
154511
+ hiddenPostsPref: {
154512
+ type: "object",
154513
+ required: ["items"],
154514
+ properties: {
154515
+ items: {
154516
+ type: "array",
154517
+ items: {
154518
+ type: "string",
154519
+ format: "at-uri"
154520
+ },
154521
+ description: "A list of URIs of posts the account owner has hidden."
154522
+ }
154523
+ }
154230
154524
  }
154231
154525
  }
154232
154526
  },
@@ -156093,7 +156387,7 @@ var schemaDict = {
156093
156387
  },
156094
156388
  tags: {
156095
156389
  type: "array",
156096
- description: "Additional non-inline tags describing this post.",
156390
+ description: "Additional hashtags, in addition to any included in post text and facets.",
156097
156391
  maxLength: 8,
156098
156392
  items: {
156099
156393
  type: "string",
@@ -157878,55 +158172,90 @@ function toKnownErr21(e) {
157878
158172
  return e;
157879
158173
  }
157880
158174
 
157881
- // ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
158175
+ // ../api/src/client/types/com/atproto/admin/updateAccountPassword.ts
157882
158176
  function toKnownErr22(e) {
157883
158177
  if (e instanceof XRPCError) {
157884
158178
  }
157885
158179
  return e;
157886
158180
  }
157887
158181
 
157888
- // ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
158182
+ // ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
157889
158183
  function toKnownErr23(e) {
157890
158184
  if (e instanceof XRPCError) {
157891
158185
  }
157892
158186
  return e;
157893
158187
  }
157894
158188
 
157895
- // ../api/src/client/types/com/atproto/identity/resolveHandle.ts
158189
+ // ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
157896
158190
  function toKnownErr24(e) {
157897
158191
  if (e instanceof XRPCError) {
157898
158192
  }
157899
158193
  return e;
157900
158194
  }
157901
158195
 
157902
- // ../api/src/client/types/com/atproto/identity/updateHandle.ts
158196
+ // ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
157903
158197
  function toKnownErr25(e) {
157904
158198
  if (e instanceof XRPCError) {
157905
158199
  }
157906
158200
  return e;
157907
158201
  }
157908
158202
 
157909
- // ../api/src/client/types/com/atproto/label/queryLabels.ts
158203
+ // ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
157910
158204
  function toKnownErr26(e) {
157911
158205
  if (e instanceof XRPCError) {
157912
158206
  }
157913
158207
  return e;
157914
158208
  }
157915
158209
 
157916
- // ../api/src/client/types/com/atproto/moderation/createReport.ts
158210
+ // ../api/src/client/types/com/atproto/identity/resolveHandle.ts
157917
158211
  function toKnownErr27(e) {
157918
158212
  if (e instanceof XRPCError) {
157919
158213
  }
157920
158214
  return e;
157921
158215
  }
157922
158216
 
158217
+ // ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
158218
+ function toKnownErr28(e) {
158219
+ if (e instanceof XRPCError) {
158220
+ }
158221
+ return e;
158222
+ }
158223
+
158224
+ // ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
158225
+ function toKnownErr29(e) {
158226
+ if (e instanceof XRPCError) {
158227
+ }
158228
+ return e;
158229
+ }
158230
+
158231
+ // ../api/src/client/types/com/atproto/identity/updateHandle.ts
158232
+ function toKnownErr30(e) {
158233
+ if (e instanceof XRPCError) {
158234
+ }
158235
+ return e;
158236
+ }
158237
+
158238
+ // ../api/src/client/types/com/atproto/label/queryLabels.ts
158239
+ function toKnownErr31(e) {
158240
+ if (e instanceof XRPCError) {
158241
+ }
158242
+ return e;
158243
+ }
158244
+
158245
+ // ../api/src/client/types/com/atproto/moderation/createReport.ts
158246
+ function toKnownErr32(e) {
158247
+ if (e instanceof XRPCError) {
158248
+ }
158249
+ return e;
158250
+ }
158251
+
157923
158252
  // ../api/src/client/types/com/atproto/repo/applyWrites.ts
157924
158253
  var InvalidSwapError = class extends XRPCError {
157925
158254
  constructor(src3) {
157926
158255
  super(src3.status, src3.error, src3.message, src3.headers);
157927
158256
  }
157928
158257
  };
157929
- function toKnownErr28(e) {
158258
+ function toKnownErr33(e) {
157930
158259
  if (e instanceof XRPCError) {
157931
158260
  if (e.error === "InvalidSwap")
157932
158261
  return new InvalidSwapError(e);
@@ -157940,7 +158269,7 @@ var InvalidSwapError2 = class extends XRPCError {
157940
158269
  super(src3.status, src3.error, src3.message, src3.headers);
157941
158270
  }
157942
158271
  };
157943
- function toKnownErr29(e) {
158272
+ function toKnownErr34(e) {
157944
158273
  if (e instanceof XRPCError) {
157945
158274
  if (e.error === "InvalidSwap")
157946
158275
  return new InvalidSwapError2(e);
@@ -157954,7 +158283,7 @@ var InvalidSwapError3 = class extends XRPCError {
157954
158283
  super(src3.status, src3.error, src3.message, src3.headers);
157955
158284
  }
157956
158285
  };
157957
- function toKnownErr30(e) {
158286
+ function toKnownErr35(e) {
157958
158287
  if (e instanceof XRPCError) {
157959
158288
  if (e.error === "InvalidSwap")
157960
158289
  return new InvalidSwapError3(e);
@@ -157963,21 +158292,35 @@ function toKnownErr30(e) {
157963
158292
  }
157964
158293
 
157965
158294
  // ../api/src/client/types/com/atproto/repo/describeRepo.ts
157966
- function toKnownErr31(e) {
158295
+ function toKnownErr36(e) {
157967
158296
  if (e instanceof XRPCError) {
157968
158297
  }
157969
158298
  return e;
157970
158299
  }
157971
158300
 
157972
158301
  // ../api/src/client/types/com/atproto/repo/getRecord.ts
157973
- function toKnownErr32(e) {
158302
+ function toKnownErr37(e) {
158303
+ if (e instanceof XRPCError) {
158304
+ }
158305
+ return e;
158306
+ }
158307
+
158308
+ // ../api/src/client/types/com/atproto/repo/importRepo.ts
158309
+ function toKnownErr38(e) {
158310
+ if (e instanceof XRPCError) {
158311
+ }
158312
+ return e;
158313
+ }
158314
+
158315
+ // ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
158316
+ function toKnownErr39(e) {
157974
158317
  if (e instanceof XRPCError) {
157975
158318
  }
157976
158319
  return e;
157977
158320
  }
157978
158321
 
157979
158322
  // ../api/src/client/types/com/atproto/repo/listRecords.ts
157980
- function toKnownErr33(e) {
158323
+ function toKnownErr40(e) {
157981
158324
  if (e instanceof XRPCError) {
157982
158325
  }
157983
158326
  return e;
@@ -157989,7 +158332,7 @@ var InvalidSwapError4 = class extends XRPCError {
157989
158332
  super(src3.status, src3.error, src3.message, src3.headers);
157990
158333
  }
157991
158334
  };
157992
- function toKnownErr34(e) {
158335
+ function toKnownErr41(e) {
157993
158336
  if (e instanceof XRPCError) {
157994
158337
  if (e.error === "InvalidSwap")
157995
158338
  return new InvalidSwapError4(e);
@@ -157998,7 +158341,21 @@ function toKnownErr34(e) {
157998
158341
  }
157999
158342
 
158000
158343
  // ../api/src/client/types/com/atproto/repo/uploadBlob.ts
158001
- function toKnownErr35(e) {
158344
+ function toKnownErr42(e) {
158345
+ if (e instanceof XRPCError) {
158346
+ }
158347
+ return e;
158348
+ }
158349
+
158350
+ // ../api/src/client/types/com/atproto/server/activateAccount.ts
158351
+ function toKnownErr43(e) {
158352
+ if (e instanceof XRPCError) {
158353
+ }
158354
+ return e;
158355
+ }
158356
+
158357
+ // ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
158358
+ function toKnownErr44(e) {
158002
158359
  if (e instanceof XRPCError) {
158003
158360
  }
158004
158361
  return e;
@@ -158025,7 +158382,7 @@ var InvalidEmailError = class extends XRPCError {
158025
158382
  super(src3.status, src3.error, src3.message, src3.headers);
158026
158383
  }
158027
158384
  };
158028
- function toKnownErr36(e) {
158385
+ function toKnownErr45(e) {
158029
158386
  if (e instanceof XRPCError) {
158030
158387
  if (e.error === "AccountNotFound")
158031
158388
  return new AccountNotFoundError(e);
@@ -158075,7 +158432,7 @@ var IncompatibleDidDocError = class extends XRPCError {
158075
158432
  super(src3.status, src3.error, src3.message, src3.headers);
158076
158433
  }
158077
158434
  };
158078
- function toKnownErr37(e) {
158435
+ function toKnownErr46(e) {
158079
158436
  if (e instanceof XRPCError) {
158080
158437
  if (e.error === "InvalidHandle")
158081
158438
  return new InvalidHandleError2(e);
@@ -158101,7 +158458,7 @@ var AccountTakedownError = class extends XRPCError {
158101
158458
  super(src3.status, src3.error, src3.message, src3.headers);
158102
158459
  }
158103
158460
  };
158104
- function toKnownErr38(e) {
158461
+ function toKnownErr47(e) {
158105
158462
  if (e instanceof XRPCError) {
158106
158463
  if (e.error === "AccountTakedown")
158107
158464
  return new AccountTakedownError(e);
@@ -158110,14 +158467,14 @@ function toKnownErr38(e) {
158110
158467
  }
158111
158468
 
158112
158469
  // ../api/src/client/types/com/atproto/server/createInviteCode.ts
158113
- function toKnownErr39(e) {
158470
+ function toKnownErr48(e) {
158114
158471
  if (e instanceof XRPCError) {
158115
158472
  }
158116
158473
  return e;
158117
158474
  }
158118
158475
 
158119
158476
  // ../api/src/client/types/com/atproto/server/createInviteCodes.ts
158120
- function toKnownErr40(e) {
158477
+ function toKnownErr49(e) {
158121
158478
  if (e instanceof XRPCError) {
158122
158479
  }
158123
158480
  return e;
@@ -158129,7 +158486,7 @@ var AccountTakedownError2 = class extends XRPCError {
158129
158486
  super(src3.status, src3.error, src3.message, src3.headers);
158130
158487
  }
158131
158488
  };
158132
- function toKnownErr41(e) {
158489
+ function toKnownErr50(e) {
158133
158490
  if (e instanceof XRPCError) {
158134
158491
  if (e.error === "AccountTakedown")
158135
158492
  return new AccountTakedownError2(e);
@@ -158137,6 +158494,13 @@ function toKnownErr41(e) {
158137
158494
  return e;
158138
158495
  }
158139
158496
 
158497
+ // ../api/src/client/types/com/atproto/server/deactivateAccount.ts
158498
+ function toKnownErr51(e) {
158499
+ if (e instanceof XRPCError) {
158500
+ }
158501
+ return e;
158502
+ }
158503
+
158140
158504
  // ../api/src/client/types/com/atproto/server/deleteAccount.ts
158141
158505
  var ExpiredTokenError2 = class extends XRPCError {
158142
158506
  constructor(src3) {
@@ -158148,7 +158512,7 @@ var InvalidTokenError2 = class extends XRPCError {
158148
158512
  super(src3.status, src3.error, src3.message, src3.headers);
158149
158513
  }
158150
158514
  };
158151
- function toKnownErr42(e) {
158515
+ function toKnownErr52(e) {
158152
158516
  if (e instanceof XRPCError) {
158153
158517
  if (e.error === "ExpiredToken")
158154
158518
  return new ExpiredTokenError2(e);
@@ -158159,14 +158523,14 @@ function toKnownErr42(e) {
158159
158523
  }
158160
158524
 
158161
158525
  // ../api/src/client/types/com/atproto/server/deleteSession.ts
158162
- function toKnownErr43(e) {
158526
+ function toKnownErr53(e) {
158163
158527
  if (e instanceof XRPCError) {
158164
158528
  }
158165
158529
  return e;
158166
158530
  }
158167
158531
 
158168
158532
  // ../api/src/client/types/com/atproto/server/describeServer.ts
158169
- function toKnownErr44(e) {
158533
+ function toKnownErr54(e) {
158170
158534
  if (e instanceof XRPCError) {
158171
158535
  }
158172
158536
  return e;
@@ -158178,7 +158542,7 @@ var DuplicateCreateError = class extends XRPCError {
158178
158542
  super(src3.status, src3.error, src3.message, src3.headers);
158179
158543
  }
158180
158544
  };
158181
- function toKnownErr45(e) {
158545
+ function toKnownErr55(e) {
158182
158546
  if (e instanceof XRPCError) {
158183
158547
  if (e.error === "DuplicateCreate")
158184
158548
  return new DuplicateCreateError(e);
@@ -158186,8 +158550,15 @@ function toKnownErr45(e) {
158186
158550
  return e;
158187
158551
  }
158188
158552
 
158553
+ // ../api/src/client/types/com/atproto/server/getServiceAuth.ts
158554
+ function toKnownErr56(e) {
158555
+ if (e instanceof XRPCError) {
158556
+ }
158557
+ return e;
158558
+ }
158559
+
158189
158560
  // ../api/src/client/types/com/atproto/server/getSession.ts
158190
- function toKnownErr46(e) {
158561
+ function toKnownErr57(e) {
158191
158562
  if (e instanceof XRPCError) {
158192
158563
  }
158193
158564
  return e;
@@ -158199,7 +158570,7 @@ var AccountTakedownError3 = class extends XRPCError {
158199
158570
  super(src3.status, src3.error, src3.message, src3.headers);
158200
158571
  }
158201
158572
  };
158202
- function toKnownErr47(e) {
158573
+ function toKnownErr58(e) {
158203
158574
  if (e instanceof XRPCError) {
158204
158575
  if (e.error === "AccountTakedown")
158205
158576
  return new AccountTakedownError3(e);
@@ -158213,7 +158584,7 @@ var AccountTakedownError4 = class extends XRPCError {
158213
158584
  super(src3.status, src3.error, src3.message, src3.headers);
158214
158585
  }
158215
158586
  };
158216
- function toKnownErr48(e) {
158587
+ function toKnownErr59(e) {
158217
158588
  if (e instanceof XRPCError) {
158218
158589
  if (e.error === "AccountTakedown")
158219
158590
  return new AccountTakedownError4(e);
@@ -158222,35 +158593,35 @@ function toKnownErr48(e) {
158222
158593
  }
158223
158594
 
158224
158595
  // ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
158225
- function toKnownErr49(e) {
158596
+ function toKnownErr60(e) {
158226
158597
  if (e instanceof XRPCError) {
158227
158598
  }
158228
158599
  return e;
158229
158600
  }
158230
158601
 
158231
158602
  // ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
158232
- function toKnownErr50(e) {
158603
+ function toKnownErr61(e) {
158233
158604
  if (e instanceof XRPCError) {
158234
158605
  }
158235
158606
  return e;
158236
158607
  }
158237
158608
 
158238
158609
  // ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
158239
- function toKnownErr51(e) {
158610
+ function toKnownErr62(e) {
158240
158611
  if (e instanceof XRPCError) {
158241
158612
  }
158242
158613
  return e;
158243
158614
  }
158244
158615
 
158245
158616
  // ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
158246
- function toKnownErr52(e) {
158617
+ function toKnownErr63(e) {
158247
158618
  if (e instanceof XRPCError) {
158248
158619
  }
158249
158620
  return e;
158250
158621
  }
158251
158622
 
158252
158623
  // ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
158253
- function toKnownErr53(e) {
158624
+ function toKnownErr64(e) {
158254
158625
  if (e instanceof XRPCError) {
158255
158626
  }
158256
158627
  return e;
@@ -158267,7 +158638,7 @@ var InvalidTokenError3 = class extends XRPCError {
158267
158638
  super(src3.status, src3.error, src3.message, src3.headers);
158268
158639
  }
158269
158640
  };
158270
- function toKnownErr54(e) {
158641
+ function toKnownErr65(e) {
158271
158642
  if (e instanceof XRPCError) {
158272
158643
  if (e.error === "ExpiredToken")
158273
158644
  return new ExpiredTokenError3(e);
@@ -158278,7 +158649,7 @@ function toKnownErr54(e) {
158278
158649
  }
158279
158650
 
158280
158651
  // ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
158281
- function toKnownErr55(e) {
158652
+ function toKnownErr66(e) {
158282
158653
  if (e instanceof XRPCError) {
158283
158654
  }
158284
158655
  return e;
@@ -158300,7 +158671,7 @@ var TokenRequiredError = class extends XRPCError {
158300
158671
  super(src3.status, src3.error, src3.message, src3.headers);
158301
158672
  }
158302
158673
  };
158303
- function toKnownErr56(e) {
158674
+ function toKnownErr67(e) {
158304
158675
  if (e instanceof XRPCError) {
158305
158676
  if (e.error === "ExpiredToken")
158306
158677
  return new ExpiredTokenError4(e);
@@ -158313,21 +158684,21 @@ function toKnownErr56(e) {
158313
158684
  }
158314
158685
 
158315
158686
  // ../api/src/client/types/com/atproto/sync/getBlob.ts
158316
- function toKnownErr57(e) {
158687
+ function toKnownErr68(e) {
158317
158688
  if (e instanceof XRPCError) {
158318
158689
  }
158319
158690
  return e;
158320
158691
  }
158321
158692
 
158322
158693
  // ../api/src/client/types/com/atproto/sync/getBlocks.ts
158323
- function toKnownErr58(e) {
158694
+ function toKnownErr69(e) {
158324
158695
  if (e instanceof XRPCError) {
158325
158696
  }
158326
158697
  return e;
158327
158698
  }
158328
158699
 
158329
158700
  // ../api/src/client/types/com/atproto/sync/getCheckout.ts
158330
- function toKnownErr59(e) {
158701
+ function toKnownErr70(e) {
158331
158702
  if (e instanceof XRPCError) {
158332
158703
  }
158333
158704
  return e;
@@ -158339,7 +158710,7 @@ var HeadNotFoundError = class extends XRPCError {
158339
158710
  super(src3.status, src3.error, src3.message, src3.headers);
158340
158711
  }
158341
158712
  };
158342
- function toKnownErr60(e) {
158713
+ function toKnownErr71(e) {
158343
158714
  if (e instanceof XRPCError) {
158344
158715
  if (e.error === "HeadNotFound")
158345
158716
  return new HeadNotFoundError(e);
@@ -158351,14 +158722,14 @@ function toKnownErr60(e) {
158351
158722
  var getLatestCommit_exports = {};
158352
158723
  __export(getLatestCommit_exports, {
158353
158724
  RepoNotFoundError: () => RepoNotFoundError2,
158354
- toKnownErr: () => toKnownErr61
158725
+ toKnownErr: () => toKnownErr72
158355
158726
  });
158356
158727
  var RepoNotFoundError2 = class extends XRPCError {
158357
158728
  constructor(src3) {
158358
158729
  super(src3.status, src3.error, src3.message, src3.headers);
158359
158730
  }
158360
158731
  };
158361
- function toKnownErr61(e) {
158732
+ function toKnownErr72(e) {
158362
158733
  if (e instanceof XRPCError) {
158363
158734
  if (e.error === "RepoNotFound")
158364
158735
  return new RepoNotFoundError2(e);
@@ -158367,196 +158738,126 @@ function toKnownErr61(e) {
158367
158738
  }
158368
158739
 
158369
158740
  // ../api/src/client/types/com/atproto/sync/getRecord.ts
158370
- function toKnownErr62(e) {
158741
+ function toKnownErr73(e) {
158371
158742
  if (e instanceof XRPCError) {
158372
158743
  }
158373
158744
  return e;
158374
158745
  }
158375
158746
 
158376
158747
  // ../api/src/client/types/com/atproto/sync/getRepo.ts
158377
- function toKnownErr63(e) {
158748
+ function toKnownErr74(e) {
158378
158749
  if (e instanceof XRPCError) {
158379
158750
  }
158380
158751
  return e;
158381
158752
  }
158382
158753
 
158383
158754
  // ../api/src/client/types/com/atproto/sync/listBlobs.ts
158384
- function toKnownErr64(e) {
158755
+ function toKnownErr75(e) {
158385
158756
  if (e instanceof XRPCError) {
158386
158757
  }
158387
158758
  return e;
158388
158759
  }
158389
158760
 
158390
158761
  // ../api/src/client/types/com/atproto/sync/listRepos.ts
158391
- function toKnownErr65(e) {
158762
+ function toKnownErr76(e) {
158392
158763
  if (e instanceof XRPCError) {
158393
158764
  }
158394
158765
  return e;
158395
158766
  }
158396
158767
 
158397
158768
  // ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
158398
- function toKnownErr66(e) {
158769
+ function toKnownErr77(e) {
158399
158770
  if (e instanceof XRPCError) {
158400
158771
  }
158401
158772
  return e;
158402
158773
  }
158403
158774
 
158404
158775
  // ../api/src/client/types/com/atproto/sync/requestCrawl.ts
158405
- function toKnownErr67(e) {
158776
+ function toKnownErr78(e) {
158406
158777
  if (e instanceof XRPCError) {
158407
158778
  }
158408
158779
  return e;
158409
158780
  }
158410
158781
 
158411
158782
  // ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
158412
- function toKnownErr68(e) {
158783
+ function toKnownErr79(e) {
158413
158784
  if (e instanceof XRPCError) {
158414
158785
  }
158415
158786
  return e;
158416
158787
  }
158417
158788
 
158418
158789
  // ../api/src/client/types/com/atproto/temp/fetchLabels.ts
158419
- function toKnownErr69(e) {
158420
- if (e instanceof XRPCError) {
158421
- }
158422
- return e;
158423
- }
158424
-
158425
- // ../api/src/client/types/com/atproto/temp/importRepo.ts
158426
- function toKnownErr70(e) {
158427
- if (e instanceof XRPCError) {
158428
- }
158429
- return e;
158430
- }
158431
-
158432
- // ../api/src/client/types/com/atproto/temp/pushBlob.ts
158433
- function toKnownErr71(e) {
158790
+ function toKnownErr80(e) {
158434
158791
  if (e instanceof XRPCError) {
158435
158792
  }
158436
158793
  return e;
158437
158794
  }
158438
158795
 
158439
158796
  // ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
158440
- function toKnownErr72(e) {
158441
- if (e instanceof XRPCError) {
158442
- }
158443
- return e;
158444
- }
158445
-
158446
- // ../api/src/client/types/com/atproto/temp/transferAccount.ts
158447
- var InvalidHandleError3 = class extends XRPCError {
158448
- constructor(src3) {
158449
- super(src3.status, src3.error, src3.message, src3.headers);
158450
- }
158451
- };
158452
- var InvalidPasswordError2 = class extends XRPCError {
158453
- constructor(src3) {
158454
- super(src3.status, src3.error, src3.message, src3.headers);
158455
- }
158456
- };
158457
- var InvalidInviteCodeError2 = class extends XRPCError {
158458
- constructor(src3) {
158459
- super(src3.status, src3.error, src3.message, src3.headers);
158460
- }
158461
- };
158462
- var HandleNotAvailableError2 = class extends XRPCError {
158463
- constructor(src3) {
158464
- super(src3.status, src3.error, src3.message, src3.headers);
158465
- }
158466
- };
158467
- var UnsupportedDomainError2 = class extends XRPCError {
158468
- constructor(src3) {
158469
- super(src3.status, src3.error, src3.message, src3.headers);
158470
- }
158471
- };
158472
- var UnresolvableDidError2 = class extends XRPCError {
158473
- constructor(src3) {
158474
- super(src3.status, src3.error, src3.message, src3.headers);
158475
- }
158476
- };
158477
- var IncompatibleDidDocError2 = class extends XRPCError {
158478
- constructor(src3) {
158479
- super(src3.status, src3.error, src3.message, src3.headers);
158480
- }
158481
- };
158482
- function toKnownErr73(e) {
158797
+ function toKnownErr81(e) {
158483
158798
  if (e instanceof XRPCError) {
158484
- if (e.error === "InvalidHandle")
158485
- return new InvalidHandleError3(e);
158486
- if (e.error === "InvalidPassword")
158487
- return new InvalidPasswordError2(e);
158488
- if (e.error === "InvalidInviteCode")
158489
- return new InvalidInviteCodeError2(e);
158490
- if (e.error === "HandleNotAvailable")
158491
- return new HandleNotAvailableError2(e);
158492
- if (e.error === "UnsupportedDomain")
158493
- return new UnsupportedDomainError2(e);
158494
- if (e.error === "UnresolvableDid")
158495
- return new UnresolvableDidError2(e);
158496
- if (e.error === "IncompatibleDidDoc")
158497
- return new IncompatibleDidDocError2(e);
158498
158799
  }
158499
158800
  return e;
158500
158801
  }
158501
158802
 
158502
158803
  // ../api/src/client/types/app/bsky/actor/getPreferences.ts
158503
- function toKnownErr74(e) {
158804
+ function toKnownErr82(e) {
158504
158805
  if (e instanceof XRPCError) {
158505
158806
  }
158506
158807
  return e;
158507
158808
  }
158508
158809
 
158509
158810
  // ../api/src/client/types/app/bsky/actor/getProfile.ts
158510
- function toKnownErr75(e) {
158811
+ function toKnownErr83(e) {
158511
158812
  if (e instanceof XRPCError) {
158512
158813
  }
158513
158814
  return e;
158514
158815
  }
158515
158816
 
158516
158817
  // ../api/src/client/types/app/bsky/actor/getProfiles.ts
158517
- function toKnownErr76(e) {
158818
+ function toKnownErr84(e) {
158518
158819
  if (e instanceof XRPCError) {
158519
158820
  }
158520
158821
  return e;
158521
158822
  }
158522
158823
 
158523
158824
  // ../api/src/client/types/app/bsky/actor/getSuggestions.ts
158524
- function toKnownErr77(e) {
158825
+ function toKnownErr85(e) {
158525
158826
  if (e instanceof XRPCError) {
158526
158827
  }
158527
158828
  return e;
158528
158829
  }
158529
158830
 
158530
158831
  // ../api/src/client/types/app/bsky/actor/putPreferences.ts
158531
- function toKnownErr78(e) {
158832
+ function toKnownErr86(e) {
158532
158833
  if (e instanceof XRPCError) {
158533
158834
  }
158534
158835
  return e;
158535
158836
  }
158536
158837
 
158537
158838
  // ../api/src/client/types/app/bsky/actor/searchActors.ts
158538
- function toKnownErr79(e) {
158839
+ function toKnownErr87(e) {
158539
158840
  if (e instanceof XRPCError) {
158540
158841
  }
158541
158842
  return e;
158542
158843
  }
158543
158844
 
158544
158845
  // ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
158545
- function toKnownErr80(e) {
158846
+ function toKnownErr88(e) {
158546
158847
  if (e instanceof XRPCError) {
158547
158848
  }
158548
158849
  return e;
158549
158850
  }
158550
158851
 
158551
158852
  // ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
158552
- function toKnownErr81(e) {
158853
+ function toKnownErr89(e) {
158553
158854
  if (e instanceof XRPCError) {
158554
158855
  }
158555
158856
  return e;
158556
158857
  }
158557
158858
 
158558
158859
  // ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
158559
- function toKnownErr82(e) {
158860
+ function toKnownErr90(e) {
158560
158861
  if (e instanceof XRPCError) {
158561
158862
  }
158562
158863
  return e;
@@ -158573,7 +158874,7 @@ var BlockedByActorError = class extends XRPCError {
158573
158874
  super(src3.status, src3.error, src3.message, src3.headers);
158574
158875
  }
158575
158876
  };
158576
- function toKnownErr83(e) {
158877
+ function toKnownErr91(e) {
158577
158878
  if (e instanceof XRPCError) {
158578
158879
  if (e.error === "BlockedActor")
158579
158880
  return new BlockedActorError(e);
@@ -158594,7 +158895,7 @@ var BlockedByActorError2 = class extends XRPCError {
158594
158895
  super(src3.status, src3.error, src3.message, src3.headers);
158595
158896
  }
158596
158897
  };
158597
- function toKnownErr84(e) {
158898
+ function toKnownErr92(e) {
158598
158899
  if (e instanceof XRPCError) {
158599
158900
  if (e.error === "BlockedActor")
158600
158901
  return new BlockedActorError2(e);
@@ -158610,7 +158911,7 @@ var UnknownFeedError = class extends XRPCError {
158610
158911
  super(src3.status, src3.error, src3.message, src3.headers);
158611
158912
  }
158612
158913
  };
158613
- function toKnownErr85(e) {
158914
+ function toKnownErr93(e) {
158614
158915
  if (e instanceof XRPCError) {
158615
158916
  if (e.error === "UnknownFeed")
158616
158917
  return new UnknownFeedError(e);
@@ -158619,14 +158920,14 @@ function toKnownErr85(e) {
158619
158920
  }
158620
158921
 
158621
158922
  // ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
158622
- function toKnownErr86(e) {
158923
+ function toKnownErr94(e) {
158623
158924
  if (e instanceof XRPCError) {
158624
158925
  }
158625
158926
  return e;
158626
158927
  }
158627
158928
 
158628
158929
  // ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
158629
- function toKnownErr87(e) {
158930
+ function toKnownErr95(e) {
158630
158931
  if (e instanceof XRPCError) {
158631
158932
  }
158632
158933
  return e;
@@ -158636,14 +158937,14 @@ function toKnownErr87(e) {
158636
158937
  var getFeedSkeleton_exports = {};
158637
158938
  __export(getFeedSkeleton_exports, {
158638
158939
  UnknownFeedError: () => UnknownFeedError2,
158639
- toKnownErr: () => toKnownErr88
158940
+ toKnownErr: () => toKnownErr96
158640
158941
  });
158641
158942
  var UnknownFeedError2 = class extends XRPCError {
158642
158943
  constructor(src3) {
158643
158944
  super(src3.status, src3.error, src3.message, src3.headers);
158644
158945
  }
158645
158946
  };
158646
- function toKnownErr88(e) {
158947
+ function toKnownErr96(e) {
158647
158948
  if (e instanceof XRPCError) {
158648
158949
  if (e.error === "UnknownFeed")
158649
158950
  return new UnknownFeedError2(e);
@@ -158652,7 +158953,7 @@ function toKnownErr88(e) {
158652
158953
  }
158653
158954
 
158654
158955
  // ../api/src/client/types/app/bsky/feed/getLikes.ts
158655
- function toKnownErr89(e) {
158956
+ function toKnownErr97(e) {
158656
158957
  if (e instanceof XRPCError) {
158657
158958
  }
158658
158959
  return e;
@@ -158664,7 +158965,7 @@ var UnknownListError = class extends XRPCError {
158664
158965
  super(src3.status, src3.error, src3.message, src3.headers);
158665
158966
  }
158666
158967
  };
158667
- function toKnownErr90(e) {
158968
+ function toKnownErr98(e) {
158668
158969
  if (e instanceof XRPCError) {
158669
158970
  if (e.error === "UnknownList")
158670
158971
  return new UnknownListError(e);
@@ -158678,7 +158979,7 @@ var NotFoundError = class extends XRPCError {
158678
158979
  super(src3.status, src3.error, src3.message, src3.headers);
158679
158980
  }
158680
158981
  };
158681
- function toKnownErr91(e) {
158982
+ function toKnownErr99(e) {
158682
158983
  if (e instanceof XRPCError) {
158683
158984
  if (e.error === "NotFound")
158684
158985
  return new NotFoundError(e);
@@ -158687,28 +158988,28 @@ function toKnownErr91(e) {
158687
158988
  }
158688
158989
 
158689
158990
  // ../api/src/client/types/app/bsky/feed/getPosts.ts
158690
- function toKnownErr92(e) {
158991
+ function toKnownErr100(e) {
158691
158992
  if (e instanceof XRPCError) {
158692
158993
  }
158693
158994
  return e;
158694
158995
  }
158695
158996
 
158696
158997
  // ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
158697
- function toKnownErr93(e) {
158998
+ function toKnownErr101(e) {
158698
158999
  if (e instanceof XRPCError) {
158699
159000
  }
158700
159001
  return e;
158701
159002
  }
158702
159003
 
158703
159004
  // ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
158704
- function toKnownErr94(e) {
159005
+ function toKnownErr102(e) {
158705
159006
  if (e instanceof XRPCError) {
158706
159007
  }
158707
159008
  return e;
158708
159009
  }
158709
159010
 
158710
159011
  // ../api/src/client/types/app/bsky/feed/getTimeline.ts
158711
- function toKnownErr95(e) {
159012
+ function toKnownErr103(e) {
158712
159013
  if (e instanceof XRPCError) {
158713
159014
  }
158714
159015
  return e;
@@ -158720,7 +159021,7 @@ var BadQueryStringError = class extends XRPCError {
158720
159021
  super(src3.status, src3.error, src3.message, src3.headers);
158721
159022
  }
158722
159023
  };
158723
- function toKnownErr96(e) {
159024
+ function toKnownErr104(e) {
158724
159025
  if (e instanceof XRPCError) {
158725
159026
  if (e.error === "BadQueryString")
158726
159027
  return new BadQueryStringError(e);
@@ -158729,56 +159030,56 @@ function toKnownErr96(e) {
158729
159030
  }
158730
159031
 
158731
159032
  // ../api/src/client/types/app/bsky/graph/getBlocks.ts
158732
- function toKnownErr97(e) {
159033
+ function toKnownErr105(e) {
158733
159034
  if (e instanceof XRPCError) {
158734
159035
  }
158735
159036
  return e;
158736
159037
  }
158737
159038
 
158738
159039
  // ../api/src/client/types/app/bsky/graph/getFollowers.ts
158739
- function toKnownErr98(e) {
159040
+ function toKnownErr106(e) {
158740
159041
  if (e instanceof XRPCError) {
158741
159042
  }
158742
159043
  return e;
158743
159044
  }
158744
159045
 
158745
159046
  // ../api/src/client/types/app/bsky/graph/getFollows.ts
158746
- function toKnownErr99(e) {
159047
+ function toKnownErr107(e) {
158747
159048
  if (e instanceof XRPCError) {
158748
159049
  }
158749
159050
  return e;
158750
159051
  }
158751
159052
 
158752
159053
  // ../api/src/client/types/app/bsky/graph/getList.ts
158753
- function toKnownErr100(e) {
159054
+ function toKnownErr108(e) {
158754
159055
  if (e instanceof XRPCError) {
158755
159056
  }
158756
159057
  return e;
158757
159058
  }
158758
159059
 
158759
159060
  // ../api/src/client/types/app/bsky/graph/getListBlocks.ts
158760
- function toKnownErr101(e) {
159061
+ function toKnownErr109(e) {
158761
159062
  if (e instanceof XRPCError) {
158762
159063
  }
158763
159064
  return e;
158764
159065
  }
158765
159066
 
158766
159067
  // ../api/src/client/types/app/bsky/graph/getListMutes.ts
158767
- function toKnownErr102(e) {
159068
+ function toKnownErr110(e) {
158768
159069
  if (e instanceof XRPCError) {
158769
159070
  }
158770
159071
  return e;
158771
159072
  }
158772
159073
 
158773
159074
  // ../api/src/client/types/app/bsky/graph/getLists.ts
158774
- function toKnownErr103(e) {
159075
+ function toKnownErr111(e) {
158775
159076
  if (e instanceof XRPCError) {
158776
159077
  }
158777
159078
  return e;
158778
159079
  }
158779
159080
 
158780
159081
  // ../api/src/client/types/app/bsky/graph/getMutes.ts
158781
- function toKnownErr104(e) {
159082
+ function toKnownErr112(e) {
158782
159083
  if (e instanceof XRPCError) {
158783
159084
  }
158784
159085
  return e;
@@ -158790,7 +159091,7 @@ var ActorNotFoundError = class extends XRPCError {
158790
159091
  super(src3.status, src3.error, src3.message, src3.headers);
158791
159092
  }
158792
159093
  };
158793
- function toKnownErr105(e) {
159094
+ function toKnownErr113(e) {
158794
159095
  if (e instanceof XRPCError) {
158795
159096
  if (e.error === "ActorNotFound")
158796
159097
  return new ActorNotFoundError(e);
@@ -158799,77 +159100,77 @@ function toKnownErr105(e) {
158799
159100
  }
158800
159101
 
158801
159102
  // ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
158802
- function toKnownErr106(e) {
159103
+ function toKnownErr114(e) {
158803
159104
  if (e instanceof XRPCError) {
158804
159105
  }
158805
159106
  return e;
158806
159107
  }
158807
159108
 
158808
159109
  // ../api/src/client/types/app/bsky/graph/muteActor.ts
158809
- function toKnownErr107(e) {
159110
+ function toKnownErr115(e) {
158810
159111
  if (e instanceof XRPCError) {
158811
159112
  }
158812
159113
  return e;
158813
159114
  }
158814
159115
 
158815
159116
  // ../api/src/client/types/app/bsky/graph/muteActorList.ts
158816
- function toKnownErr108(e) {
159117
+ function toKnownErr116(e) {
158817
159118
  if (e instanceof XRPCError) {
158818
159119
  }
158819
159120
  return e;
158820
159121
  }
158821
159122
 
158822
159123
  // ../api/src/client/types/app/bsky/graph/unmuteActor.ts
158823
- function toKnownErr109(e) {
159124
+ function toKnownErr117(e) {
158824
159125
  if (e instanceof XRPCError) {
158825
159126
  }
158826
159127
  return e;
158827
159128
  }
158828
159129
 
158829
159130
  // ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
158830
- function toKnownErr110(e) {
159131
+ function toKnownErr118(e) {
158831
159132
  if (e instanceof XRPCError) {
158832
159133
  }
158833
159134
  return e;
158834
159135
  }
158835
159136
 
158836
159137
  // ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
158837
- function toKnownErr111(e) {
159138
+ function toKnownErr119(e) {
158838
159139
  if (e instanceof XRPCError) {
158839
159140
  }
158840
159141
  return e;
158841
159142
  }
158842
159143
 
158843
159144
  // ../api/src/client/types/app/bsky/notification/listNotifications.ts
158844
- function toKnownErr112(e) {
159145
+ function toKnownErr120(e) {
158845
159146
  if (e instanceof XRPCError) {
158846
159147
  }
158847
159148
  return e;
158848
159149
  }
158849
159150
 
158850
159151
  // ../api/src/client/types/app/bsky/notification/registerPush.ts
158851
- function toKnownErr113(e) {
159152
+ function toKnownErr121(e) {
158852
159153
  if (e instanceof XRPCError) {
158853
159154
  }
158854
159155
  return e;
158855
159156
  }
158856
159157
 
158857
159158
  // ../api/src/client/types/app/bsky/notification/updateSeen.ts
158858
- function toKnownErr114(e) {
159159
+ function toKnownErr122(e) {
158859
159160
  if (e instanceof XRPCError) {
158860
159161
  }
158861
159162
  return e;
158862
159163
  }
158863
159164
 
158864
159165
  // ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
158865
- function toKnownErr115(e) {
159166
+ function toKnownErr123(e) {
158866
159167
  if (e instanceof XRPCError) {
158867
159168
  }
158868
159169
  return e;
158869
159170
  }
158870
159171
 
158871
159172
  // ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
158872
- function toKnownErr116(e) {
159173
+ function toKnownErr124(e) {
158873
159174
  if (e instanceof XRPCError) {
158874
159175
  }
158875
159176
  return e;
@@ -158881,7 +159182,7 @@ var BadQueryStringError2 = class extends XRPCError {
158881
159182
  super(src3.status, src3.error, src3.message, src3.headers);
158882
159183
  }
158883
159184
  };
158884
- function toKnownErr117(e) {
159185
+ function toKnownErr125(e) {
158885
159186
  if (e instanceof XRPCError) {
158886
159187
  if (e.error === "BadQueryString")
158887
159188
  return new BadQueryStringError2(e);
@@ -158895,7 +159196,7 @@ var BadQueryStringError3 = class extends XRPCError {
158895
159196
  super(src3.status, src3.error, src3.message, src3.headers);
158896
159197
  }
158897
159198
  };
158898
- function toKnownErr118(e) {
159199
+ function toKnownErr126(e) {
158899
159200
  if (e instanceof XRPCError) {
158900
159201
  if (e.error === "BadQueryString")
158901
159202
  return new BadQueryStringError3(e);
@@ -159052,14 +159353,19 @@ var ComAtprotoAdminNS = class {
159052
159353
  throw toKnownErr21(e);
159053
159354
  });
159054
159355
  }
159356
+ updateAccountPassword(data, opts) {
159357
+ return this._service.xrpc.call("com.atproto.admin.updateAccountPassword", opts?.qp, data, opts).catch((e) => {
159358
+ throw toKnownErr22(e);
159359
+ });
159360
+ }
159055
159361
  updateCommunicationTemplate(data, opts) {
159056
159362
  return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
159057
- throw toKnownErr22(e);
159363
+ throw toKnownErr23(e);
159058
159364
  });
159059
159365
  }
159060
159366
  updateSubjectStatus(data, opts) {
159061
159367
  return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
159062
- throw toKnownErr23(e);
159368
+ throw toKnownErr24(e);
159063
159369
  });
159064
159370
  }
159065
159371
  };
@@ -159067,14 +159373,34 @@ var ComAtprotoIdentityNS = class {
159067
159373
  constructor(service2) {
159068
159374
  this._service = service2;
159069
159375
  }
159376
+ getRecommendedDidCredentials(params2, opts) {
159377
+ return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
159378
+ throw toKnownErr25(e);
159379
+ });
159380
+ }
159381
+ requestPlcOperationSignature(data, opts) {
159382
+ return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
159383
+ throw toKnownErr26(e);
159384
+ });
159385
+ }
159070
159386
  resolveHandle(params2, opts) {
159071
159387
  return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
159072
- throw toKnownErr24(e);
159388
+ throw toKnownErr27(e);
159389
+ });
159390
+ }
159391
+ signPlcOperation(data, opts) {
159392
+ return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
159393
+ throw toKnownErr28(e);
159394
+ });
159395
+ }
159396
+ submitPlcOperation(data, opts) {
159397
+ return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
159398
+ throw toKnownErr29(e);
159073
159399
  });
159074
159400
  }
159075
159401
  updateHandle(data, opts) {
159076
159402
  return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
159077
- throw toKnownErr25(e);
159403
+ throw toKnownErr30(e);
159078
159404
  });
159079
159405
  }
159080
159406
  };
@@ -159084,7 +159410,7 @@ var ComAtprotoLabelNS = class {
159084
159410
  }
159085
159411
  queryLabels(params2, opts) {
159086
159412
  return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
159087
- throw toKnownErr26(e);
159413
+ throw toKnownErr31(e);
159088
159414
  });
159089
159415
  }
159090
159416
  };
@@ -159094,7 +159420,7 @@ var ComAtprotoModerationNS = class {
159094
159420
  }
159095
159421
  createReport(data, opts) {
159096
159422
  return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
159097
- throw toKnownErr27(e);
159423
+ throw toKnownErr32(e);
159098
159424
  });
159099
159425
  }
159100
159426
  };
@@ -159104,42 +159430,52 @@ var ComAtprotoRepoNS = class {
159104
159430
  }
159105
159431
  applyWrites(data, opts) {
159106
159432
  return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
159107
- throw toKnownErr28(e);
159433
+ throw toKnownErr33(e);
159108
159434
  });
159109
159435
  }
159110
159436
  createRecord(data, opts) {
159111
159437
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
159112
- throw toKnownErr29(e);
159438
+ throw toKnownErr34(e);
159113
159439
  });
159114
159440
  }
159115
159441
  deleteRecord(data, opts) {
159116
159442
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
159117
- throw toKnownErr30(e);
159443
+ throw toKnownErr35(e);
159118
159444
  });
159119
159445
  }
159120
159446
  describeRepo(params2, opts) {
159121
159447
  return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
159122
- throw toKnownErr31(e);
159448
+ throw toKnownErr36(e);
159123
159449
  });
159124
159450
  }
159125
159451
  getRecord(params2, opts) {
159126
159452
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
159127
- throw toKnownErr32(e);
159453
+ throw toKnownErr37(e);
159454
+ });
159455
+ }
159456
+ importRepo(data, opts) {
159457
+ return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
159458
+ throw toKnownErr38(e);
159459
+ });
159460
+ }
159461
+ listMissingBlobs(params2, opts) {
159462
+ return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
159463
+ throw toKnownErr39(e);
159128
159464
  });
159129
159465
  }
159130
159466
  listRecords(params2, opts) {
159131
159467
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
159132
- throw toKnownErr33(e);
159468
+ throw toKnownErr40(e);
159133
159469
  });
159134
159470
  }
159135
159471
  putRecord(data, opts) {
159136
159472
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
159137
- throw toKnownErr34(e);
159473
+ throw toKnownErr41(e);
159138
159474
  });
159139
159475
  }
159140
159476
  uploadBlob(data, opts) {
159141
159477
  return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
159142
- throw toKnownErr35(e);
159478
+ throw toKnownErr42(e);
159143
159479
  });
159144
159480
  }
159145
159481
  };
@@ -159147,109 +159483,129 @@ var ComAtprotoServerNS = class {
159147
159483
  constructor(service2) {
159148
159484
  this._service = service2;
159149
159485
  }
159486
+ activateAccount(data, opts) {
159487
+ return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
159488
+ throw toKnownErr43(e);
159489
+ });
159490
+ }
159491
+ checkAccountStatus(params2, opts) {
159492
+ return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
159493
+ throw toKnownErr44(e);
159494
+ });
159495
+ }
159150
159496
  confirmEmail(data, opts) {
159151
159497
  return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
159152
- throw toKnownErr36(e);
159498
+ throw toKnownErr45(e);
159153
159499
  });
159154
159500
  }
159155
159501
  createAccount(data, opts) {
159156
159502
  return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
159157
- throw toKnownErr37(e);
159503
+ throw toKnownErr46(e);
159158
159504
  });
159159
159505
  }
159160
159506
  createAppPassword(data, opts) {
159161
159507
  return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
159162
- throw toKnownErr38(e);
159508
+ throw toKnownErr47(e);
159163
159509
  });
159164
159510
  }
159165
159511
  createInviteCode(data, opts) {
159166
159512
  return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
159167
- throw toKnownErr39(e);
159513
+ throw toKnownErr48(e);
159168
159514
  });
159169
159515
  }
159170
159516
  createInviteCodes(data, opts) {
159171
159517
  return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
159172
- throw toKnownErr40(e);
159518
+ throw toKnownErr49(e);
159173
159519
  });
159174
159520
  }
159175
159521
  createSession(data, opts) {
159176
159522
  return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
159177
- throw toKnownErr41(e);
159523
+ throw toKnownErr50(e);
159524
+ });
159525
+ }
159526
+ deactivateAccount(data, opts) {
159527
+ return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
159528
+ throw toKnownErr51(e);
159178
159529
  });
159179
159530
  }
159180
159531
  deleteAccount(data, opts) {
159181
159532
  return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
159182
- throw toKnownErr42(e);
159533
+ throw toKnownErr52(e);
159183
159534
  });
159184
159535
  }
159185
159536
  deleteSession(data, opts) {
159186
159537
  return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
159187
- throw toKnownErr43(e);
159538
+ throw toKnownErr53(e);
159188
159539
  });
159189
159540
  }
159190
159541
  describeServer(params2, opts) {
159191
159542
  return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
159192
- throw toKnownErr44(e);
159543
+ throw toKnownErr54(e);
159193
159544
  });
159194
159545
  }
159195
159546
  getAccountInviteCodes(params2, opts) {
159196
159547
  return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
159197
- throw toKnownErr45(e);
159548
+ throw toKnownErr55(e);
159549
+ });
159550
+ }
159551
+ getServiceAuth(params2, opts) {
159552
+ return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
159553
+ throw toKnownErr56(e);
159198
159554
  });
159199
159555
  }
159200
159556
  getSession(params2, opts) {
159201
159557
  return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
159202
- throw toKnownErr46(e);
159558
+ throw toKnownErr57(e);
159203
159559
  });
159204
159560
  }
159205
159561
  listAppPasswords(params2, opts) {
159206
159562
  return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
159207
- throw toKnownErr47(e);
159563
+ throw toKnownErr58(e);
159208
159564
  });
159209
159565
  }
159210
159566
  refreshSession(data, opts) {
159211
159567
  return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
159212
- throw toKnownErr48(e);
159568
+ throw toKnownErr59(e);
159213
159569
  });
159214
159570
  }
159215
159571
  requestAccountDelete(data, opts) {
159216
159572
  return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
159217
- throw toKnownErr49(e);
159573
+ throw toKnownErr60(e);
159218
159574
  });
159219
159575
  }
159220
159576
  requestEmailConfirmation(data, opts) {
159221
159577
  return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
159222
- throw toKnownErr50(e);
159578
+ throw toKnownErr61(e);
159223
159579
  });
159224
159580
  }
159225
159581
  requestEmailUpdate(data, opts) {
159226
159582
  return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
159227
- throw toKnownErr51(e);
159583
+ throw toKnownErr62(e);
159228
159584
  });
159229
159585
  }
159230
159586
  requestPasswordReset(data, opts) {
159231
159587
  return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
159232
- throw toKnownErr52(e);
159588
+ throw toKnownErr63(e);
159233
159589
  });
159234
159590
  }
159235
159591
  reserveSigningKey(data, opts) {
159236
159592
  return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
159237
- throw toKnownErr53(e);
159593
+ throw toKnownErr64(e);
159238
159594
  });
159239
159595
  }
159240
159596
  resetPassword(data, opts) {
159241
159597
  return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
159242
- throw toKnownErr54(e);
159598
+ throw toKnownErr65(e);
159243
159599
  });
159244
159600
  }
159245
159601
  revokeAppPassword(data, opts) {
159246
159602
  return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
159247
- throw toKnownErr55(e);
159603
+ throw toKnownErr66(e);
159248
159604
  });
159249
159605
  }
159250
159606
  updateEmail(data, opts) {
159251
159607
  return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
159252
- throw toKnownErr56(e);
159608
+ throw toKnownErr67(e);
159253
159609
  });
159254
159610
  }
159255
159611
  };
@@ -159259,57 +159615,57 @@ var ComAtprotoSyncNS = class {
159259
159615
  }
159260
159616
  getBlob(params2, opts) {
159261
159617
  return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
159262
- throw toKnownErr57(e);
159618
+ throw toKnownErr68(e);
159263
159619
  });
159264
159620
  }
159265
159621
  getBlocks(params2, opts) {
159266
159622
  return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
159267
- throw toKnownErr58(e);
159623
+ throw toKnownErr69(e);
159268
159624
  });
159269
159625
  }
159270
159626
  getCheckout(params2, opts) {
159271
159627
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
159272
- throw toKnownErr59(e);
159628
+ throw toKnownErr70(e);
159273
159629
  });
159274
159630
  }
159275
159631
  getHead(params2, opts) {
159276
159632
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
159277
- throw toKnownErr60(e);
159633
+ throw toKnownErr71(e);
159278
159634
  });
159279
159635
  }
159280
159636
  getLatestCommit(params2, opts) {
159281
159637
  return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
159282
- throw toKnownErr61(e);
159638
+ throw toKnownErr72(e);
159283
159639
  });
159284
159640
  }
159285
159641
  getRecord(params2, opts) {
159286
159642
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
159287
- throw toKnownErr62(e);
159643
+ throw toKnownErr73(e);
159288
159644
  });
159289
159645
  }
159290
159646
  getRepo(params2, opts) {
159291
159647
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
159292
- throw toKnownErr63(e);
159648
+ throw toKnownErr74(e);
159293
159649
  });
159294
159650
  }
159295
159651
  listBlobs(params2, opts) {
159296
159652
  return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
159297
- throw toKnownErr64(e);
159653
+ throw toKnownErr75(e);
159298
159654
  });
159299
159655
  }
159300
159656
  listRepos(params2, opts) {
159301
159657
  return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
159302
- throw toKnownErr65(e);
159658
+ throw toKnownErr76(e);
159303
159659
  });
159304
159660
  }
159305
159661
  notifyOfUpdate(data, opts) {
159306
159662
  return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
159307
- throw toKnownErr66(e);
159663
+ throw toKnownErr77(e);
159308
159664
  });
159309
159665
  }
159310
159666
  requestCrawl(data, opts) {
159311
159667
  return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
159312
- throw toKnownErr67(e);
159668
+ throw toKnownErr78(e);
159313
159669
  });
159314
159670
  }
159315
159671
  };
@@ -159319,32 +159675,17 @@ var ComAtprotoTempNS = class {
159319
159675
  }
159320
159676
  checkSignupQueue(params2, opts) {
159321
159677
  return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
159322
- throw toKnownErr68(e);
159678
+ throw toKnownErr79(e);
159323
159679
  });
159324
159680
  }
159325
159681
  fetchLabels(params2, opts) {
159326
159682
  return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
159327
- throw toKnownErr69(e);
159328
- });
159329
- }
159330
- importRepo(data, opts) {
159331
- return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
159332
- throw toKnownErr70(e);
159333
- });
159334
- }
159335
- pushBlob(data, opts) {
159336
- return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
159337
- throw toKnownErr71(e);
159683
+ throw toKnownErr80(e);
159338
159684
  });
159339
159685
  }
159340
159686
  requestPhoneVerification(data, opts) {
159341
159687
  return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
159342
- throw toKnownErr72(e);
159343
- });
159344
- }
159345
- transferAccount(data, opts) {
159346
- return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
159347
- throw toKnownErr73(e);
159688
+ throw toKnownErr81(e);
159348
159689
  });
159349
159690
  }
159350
159691
  };
@@ -159373,37 +159714,37 @@ var AppBskyActorNS = class {
159373
159714
  }
159374
159715
  getPreferences(params2, opts) {
159375
159716
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
159376
- throw toKnownErr74(e);
159717
+ throw toKnownErr82(e);
159377
159718
  });
159378
159719
  }
159379
159720
  getProfile(params2, opts) {
159380
159721
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
159381
- throw toKnownErr75(e);
159722
+ throw toKnownErr83(e);
159382
159723
  });
159383
159724
  }
159384
159725
  getProfiles(params2, opts) {
159385
159726
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
159386
- throw toKnownErr76(e);
159727
+ throw toKnownErr84(e);
159387
159728
  });
159388
159729
  }
159389
159730
  getSuggestions(params2, opts) {
159390
159731
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
159391
- throw toKnownErr77(e);
159732
+ throw toKnownErr85(e);
159392
159733
  });
159393
159734
  }
159394
159735
  putPreferences(data, opts) {
159395
159736
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
159396
- throw toKnownErr78(e);
159737
+ throw toKnownErr86(e);
159397
159738
  });
159398
159739
  }
159399
159740
  searchActors(params2, opts) {
159400
159741
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
159401
- throw toKnownErr79(e);
159742
+ throw toKnownErr87(e);
159402
159743
  });
159403
159744
  }
159404
159745
  searchActorsTypeahead(params2, opts) {
159405
159746
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
159406
- throw toKnownErr80(e);
159747
+ throw toKnownErr88(e);
159407
159748
  });
159408
159749
  }
159409
159750
  };
@@ -159450,82 +159791,82 @@ var AppBskyFeedNS = class {
159450
159791
  }
159451
159792
  describeFeedGenerator(params2, opts) {
159452
159793
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
159453
- throw toKnownErr81(e);
159794
+ throw toKnownErr89(e);
159454
159795
  });
159455
159796
  }
159456
159797
  getActorFeeds(params2, opts) {
159457
159798
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
159458
- throw toKnownErr82(e);
159799
+ throw toKnownErr90(e);
159459
159800
  });
159460
159801
  }
159461
159802
  getActorLikes(params2, opts) {
159462
159803
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
159463
- throw toKnownErr83(e);
159804
+ throw toKnownErr91(e);
159464
159805
  });
159465
159806
  }
159466
159807
  getAuthorFeed(params2, opts) {
159467
159808
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
159468
- throw toKnownErr84(e);
159809
+ throw toKnownErr92(e);
159469
159810
  });
159470
159811
  }
159471
159812
  getFeed(params2, opts) {
159472
159813
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
159473
- throw toKnownErr85(e);
159814
+ throw toKnownErr93(e);
159474
159815
  });
159475
159816
  }
159476
159817
  getFeedGenerator(params2, opts) {
159477
159818
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
159478
- throw toKnownErr86(e);
159819
+ throw toKnownErr94(e);
159479
159820
  });
159480
159821
  }
159481
159822
  getFeedGenerators(params2, opts) {
159482
159823
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
159483
- throw toKnownErr87(e);
159824
+ throw toKnownErr95(e);
159484
159825
  });
159485
159826
  }
159486
159827
  getFeedSkeleton(params2, opts) {
159487
159828
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
159488
- throw toKnownErr88(e);
159829
+ throw toKnownErr96(e);
159489
159830
  });
159490
159831
  }
159491
159832
  getLikes(params2, opts) {
159492
159833
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
159493
- throw toKnownErr89(e);
159834
+ throw toKnownErr97(e);
159494
159835
  });
159495
159836
  }
159496
159837
  getListFeed(params2, opts) {
159497
159838
  return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
159498
- throw toKnownErr90(e);
159839
+ throw toKnownErr98(e);
159499
159840
  });
159500
159841
  }
159501
159842
  getPostThread(params2, opts) {
159502
159843
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
159503
- throw toKnownErr91(e);
159844
+ throw toKnownErr99(e);
159504
159845
  });
159505
159846
  }
159506
159847
  getPosts(params2, opts) {
159507
159848
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
159508
- throw toKnownErr92(e);
159849
+ throw toKnownErr100(e);
159509
159850
  });
159510
159851
  }
159511
159852
  getRepostedBy(params2, opts) {
159512
159853
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
159513
- throw toKnownErr93(e);
159854
+ throw toKnownErr101(e);
159514
159855
  });
159515
159856
  }
159516
159857
  getSuggestedFeeds(params2, opts) {
159517
159858
  return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
159518
- throw toKnownErr94(e);
159859
+ throw toKnownErr102(e);
159519
159860
  });
159520
159861
  }
159521
159862
  getTimeline(params2, opts) {
159522
159863
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
159523
- throw toKnownErr95(e);
159864
+ throw toKnownErr103(e);
159524
159865
  });
159525
159866
  }
159526
159867
  searchPosts(params2, opts) {
159527
159868
  return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
159528
- throw toKnownErr96(e);
159869
+ throw toKnownErr104(e);
159529
159870
  });
159530
159871
  }
159531
159872
  };
@@ -159675,72 +160016,72 @@ var AppBskyGraphNS = class {
159675
160016
  }
159676
160017
  getBlocks(params2, opts) {
159677
160018
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
159678
- throw toKnownErr97(e);
160019
+ throw toKnownErr105(e);
159679
160020
  });
159680
160021
  }
159681
160022
  getFollowers(params2, opts) {
159682
160023
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
159683
- throw toKnownErr98(e);
160024
+ throw toKnownErr106(e);
159684
160025
  });
159685
160026
  }
159686
160027
  getFollows(params2, opts) {
159687
160028
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
159688
- throw toKnownErr99(e);
160029
+ throw toKnownErr107(e);
159689
160030
  });
159690
160031
  }
159691
160032
  getList(params2, opts) {
159692
160033
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
159693
- throw toKnownErr100(e);
160034
+ throw toKnownErr108(e);
159694
160035
  });
159695
160036
  }
159696
160037
  getListBlocks(params2, opts) {
159697
160038
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
159698
- throw toKnownErr101(e);
160039
+ throw toKnownErr109(e);
159699
160040
  });
159700
160041
  }
159701
160042
  getListMutes(params2, opts) {
159702
160043
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
159703
- throw toKnownErr102(e);
160044
+ throw toKnownErr110(e);
159704
160045
  });
159705
160046
  }
159706
160047
  getLists(params2, opts) {
159707
160048
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
159708
- throw toKnownErr103(e);
160049
+ throw toKnownErr111(e);
159709
160050
  });
159710
160051
  }
159711
160052
  getMutes(params2, opts) {
159712
160053
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
159713
- throw toKnownErr104(e);
160054
+ throw toKnownErr112(e);
159714
160055
  });
159715
160056
  }
159716
160057
  getRelationships(params2, opts) {
159717
160058
  return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
159718
- throw toKnownErr105(e);
160059
+ throw toKnownErr113(e);
159719
160060
  });
159720
160061
  }
159721
160062
  getSuggestedFollowsByActor(params2, opts) {
159722
160063
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
159723
- throw toKnownErr106(e);
160064
+ throw toKnownErr114(e);
159724
160065
  });
159725
160066
  }
159726
160067
  muteActor(data, opts) {
159727
160068
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
159728
- throw toKnownErr107(e);
160069
+ throw toKnownErr115(e);
159729
160070
  });
159730
160071
  }
159731
160072
  muteActorList(data, opts) {
159732
160073
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
159733
- throw toKnownErr108(e);
160074
+ throw toKnownErr116(e);
159734
160075
  });
159735
160076
  }
159736
160077
  unmuteActor(data, opts) {
159737
160078
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
159738
- throw toKnownErr109(e);
160079
+ throw toKnownErr117(e);
159739
160080
  });
159740
160081
  }
159741
160082
  unmuteActorList(data, opts) {
159742
160083
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
159743
- throw toKnownErr110(e);
160084
+ throw toKnownErr118(e);
159744
160085
  });
159745
160086
  }
159746
160087
  };
@@ -159885,22 +160226,22 @@ var AppBskyNotificationNS = class {
159885
160226
  }
159886
160227
  getUnreadCount(params2, opts) {
159887
160228
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
159888
- throw toKnownErr111(e);
160229
+ throw toKnownErr119(e);
159889
160230
  });
159890
160231
  }
159891
160232
  listNotifications(params2, opts) {
159892
160233
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
159893
- throw toKnownErr112(e);
160234
+ throw toKnownErr120(e);
159894
160235
  });
159895
160236
  }
159896
160237
  registerPush(data, opts) {
159897
160238
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
159898
- throw toKnownErr113(e);
160239
+ throw toKnownErr121(e);
159899
160240
  });
159900
160241
  }
159901
160242
  updateSeen(data, opts) {
159902
160243
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
159903
- throw toKnownErr114(e);
160244
+ throw toKnownErr122(e);
159904
160245
  });
159905
160246
  }
159906
160247
  };
@@ -159915,22 +160256,22 @@ var AppBskyUnspeccedNS = class {
159915
160256
  }
159916
160257
  getPopularFeedGenerators(params2, opts) {
159917
160258
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
159918
- throw toKnownErr115(e);
160259
+ throw toKnownErr123(e);
159919
160260
  });
159920
160261
  }
159921
160262
  getTaggedSuggestions(params2, opts) {
159922
160263
  return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
159923
- throw toKnownErr116(e);
160264
+ throw toKnownErr124(e);
159924
160265
  });
159925
160266
  }
159926
160267
  searchActorsSkeleton(params2, opts) {
159927
160268
  return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
159928
- throw toKnownErr117(e);
160269
+ throw toKnownErr125(e);
159929
160270
  });
159930
160271
  }
159931
160272
  searchPostsSkeleton(params2, opts) {
159932
160273
  return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
159933
- throw toKnownErr118(e);
160274
+ throw toKnownErr126(e);
159934
160275
  });
159935
160276
  }
159936
160277
  };
@@ -163299,6 +163640,32 @@ var schemaDict2 = {
163299
163640
  }
163300
163641
  }
163301
163642
  },
163643
+ ComAtprotoAdminUpdateAccountPassword: {
163644
+ lexicon: 1,
163645
+ id: "com.atproto.admin.updateAccountPassword",
163646
+ defs: {
163647
+ main: {
163648
+ type: "procedure",
163649
+ description: "Update the password for a user account as an administrator.",
163650
+ input: {
163651
+ encoding: "application/json",
163652
+ schema: {
163653
+ type: "object",
163654
+ required: ["did", "password"],
163655
+ properties: {
163656
+ did: {
163657
+ type: "string",
163658
+ format: "did"
163659
+ },
163660
+ password: {
163661
+ type: "string"
163662
+ }
163663
+ }
163664
+ }
163665
+ }
163666
+ }
163667
+ }
163668
+ },
163302
163669
  ComAtprotoAdminUpdateCommunicationTemplate: {
163303
163670
  lexicon: 1,
163304
163671
  id: "com.atproto.admin.updateCommunicationTemplate",
@@ -163401,6 +163768,53 @@ var schemaDict2 = {
163401
163768
  }
163402
163769
  }
163403
163770
  },
163771
+ ComAtprotoIdentityGetRecommendedDidCredentials: {
163772
+ lexicon: 1,
163773
+ id: "com.atproto.identity.getRecommendedDidCredentials",
163774
+ defs: {
163775
+ main: {
163776
+ type: "query",
163777
+ description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
163778
+ output: {
163779
+ encoding: "application/json",
163780
+ schema: {
163781
+ type: "object",
163782
+ properties: {
163783
+ rotationKeys: {
163784
+ description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
163785
+ type: "array",
163786
+ items: {
163787
+ type: "string"
163788
+ }
163789
+ },
163790
+ alsoKnownAs: {
163791
+ type: "array",
163792
+ items: {
163793
+ type: "string"
163794
+ }
163795
+ },
163796
+ verificationMethods: {
163797
+ type: "unknown"
163798
+ },
163799
+ services: {
163800
+ type: "unknown"
163801
+ }
163802
+ }
163803
+ }
163804
+ }
163805
+ }
163806
+ }
163807
+ },
163808
+ ComAtprotoIdentityRequestPlcOperationSignature: {
163809
+ lexicon: 1,
163810
+ id: "com.atproto.identity.requestPlcOperationSignature",
163811
+ defs: {
163812
+ main: {
163813
+ type: "procedure",
163814
+ description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
163815
+ }
163816
+ }
163817
+ },
163404
163818
  ComAtprotoIdentityResolveHandle: {
163405
163819
  lexicon: 1,
163406
163820
  id: "com.atproto.identity.resolveHandle",
@@ -163435,6 +163849,81 @@ var schemaDict2 = {
163435
163849
  }
163436
163850
  }
163437
163851
  },
163852
+ ComAtprotoIdentitySignPlcOperation: {
163853
+ lexicon: 1,
163854
+ id: "com.atproto.identity.signPlcOperation",
163855
+ defs: {
163856
+ main: {
163857
+ type: "procedure",
163858
+ description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
163859
+ input: {
163860
+ encoding: "application/json",
163861
+ schema: {
163862
+ type: "object",
163863
+ properties: {
163864
+ token: {
163865
+ description: "A token received through com.atproto.identity.requestPlcOperationSignature",
163866
+ type: "string"
163867
+ },
163868
+ rotationKeys: {
163869
+ type: "array",
163870
+ items: {
163871
+ type: "string"
163872
+ }
163873
+ },
163874
+ alsoKnownAs: {
163875
+ type: "array",
163876
+ items: {
163877
+ type: "string"
163878
+ }
163879
+ },
163880
+ verificationMethods: {
163881
+ type: "unknown"
163882
+ },
163883
+ services: {
163884
+ type: "unknown"
163885
+ }
163886
+ }
163887
+ }
163888
+ },
163889
+ output: {
163890
+ encoding: "application/json",
163891
+ schema: {
163892
+ type: "object",
163893
+ required: ["operation"],
163894
+ properties: {
163895
+ operation: {
163896
+ type: "unknown",
163897
+ description: "A signed DID PLC operation."
163898
+ }
163899
+ }
163900
+ }
163901
+ }
163902
+ }
163903
+ }
163904
+ },
163905
+ ComAtprotoIdentitySubmitPlcOperation: {
163906
+ lexicon: 1,
163907
+ id: "com.atproto.identity.submitPlcOperation",
163908
+ defs: {
163909
+ main: {
163910
+ type: "procedure",
163911
+ description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
163912
+ input: {
163913
+ encoding: "application/json",
163914
+ schema: {
163915
+ type: "object",
163916
+ required: ["operation"],
163917
+ properties: {
163918
+ operation: {
163919
+ type: "unknown"
163920
+ }
163921
+ }
163922
+ }
163923
+ }
163924
+ }
163925
+ }
163926
+ },
163438
163927
  ComAtprotoIdentityUpdateHandle: {
163439
163928
  lexicon: 1,
163440
163929
  id: "com.atproto.identity.updateHandle",
@@ -164107,6 +164596,76 @@ var schemaDict2 = {
164107
164596
  }
164108
164597
  }
164109
164598
  },
164599
+ ComAtprotoRepoImportRepo: {
164600
+ lexicon: 1,
164601
+ id: "com.atproto.repo.importRepo",
164602
+ defs: {
164603
+ main: {
164604
+ type: "procedure",
164605
+ description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
164606
+ input: {
164607
+ encoding: "application/vnd.ipld.car"
164608
+ }
164609
+ }
164610
+ }
164611
+ },
164612
+ ComAtprotoRepoListMissingBlobs: {
164613
+ lexicon: 1,
164614
+ id: "com.atproto.repo.listMissingBlobs",
164615
+ defs: {
164616
+ main: {
164617
+ type: "query",
164618
+ description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
164619
+ parameters: {
164620
+ type: "params",
164621
+ properties: {
164622
+ limit: {
164623
+ type: "integer",
164624
+ minimum: 1,
164625
+ maximum: 1e3,
164626
+ default: 500
164627
+ },
164628
+ cursor: {
164629
+ type: "string"
164630
+ }
164631
+ }
164632
+ },
164633
+ output: {
164634
+ encoding: "application/json",
164635
+ schema: {
164636
+ type: "object",
164637
+ required: ["blobs"],
164638
+ properties: {
164639
+ cursor: {
164640
+ type: "string"
164641
+ },
164642
+ blobs: {
164643
+ type: "array",
164644
+ items: {
164645
+ type: "ref",
164646
+ ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
164647
+ }
164648
+ }
164649
+ }
164650
+ }
164651
+ }
164652
+ },
164653
+ recordBlob: {
164654
+ type: "object",
164655
+ required: ["cid", "recordUri"],
164656
+ properties: {
164657
+ cid: {
164658
+ type: "string",
164659
+ format: "cid"
164660
+ },
164661
+ recordUri: {
164662
+ type: "string",
164663
+ format: "at-uri"
164664
+ }
164665
+ }
164666
+ }
164667
+ }
164668
+ },
164110
164669
  ComAtprotoRepoListRecords: {
164111
164670
  lexicon: 1,
164112
164671
  id: "com.atproto.repo.listRecords",
@@ -164313,6 +164872,73 @@ var schemaDict2 = {
164313
164872
  }
164314
164873
  }
164315
164874
  },
164875
+ ComAtprotoServerActivateAccount: {
164876
+ lexicon: 1,
164877
+ id: "com.atproto.server.activateAccount",
164878
+ defs: {
164879
+ main: {
164880
+ type: "procedure",
164881
+ description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
164882
+ }
164883
+ }
164884
+ },
164885
+ ComAtprotoServerCheckAccountStatus: {
164886
+ lexicon: 1,
164887
+ id: "com.atproto.server.checkAccountStatus",
164888
+ defs: {
164889
+ main: {
164890
+ type: "query",
164891
+ description: "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
164892
+ output: {
164893
+ encoding: "application/json",
164894
+ schema: {
164895
+ type: "object",
164896
+ required: [
164897
+ "activated",
164898
+ "validDid",
164899
+ "repoCommit",
164900
+ "repoRev",
164901
+ "repoBlocks",
164902
+ "indexedRecords",
164903
+ "privateStateValues",
164904
+ "expectedBlobs",
164905
+ "importedBlobs"
164906
+ ],
164907
+ properties: {
164908
+ activated: {
164909
+ type: "boolean"
164910
+ },
164911
+ validDid: {
164912
+ type: "boolean"
164913
+ },
164914
+ repoCommit: {
164915
+ type: "string",
164916
+ format: "cid"
164917
+ },
164918
+ repoRev: {
164919
+ type: "string"
164920
+ },
164921
+ repoBlocks: {
164922
+ type: "integer"
164923
+ },
164924
+ indexedRecords: {
164925
+ type: "integer"
164926
+ },
164927
+ privateStateValues: {
164928
+ type: "integer"
164929
+ },
164930
+ expectedBlobs: {
164931
+ type: "integer"
164932
+ },
164933
+ importedBlobs: {
164934
+ type: "integer"
164935
+ }
164936
+ }
164937
+ }
164938
+ }
164939
+ }
164940
+ }
164941
+ },
164316
164942
  ComAtprotoServerConfirmEmail: {
164317
164943
  lexicon: 1,
164318
164944
  id: "com.atproto.server.confirmEmail",
@@ -164673,6 +165299,29 @@ var schemaDict2 = {
164673
165299
  }
164674
165300
  }
164675
165301
  },
165302
+ ComAtprotoServerDeactivateAccount: {
165303
+ lexicon: 1,
165304
+ id: "com.atproto.server.deactivateAccount",
165305
+ defs: {
165306
+ main: {
165307
+ type: "procedure",
165308
+ description: "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
165309
+ input: {
165310
+ encoding: "application/json",
165311
+ schema: {
165312
+ type: "object",
165313
+ properties: {
165314
+ deleteAfter: {
165315
+ type: "string",
165316
+ format: "datetime",
165317
+ description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
165318
+ }
165319
+ }
165320
+ }
165321
+ }
165322
+ }
165323
+ }
165324
+ },
164676
165325
  ComAtprotoServerDefs: {
164677
165326
  lexicon: 1,
164678
165327
  id: "com.atproto.server.defs",
@@ -164791,7 +165440,7 @@ var schemaDict2 = {
164791
165440
  encoding: "application/json",
164792
165441
  schema: {
164793
165442
  type: "object",
164794
- required: ["availableUserDomains"],
165443
+ required: ["did", "availableUserDomains"],
164795
165444
  properties: {
164796
165445
  inviteCodeRequired: {
164797
165446
  type: "boolean",
@@ -164812,6 +165461,10 @@ var schemaDict2 = {
164812
165461
  type: "ref",
164813
165462
  description: "URLs of service policy documents.",
164814
165463
  ref: "lex:com.atproto.server.describeServer#links"
165464
+ },
165465
+ did: {
165466
+ type: "string",
165467
+ format: "did"
164815
165468
  }
164816
165469
  }
164817
165470
  }
@@ -164875,6 +165528,39 @@ var schemaDict2 = {
164875
165528
  }
164876
165529
  }
164877
165530
  },
165531
+ ComAtprotoServerGetServiceAuth: {
165532
+ lexicon: 1,
165533
+ id: "com.atproto.server.getServiceAuth",
165534
+ defs: {
165535
+ main: {
165536
+ type: "query",
165537
+ description: "Get a signed token on behalf of the requesting DID for the requested service.",
165538
+ parameters: {
165539
+ type: "params",
165540
+ required: ["aud"],
165541
+ properties: {
165542
+ aud: {
165543
+ type: "string",
165544
+ format: "did",
165545
+ description: "The DID of the service that the token will be used to authenticate with"
165546
+ }
165547
+ }
165548
+ },
165549
+ output: {
165550
+ encoding: "application/json",
165551
+ schema: {
165552
+ type: "object",
165553
+ required: ["token"],
165554
+ properties: {
165555
+ token: {
165556
+ type: "string"
165557
+ }
165558
+ }
165559
+ }
165560
+ }
165561
+ }
165562
+ }
165563
+ },
164878
165564
  ComAtprotoServerGetSession: {
164879
165565
  lexicon: 1,
164880
165566
  id: "com.atproto.server.getSession",
@@ -165599,6 +166285,7 @@ var schemaDict2 = {
165599
166285
  type: "union",
165600
166286
  refs: [
165601
166287
  "lex:com.atproto.sync.subscribeRepos#commit",
166288
+ "lex:com.atproto.sync.subscribeRepos#identity",
165602
166289
  "lex:com.atproto.sync.subscribeRepos#handle",
165603
166290
  "lex:com.atproto.sync.subscribeRepos#migrate",
165604
166291
  "lex:com.atproto.sync.subscribeRepos#tombstone",
@@ -165695,9 +166382,27 @@ var schemaDict2 = {
165695
166382
  }
165696
166383
  }
165697
166384
  },
166385
+ identity: {
166386
+ type: "object",
166387
+ description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
166388
+ required: ["seq", "did", "time"],
166389
+ properties: {
166390
+ seq: {
166391
+ type: "integer"
166392
+ },
166393
+ did: {
166394
+ type: "string",
166395
+ format: "did"
166396
+ },
166397
+ time: {
166398
+ type: "string",
166399
+ format: "datetime"
166400
+ }
166401
+ }
166402
+ },
165698
166403
  handle: {
165699
166404
  type: "object",
165700
- description: "Represents an update of the account's handle, or transition to/from invalid state.",
166405
+ description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
165701
166406
  required: ["seq", "did", "handle", "time"],
165702
166407
  properties: {
165703
166408
  seq: {
@@ -165719,7 +166424,7 @@ var schemaDict2 = {
165719
166424
  },
165720
166425
  migrate: {
165721
166426
  type: "object",
165722
- description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; full account migration may introduce a new message instead.",
166427
+ description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
165723
166428
  required: ["seq", "did", "migrateTo", "time"],
165724
166429
  nullable: ["migrateTo"],
165725
166430
  properties: {
@@ -165741,7 +166446,7 @@ var schemaDict2 = {
165741
166446
  },
165742
166447
  tombstone: {
165743
166448
  type: "object",
165744
- description: "Indicates that an account has been deleted.",
166449
+ description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
165745
166450
  required: ["seq", "did", "time"],
165746
166451
  properties: {
165747
166452
  seq: {
@@ -165859,57 +166564,6 @@ var schemaDict2 = {
165859
166564
  }
165860
166565
  }
165861
166566
  },
165862
- ComAtprotoTempImportRepo: {
165863
- lexicon: 1,
165864
- id: "com.atproto.temp.importRepo",
165865
- defs: {
165866
- main: {
165867
- type: "procedure",
165868
- description: "Gets the did's repo, optionally catching up from a specific revision.",
165869
- parameters: {
165870
- type: "params",
165871
- required: ["did"],
165872
- properties: {
165873
- did: {
165874
- type: "string",
165875
- format: "did",
165876
- description: "The DID of the repo."
165877
- }
165878
- }
165879
- },
165880
- input: {
165881
- encoding: "application/vnd.ipld.car"
165882
- },
165883
- output: {
165884
- encoding: "text/plain"
165885
- }
165886
- }
165887
- }
165888
- },
165889
- ComAtprotoTempPushBlob: {
165890
- lexicon: 1,
165891
- id: "com.atproto.temp.pushBlob",
165892
- defs: {
165893
- main: {
165894
- type: "procedure",
165895
- description: "Gets the did's repo, optionally catching up from a specific revision.",
165896
- parameters: {
165897
- type: "params",
165898
- required: ["did"],
165899
- properties: {
165900
- did: {
165901
- type: "string",
165902
- format: "did",
165903
- description: "The DID of the repo."
165904
- }
165905
- }
165906
- },
165907
- input: {
165908
- encoding: "*/*"
165909
- }
165910
- }
165911
- }
165912
- },
165913
166567
  ComAtprotoTempRequestPhoneVerification: {
165914
166568
  lexicon: 1,
165915
166569
  id: "com.atproto.temp.requestPhoneVerification",
@@ -165932,82 +166586,6 @@ var schemaDict2 = {
165932
166586
  }
165933
166587
  }
165934
166588
  },
165935
- ComAtprotoTempTransferAccount: {
165936
- lexicon: 1,
165937
- id: "com.atproto.temp.transferAccount",
165938
- defs: {
165939
- main: {
165940
- type: "procedure",
165941
- description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
165942
- input: {
165943
- encoding: "application/json",
165944
- schema: {
165945
- type: "object",
165946
- required: ["handle", "did", "plcOp"],
165947
- properties: {
165948
- handle: {
165949
- type: "string",
165950
- format: "handle"
165951
- },
165952
- did: {
165953
- type: "string",
165954
- format: "did"
165955
- },
165956
- plcOp: {
165957
- type: "unknown"
165958
- }
165959
- }
165960
- }
165961
- },
165962
- output: {
165963
- encoding: "application/json",
165964
- schema: {
165965
- type: "object",
165966
- required: ["accessJwt", "refreshJwt", "handle", "did"],
165967
- properties: {
165968
- accessJwt: {
165969
- type: "string"
165970
- },
165971
- refreshJwt: {
165972
- type: "string"
165973
- },
165974
- handle: {
165975
- type: "string",
165976
- format: "handle"
165977
- },
165978
- did: {
165979
- type: "string",
165980
- format: "did"
165981
- }
165982
- }
165983
- }
165984
- },
165985
- errors: [
165986
- {
165987
- name: "InvalidHandle"
165988
- },
165989
- {
165990
- name: "InvalidPassword"
165991
- },
165992
- {
165993
- name: "InvalidInviteCode"
165994
- },
165995
- {
165996
- name: "HandleNotAvailable"
165997
- },
165998
- {
165999
- name: "UnsupportedDomain"
166000
- },
166001
- {
166002
- name: "UnresolvableDid"
166003
- },
166004
- {
166005
- name: "IncompatibleDidDoc"
166006
- }
166007
- ]
166008
- }
166009
- }
166010
- },
166011
166589
  AppBskyActorDefs: {
166012
166590
  lexicon: 1,
166013
166591
  id: "app.bsky.actor.defs",
@@ -166184,7 +166762,9 @@ var schemaDict2 = {
166184
166762
  "lex:app.bsky.actor.defs#personalDetailsPref",
166185
166763
  "lex:app.bsky.actor.defs#feedViewPref",
166186
166764
  "lex:app.bsky.actor.defs#threadViewPref",
166187
- "lex:app.bsky.actor.defs#interestsPref"
166765
+ "lex:app.bsky.actor.defs#interestsPref",
166766
+ "lex:app.bsky.actor.defs#mutedWordsPref",
166767
+ "lex:app.bsky.actor.defs#hiddenPostsPref"
166188
166768
  ]
166189
166769
  }
166190
166770
  },
@@ -166303,6 +166883,61 @@ var schemaDict2 = {
166303
166883
  description: "A list of tags which describe the account owner's interests gathered during onboarding."
166304
166884
  }
166305
166885
  }
166886
+ },
166887
+ mutedWordTarget: {
166888
+ type: "string",
166889
+ knownValues: ["content", "tag"],
166890
+ maxLength: 640,
166891
+ maxGraphemes: 64
166892
+ },
166893
+ mutedWord: {
166894
+ type: "object",
166895
+ description: "A word that the account owner has muted.",
166896
+ required: ["value", "targets"],
166897
+ properties: {
166898
+ value: {
166899
+ type: "string",
166900
+ description: "The muted word itself.",
166901
+ maxLength: 1e4,
166902
+ maxGraphemes: 1e3
166903
+ },
166904
+ targets: {
166905
+ type: "array",
166906
+ description: "The intended targets of the muted word.",
166907
+ items: {
166908
+ type: "ref",
166909
+ ref: "lex:app.bsky.actor.defs#mutedWordTarget"
166910
+ }
166911
+ }
166912
+ }
166913
+ },
166914
+ mutedWordsPref: {
166915
+ type: "object",
166916
+ required: ["items"],
166917
+ properties: {
166918
+ items: {
166919
+ type: "array",
166920
+ items: {
166921
+ type: "ref",
166922
+ ref: "lex:app.bsky.actor.defs#mutedWord"
166923
+ },
166924
+ description: "A list of words the account owner has muted."
166925
+ }
166926
+ }
166927
+ },
166928
+ hiddenPostsPref: {
166929
+ type: "object",
166930
+ required: ["items"],
166931
+ properties: {
166932
+ items: {
166933
+ type: "array",
166934
+ items: {
166935
+ type: "string",
166936
+ format: "at-uri"
166937
+ },
166938
+ description: "A list of URIs of posts the account owner has hidden."
166939
+ }
166940
+ }
166306
166941
  }
166307
166942
  }
166308
166943
  },
@@ -168169,7 +168804,7 @@ var schemaDict2 = {
168169
168804
  },
168170
168805
  tags: {
168171
168806
  type: "array",
168172
- description: "Additional non-inline tags describing this post.",
168807
+ description: "Additional hashtags, in addition to any included in post text and facets.",
168173
168808
  maxLength: 8,
168174
168809
  items: {
168175
168810
  type: "string",
@@ -169808,9 +170443,14 @@ var ids = {
169808
170443
  ComAtprotoAdminSendEmail: "com.atproto.admin.sendEmail",
169809
170444
  ComAtprotoAdminUpdateAccountEmail: "com.atproto.admin.updateAccountEmail",
169810
170445
  ComAtprotoAdminUpdateAccountHandle: "com.atproto.admin.updateAccountHandle",
170446
+ ComAtprotoAdminUpdateAccountPassword: "com.atproto.admin.updateAccountPassword",
169811
170447
  ComAtprotoAdminUpdateCommunicationTemplate: "com.atproto.admin.updateCommunicationTemplate",
169812
170448
  ComAtprotoAdminUpdateSubjectStatus: "com.atproto.admin.updateSubjectStatus",
170449
+ ComAtprotoIdentityGetRecommendedDidCredentials: "com.atproto.identity.getRecommendedDidCredentials",
170450
+ ComAtprotoIdentityRequestPlcOperationSignature: "com.atproto.identity.requestPlcOperationSignature",
169813
170451
  ComAtprotoIdentityResolveHandle: "com.atproto.identity.resolveHandle",
170452
+ ComAtprotoIdentitySignPlcOperation: "com.atproto.identity.signPlcOperation",
170453
+ ComAtprotoIdentitySubmitPlcOperation: "com.atproto.identity.submitPlcOperation",
169814
170454
  ComAtprotoIdentityUpdateHandle: "com.atproto.identity.updateHandle",
169815
170455
  ComAtprotoLabelDefs: "com.atproto.label.defs",
169816
170456
  ComAtprotoLabelQueryLabels: "com.atproto.label.queryLabels",
@@ -169822,21 +170462,27 @@ var ids = {
169822
170462
  ComAtprotoRepoDeleteRecord: "com.atproto.repo.deleteRecord",
169823
170463
  ComAtprotoRepoDescribeRepo: "com.atproto.repo.describeRepo",
169824
170464
  ComAtprotoRepoGetRecord: "com.atproto.repo.getRecord",
170465
+ ComAtprotoRepoImportRepo: "com.atproto.repo.importRepo",
170466
+ ComAtprotoRepoListMissingBlobs: "com.atproto.repo.listMissingBlobs",
169825
170467
  ComAtprotoRepoListRecords: "com.atproto.repo.listRecords",
169826
170468
  ComAtprotoRepoPutRecord: "com.atproto.repo.putRecord",
169827
170469
  ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef",
169828
170470
  ComAtprotoRepoUploadBlob: "com.atproto.repo.uploadBlob",
170471
+ ComAtprotoServerActivateAccount: "com.atproto.server.activateAccount",
170472
+ ComAtprotoServerCheckAccountStatus: "com.atproto.server.checkAccountStatus",
169829
170473
  ComAtprotoServerConfirmEmail: "com.atproto.server.confirmEmail",
169830
170474
  ComAtprotoServerCreateAccount: "com.atproto.server.createAccount",
169831
170475
  ComAtprotoServerCreateAppPassword: "com.atproto.server.createAppPassword",
169832
170476
  ComAtprotoServerCreateInviteCode: "com.atproto.server.createInviteCode",
169833
170477
  ComAtprotoServerCreateInviteCodes: "com.atproto.server.createInviteCodes",
169834
170478
  ComAtprotoServerCreateSession: "com.atproto.server.createSession",
170479
+ ComAtprotoServerDeactivateAccount: "com.atproto.server.deactivateAccount",
169835
170480
  ComAtprotoServerDefs: "com.atproto.server.defs",
169836
170481
  ComAtprotoServerDeleteAccount: "com.atproto.server.deleteAccount",
169837
170482
  ComAtprotoServerDeleteSession: "com.atproto.server.deleteSession",
169838
170483
  ComAtprotoServerDescribeServer: "com.atproto.server.describeServer",
169839
170484
  ComAtprotoServerGetAccountInviteCodes: "com.atproto.server.getAccountInviteCodes",
170485
+ ComAtprotoServerGetServiceAuth: "com.atproto.server.getServiceAuth",
169840
170486
  ComAtprotoServerGetSession: "com.atproto.server.getSession",
169841
170487
  ComAtprotoServerListAppPasswords: "com.atproto.server.listAppPasswords",
169842
170488
  ComAtprotoServerRefreshSession: "com.atproto.server.refreshSession",
@@ -169862,10 +170508,7 @@ var ids = {
169862
170508
  ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos",
169863
170509
  ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue",
169864
170510
  ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels",
169865
- ComAtprotoTempImportRepo: "com.atproto.temp.importRepo",
169866
- ComAtprotoTempPushBlob: "com.atproto.temp.pushBlob",
169867
170511
  ComAtprotoTempRequestPhoneVerification: "com.atproto.temp.requestPhoneVerification",
169868
- ComAtprotoTempTransferAccount: "com.atproto.temp.transferAccount",
169869
170512
  AppBskyActorDefs: "app.bsky.actor.defs",
169870
170513
  AppBskyActorGetPreferences: "app.bsky.actor.getPreferences",
169871
170514
  AppBskyActorGetProfile: "app.bsky.actor.getProfile",
@@ -173482,6 +174125,10 @@ var ComAtprotoAdminNS2 = class {
173482
174125
  const nsid2 = "com.atproto.admin.updateAccountHandle";
173483
174126
  return this._server.xrpc.method(nsid2, cfg);
173484
174127
  }
174128
+ updateAccountPassword(cfg) {
174129
+ const nsid2 = "com.atproto.admin.updateAccountPassword";
174130
+ return this._server.xrpc.method(nsid2, cfg);
174131
+ }
173485
174132
  updateCommunicationTemplate(cfg) {
173486
174133
  const nsid2 = "com.atproto.admin.updateCommunicationTemplate";
173487
174134
  return this._server.xrpc.method(nsid2, cfg);
@@ -173495,10 +174142,26 @@ var ComAtprotoIdentityNS2 = class {
173495
174142
  constructor(server) {
173496
174143
  this._server = server;
173497
174144
  }
174145
+ getRecommendedDidCredentials(cfg) {
174146
+ const nsid2 = "com.atproto.identity.getRecommendedDidCredentials";
174147
+ return this._server.xrpc.method(nsid2, cfg);
174148
+ }
174149
+ requestPlcOperationSignature(cfg) {
174150
+ const nsid2 = "com.atproto.identity.requestPlcOperationSignature";
174151
+ return this._server.xrpc.method(nsid2, cfg);
174152
+ }
173498
174153
  resolveHandle(cfg) {
173499
174154
  const nsid2 = "com.atproto.identity.resolveHandle";
173500
174155
  return this._server.xrpc.method(nsid2, cfg);
173501
174156
  }
174157
+ signPlcOperation(cfg) {
174158
+ const nsid2 = "com.atproto.identity.signPlcOperation";
174159
+ return this._server.xrpc.method(nsid2, cfg);
174160
+ }
174161
+ submitPlcOperation(cfg) {
174162
+ const nsid2 = "com.atproto.identity.submitPlcOperation";
174163
+ return this._server.xrpc.method(nsid2, cfg);
174164
+ }
173502
174165
  updateHandle(cfg) {
173503
174166
  const nsid2 = "com.atproto.identity.updateHandle";
173504
174167
  return this._server.xrpc.method(nsid2, cfg);
@@ -173550,6 +174213,14 @@ var ComAtprotoRepoNS2 = class {
173550
174213
  const nsid2 = "com.atproto.repo.getRecord";
173551
174214
  return this._server.xrpc.method(nsid2, cfg);
173552
174215
  }
174216
+ importRepo(cfg) {
174217
+ const nsid2 = "com.atproto.repo.importRepo";
174218
+ return this._server.xrpc.method(nsid2, cfg);
174219
+ }
174220
+ listMissingBlobs(cfg) {
174221
+ const nsid2 = "com.atproto.repo.listMissingBlobs";
174222
+ return this._server.xrpc.method(nsid2, cfg);
174223
+ }
173553
174224
  listRecords(cfg) {
173554
174225
  const nsid2 = "com.atproto.repo.listRecords";
173555
174226
  return this._server.xrpc.method(nsid2, cfg);
@@ -173567,6 +174238,14 @@ var ComAtprotoServerNS2 = class {
173567
174238
  constructor(server) {
173568
174239
  this._server = server;
173569
174240
  }
174241
+ activateAccount(cfg) {
174242
+ const nsid2 = "com.atproto.server.activateAccount";
174243
+ return this._server.xrpc.method(nsid2, cfg);
174244
+ }
174245
+ checkAccountStatus(cfg) {
174246
+ const nsid2 = "com.atproto.server.checkAccountStatus";
174247
+ return this._server.xrpc.method(nsid2, cfg);
174248
+ }
173570
174249
  confirmEmail(cfg) {
173571
174250
  const nsid2 = "com.atproto.server.confirmEmail";
173572
174251
  return this._server.xrpc.method(nsid2, cfg);
@@ -173591,6 +174270,10 @@ var ComAtprotoServerNS2 = class {
173591
174270
  const nsid2 = "com.atproto.server.createSession";
173592
174271
  return this._server.xrpc.method(nsid2, cfg);
173593
174272
  }
174273
+ deactivateAccount(cfg) {
174274
+ const nsid2 = "com.atproto.server.deactivateAccount";
174275
+ return this._server.xrpc.method(nsid2, cfg);
174276
+ }
173594
174277
  deleteAccount(cfg) {
173595
174278
  const nsid2 = "com.atproto.server.deleteAccount";
173596
174279
  return this._server.xrpc.method(nsid2, cfg);
@@ -173607,6 +174290,10 @@ var ComAtprotoServerNS2 = class {
173607
174290
  const nsid2 = "com.atproto.server.getAccountInviteCodes";
173608
174291
  return this._server.xrpc.method(nsid2, cfg);
173609
174292
  }
174293
+ getServiceAuth(cfg) {
174294
+ const nsid2 = "com.atproto.server.getServiceAuth";
174295
+ return this._server.xrpc.method(nsid2, cfg);
174296
+ }
173610
174297
  getSession(cfg) {
173611
174298
  const nsid2 = "com.atproto.server.getSession";
173612
174299
  return this._server.xrpc.method(nsid2, cfg);
@@ -173717,22 +174404,10 @@ var ComAtprotoTempNS2 = class {
173717
174404
  const nsid2 = "com.atproto.temp.fetchLabels";
173718
174405
  return this._server.xrpc.method(nsid2, cfg);
173719
174406
  }
173720
- importRepo(cfg) {
173721
- const nsid2 = "com.atproto.temp.importRepo";
173722
- return this._server.xrpc.method(nsid2, cfg);
173723
- }
173724
- pushBlob(cfg) {
173725
- const nsid2 = "com.atproto.temp.pushBlob";
173726
- return this._server.xrpc.method(nsid2, cfg);
173727
- }
173728
174407
  requestPhoneVerification(cfg) {
173729
174408
  const nsid2 = "com.atproto.temp.requestPhoneVerification";
173730
174409
  return this._server.xrpc.method(nsid2, cfg);
173731
174410
  }
173732
- transferAccount(cfg) {
173733
- const nsid2 = "com.atproto.temp.transferAccount";
173734
- return this._server.xrpc.method(nsid2, cfg);
173735
- }
173736
174411
  };
173737
174412
  var AppNS2 = class {
173738
174413
  constructor(server) {
@@ -174377,7 +175052,7 @@ var import_promises2 = require("node:timers/promises");
174377
175052
 
174378
175053
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/reader.js
174379
175054
  var import_fs = __toESM(require("fs"), 1);
174380
- var import_util73 = require("util");
175055
+ var import_util74 = require("util");
174381
175056
 
174382
175057
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/decoder.js
174383
175058
  var import_varint2 = __toESM(require_varint2(), 1);
@@ -174588,7 +175263,7 @@ function asyncIterableReader(asyncIterable) {
174588
175263
  }
174589
175264
 
174590
175265
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/reader.js
174591
- var fsread = (0, import_util73.promisify)(import_fs.default.read);
175266
+ var fsread = (0, import_util74.promisify)(import_fs.default.read);
174592
175267
 
174593
175268
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/indexer.js
174594
175269
  var CarIndexer = class {
@@ -174716,7 +175391,7 @@ async function decodeIterator(reader) {
174716
175391
 
174717
175392
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/writer.js
174718
175393
  var import_fs2 = __toESM(require("fs"), 1);
174719
- var import_util74 = require("util");
175394
+ var import_util75 = require("util");
174720
175395
 
174721
175396
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/encoder.js
174722
175397
  var import_varint3 = __toESM(require_varint2(), 1);
@@ -174736,8 +175411,8 @@ var CarWriterOut = class {
174736
175411
  };
174737
175412
 
174738
175413
  // ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/writer.js
174739
- var fsread2 = (0, import_util74.promisify)(import_fs2.default.read);
174740
- var fswrite = (0, import_util74.promisify)(import_fs2.default.write);
175414
+ var fsread2 = (0, import_util75.promisify)(import_fs2.default.read);
175415
+ var fswrite = (0, import_util75.promisify)(import_fs2.default.write);
174741
175416
 
174742
175417
  // ../repo/src/util.ts
174743
175418
  async function* verifyIncomingCarBlocks(car) {
@@ -180565,6 +181240,9 @@ var import_node_assert7 = __toESM(require("node:assert"));
180565
181240
  function isCommit(v) {
180566
181241
  return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#commit";
180567
181242
  }
181243
+ function isIdentity(v) {
181244
+ return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#identity";
181245
+ }
180568
181246
  function isHandle(v) {
180569
181247
  return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#handle";
180570
181248
  }
@@ -180787,6 +181465,8 @@ var IndexerSubscription = class {
180787
181465
  await this.handleCommit(msg);
180788
181466
  } else if (isHandle(msg)) {
180789
181467
  await this.handleUpdateHandle(msg);
181468
+ } else if (isIdentity(msg)) {
181469
+ await this.handleIdentityEvt(msg);
180790
181470
  } else if (isTombstone(msg)) {
180791
181471
  await this.handleTombstone(msg);
180792
181472
  } else if (isMigrate(msg)) {
@@ -180861,6 +181541,9 @@ var IndexerSubscription = class {
180861
181541
  async handleUpdateHandle(msg) {
180862
181542
  await this.indexingSvc.indexHandle(msg.did, msg.time, true);
180863
181543
  }
181544
+ async handleIdentityEvt(msg) {
181545
+ await this.indexingSvc.indexHandle(msg.did, msg.time, true);
181546
+ }
180864
181547
  async handleTombstone(msg) {
180865
181548
  await this.indexingSvc.tombstoneActor(msg.did);
180866
181549
  }
@@ -181914,6 +182597,8 @@ function getMessageDetails(msg) {
181914
182597
  return { seq: msg.seq, repo: msg.repo, message: msg };
181915
182598
  } else if (isHandle(msg)) {
181916
182599
  return { seq: msg.seq, repo: msg.did, message: msg };
182600
+ } else if (isIdentity(msg)) {
182601
+ return { seq: msg.seq, repo: msg.did, message: msg };
181917
182602
  } else if (isMigrate(msg)) {
181918
182603
  return { seq: msg.seq, repo: msg.did, message: msg };
181919
182604
  } else if (isTombstone(msg)) {