@atproto/api 0.2.9 → 0.2.11

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
@@ -101,7 +101,9 @@ __export(src_exports4, {
101
101
  AppBskyFeedLike: () => like_exports,
102
102
  AppBskyFeedPost: () => post_exports,
103
103
  AppBskyFeedRepost: () => repost_exports,
104
+ AppBskyGraphBlock: () => block_exports,
104
105
  AppBskyGraphFollow: () => follow_exports,
106
+ AppBskyGraphGetBlocks: () => getBlocks_exports2,
105
107
  AppBskyGraphGetFollowers: () => getFollowers_exports,
106
108
  AppBskyGraphGetFollows: () => getFollows_exports,
107
109
  AppBskyGraphGetMutes: () => getMutes_exports,
@@ -119,6 +121,7 @@ __export(src_exports4, {
119
121
  AtpServiceClient: () => AtpServiceClient,
120
122
  AtprotoNS: () => AtprotoNS,
121
123
  BlobRef: () => BlobRef,
124
+ BlockRecord: () => BlockRecord,
122
125
  BskyAgent: () => BskyAgent,
123
126
  BskyNS: () => BskyNS,
124
127
  COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
@@ -10488,6 +10491,13 @@ var schemaDict = {
10488
10491
  muted: {
10489
10492
  type: "boolean"
10490
10493
  },
10494
+ blockedBy: {
10495
+ type: "boolean"
10496
+ },
10497
+ blocking: {
10498
+ type: "string",
10499
+ format: "at-uri"
10500
+ },
10491
10501
  following: {
10492
10502
  type: "string",
10493
10503
  format: "at-uri"
@@ -10883,7 +10893,8 @@ var schemaDict = {
10883
10893
  type: "union",
10884
10894
  refs: [
10885
10895
  "lex:app.bsky.embed.record#viewRecord",
10886
- "lex:app.bsky.embed.record#viewNotFound"
10896
+ "lex:app.bsky.embed.record#viewNotFound",
10897
+ "lex:app.bsky.embed.record#viewBlocked"
10887
10898
  ]
10888
10899
  }
10889
10900
  }
@@ -10907,6 +10918,13 @@ var schemaDict = {
10907
10918
  value: {
10908
10919
  type: "unknown"
10909
10920
  },
10921
+ labels: {
10922
+ type: "array",
10923
+ items: {
10924
+ type: "ref",
10925
+ ref: "lex:com.atproto.label.defs#label"
10926
+ }
10927
+ },
10910
10928
  embeds: {
10911
10929
  type: "array",
10912
10930
  items: {
@@ -10934,6 +10952,16 @@ var schemaDict = {
10934
10952
  format: "at-uri"
10935
10953
  }
10936
10954
  }
10955
+ },
10956
+ viewBlocked: {
10957
+ type: "object",
10958
+ required: ["uri"],
10959
+ properties: {
10960
+ uri: {
10961
+ type: "string",
10962
+ format: "at-uri"
10963
+ }
10964
+ }
10937
10965
  }
10938
10966
  }
10939
10967
  },
@@ -11104,7 +11132,8 @@ var schemaDict = {
11104
11132
  type: "union",
11105
11133
  refs: [
11106
11134
  "lex:app.bsky.feed.defs#threadViewPost",
11107
- "lex:app.bsky.feed.defs#notFoundPost"
11135
+ "lex:app.bsky.feed.defs#notFoundPost",
11136
+ "lex:app.bsky.feed.defs#blockedPost"
11108
11137
  ]
11109
11138
  },
11110
11139
  replies: {
@@ -11113,7 +11142,8 @@ var schemaDict = {
11113
11142
  type: "union",
11114
11143
  refs: [
11115
11144
  "lex:app.bsky.feed.defs#threadViewPost",
11116
- "lex:app.bsky.feed.defs#notFoundPost"
11145
+ "lex:app.bsky.feed.defs#notFoundPost",
11146
+ "lex:app.bsky.feed.defs#blockedPost"
11117
11147
  ]
11118
11148
  }
11119
11149
  }
@@ -11132,6 +11162,20 @@ var schemaDict = {
11132
11162
  const: true
11133
11163
  }
11134
11164
  }
11165
+ },
11166
+ blockedPost: {
11167
+ type: "object",
11168
+ required: ["uri", "blocked"],
11169
+ properties: {
11170
+ uri: {
11171
+ type: "string",
11172
+ format: "at-uri"
11173
+ },
11174
+ blocked: {
11175
+ type: "boolean",
11176
+ const: true
11177
+ }
11178
+ }
11135
11179
  }
11136
11180
  }
11137
11181
  },
@@ -11179,7 +11223,15 @@ var schemaDict = {
11179
11223
  }
11180
11224
  }
11181
11225
  }
11182
- }
11226
+ },
11227
+ errors: [
11228
+ {
11229
+ name: "BlockedActor"
11230
+ },
11231
+ {
11232
+ name: "BlockedByActor"
11233
+ }
11234
+ ]
11183
11235
  }
11184
11236
  }
11185
11237
  },
@@ -11289,7 +11341,8 @@ var schemaDict = {
11289
11341
  type: "union",
11290
11342
  refs: [
11291
11343
  "lex:app.bsky.feed.defs#threadViewPost",
11292
- "lex:app.bsky.feed.defs#notFoundPost"
11344
+ "lex:app.bsky.feed.defs#notFoundPost",
11345
+ "lex:app.bsky.feed.defs#blockedPost"
11293
11346
  ]
11294
11347
  }
11295
11348
  }
@@ -11596,6 +11649,31 @@ var schemaDict = {
11596
11649
  }
11597
11650
  }
11598
11651
  },
11652
+ AppBskyGraphBlock: {
11653
+ lexicon: 1,
11654
+ id: "app.bsky.graph.block",
11655
+ defs: {
11656
+ main: {
11657
+ type: "record",
11658
+ description: "A block.",
11659
+ key: "tid",
11660
+ record: {
11661
+ type: "object",
11662
+ required: ["subject", "createdAt"],
11663
+ properties: {
11664
+ subject: {
11665
+ type: "string",
11666
+ format: "did"
11667
+ },
11668
+ createdAt: {
11669
+ type: "string",
11670
+ format: "datetime"
11671
+ }
11672
+ }
11673
+ }
11674
+ }
11675
+ }
11676
+ },
11599
11677
  AppBskyGraphFollow: {
11600
11678
  lexicon: 1,
11601
11679
  id: "app.bsky.graph.follow",
@@ -11621,6 +11699,49 @@ var schemaDict = {
11621
11699
  }
11622
11700
  }
11623
11701
  },
11702
+ AppBskyGraphGetBlocks: {
11703
+ lexicon: 1,
11704
+ id: "app.bsky.graph.getBlocks",
11705
+ defs: {
11706
+ main: {
11707
+ type: "query",
11708
+ description: "Who is the requester's account blocking?",
11709
+ parameters: {
11710
+ type: "params",
11711
+ properties: {
11712
+ limit: {
11713
+ type: "integer",
11714
+ minimum: 1,
11715
+ maximum: 100,
11716
+ default: 50
11717
+ },
11718
+ cursor: {
11719
+ type: "string"
11720
+ }
11721
+ }
11722
+ },
11723
+ output: {
11724
+ encoding: "application/json",
11725
+ schema: {
11726
+ type: "object",
11727
+ required: ["blocks"],
11728
+ properties: {
11729
+ cursor: {
11730
+ type: "string"
11731
+ },
11732
+ blocks: {
11733
+ type: "array",
11734
+ items: {
11735
+ type: "ref",
11736
+ ref: "lex:app.bsky.actor.defs#profileView"
11737
+ }
11738
+ }
11739
+ }
11740
+ }
11741
+ }
11742
+ }
11743
+ }
11744
+ },
11624
11745
  AppBskyGraphGetFollowers: {
11625
11746
  lexicon: 1,
11626
11747
  id: "app.bsky.graph.getFollowers",
@@ -12963,10 +13084,26 @@ function toKnownErr58(e) {
12963
13084
  // src/client/types/app/bsky/feed/getAuthorFeed.ts
12964
13085
  var getAuthorFeed_exports = {};
12965
13086
  __export(getAuthorFeed_exports, {
13087
+ BlockedActorError: () => BlockedActorError,
13088
+ BlockedByActorError: () => BlockedByActorError,
12966
13089
  toKnownErr: () => toKnownErr59
12967
13090
  });
13091
+ var BlockedActorError = class extends XRPCError {
13092
+ constructor(src2) {
13093
+ super(src2.status, src2.error, src2.message);
13094
+ }
13095
+ };
13096
+ var BlockedByActorError = class extends XRPCError {
13097
+ constructor(src2) {
13098
+ super(src2.status, src2.error, src2.message);
13099
+ }
13100
+ };
12968
13101
  function toKnownErr59(e) {
12969
13102
  if (e instanceof XRPCError) {
13103
+ if (e.error === "BlockedActor")
13104
+ return new BlockedActorError(e);
13105
+ if (e.error === "BlockedByActor")
13106
+ return new BlockedByActorError(e);
12970
13107
  }
12971
13108
  return e;
12972
13109
  }
@@ -13042,12 +13179,23 @@ function toKnownErr64(e) {
13042
13179
  return e;
13043
13180
  }
13044
13181
 
13182
+ // src/client/types/app/bsky/graph/getBlocks.ts
13183
+ var getBlocks_exports2 = {};
13184
+ __export(getBlocks_exports2, {
13185
+ toKnownErr: () => toKnownErr65
13186
+ });
13187
+ function toKnownErr65(e) {
13188
+ if (e instanceof XRPCError) {
13189
+ }
13190
+ return e;
13191
+ }
13192
+
13045
13193
  // src/client/types/app/bsky/graph/getFollowers.ts
13046
13194
  var getFollowers_exports = {};
13047
13195
  __export(getFollowers_exports, {
13048
- toKnownErr: () => toKnownErr65
13196
+ toKnownErr: () => toKnownErr66
13049
13197
  });
13050
- function toKnownErr65(e) {
13198
+ function toKnownErr66(e) {
13051
13199
  if (e instanceof XRPCError) {
13052
13200
  }
13053
13201
  return e;
@@ -13056,9 +13204,9 @@ function toKnownErr65(e) {
13056
13204
  // src/client/types/app/bsky/graph/getFollows.ts
13057
13205
  var getFollows_exports = {};
13058
13206
  __export(getFollows_exports, {
13059
- toKnownErr: () => toKnownErr66
13207
+ toKnownErr: () => toKnownErr67
13060
13208
  });
13061
- function toKnownErr66(e) {
13209
+ function toKnownErr67(e) {
13062
13210
  if (e instanceof XRPCError) {
13063
13211
  }
13064
13212
  return e;
@@ -13067,9 +13215,9 @@ function toKnownErr66(e) {
13067
13215
  // src/client/types/app/bsky/graph/getMutes.ts
13068
13216
  var getMutes_exports = {};
13069
13217
  __export(getMutes_exports, {
13070
- toKnownErr: () => toKnownErr67
13218
+ toKnownErr: () => toKnownErr68
13071
13219
  });
13072
- function toKnownErr67(e) {
13220
+ function toKnownErr68(e) {
13073
13221
  if (e instanceof XRPCError) {
13074
13222
  }
13075
13223
  return e;
@@ -13078,9 +13226,9 @@ function toKnownErr67(e) {
13078
13226
  // src/client/types/app/bsky/graph/muteActor.ts
13079
13227
  var muteActor_exports = {};
13080
13228
  __export(muteActor_exports, {
13081
- toKnownErr: () => toKnownErr68
13229
+ toKnownErr: () => toKnownErr69
13082
13230
  });
13083
- function toKnownErr68(e) {
13231
+ function toKnownErr69(e) {
13084
13232
  if (e instanceof XRPCError) {
13085
13233
  }
13086
13234
  return e;
@@ -13089,9 +13237,9 @@ function toKnownErr68(e) {
13089
13237
  // src/client/types/app/bsky/graph/unmuteActor.ts
13090
13238
  var unmuteActor_exports = {};
13091
13239
  __export(unmuteActor_exports, {
13092
- toKnownErr: () => toKnownErr69
13240
+ toKnownErr: () => toKnownErr70
13093
13241
  });
13094
- function toKnownErr69(e) {
13242
+ function toKnownErr70(e) {
13095
13243
  if (e instanceof XRPCError) {
13096
13244
  }
13097
13245
  return e;
@@ -13100,9 +13248,9 @@ function toKnownErr69(e) {
13100
13248
  // src/client/types/app/bsky/notification/getUnreadCount.ts
13101
13249
  var getUnreadCount_exports = {};
13102
13250
  __export(getUnreadCount_exports, {
13103
- toKnownErr: () => toKnownErr70
13251
+ toKnownErr: () => toKnownErr71
13104
13252
  });
13105
- function toKnownErr70(e) {
13253
+ function toKnownErr71(e) {
13106
13254
  if (e instanceof XRPCError) {
13107
13255
  }
13108
13256
  return e;
@@ -13112,10 +13260,10 @@ function toKnownErr70(e) {
13112
13260
  var listNotifications_exports = {};
13113
13261
  __export(listNotifications_exports, {
13114
13262
  isNotification: () => isNotification,
13115
- toKnownErr: () => toKnownErr71,
13263
+ toKnownErr: () => toKnownErr72,
13116
13264
  validateNotification: () => validateNotification
13117
13265
  });
13118
- function toKnownErr71(e) {
13266
+ function toKnownErr72(e) {
13119
13267
  if (e instanceof XRPCError) {
13120
13268
  }
13121
13269
  return e;
@@ -13133,9 +13281,9 @@ function validateNotification(v) {
13133
13281
  // src/client/types/app/bsky/notification/updateSeen.ts
13134
13282
  var updateSeen_exports = {};
13135
13283
  __export(updateSeen_exports, {
13136
- toKnownErr: () => toKnownErr72
13284
+ toKnownErr: () => toKnownErr73
13137
13285
  });
13138
- function toKnownErr72(e) {
13286
+ function toKnownErr73(e) {
13139
13287
  if (e instanceof XRPCError) {
13140
13288
  }
13141
13289
  return e;
@@ -13144,9 +13292,9 @@ function toKnownErr72(e) {
13144
13292
  // src/client/types/app/bsky/unspecced/getPopular.ts
13145
13293
  var getPopular_exports = {};
13146
13294
  __export(getPopular_exports, {
13147
- toKnownErr: () => toKnownErr73
13295
+ toKnownErr: () => toKnownErr74
13148
13296
  });
13149
- function toKnownErr73(e) {
13297
+ function toKnownErr74(e) {
13150
13298
  if (e instanceof XRPCError) {
13151
13299
  }
13152
13300
  return e;
@@ -13558,10 +13706,12 @@ var record_exports = {};
13558
13706
  __export(record_exports, {
13559
13707
  isMain: () => isMain4,
13560
13708
  isView: () => isView3,
13709
+ isViewBlocked: () => isViewBlocked,
13561
13710
  isViewNotFound: () => isViewNotFound,
13562
13711
  isViewRecord: () => isViewRecord,
13563
13712
  validateMain: () => validateMain4,
13564
13713
  validateView: () => validateView3,
13714
+ validateViewBlocked: () => validateViewBlocked,
13565
13715
  validateViewNotFound: () => validateViewNotFound,
13566
13716
  validateViewRecord: () => validateViewRecord
13567
13717
  });
@@ -13589,6 +13739,12 @@ function isViewNotFound(v) {
13589
13739
  function validateViewNotFound(v) {
13590
13740
  return lexicons.validate("app.bsky.embed.record#viewNotFound", v);
13591
13741
  }
13742
+ function isViewBlocked(v) {
13743
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.embed.record#viewBlocked";
13744
+ }
13745
+ function validateViewBlocked(v) {
13746
+ return lexicons.validate("app.bsky.embed.record#viewBlocked", v);
13747
+ }
13592
13748
 
13593
13749
  // src/client/types/app/bsky/embed/recordWithMedia.ts
13594
13750
  var recordWithMedia_exports = {};
@@ -13614,6 +13770,7 @@ function validateView4(v) {
13614
13770
  // src/client/types/app/bsky/feed/defs.ts
13615
13771
  var defs_exports6 = {};
13616
13772
  __export(defs_exports6, {
13773
+ isBlockedPost: () => isBlockedPost,
13617
13774
  isFeedViewPost: () => isFeedViewPost,
13618
13775
  isNotFoundPost: () => isNotFoundPost,
13619
13776
  isPostView: () => isPostView,
@@ -13621,6 +13778,7 @@ __export(defs_exports6, {
13621
13778
  isReplyRef: () => isReplyRef,
13622
13779
  isThreadViewPost: () => isThreadViewPost,
13623
13780
  isViewerState: () => isViewerState2,
13781
+ validateBlockedPost: () => validateBlockedPost,
13624
13782
  validateFeedViewPost: () => validateFeedViewPost,
13625
13783
  validateNotFoundPost: () => validateNotFoundPost,
13626
13784
  validatePostView: () => validatePostView,
@@ -13671,6 +13829,12 @@ function isNotFoundPost(v) {
13671
13829
  function validateNotFoundPost(v) {
13672
13830
  return lexicons.validate("app.bsky.feed.defs#notFoundPost", v);
13673
13831
  }
13832
+ function isBlockedPost(v) {
13833
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.defs#blockedPost";
13834
+ }
13835
+ function validateBlockedPost(v) {
13836
+ return lexicons.validate("app.bsky.feed.defs#blockedPost", v);
13837
+ }
13674
13838
 
13675
13839
  // src/client/types/app/bsky/feed/like.ts
13676
13840
  var like_exports = {};
@@ -13735,16 +13899,29 @@ function validateRecord5(v) {
13735
13899
  return lexicons.validate("app.bsky.feed.repost#main", v);
13736
13900
  }
13737
13901
 
13738
- // src/client/types/app/bsky/graph/follow.ts
13739
- var follow_exports = {};
13740
- __export(follow_exports, {
13902
+ // src/client/types/app/bsky/graph/block.ts
13903
+ var block_exports = {};
13904
+ __export(block_exports, {
13741
13905
  isRecord: () => isRecord6,
13742
13906
  validateRecord: () => validateRecord6
13743
13907
  });
13744
13908
  function isRecord6(v) {
13745
- return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.follow#main" || v.$type === "app.bsky.graph.follow");
13909
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.block#main" || v.$type === "app.bsky.graph.block");
13746
13910
  }
13747
13911
  function validateRecord6(v) {
13912
+ return lexicons.validate("app.bsky.graph.block#main", v);
13913
+ }
13914
+
13915
+ // src/client/types/app/bsky/graph/follow.ts
13916
+ var follow_exports = {};
13917
+ __export(follow_exports, {
13918
+ isRecord: () => isRecord7,
13919
+ validateRecord: () => validateRecord7
13920
+ });
13921
+ function isRecord7(v) {
13922
+ return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.graph.follow#main" || v.$type === "app.bsky.graph.follow");
13923
+ }
13924
+ function validateRecord7(v) {
13748
13925
  return lexicons.validate("app.bsky.graph.follow#main", v);
13749
13926
  }
13750
13927
 
@@ -14380,34 +14557,77 @@ var RepostRecord = class {
14380
14557
  var GraphNS = class {
14381
14558
  constructor(service) {
14382
14559
  this._service = service;
14560
+ this.block = new BlockRecord(service);
14383
14561
  this.follow = new FollowRecord(service);
14384
14562
  }
14563
+ getBlocks(params2, opts) {
14564
+ return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
14565
+ throw toKnownErr65(e);
14566
+ });
14567
+ }
14385
14568
  getFollowers(params2, opts) {
14386
14569
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
14387
- throw toKnownErr65(e);
14570
+ throw toKnownErr66(e);
14388
14571
  });
14389
14572
  }
14390
14573
  getFollows(params2, opts) {
14391
14574
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
14392
- throw toKnownErr66(e);
14575
+ throw toKnownErr67(e);
14393
14576
  });
14394
14577
  }
14395
14578
  getMutes(params2, opts) {
14396
14579
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
14397
- throw toKnownErr67(e);
14580
+ throw toKnownErr68(e);
14398
14581
  });
14399
14582
  }
14400
14583
  muteActor(data, opts) {
14401
14584
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
14402
- throw toKnownErr68(e);
14585
+ throw toKnownErr69(e);
14403
14586
  });
14404
14587
  }
14405
14588
  unmuteActor(data, opts) {
14406
14589
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
14407
- throw toKnownErr69(e);
14590
+ throw toKnownErr70(e);
14408
14591
  });
14409
14592
  }
14410
14593
  };
14594
+ var BlockRecord = class {
14595
+ constructor(service) {
14596
+ this._service = service;
14597
+ }
14598
+ async list(params2) {
14599
+ const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
14600
+ collection: "app.bsky.graph.block",
14601
+ ...params2
14602
+ });
14603
+ return res.data;
14604
+ }
14605
+ async get(params2) {
14606
+ const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
14607
+ collection: "app.bsky.graph.block",
14608
+ ...params2
14609
+ });
14610
+ return res.data;
14611
+ }
14612
+ async create(params2, record, headers) {
14613
+ record.$type = "app.bsky.graph.block";
14614
+ const res = await this._service.xrpc.call(
14615
+ "com.atproto.repo.createRecord",
14616
+ void 0,
14617
+ { collection: "app.bsky.graph.block", ...params2, record },
14618
+ { encoding: "application/json", headers }
14619
+ );
14620
+ return res.data;
14621
+ }
14622
+ async delete(params2, headers) {
14623
+ await this._service.xrpc.call(
14624
+ "com.atproto.repo.deleteRecord",
14625
+ void 0,
14626
+ { collection: "app.bsky.graph.block", ...params2 },
14627
+ { headers }
14628
+ );
14629
+ }
14630
+ };
14411
14631
  var FollowRecord = class {
14412
14632
  constructor(service) {
14413
14633
  this._service = service;
@@ -14451,17 +14671,17 @@ var NotificationNS = class {
14451
14671
  }
14452
14672
  getUnreadCount(params2, opts) {
14453
14673
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
14454
- throw toKnownErr70(e);
14674
+ throw toKnownErr71(e);
14455
14675
  });
14456
14676
  }
14457
14677
  listNotifications(params2, opts) {
14458
14678
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
14459
- throw toKnownErr71(e);
14679
+ throw toKnownErr72(e);
14460
14680
  });
14461
14681
  }
14462
14682
  updateSeen(data, opts) {
14463
14683
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
14464
- throw toKnownErr72(e);
14684
+ throw toKnownErr73(e);
14465
14685
  });
14466
14686
  }
14467
14687
  };
@@ -14476,7 +14696,7 @@ var UnspeccedNS = class {
14476
14696
  }
14477
14697
  getPopular(params2, opts) {
14478
14698
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
14479
- throw toKnownErr73(e);
14699
+ throw toKnownErr74(e);
14480
14700
  });
14481
14701
  }
14482
14702
  };
@@ -16501,12 +16721,14 @@ var BskyAgent = class extends AtpAgent {
16501
16721
  this.getAuthorFeed = (params2, opts) => this.api.app.bsky.feed.getAuthorFeed(params2, opts);
16502
16722
  this.getPostThread = (params2, opts) => this.api.app.bsky.feed.getPostThread(params2, opts);
16503
16723
  this.getPost = (params2) => this.api.app.bsky.feed.post.get(params2);
16724
+ this.getPosts = (params2, opts) => this.api.app.bsky.feed.getPosts(params2, opts);
16504
16725
  this.getLikes = (params2, opts) => this.api.app.bsky.feed.getLikes(params2, opts);
16505
16726
  this.getRepostedBy = (params2, opts) => this.api.app.bsky.feed.getRepostedBy(params2, opts);
16506
16727
  this.getFollows = (params2, opts) => this.api.app.bsky.graph.getFollows(params2, opts);
16507
16728
  this.getFollowers = (params2, opts) => this.api.app.bsky.graph.getFollowers(params2, opts);
16508
16729
  this.getProfile = (params2, opts) => this.api.app.bsky.actor.getProfile(params2, opts);
16509
16730
  this.getProfiles = (params2, opts) => this.api.app.bsky.actor.getProfiles(params2, opts);
16731
+ this.getSuggestions = (params2, opts) => this.api.app.bsky.actor.getSuggestions(params2, opts);
16510
16732
  this.searchActors = (params2, opts) => this.api.app.bsky.actor.searchActors(params2, opts);
16511
16733
  this.searchActorsTypeahead = (params2, opts) => this.api.app.bsky.actor.searchActorsTypeahead(params2, opts);
16512
16734
  this.listNotifications = (params2, opts) => this.api.app.bsky.notification.listNotifications(params2, opts);