@atproto/api 0.9.3 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8919,6 +8919,7 @@ __export(src_exports2, {
8919
8919
  AppBskyGraphGetListMutes: () => getListMutes_exports,
8920
8920
  AppBskyGraphGetLists: () => getLists_exports,
8921
8921
  AppBskyGraphGetMutes: () => getMutes_exports,
8922
+ AppBskyGraphGetRelationships: () => getRelationships_exports,
8922
8923
  AppBskyGraphGetSuggestedFollowsByActor: () => getSuggestedFollowsByActor_exports,
8923
8924
  AppBskyGraphList: () => list_exports,
8924
8925
  AppBskyGraphListblock: () => listblock_exports,
@@ -9035,6 +9036,7 @@ __export(src_exports2, {
9035
9036
  ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
9036
9037
  ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
9037
9038
  ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
9039
+ ComAtprotoTempCheckSignupQueue: () => checkSignupQueue_exports,
9038
9040
  ComAtprotoTempFetchLabels: () => fetchLabels_exports,
9039
9041
  ComAtprotoTempImportRepo: () => importRepo_exports,
9040
9042
  ComAtprotoTempNS: () => ComAtprotoTempNS,
@@ -19865,6 +19867,34 @@ var schemaDict = {
19865
19867
  }
19866
19868
  }
19867
19869
  },
19870
+ ComAtprotoTempCheckSignupQueue: {
19871
+ lexicon: 1,
19872
+ id: "com.atproto.temp.checkSignupQueue",
19873
+ defs: {
19874
+ main: {
19875
+ type: "query",
19876
+ description: "Check accounts location in signup queue.",
19877
+ output: {
19878
+ encoding: "application/json",
19879
+ schema: {
19880
+ type: "object",
19881
+ required: ["activated"],
19882
+ properties: {
19883
+ activated: {
19884
+ type: "boolean"
19885
+ },
19886
+ placeInQueue: {
19887
+ type: "integer"
19888
+ },
19889
+ estimatedTimeMs: {
19890
+ type: "integer"
19891
+ }
19892
+ }
19893
+ }
19894
+ }
19895
+ }
19896
+ }
19897
+ },
19868
19898
  ComAtprotoTempFetchLabels: {
19869
19899
  lexicon: 1,
19870
19900
  id: "com.atproto.temp.fetchLabels",
@@ -20229,7 +20259,8 @@ var schemaDict = {
20229
20259
  "lex:app.bsky.actor.defs#savedFeedsPref",
20230
20260
  "lex:app.bsky.actor.defs#personalDetailsPref",
20231
20261
  "lex:app.bsky.actor.defs#feedViewPref",
20232
- "lex:app.bsky.actor.defs#threadViewPref"
20262
+ "lex:app.bsky.actor.defs#threadViewPref",
20263
+ "lex:app.bsky.actor.defs#interestsPref"
20233
20264
  ]
20234
20265
  }
20235
20266
  },
@@ -20329,6 +20360,22 @@ var schemaDict = {
20329
20360
  description: "Show followed users at the top of all replies."
20330
20361
  }
20331
20362
  }
20363
+ },
20364
+ interestsPref: {
20365
+ type: "object",
20366
+ required: ["tags"],
20367
+ properties: {
20368
+ tags: {
20369
+ type: "array",
20370
+ maxLength: 100,
20371
+ items: {
20372
+ type: "string",
20373
+ maxLength: 640,
20374
+ maxGraphemes: 64
20375
+ },
20376
+ description: "A list of tags which describe the account owner's interests gathered during onboarding."
20377
+ }
20378
+ }
20332
20379
  }
20333
20380
  }
20334
20381
  },
@@ -22522,6 +22569,42 @@ var schemaDict = {
22522
22569
  format: "at-uri"
22523
22570
  }
22524
22571
  }
22572
+ },
22573
+ notFoundActor: {
22574
+ type: "object",
22575
+ description: "indicates that a handle or DID could not be resolved",
22576
+ required: ["actor", "notFound"],
22577
+ properties: {
22578
+ actor: {
22579
+ type: "string",
22580
+ format: "at-identifier"
22581
+ },
22582
+ notFound: {
22583
+ type: "boolean",
22584
+ const: true
22585
+ }
22586
+ }
22587
+ },
22588
+ relationship: {
22589
+ type: "object",
22590
+ description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
22591
+ required: ["did"],
22592
+ properties: {
22593
+ did: {
22594
+ type: "string",
22595
+ format: "did"
22596
+ },
22597
+ following: {
22598
+ type: "string",
22599
+ format: "at-uri",
22600
+ description: "if the actor follows this DID, this is the AT-URI of the follow record"
22601
+ },
22602
+ followedBy: {
22603
+ type: "string",
22604
+ format: "at-uri",
22605
+ description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
22606
+ }
22607
+ }
22525
22608
  }
22526
22609
  }
22527
22610
  },
@@ -22926,6 +23009,63 @@ var schemaDict = {
22926
23009
  }
22927
23010
  }
22928
23011
  },
23012
+ AppBskyGraphGetRelationships: {
23013
+ lexicon: 1,
23014
+ id: "app.bsky.graph.getRelationships",
23015
+ defs: {
23016
+ main: {
23017
+ type: "query",
23018
+ description: "Enumerates public relationships between one account, and a list of other accounts",
23019
+ parameters: {
23020
+ type: "params",
23021
+ required: ["actor"],
23022
+ properties: {
23023
+ actor: {
23024
+ type: "string",
23025
+ format: "at-identifier"
23026
+ },
23027
+ others: {
23028
+ type: "array",
23029
+ maxLength: 30,
23030
+ items: {
23031
+ type: "string",
23032
+ format: "at-identifier"
23033
+ }
23034
+ }
23035
+ }
23036
+ },
23037
+ output: {
23038
+ encoding: "application/json",
23039
+ schema: {
23040
+ type: "object",
23041
+ required: ["relationships"],
23042
+ properties: {
23043
+ actor: {
23044
+ type: "string",
23045
+ format: "did"
23046
+ },
23047
+ relationships: {
23048
+ type: "array",
23049
+ items: {
23050
+ type: "union",
23051
+ refs: [
23052
+ "lex:app.bsky.graph.defs#relationship",
23053
+ "lex:app.bsky.graph.defs#notFoundActor"
23054
+ ]
23055
+ }
23056
+ }
23057
+ }
23058
+ }
23059
+ },
23060
+ errors: [
23061
+ {
23062
+ name: "ActorNotFound",
23063
+ description: "the primary actor at-identifier could not be resolved"
23064
+ }
23065
+ ]
23066
+ }
23067
+ }
23068
+ },
22929
23069
  AppBskyGraphGetSuggestedFollowsByActor: {
22930
23070
  lexicon: 1,
22931
23071
  id: "app.bsky.graph.getSuggestedFollowsByActor",
@@ -24798,12 +24938,23 @@ function toKnownErr67(e) {
24798
24938
  return e;
24799
24939
  }
24800
24940
 
24941
+ // src/client/types/com/atproto/temp/checkSignupQueue.ts
24942
+ var checkSignupQueue_exports = {};
24943
+ __export(checkSignupQueue_exports, {
24944
+ toKnownErr: () => toKnownErr68
24945
+ });
24946
+ function toKnownErr68(e) {
24947
+ if (e instanceof XRPCError) {
24948
+ }
24949
+ return e;
24950
+ }
24951
+
24801
24952
  // src/client/types/com/atproto/temp/fetchLabels.ts
24802
24953
  var fetchLabels_exports = {};
24803
24954
  __export(fetchLabels_exports, {
24804
- toKnownErr: () => toKnownErr68
24955
+ toKnownErr: () => toKnownErr69
24805
24956
  });
24806
- function toKnownErr68(e) {
24957
+ function toKnownErr69(e) {
24807
24958
  if (e instanceof XRPCError) {
24808
24959
  }
24809
24960
  return e;
@@ -24812,9 +24963,9 @@ function toKnownErr68(e) {
24812
24963
  // src/client/types/com/atproto/temp/importRepo.ts
24813
24964
  var importRepo_exports = {};
24814
24965
  __export(importRepo_exports, {
24815
- toKnownErr: () => toKnownErr69
24966
+ toKnownErr: () => toKnownErr70
24816
24967
  });
24817
- function toKnownErr69(e) {
24968
+ function toKnownErr70(e) {
24818
24969
  if (e instanceof XRPCError) {
24819
24970
  }
24820
24971
  return e;
@@ -24823,9 +24974,9 @@ function toKnownErr69(e) {
24823
24974
  // src/client/types/com/atproto/temp/pushBlob.ts
24824
24975
  var pushBlob_exports = {};
24825
24976
  __export(pushBlob_exports, {
24826
- toKnownErr: () => toKnownErr70
24977
+ toKnownErr: () => toKnownErr71
24827
24978
  });
24828
- function toKnownErr70(e) {
24979
+ function toKnownErr71(e) {
24829
24980
  if (e instanceof XRPCError) {
24830
24981
  }
24831
24982
  return e;
@@ -24834,9 +24985,9 @@ function toKnownErr70(e) {
24834
24985
  // src/client/types/com/atproto/temp/requestPhoneVerification.ts
24835
24986
  var requestPhoneVerification_exports = {};
24836
24987
  __export(requestPhoneVerification_exports, {
24837
- toKnownErr: () => toKnownErr71
24988
+ toKnownErr: () => toKnownErr72
24838
24989
  });
24839
- function toKnownErr71(e) {
24990
+ function toKnownErr72(e) {
24840
24991
  if (e instanceof XRPCError) {
24841
24992
  }
24842
24993
  return e;
@@ -24852,7 +25003,7 @@ __export(transferAccount_exports, {
24852
25003
  InvalidPasswordError: () => InvalidPasswordError2,
24853
25004
  UnresolvableDidError: () => UnresolvableDidError2,
24854
25005
  UnsupportedDomainError: () => UnsupportedDomainError2,
24855
- toKnownErr: () => toKnownErr72
25006
+ toKnownErr: () => toKnownErr73
24856
25007
  });
24857
25008
  var InvalidHandleError3 = class extends XRPCError {
24858
25009
  constructor(src2) {
@@ -24889,7 +25040,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
24889
25040
  super(src2.status, src2.error, src2.message, src2.headers);
24890
25041
  }
24891
25042
  };
24892
- function toKnownErr72(e) {
25043
+ function toKnownErr73(e) {
24893
25044
  if (e instanceof XRPCError) {
24894
25045
  if (e.error === "InvalidHandle")
24895
25046
  return new InvalidHandleError3(e);
@@ -24912,9 +25063,9 @@ function toKnownErr72(e) {
24912
25063
  // src/client/types/app/bsky/actor/getPreferences.ts
24913
25064
  var getPreferences_exports = {};
24914
25065
  __export(getPreferences_exports, {
24915
- toKnownErr: () => toKnownErr73
25066
+ toKnownErr: () => toKnownErr74
24916
25067
  });
24917
- function toKnownErr73(e) {
25068
+ function toKnownErr74(e) {
24918
25069
  if (e instanceof XRPCError) {
24919
25070
  }
24920
25071
  return e;
@@ -24923,9 +25074,9 @@ function toKnownErr73(e) {
24923
25074
  // src/client/types/app/bsky/actor/getProfile.ts
24924
25075
  var getProfile_exports = {};
24925
25076
  __export(getProfile_exports, {
24926
- toKnownErr: () => toKnownErr74
25077
+ toKnownErr: () => toKnownErr75
24927
25078
  });
24928
- function toKnownErr74(e) {
25079
+ function toKnownErr75(e) {
24929
25080
  if (e instanceof XRPCError) {
24930
25081
  }
24931
25082
  return e;
@@ -24934,9 +25085,9 @@ function toKnownErr74(e) {
24934
25085
  // src/client/types/app/bsky/actor/getProfiles.ts
24935
25086
  var getProfiles_exports = {};
24936
25087
  __export(getProfiles_exports, {
24937
- toKnownErr: () => toKnownErr75
25088
+ toKnownErr: () => toKnownErr76
24938
25089
  });
24939
- function toKnownErr75(e) {
25090
+ function toKnownErr76(e) {
24940
25091
  if (e instanceof XRPCError) {
24941
25092
  }
24942
25093
  return e;
@@ -24945,9 +25096,9 @@ function toKnownErr75(e) {
24945
25096
  // src/client/types/app/bsky/actor/getSuggestions.ts
24946
25097
  var getSuggestions_exports = {};
24947
25098
  __export(getSuggestions_exports, {
24948
- toKnownErr: () => toKnownErr76
25099
+ toKnownErr: () => toKnownErr77
24949
25100
  });
24950
- function toKnownErr76(e) {
25101
+ function toKnownErr77(e) {
24951
25102
  if (e instanceof XRPCError) {
24952
25103
  }
24953
25104
  return e;
@@ -24956,9 +25107,9 @@ function toKnownErr76(e) {
24956
25107
  // src/client/types/app/bsky/actor/putPreferences.ts
24957
25108
  var putPreferences_exports = {};
24958
25109
  __export(putPreferences_exports, {
24959
- toKnownErr: () => toKnownErr77
25110
+ toKnownErr: () => toKnownErr78
24960
25111
  });
24961
- function toKnownErr77(e) {
25112
+ function toKnownErr78(e) {
24962
25113
  if (e instanceof XRPCError) {
24963
25114
  }
24964
25115
  return e;
@@ -24967,9 +25118,9 @@ function toKnownErr77(e) {
24967
25118
  // src/client/types/app/bsky/actor/searchActors.ts
24968
25119
  var searchActors_exports = {};
24969
25120
  __export(searchActors_exports, {
24970
- toKnownErr: () => toKnownErr78
25121
+ toKnownErr: () => toKnownErr79
24971
25122
  });
24972
- function toKnownErr78(e) {
25123
+ function toKnownErr79(e) {
24973
25124
  if (e instanceof XRPCError) {
24974
25125
  }
24975
25126
  return e;
@@ -24978,9 +25129,9 @@ function toKnownErr78(e) {
24978
25129
  // src/client/types/app/bsky/actor/searchActorsTypeahead.ts
24979
25130
  var searchActorsTypeahead_exports = {};
24980
25131
  __export(searchActorsTypeahead_exports, {
24981
- toKnownErr: () => toKnownErr79
25132
+ toKnownErr: () => toKnownErr80
24982
25133
  });
24983
- function toKnownErr79(e) {
25134
+ function toKnownErr80(e) {
24984
25135
  if (e instanceof XRPCError) {
24985
25136
  }
24986
25137
  return e;
@@ -24991,11 +25142,11 @@ var describeFeedGenerator_exports = {};
24991
25142
  __export(describeFeedGenerator_exports, {
24992
25143
  isFeed: () => isFeed,
24993
25144
  isLinks: () => isLinks2,
24994
- toKnownErr: () => toKnownErr80,
25145
+ toKnownErr: () => toKnownErr81,
24995
25146
  validateFeed: () => validateFeed,
24996
25147
  validateLinks: () => validateLinks2
24997
25148
  });
24998
- function toKnownErr80(e) {
25149
+ function toKnownErr81(e) {
24999
25150
  if (e instanceof XRPCError) {
25000
25151
  }
25001
25152
  return e;
@@ -25016,9 +25167,9 @@ function validateLinks2(v) {
25016
25167
  // src/client/types/app/bsky/feed/getActorFeeds.ts
25017
25168
  var getActorFeeds_exports = {};
25018
25169
  __export(getActorFeeds_exports, {
25019
- toKnownErr: () => toKnownErr81
25170
+ toKnownErr: () => toKnownErr82
25020
25171
  });
25021
- function toKnownErr81(e) {
25172
+ function toKnownErr82(e) {
25022
25173
  if (e instanceof XRPCError) {
25023
25174
  }
25024
25175
  return e;
@@ -25029,7 +25180,7 @@ var getActorLikes_exports = {};
25029
25180
  __export(getActorLikes_exports, {
25030
25181
  BlockedActorError: () => BlockedActorError,
25031
25182
  BlockedByActorError: () => BlockedByActorError,
25032
- toKnownErr: () => toKnownErr82
25183
+ toKnownErr: () => toKnownErr83
25033
25184
  });
25034
25185
  var BlockedActorError = class extends XRPCError {
25035
25186
  constructor(src2) {
@@ -25041,7 +25192,7 @@ var BlockedByActorError = class extends XRPCError {
25041
25192
  super(src2.status, src2.error, src2.message, src2.headers);
25042
25193
  }
25043
25194
  };
25044
- function toKnownErr82(e) {
25195
+ function toKnownErr83(e) {
25045
25196
  if (e instanceof XRPCError) {
25046
25197
  if (e.error === "BlockedActor")
25047
25198
  return new BlockedActorError(e);
@@ -25056,7 +25207,7 @@ var getAuthorFeed_exports = {};
25056
25207
  __export(getAuthorFeed_exports, {
25057
25208
  BlockedActorError: () => BlockedActorError2,
25058
25209
  BlockedByActorError: () => BlockedByActorError2,
25059
- toKnownErr: () => toKnownErr83
25210
+ toKnownErr: () => toKnownErr84
25060
25211
  });
25061
25212
  var BlockedActorError2 = class extends XRPCError {
25062
25213
  constructor(src2) {
@@ -25068,7 +25219,7 @@ var BlockedByActorError2 = class extends XRPCError {
25068
25219
  super(src2.status, src2.error, src2.message, src2.headers);
25069
25220
  }
25070
25221
  };
25071
- function toKnownErr83(e) {
25222
+ function toKnownErr84(e) {
25072
25223
  if (e instanceof XRPCError) {
25073
25224
  if (e.error === "BlockedActor")
25074
25225
  return new BlockedActorError2(e);
@@ -25082,14 +25233,14 @@ function toKnownErr83(e) {
25082
25233
  var getFeed_exports = {};
25083
25234
  __export(getFeed_exports, {
25084
25235
  UnknownFeedError: () => UnknownFeedError,
25085
- toKnownErr: () => toKnownErr84
25236
+ toKnownErr: () => toKnownErr85
25086
25237
  });
25087
25238
  var UnknownFeedError = class extends XRPCError {
25088
25239
  constructor(src2) {
25089
25240
  super(src2.status, src2.error, src2.message, src2.headers);
25090
25241
  }
25091
25242
  };
25092
- function toKnownErr84(e) {
25243
+ function toKnownErr85(e) {
25093
25244
  if (e instanceof XRPCError) {
25094
25245
  if (e.error === "UnknownFeed")
25095
25246
  return new UnknownFeedError(e);
@@ -25100,9 +25251,9 @@ function toKnownErr84(e) {
25100
25251
  // src/client/types/app/bsky/feed/getFeedGenerator.ts
25101
25252
  var getFeedGenerator_exports = {};
25102
25253
  __export(getFeedGenerator_exports, {
25103
- toKnownErr: () => toKnownErr85
25254
+ toKnownErr: () => toKnownErr86
25104
25255
  });
25105
- function toKnownErr85(e) {
25256
+ function toKnownErr86(e) {
25106
25257
  if (e instanceof XRPCError) {
25107
25258
  }
25108
25259
  return e;
@@ -25111,9 +25262,9 @@ function toKnownErr85(e) {
25111
25262
  // src/client/types/app/bsky/feed/getFeedGenerators.ts
25112
25263
  var getFeedGenerators_exports = {};
25113
25264
  __export(getFeedGenerators_exports, {
25114
- toKnownErr: () => toKnownErr86
25265
+ toKnownErr: () => toKnownErr87
25115
25266
  });
25116
- function toKnownErr86(e) {
25267
+ function toKnownErr87(e) {
25117
25268
  if (e instanceof XRPCError) {
25118
25269
  }
25119
25270
  return e;
@@ -25123,14 +25274,14 @@ function toKnownErr86(e) {
25123
25274
  var getFeedSkeleton_exports = {};
25124
25275
  __export(getFeedSkeleton_exports, {
25125
25276
  UnknownFeedError: () => UnknownFeedError2,
25126
- toKnownErr: () => toKnownErr87
25277
+ toKnownErr: () => toKnownErr88
25127
25278
  });
25128
25279
  var UnknownFeedError2 = class extends XRPCError {
25129
25280
  constructor(src2) {
25130
25281
  super(src2.status, src2.error, src2.message, src2.headers);
25131
25282
  }
25132
25283
  };
25133
- function toKnownErr87(e) {
25284
+ function toKnownErr88(e) {
25134
25285
  if (e instanceof XRPCError) {
25135
25286
  if (e.error === "UnknownFeed")
25136
25287
  return new UnknownFeedError2(e);
@@ -25142,10 +25293,10 @@ function toKnownErr87(e) {
25142
25293
  var getLikes_exports = {};
25143
25294
  __export(getLikes_exports, {
25144
25295
  isLike: () => isLike,
25145
- toKnownErr: () => toKnownErr88,
25296
+ toKnownErr: () => toKnownErr89,
25146
25297
  validateLike: () => validateLike
25147
25298
  });
25148
- function toKnownErr88(e) {
25299
+ function toKnownErr89(e) {
25149
25300
  if (e instanceof XRPCError) {
25150
25301
  }
25151
25302
  return e;
@@ -25161,14 +25312,14 @@ function validateLike(v) {
25161
25312
  var getListFeed_exports = {};
25162
25313
  __export(getListFeed_exports, {
25163
25314
  UnknownListError: () => UnknownListError,
25164
- toKnownErr: () => toKnownErr89
25315
+ toKnownErr: () => toKnownErr90
25165
25316
  });
25166
25317
  var UnknownListError = class extends XRPCError {
25167
25318
  constructor(src2) {
25168
25319
  super(src2.status, src2.error, src2.message, src2.headers);
25169
25320
  }
25170
25321
  };
25171
- function toKnownErr89(e) {
25322
+ function toKnownErr90(e) {
25172
25323
  if (e instanceof XRPCError) {
25173
25324
  if (e.error === "UnknownList")
25174
25325
  return new UnknownListError(e);
@@ -25180,14 +25331,14 @@ function toKnownErr89(e) {
25180
25331
  var getPostThread_exports = {};
25181
25332
  __export(getPostThread_exports, {
25182
25333
  NotFoundError: () => NotFoundError,
25183
- toKnownErr: () => toKnownErr90
25334
+ toKnownErr: () => toKnownErr91
25184
25335
  });
25185
25336
  var NotFoundError = class extends XRPCError {
25186
25337
  constructor(src2) {
25187
25338
  super(src2.status, src2.error, src2.message, src2.headers);
25188
25339
  }
25189
25340
  };
25190
- function toKnownErr90(e) {
25341
+ function toKnownErr91(e) {
25191
25342
  if (e instanceof XRPCError) {
25192
25343
  if (e.error === "NotFound")
25193
25344
  return new NotFoundError(e);
@@ -25198,9 +25349,9 @@ function toKnownErr90(e) {
25198
25349
  // src/client/types/app/bsky/feed/getPosts.ts
25199
25350
  var getPosts_exports = {};
25200
25351
  __export(getPosts_exports, {
25201
- toKnownErr: () => toKnownErr91
25352
+ toKnownErr: () => toKnownErr92
25202
25353
  });
25203
- function toKnownErr91(e) {
25354
+ function toKnownErr92(e) {
25204
25355
  if (e instanceof XRPCError) {
25205
25356
  }
25206
25357
  return e;
@@ -25209,9 +25360,9 @@ function toKnownErr91(e) {
25209
25360
  // src/client/types/app/bsky/feed/getRepostedBy.ts
25210
25361
  var getRepostedBy_exports = {};
25211
25362
  __export(getRepostedBy_exports, {
25212
- toKnownErr: () => toKnownErr92
25363
+ toKnownErr: () => toKnownErr93
25213
25364
  });
25214
- function toKnownErr92(e) {
25365
+ function toKnownErr93(e) {
25215
25366
  if (e instanceof XRPCError) {
25216
25367
  }
25217
25368
  return e;
@@ -25220,9 +25371,9 @@ function toKnownErr92(e) {
25220
25371
  // src/client/types/app/bsky/feed/getSuggestedFeeds.ts
25221
25372
  var getSuggestedFeeds_exports = {};
25222
25373
  __export(getSuggestedFeeds_exports, {
25223
- toKnownErr: () => toKnownErr93
25374
+ toKnownErr: () => toKnownErr94
25224
25375
  });
25225
- function toKnownErr93(e) {
25376
+ function toKnownErr94(e) {
25226
25377
  if (e instanceof XRPCError) {
25227
25378
  }
25228
25379
  return e;
@@ -25231,9 +25382,9 @@ function toKnownErr93(e) {
25231
25382
  // src/client/types/app/bsky/feed/getTimeline.ts
25232
25383
  var getTimeline_exports = {};
25233
25384
  __export(getTimeline_exports, {
25234
- toKnownErr: () => toKnownErr94
25385
+ toKnownErr: () => toKnownErr95
25235
25386
  });
25236
- function toKnownErr94(e) {
25387
+ function toKnownErr95(e) {
25237
25388
  if (e instanceof XRPCError) {
25238
25389
  }
25239
25390
  return e;
@@ -25243,14 +25394,14 @@ function toKnownErr94(e) {
25243
25394
  var searchPosts_exports = {};
25244
25395
  __export(searchPosts_exports, {
25245
25396
  BadQueryStringError: () => BadQueryStringError,
25246
- toKnownErr: () => toKnownErr95
25397
+ toKnownErr: () => toKnownErr96
25247
25398
  });
25248
25399
  var BadQueryStringError = class extends XRPCError {
25249
25400
  constructor(src2) {
25250
25401
  super(src2.status, src2.error, src2.message, src2.headers);
25251
25402
  }
25252
25403
  };
25253
- function toKnownErr95(e) {
25404
+ function toKnownErr96(e) {
25254
25405
  if (e instanceof XRPCError) {
25255
25406
  if (e.error === "BadQueryString")
25256
25407
  return new BadQueryStringError(e);
@@ -25261,9 +25412,9 @@ function toKnownErr95(e) {
25261
25412
  // src/client/types/app/bsky/graph/getBlocks.ts
25262
25413
  var getBlocks_exports2 = {};
25263
25414
  __export(getBlocks_exports2, {
25264
- toKnownErr: () => toKnownErr96
25415
+ toKnownErr: () => toKnownErr97
25265
25416
  });
25266
- function toKnownErr96(e) {
25417
+ function toKnownErr97(e) {
25267
25418
  if (e instanceof XRPCError) {
25268
25419
  }
25269
25420
  return e;
@@ -25272,9 +25423,9 @@ function toKnownErr96(e) {
25272
25423
  // src/client/types/app/bsky/graph/getFollowers.ts
25273
25424
  var getFollowers_exports = {};
25274
25425
  __export(getFollowers_exports, {
25275
- toKnownErr: () => toKnownErr97
25426
+ toKnownErr: () => toKnownErr98
25276
25427
  });
25277
- function toKnownErr97(e) {
25428
+ function toKnownErr98(e) {
25278
25429
  if (e instanceof XRPCError) {
25279
25430
  }
25280
25431
  return e;
@@ -25283,9 +25434,9 @@ function toKnownErr97(e) {
25283
25434
  // src/client/types/app/bsky/graph/getFollows.ts
25284
25435
  var getFollows_exports = {};
25285
25436
  __export(getFollows_exports, {
25286
- toKnownErr: () => toKnownErr98
25437
+ toKnownErr: () => toKnownErr99
25287
25438
  });
25288
- function toKnownErr98(e) {
25439
+ function toKnownErr99(e) {
25289
25440
  if (e instanceof XRPCError) {
25290
25441
  }
25291
25442
  return e;
@@ -25294,9 +25445,9 @@ function toKnownErr98(e) {
25294
25445
  // src/client/types/app/bsky/graph/getList.ts
25295
25446
  var getList_exports = {};
25296
25447
  __export(getList_exports, {
25297
- toKnownErr: () => toKnownErr99
25448
+ toKnownErr: () => toKnownErr100
25298
25449
  });
25299
- function toKnownErr99(e) {
25450
+ function toKnownErr100(e) {
25300
25451
  if (e instanceof XRPCError) {
25301
25452
  }
25302
25453
  return e;
@@ -25305,9 +25456,9 @@ function toKnownErr99(e) {
25305
25456
  // src/client/types/app/bsky/graph/getListBlocks.ts
25306
25457
  var getListBlocks_exports = {};
25307
25458
  __export(getListBlocks_exports, {
25308
- toKnownErr: () => toKnownErr100
25459
+ toKnownErr: () => toKnownErr101
25309
25460
  });
25310
- function toKnownErr100(e) {
25461
+ function toKnownErr101(e) {
25311
25462
  if (e instanceof XRPCError) {
25312
25463
  }
25313
25464
  return e;
@@ -25316,9 +25467,9 @@ function toKnownErr100(e) {
25316
25467
  // src/client/types/app/bsky/graph/getListMutes.ts
25317
25468
  var getListMutes_exports = {};
25318
25469
  __export(getListMutes_exports, {
25319
- toKnownErr: () => toKnownErr101
25470
+ toKnownErr: () => toKnownErr102
25320
25471
  });
25321
- function toKnownErr101(e) {
25472
+ function toKnownErr102(e) {
25322
25473
  if (e instanceof XRPCError) {
25323
25474
  }
25324
25475
  return e;
@@ -25327,9 +25478,9 @@ function toKnownErr101(e) {
25327
25478
  // src/client/types/app/bsky/graph/getLists.ts
25328
25479
  var getLists_exports = {};
25329
25480
  __export(getLists_exports, {
25330
- toKnownErr: () => toKnownErr102
25481
+ toKnownErr: () => toKnownErr103
25331
25482
  });
25332
- function toKnownErr102(e) {
25483
+ function toKnownErr103(e) {
25333
25484
  if (e instanceof XRPCError) {
25334
25485
  }
25335
25486
  return e;
@@ -25338,10 +25489,29 @@ function toKnownErr102(e) {
25338
25489
  // src/client/types/app/bsky/graph/getMutes.ts
25339
25490
  var getMutes_exports = {};
25340
25491
  __export(getMutes_exports, {
25341
- toKnownErr: () => toKnownErr103
25492
+ toKnownErr: () => toKnownErr104
25342
25493
  });
25343
- function toKnownErr103(e) {
25494
+ function toKnownErr104(e) {
25495
+ if (e instanceof XRPCError) {
25496
+ }
25497
+ return e;
25498
+ }
25499
+
25500
+ // src/client/types/app/bsky/graph/getRelationships.ts
25501
+ var getRelationships_exports = {};
25502
+ __export(getRelationships_exports, {
25503
+ ActorNotFoundError: () => ActorNotFoundError,
25504
+ toKnownErr: () => toKnownErr105
25505
+ });
25506
+ var ActorNotFoundError = class extends XRPCError {
25507
+ constructor(src2) {
25508
+ super(src2.status, src2.error, src2.message, src2.headers);
25509
+ }
25510
+ };
25511
+ function toKnownErr105(e) {
25344
25512
  if (e instanceof XRPCError) {
25513
+ if (e.error === "ActorNotFound")
25514
+ return new ActorNotFoundError(e);
25345
25515
  }
25346
25516
  return e;
25347
25517
  }
@@ -25349,9 +25519,9 @@ function toKnownErr103(e) {
25349
25519
  // src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
25350
25520
  var getSuggestedFollowsByActor_exports = {};
25351
25521
  __export(getSuggestedFollowsByActor_exports, {
25352
- toKnownErr: () => toKnownErr104
25522
+ toKnownErr: () => toKnownErr106
25353
25523
  });
25354
- function toKnownErr104(e) {
25524
+ function toKnownErr106(e) {
25355
25525
  if (e instanceof XRPCError) {
25356
25526
  }
25357
25527
  return e;
@@ -25360,9 +25530,9 @@ function toKnownErr104(e) {
25360
25530
  // src/client/types/app/bsky/graph/muteActor.ts
25361
25531
  var muteActor_exports = {};
25362
25532
  __export(muteActor_exports, {
25363
- toKnownErr: () => toKnownErr105
25533
+ toKnownErr: () => toKnownErr107
25364
25534
  });
25365
- function toKnownErr105(e) {
25535
+ function toKnownErr107(e) {
25366
25536
  if (e instanceof XRPCError) {
25367
25537
  }
25368
25538
  return e;
@@ -25371,9 +25541,9 @@ function toKnownErr105(e) {
25371
25541
  // src/client/types/app/bsky/graph/muteActorList.ts
25372
25542
  var muteActorList_exports = {};
25373
25543
  __export(muteActorList_exports, {
25374
- toKnownErr: () => toKnownErr106
25544
+ toKnownErr: () => toKnownErr108
25375
25545
  });
25376
- function toKnownErr106(e) {
25546
+ function toKnownErr108(e) {
25377
25547
  if (e instanceof XRPCError) {
25378
25548
  }
25379
25549
  return e;
@@ -25382,9 +25552,9 @@ function toKnownErr106(e) {
25382
25552
  // src/client/types/app/bsky/graph/unmuteActor.ts
25383
25553
  var unmuteActor_exports = {};
25384
25554
  __export(unmuteActor_exports, {
25385
- toKnownErr: () => toKnownErr107
25555
+ toKnownErr: () => toKnownErr109
25386
25556
  });
25387
- function toKnownErr107(e) {
25557
+ function toKnownErr109(e) {
25388
25558
  if (e instanceof XRPCError) {
25389
25559
  }
25390
25560
  return e;
@@ -25393,9 +25563,9 @@ function toKnownErr107(e) {
25393
25563
  // src/client/types/app/bsky/graph/unmuteActorList.ts
25394
25564
  var unmuteActorList_exports = {};
25395
25565
  __export(unmuteActorList_exports, {
25396
- toKnownErr: () => toKnownErr108
25566
+ toKnownErr: () => toKnownErr110
25397
25567
  });
25398
- function toKnownErr108(e) {
25568
+ function toKnownErr110(e) {
25399
25569
  if (e instanceof XRPCError) {
25400
25570
  }
25401
25571
  return e;
@@ -25404,9 +25574,9 @@ function toKnownErr108(e) {
25404
25574
  // src/client/types/app/bsky/notification/getUnreadCount.ts
25405
25575
  var getUnreadCount_exports = {};
25406
25576
  __export(getUnreadCount_exports, {
25407
- toKnownErr: () => toKnownErr109
25577
+ toKnownErr: () => toKnownErr111
25408
25578
  });
25409
- function toKnownErr109(e) {
25579
+ function toKnownErr111(e) {
25410
25580
  if (e instanceof XRPCError) {
25411
25581
  }
25412
25582
  return e;
@@ -25416,10 +25586,10 @@ function toKnownErr109(e) {
25416
25586
  var listNotifications_exports = {};
25417
25587
  __export(listNotifications_exports, {
25418
25588
  isNotification: () => isNotification,
25419
- toKnownErr: () => toKnownErr110,
25589
+ toKnownErr: () => toKnownErr112,
25420
25590
  validateNotification: () => validateNotification
25421
25591
  });
25422
- function toKnownErr110(e) {
25592
+ function toKnownErr112(e) {
25423
25593
  if (e instanceof XRPCError) {
25424
25594
  }
25425
25595
  return e;
@@ -25434,9 +25604,9 @@ function validateNotification(v) {
25434
25604
  // src/client/types/app/bsky/notification/registerPush.ts
25435
25605
  var registerPush_exports = {};
25436
25606
  __export(registerPush_exports, {
25437
- toKnownErr: () => toKnownErr111
25607
+ toKnownErr: () => toKnownErr113
25438
25608
  });
25439
- function toKnownErr111(e) {
25609
+ function toKnownErr113(e) {
25440
25610
  if (e instanceof XRPCError) {
25441
25611
  }
25442
25612
  return e;
@@ -25445,9 +25615,9 @@ function toKnownErr111(e) {
25445
25615
  // src/client/types/app/bsky/notification/updateSeen.ts
25446
25616
  var updateSeen_exports = {};
25447
25617
  __export(updateSeen_exports, {
25448
- toKnownErr: () => toKnownErr112
25618
+ toKnownErr: () => toKnownErr114
25449
25619
  });
25450
- function toKnownErr112(e) {
25620
+ function toKnownErr114(e) {
25451
25621
  if (e instanceof XRPCError) {
25452
25622
  }
25453
25623
  return e;
@@ -25456,9 +25626,9 @@ function toKnownErr112(e) {
25456
25626
  // src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
25457
25627
  var getPopularFeedGenerators_exports = {};
25458
25628
  __export(getPopularFeedGenerators_exports, {
25459
- toKnownErr: () => toKnownErr113
25629
+ toKnownErr: () => toKnownErr115
25460
25630
  });
25461
- function toKnownErr113(e) {
25631
+ function toKnownErr115(e) {
25462
25632
  if (e instanceof XRPCError) {
25463
25633
  }
25464
25634
  return e;
@@ -25468,10 +25638,10 @@ function toKnownErr113(e) {
25468
25638
  var getTaggedSuggestions_exports = {};
25469
25639
  __export(getTaggedSuggestions_exports, {
25470
25640
  isSuggestion: () => isSuggestion,
25471
- toKnownErr: () => toKnownErr114,
25641
+ toKnownErr: () => toKnownErr116,
25472
25642
  validateSuggestion: () => validateSuggestion
25473
25643
  });
25474
- function toKnownErr114(e) {
25644
+ function toKnownErr116(e) {
25475
25645
  if (e instanceof XRPCError) {
25476
25646
  }
25477
25647
  return e;
@@ -25487,14 +25657,14 @@ function validateSuggestion(v) {
25487
25657
  var getTimelineSkeleton_exports = {};
25488
25658
  __export(getTimelineSkeleton_exports, {
25489
25659
  UnknownFeedError: () => UnknownFeedError3,
25490
- toKnownErr: () => toKnownErr115
25660
+ toKnownErr: () => toKnownErr117
25491
25661
  });
25492
25662
  var UnknownFeedError3 = class extends XRPCError {
25493
25663
  constructor(src2) {
25494
25664
  super(src2.status, src2.error, src2.message, src2.headers);
25495
25665
  }
25496
25666
  };
25497
- function toKnownErr115(e) {
25667
+ function toKnownErr117(e) {
25498
25668
  if (e instanceof XRPCError) {
25499
25669
  if (e.error === "UnknownFeed")
25500
25670
  return new UnknownFeedError3(e);
@@ -25506,14 +25676,14 @@ function toKnownErr115(e) {
25506
25676
  var searchActorsSkeleton_exports = {};
25507
25677
  __export(searchActorsSkeleton_exports, {
25508
25678
  BadQueryStringError: () => BadQueryStringError2,
25509
- toKnownErr: () => toKnownErr116
25679
+ toKnownErr: () => toKnownErr118
25510
25680
  });
25511
25681
  var BadQueryStringError2 = class extends XRPCError {
25512
25682
  constructor(src2) {
25513
25683
  super(src2.status, src2.error, src2.message, src2.headers);
25514
25684
  }
25515
25685
  };
25516
- function toKnownErr116(e) {
25686
+ function toKnownErr118(e) {
25517
25687
  if (e instanceof XRPCError) {
25518
25688
  if (e.error === "BadQueryString")
25519
25689
  return new BadQueryStringError2(e);
@@ -25525,14 +25695,14 @@ function toKnownErr116(e) {
25525
25695
  var searchPostsSkeleton_exports = {};
25526
25696
  __export(searchPostsSkeleton_exports, {
25527
25697
  BadQueryStringError: () => BadQueryStringError3,
25528
- toKnownErr: () => toKnownErr117
25698
+ toKnownErr: () => toKnownErr119
25529
25699
  });
25530
25700
  var BadQueryStringError3 = class extends XRPCError {
25531
25701
  constructor(src2) {
25532
25702
  super(src2.status, src2.error, src2.message, src2.headers);
25533
25703
  }
25534
25704
  };
25535
- function toKnownErr117(e) {
25705
+ function toKnownErr119(e) {
25536
25706
  if (e instanceof XRPCError) {
25537
25707
  if (e.error === "BadQueryString")
25538
25708
  return new BadQueryStringError3(e);
@@ -25969,6 +26139,7 @@ __export(defs_exports5, {
25969
26139
  isAdultContentPref: () => isAdultContentPref,
25970
26140
  isContentLabelPref: () => isContentLabelPref,
25971
26141
  isFeedViewPref: () => isFeedViewPref,
26142
+ isInterestsPref: () => isInterestsPref,
25972
26143
  isPersonalDetailsPref: () => isPersonalDetailsPref,
25973
26144
  isProfileView: () => isProfileView,
25974
26145
  isProfileViewBasic: () => isProfileViewBasic,
@@ -25979,6 +26150,7 @@ __export(defs_exports5, {
25979
26150
  validateAdultContentPref: () => validateAdultContentPref,
25980
26151
  validateContentLabelPref: () => validateContentLabelPref,
25981
26152
  validateFeedViewPref: () => validateFeedViewPref,
26153
+ validateInterestsPref: () => validateInterestsPref,
25982
26154
  validatePersonalDetailsPref: () => validatePersonalDetailsPref,
25983
26155
  validateProfileView: () => validateProfileView,
25984
26156
  validateProfileViewBasic: () => validateProfileViewBasic,
@@ -26047,6 +26219,12 @@ function isThreadViewPref(v) {
26047
26219
  function validateThreadViewPref(v) {
26048
26220
  return lexicons.validate("app.bsky.actor.defs#threadViewPref", v);
26049
26221
  }
26222
+ function isInterestsPref(v) {
26223
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.actor.defs#interestsPref";
26224
+ }
26225
+ function validateInterestsPref(v) {
26226
+ return lexicons.validate("app.bsky.actor.defs#interestsPref", v);
26227
+ }
26050
26228
 
26051
26229
  // src/client/types/app/bsky/actor/profile.ts
26052
26230
  var profile_exports = {};
@@ -26461,10 +26639,14 @@ __export(defs_exports7, {
26461
26639
  isListView: () => isListView,
26462
26640
  isListViewBasic: () => isListViewBasic,
26463
26641
  isListViewerState: () => isListViewerState,
26642
+ isNotFoundActor: () => isNotFoundActor,
26643
+ isRelationship: () => isRelationship,
26464
26644
  validateListItemView: () => validateListItemView,
26465
26645
  validateListView: () => validateListView,
26466
26646
  validateListViewBasic: () => validateListViewBasic,
26467
- validateListViewerState: () => validateListViewerState
26647
+ validateListViewerState: () => validateListViewerState,
26648
+ validateNotFoundActor: () => validateNotFoundActor,
26649
+ validateRelationship: () => validateRelationship
26468
26650
  });
26469
26651
  function isListViewBasic(v) {
26470
26652
  return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.defs#listViewBasic";
@@ -26492,6 +26674,18 @@ function isListViewerState(v) {
26492
26674
  function validateListViewerState(v) {
26493
26675
  return lexicons.validate("app.bsky.graph.defs#listViewerState", v);
26494
26676
  }
26677
+ function isNotFoundActor(v) {
26678
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.defs#notFoundActor";
26679
+ }
26680
+ function validateNotFoundActor(v) {
26681
+ return lexicons.validate("app.bsky.graph.defs#notFoundActor", v);
26682
+ }
26683
+ function isRelationship(v) {
26684
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.defs#relationship";
26685
+ }
26686
+ function validateRelationship(v) {
26687
+ return lexicons.validate("app.bsky.graph.defs#relationship", v);
26688
+ }
26495
26689
 
26496
26690
  // src/client/types/app/bsky/graph/follow.ts
26497
26691
  var follow_exports = {};
@@ -27043,29 +27237,34 @@ var ComAtprotoTempNS = class {
27043
27237
  constructor(service2) {
27044
27238
  this._service = service2;
27045
27239
  }
27240
+ checkSignupQueue(params2, opts) {
27241
+ return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
27242
+ throw toKnownErr68(e);
27243
+ });
27244
+ }
27046
27245
  fetchLabels(params2, opts) {
27047
27246
  return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
27048
- throw toKnownErr68(e);
27247
+ throw toKnownErr69(e);
27049
27248
  });
27050
27249
  }
27051
27250
  importRepo(data, opts) {
27052
27251
  return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
27053
- throw toKnownErr69(e);
27252
+ throw toKnownErr70(e);
27054
27253
  });
27055
27254
  }
27056
27255
  pushBlob(data, opts) {
27057
27256
  return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
27058
- throw toKnownErr70(e);
27257
+ throw toKnownErr71(e);
27059
27258
  });
27060
27259
  }
27061
27260
  requestPhoneVerification(data, opts) {
27062
27261
  return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
27063
- throw toKnownErr71(e);
27262
+ throw toKnownErr72(e);
27064
27263
  });
27065
27264
  }
27066
27265
  transferAccount(data, opts) {
27067
27266
  return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
27068
- throw toKnownErr72(e);
27267
+ throw toKnownErr73(e);
27069
27268
  });
27070
27269
  }
27071
27270
  };
@@ -27094,37 +27293,37 @@ var AppBskyActorNS = class {
27094
27293
  }
27095
27294
  getPreferences(params2, opts) {
27096
27295
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
27097
- throw toKnownErr73(e);
27296
+ throw toKnownErr74(e);
27098
27297
  });
27099
27298
  }
27100
27299
  getProfile(params2, opts) {
27101
27300
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
27102
- throw toKnownErr74(e);
27301
+ throw toKnownErr75(e);
27103
27302
  });
27104
27303
  }
27105
27304
  getProfiles(params2, opts) {
27106
27305
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
27107
- throw toKnownErr75(e);
27306
+ throw toKnownErr76(e);
27108
27307
  });
27109
27308
  }
27110
27309
  getSuggestions(params2, opts) {
27111
27310
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
27112
- throw toKnownErr76(e);
27311
+ throw toKnownErr77(e);
27113
27312
  });
27114
27313
  }
27115
27314
  putPreferences(data, opts) {
27116
27315
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
27117
- throw toKnownErr77(e);
27316
+ throw toKnownErr78(e);
27118
27317
  });
27119
27318
  }
27120
27319
  searchActors(params2, opts) {
27121
27320
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
27122
- throw toKnownErr78(e);
27321
+ throw toKnownErr79(e);
27123
27322
  });
27124
27323
  }
27125
27324
  searchActorsTypeahead(params2, opts) {
27126
27325
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
27127
- throw toKnownErr79(e);
27326
+ throw toKnownErr80(e);
27128
27327
  });
27129
27328
  }
27130
27329
  };
@@ -27171,82 +27370,82 @@ var AppBskyFeedNS = class {
27171
27370
  }
27172
27371
  describeFeedGenerator(params2, opts) {
27173
27372
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
27174
- throw toKnownErr80(e);
27373
+ throw toKnownErr81(e);
27175
27374
  });
27176
27375
  }
27177
27376
  getActorFeeds(params2, opts) {
27178
27377
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
27179
- throw toKnownErr81(e);
27378
+ throw toKnownErr82(e);
27180
27379
  });
27181
27380
  }
27182
27381
  getActorLikes(params2, opts) {
27183
27382
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
27184
- throw toKnownErr82(e);
27383
+ throw toKnownErr83(e);
27185
27384
  });
27186
27385
  }
27187
27386
  getAuthorFeed(params2, opts) {
27188
27387
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
27189
- throw toKnownErr83(e);
27388
+ throw toKnownErr84(e);
27190
27389
  });
27191
27390
  }
27192
27391
  getFeed(params2, opts) {
27193
27392
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
27194
- throw toKnownErr84(e);
27393
+ throw toKnownErr85(e);
27195
27394
  });
27196
27395
  }
27197
27396
  getFeedGenerator(params2, opts) {
27198
27397
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
27199
- throw toKnownErr85(e);
27398
+ throw toKnownErr86(e);
27200
27399
  });
27201
27400
  }
27202
27401
  getFeedGenerators(params2, opts) {
27203
27402
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
27204
- throw toKnownErr86(e);
27403
+ throw toKnownErr87(e);
27205
27404
  });
27206
27405
  }
27207
27406
  getFeedSkeleton(params2, opts) {
27208
27407
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
27209
- throw toKnownErr87(e);
27408
+ throw toKnownErr88(e);
27210
27409
  });
27211
27410
  }
27212
27411
  getLikes(params2, opts) {
27213
27412
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
27214
- throw toKnownErr88(e);
27413
+ throw toKnownErr89(e);
27215
27414
  });
27216
27415
  }
27217
27416
  getListFeed(params2, opts) {
27218
27417
  return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
27219
- throw toKnownErr89(e);
27418
+ throw toKnownErr90(e);
27220
27419
  });
27221
27420
  }
27222
27421
  getPostThread(params2, opts) {
27223
27422
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
27224
- throw toKnownErr90(e);
27423
+ throw toKnownErr91(e);
27225
27424
  });
27226
27425
  }
27227
27426
  getPosts(params2, opts) {
27228
27427
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
27229
- throw toKnownErr91(e);
27428
+ throw toKnownErr92(e);
27230
27429
  });
27231
27430
  }
27232
27431
  getRepostedBy(params2, opts) {
27233
27432
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
27234
- throw toKnownErr92(e);
27433
+ throw toKnownErr93(e);
27235
27434
  });
27236
27435
  }
27237
27436
  getSuggestedFeeds(params2, opts) {
27238
27437
  return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
27239
- throw toKnownErr93(e);
27438
+ throw toKnownErr94(e);
27240
27439
  });
27241
27440
  }
27242
27441
  getTimeline(params2, opts) {
27243
27442
  return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
27244
- throw toKnownErr94(e);
27443
+ throw toKnownErr95(e);
27245
27444
  });
27246
27445
  }
27247
27446
  searchPosts(params2, opts) {
27248
27447
  return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
27249
- throw toKnownErr95(e);
27448
+ throw toKnownErr96(e);
27250
27449
  });
27251
27450
  }
27252
27451
  };
@@ -27396,67 +27595,72 @@ var AppBskyGraphNS = class {
27396
27595
  }
27397
27596
  getBlocks(params2, opts) {
27398
27597
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
27399
- throw toKnownErr96(e);
27598
+ throw toKnownErr97(e);
27400
27599
  });
27401
27600
  }
27402
27601
  getFollowers(params2, opts) {
27403
27602
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
27404
- throw toKnownErr97(e);
27603
+ throw toKnownErr98(e);
27405
27604
  });
27406
27605
  }
27407
27606
  getFollows(params2, opts) {
27408
27607
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
27409
- throw toKnownErr98(e);
27608
+ throw toKnownErr99(e);
27410
27609
  });
27411
27610
  }
27412
27611
  getList(params2, opts) {
27413
27612
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
27414
- throw toKnownErr99(e);
27613
+ throw toKnownErr100(e);
27415
27614
  });
27416
27615
  }
27417
27616
  getListBlocks(params2, opts) {
27418
27617
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
27419
- throw toKnownErr100(e);
27618
+ throw toKnownErr101(e);
27420
27619
  });
27421
27620
  }
27422
27621
  getListMutes(params2, opts) {
27423
27622
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
27424
- throw toKnownErr101(e);
27623
+ throw toKnownErr102(e);
27425
27624
  });
27426
27625
  }
27427
27626
  getLists(params2, opts) {
27428
27627
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
27429
- throw toKnownErr102(e);
27628
+ throw toKnownErr103(e);
27430
27629
  });
27431
27630
  }
27432
27631
  getMutes(params2, opts) {
27433
27632
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
27434
- throw toKnownErr103(e);
27633
+ throw toKnownErr104(e);
27634
+ });
27635
+ }
27636
+ getRelationships(params2, opts) {
27637
+ return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
27638
+ throw toKnownErr105(e);
27435
27639
  });
27436
27640
  }
27437
27641
  getSuggestedFollowsByActor(params2, opts) {
27438
27642
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
27439
- throw toKnownErr104(e);
27643
+ throw toKnownErr106(e);
27440
27644
  });
27441
27645
  }
27442
27646
  muteActor(data, opts) {
27443
27647
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
27444
- throw toKnownErr105(e);
27648
+ throw toKnownErr107(e);
27445
27649
  });
27446
27650
  }
27447
27651
  muteActorList(data, opts) {
27448
27652
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
27449
- throw toKnownErr106(e);
27653
+ throw toKnownErr108(e);
27450
27654
  });
27451
27655
  }
27452
27656
  unmuteActor(data, opts) {
27453
27657
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
27454
- throw toKnownErr107(e);
27658
+ throw toKnownErr109(e);
27455
27659
  });
27456
27660
  }
27457
27661
  unmuteActorList(data, opts) {
27458
27662
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
27459
- throw toKnownErr108(e);
27663
+ throw toKnownErr110(e);
27460
27664
  });
27461
27665
  }
27462
27666
  };
@@ -27601,22 +27805,22 @@ var AppBskyNotificationNS = class {
27601
27805
  }
27602
27806
  getUnreadCount(params2, opts) {
27603
27807
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
27604
- throw toKnownErr109(e);
27808
+ throw toKnownErr111(e);
27605
27809
  });
27606
27810
  }
27607
27811
  listNotifications(params2, opts) {
27608
27812
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
27609
- throw toKnownErr110(e);
27813
+ throw toKnownErr112(e);
27610
27814
  });
27611
27815
  }
27612
27816
  registerPush(data, opts) {
27613
27817
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
27614
- throw toKnownErr111(e);
27818
+ throw toKnownErr113(e);
27615
27819
  });
27616
27820
  }
27617
27821
  updateSeen(data, opts) {
27618
27822
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
27619
- throw toKnownErr112(e);
27823
+ throw toKnownErr114(e);
27620
27824
  });
27621
27825
  }
27622
27826
  };
@@ -27631,27 +27835,27 @@ var AppBskyUnspeccedNS = class {
27631
27835
  }
27632
27836
  getPopularFeedGenerators(params2, opts) {
27633
27837
  return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
27634
- throw toKnownErr113(e);
27838
+ throw toKnownErr115(e);
27635
27839
  });
27636
27840
  }
27637
27841
  getTaggedSuggestions(params2, opts) {
27638
27842
  return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
27639
- throw toKnownErr114(e);
27843
+ throw toKnownErr116(e);
27640
27844
  });
27641
27845
  }
27642
27846
  getTimelineSkeleton(params2, opts) {
27643
27847
  return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
27644
- throw toKnownErr115(e);
27848
+ throw toKnownErr117(e);
27645
27849
  });
27646
27850
  }
27647
27851
  searchActorsSkeleton(params2, opts) {
27648
27852
  return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
27649
- throw toKnownErr116(e);
27853
+ throw toKnownErr118(e);
27650
27854
  });
27651
27855
  }
27652
27856
  searchPostsSkeleton(params2, opts) {
27653
27857
  return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
27654
- throw toKnownErr117(e);
27858
+ throw toKnownErr119(e);
27655
27859
  });
27656
27860
  }
27657
27861
  };
@@ -27776,12 +27980,12 @@ var _AtpAgent = class {
27776
27980
  await this._refreshSessionPromise;
27777
27981
  let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
27778
27982
  if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
27779
- await this._refreshSession();
27983
+ await this.refreshSession();
27780
27984
  res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
27781
27985
  }
27782
27986
  return res;
27783
27987
  }
27784
- async _refreshSession() {
27988
+ async refreshSession() {
27785
27989
  if (this._refreshSessionPromise) {
27786
27990
  return this._refreshSessionPromise;
27787
27991
  }
@@ -31338,7 +31542,10 @@ var BskyAgent = class extends AtpAgent {
31338
31542
  threadViewPrefs: { ...THREAD_VIEW_PREF_DEFAULTS },
31339
31543
  adultContentEnabled: false,
31340
31544
  contentLabels: {},
31341
- birthDate: void 0
31545
+ birthDate: void 0,
31546
+ interests: {
31547
+ tags: []
31548
+ }
31342
31549
  };
31343
31550
  const res = await this.app.bsky.actor.getPreferences({});
31344
31551
  for (const pref of res.data.preferences) {
@@ -31365,6 +31572,9 @@ var BskyAgent = class extends AtpAgent {
31365
31572
  } else if (defs_exports5.isThreadViewPref(pref) && defs_exports5.validateThreadViewPref(pref).success) {
31366
31573
  const { $type, ...v } = pref;
31367
31574
  prefs.threadViewPrefs = { ...prefs.threadViewPrefs, ...v };
31575
+ } else if (defs_exports5.isInterestsPref(pref) && defs_exports5.validateInterestsPref(pref).success) {
31576
+ const { $type, ...v } = pref;
31577
+ prefs.interests = { ...prefs.interests, ...v };
31368
31578
  }
31369
31579
  }
31370
31580
  return prefs;
@@ -31466,6 +31676,15 @@ var BskyAgent = class extends AtpAgent {
31466
31676
  return prefs.filter((p) => !defs_exports5.isThreadViewPref(p)).concat([{ ...pref, $type: "app.bsky.actor.defs#threadViewPref" }]);
31467
31677
  });
31468
31678
  }
31679
+ async setInterestsPref(pref) {
31680
+ await updatePreferences(this, (prefs) => {
31681
+ const existing = prefs.findLast((pref2) => defs_exports5.isInterestsPref(pref2) && defs_exports5.validateInterestsPref(pref2).success);
31682
+ if (existing) {
31683
+ pref = { ...existing, ...pref };
31684
+ }
31685
+ return prefs.filter((p) => !defs_exports5.isInterestsPref(p)).concat([{ ...pref, $type: "app.bsky.actor.defs#interestsPref" }]);
31686
+ });
31687
+ }
31469
31688
  };
31470
31689
  async function updatePreferences(agent, cb) {
31471
31690
  const res = await agent.app.bsky.actor.getPreferences({});