@atproto/api 0.20.5 → 0.20.7

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 (77) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/client/index.d.ts +19 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +44 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +766 -66
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +422 -28
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +4 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  13. package/dist/client/types/chat/bsky/actor/getStatus.d.ts +2 -0
  14. package/dist/client/types/chat/bsky/actor/getStatus.d.ts.map +1 -1
  15. package/dist/client/types/chat/bsky/actor/getStatus.js.map +1 -1
  16. package/dist/client/types/chat/bsky/convo/defs.d.ts +38 -10
  17. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  18. package/dist/client/types/chat/bsky/convo/defs.js +21 -0
  19. package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
  20. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +3 -0
  21. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  22. package/dist/client/types/chat/bsky/convo/getConvoForMembers.js +7 -0
  23. package/dist/client/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
  24. package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
  25. package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  26. package/dist/client/types/chat/bsky/convo/getLog.js.map +1 -1
  27. package/dist/client/types/chat/bsky/embed/joinLink.d.ts +19 -0
  28. package/dist/client/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
  29. package/dist/client/types/chat/bsky/embed/joinLink.js +19 -0
  30. package/dist/client/types/chat/bsky/embed/joinLink.js.map +1 -0
  31. package/dist/client/types/chat/bsky/group/addMembers.d.ts +3 -0
  32. package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  33. package/dist/client/types/chat/bsky/group/addMembers.js +7 -0
  34. package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
  35. package/dist/client/types/chat/bsky/group/createGroup.d.ts +3 -0
  36. package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  37. package/dist/client/types/chat/bsky/group/createGroup.js +7 -0
  38. package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
  39. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts +29 -0
  40. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
  41. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js +28 -0
  42. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
  43. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts +26 -0
  44. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
  45. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js +21 -0
  46. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
  47. package/dist/client/types/chat/bsky/moderation/defs.d.ts +42 -0
  48. package/dist/client/types/chat/bsky/moderation/defs.d.ts.map +1 -0
  49. package/dist/client/types/chat/bsky/moderation/defs.js +26 -0
  50. package/dist/client/types/chat/bsky/moderation/defs.js.map +1 -0
  51. package/dist/client/types/chat/bsky/moderation/getConvo.d.ts +26 -0
  52. package/dist/client/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
  53. package/dist/client/types/chat/bsky/moderation/getConvo.js +21 -0
  54. package/dist/client/types/chat/bsky/moderation/getConvo.js.map +1 -0
  55. package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts +29 -0
  56. package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
  57. package/dist/client/types/chat/bsky/moderation/getConvoMembers.js +21 -0
  58. package/dist/client/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
  59. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +12 -0
  60. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  61. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
  62. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  63. package/dist/client/types/com/atproto/server/getServiceAuth.d.ts +1 -1
  64. package/dist/client/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  65. package/dist/client/types/com/atproto/server/getServiceAuth.js.map +1 -1
  66. package/dist/client/types/tools/ozone/moderation/defs.d.ts +10 -3
  67. package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  68. package/dist/client/types/tools/ozone/moderation/defs.js +7 -0
  69. package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
  70. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
  71. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  72. package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  73. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
  74. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  75. package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  76. package/package.json +1 -1
  77. package/tsconfig.build.tsbuildinfo +1 -1
@@ -384,6 +384,15 @@ export declare const schemaDict: {
384
384
  readonly description: "The user who issued this verification.";
385
385
  readonly format: "did";
386
386
  };
387
+ readonly issuerDisplayName: {
388
+ readonly type: "string";
389
+ readonly description: "The display name of the issuer.";
390
+ };
391
+ readonly issuerHandle: {
392
+ readonly type: "string";
393
+ readonly description: "The handle of the issuer.";
394
+ readonly format: "handle";
395
+ };
387
396
  readonly uri: {
388
397
  readonly type: "string";
389
398
  readonly description: "The AT-URI of the verification record.";
@@ -9362,7 +9371,7 @@ export declare const schemaDict: {
9362
9371
  readonly encoding: "application/json";
9363
9372
  readonly schema: {
9364
9373
  readonly type: "object";
9365
- readonly required: ["chatDisabled", "canCreateGroups"];
9374
+ readonly required: ["chatDisabled", "canCreateGroups", "groupMemberLimit"];
9366
9375
  readonly properties: {
9367
9376
  readonly chatDisabled: {
9368
9377
  readonly type: "boolean";
@@ -9372,6 +9381,10 @@ export declare const schemaDict: {
9372
9381
  readonly type: "boolean";
9373
9382
  readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
9374
9383
  };
9384
+ readonly groupMemberLimit: {
9385
+ readonly type: "integer";
9386
+ readonly description: "The maximum number of members allowed in a group conversation.";
9387
+ };
9375
9388
  };
9376
9389
  };
9377
9390
  };
@@ -9539,7 +9552,7 @@ export declare const schemaDict: {
9539
9552
  };
9540
9553
  readonly embed: {
9541
9554
  readonly type: "union";
9542
- readonly refs: ["lex:app.bsky.embed.record"];
9555
+ readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
9543
9556
  };
9544
9557
  };
9545
9558
  };
@@ -9568,7 +9581,7 @@ export declare const schemaDict: {
9568
9581
  };
9569
9582
  readonly embed: {
9570
9583
  readonly type: "union";
9571
- readonly refs: ["lex:app.bsky.embed.record#view"];
9584
+ readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
9572
9585
  };
9573
9586
  readonly reactions: {
9574
9587
  readonly type: "array";
@@ -9883,39 +9896,43 @@ export declare const schemaDict: {
9883
9896
  readonly groupConvo: {
9884
9897
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
9885
9898
  readonly type: "object";
9886
- readonly required: ["name", "lockStatus", "memberCount", "createdAt"];
9899
+ readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
9887
9900
  readonly properties: {
9888
- readonly name: {
9889
- readonly type: "string";
9890
- readonly description: "The display name of the group conversation.";
9891
- readonly maxGraphemes: 128;
9892
- readonly maxLength: 1280;
9893
- };
9894
- readonly memberCount: {
9895
- readonly type: "integer";
9896
- readonly description: "The total number of members in the group conversation.";
9897
- };
9898
9901
  readonly createdAt: {
9899
9902
  readonly type: "string";
9900
9903
  readonly format: "datetime";
9901
9904
  };
9902
- readonly joinRequestCount: {
9903
- readonly type: "integer";
9904
- readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
9905
- };
9906
9905
  readonly joinLink: {
9907
9906
  readonly type: "ref";
9908
9907
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
9909
9908
  };
9910
- readonly memberLimit: {
9909
+ readonly joinRequestCount: {
9911
9910
  readonly type: "integer";
9912
- readonly description: "The maximum number of members allowed in the group conversation.";
9911
+ readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
9913
9912
  };
9914
9913
  readonly lockStatus: {
9915
9914
  readonly description: "The lock status of the conversation.";
9916
9915
  readonly type: "ref";
9917
9916
  readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
9918
9917
  };
9918
+ readonly memberCount: {
9919
+ readonly type: "integer";
9920
+ readonly description: "The total number of members in the group conversation.";
9921
+ };
9922
+ readonly memberLimit: {
9923
+ readonly type: "integer";
9924
+ readonly description: "The maximum number of members allowed in the group conversation.";
9925
+ };
9926
+ readonly name: {
9927
+ readonly type: "string";
9928
+ readonly description: "The display name of the group conversation.";
9929
+ readonly maxGraphemes: 128;
9930
+ readonly maxLength: 1280;
9931
+ };
9932
+ readonly unreadJoinRequestCount: {
9933
+ readonly type: "integer";
9934
+ readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
9935
+ };
9919
9936
  };
9920
9937
  };
9921
9938
  readonly logBeginConvo: {
@@ -10444,7 +10461,51 @@ export declare const schemaDict: {
10444
10461
  };
10445
10462
  };
10446
10463
  readonly logOutgoingJoinRequest: {
10447
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.";
10464
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.";
10465
+ readonly type: "object";
10466
+ readonly required: ["rev", "convoId"];
10467
+ readonly properties: {
10468
+ readonly rev: {
10469
+ readonly type: "string";
10470
+ };
10471
+ readonly convoId: {
10472
+ readonly type: "string";
10473
+ };
10474
+ };
10475
+ };
10476
+ readonly logWithdrawIncomingJoinRequest: {
10477
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.";
10478
+ readonly type: "object";
10479
+ readonly required: ["rev", "convoId", "member"];
10480
+ readonly properties: {
10481
+ readonly rev: {
10482
+ readonly type: "string";
10483
+ };
10484
+ readonly convoId: {
10485
+ readonly type: "string";
10486
+ };
10487
+ readonly member: {
10488
+ readonly description: "Prospective member who withdrew their join request.";
10489
+ readonly type: "ref";
10490
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10491
+ };
10492
+ };
10493
+ };
10494
+ readonly logWithdrawOutgoingJoinRequest: {
10495
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.";
10496
+ readonly type: "object";
10497
+ readonly required: ["rev", "convoId"];
10498
+ readonly properties: {
10499
+ readonly rev: {
10500
+ readonly type: "string";
10501
+ };
10502
+ readonly convoId: {
10503
+ readonly type: "string";
10504
+ };
10505
+ };
10506
+ };
10507
+ readonly logReadJoinRequests: {
10508
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.";
10448
10509
  readonly type: "object";
10449
10510
  readonly required: ["rev", "convoId"];
10450
10511
  readonly properties: {
@@ -10583,6 +10644,8 @@ export declare const schemaDict: {
10583
10644
  readonly name: "AccountSuspended";
10584
10645
  }, {
10585
10646
  readonly name: "BlockedActor";
10647
+ }, {
10648
+ readonly name: "BlockedSubject";
10586
10649
  }, {
10587
10650
  readonly name: "MessagesDisabled";
10588
10651
  }, {
@@ -10699,7 +10762,7 @@ export declare const schemaDict: {
10699
10762
  readonly type: "array";
10700
10763
  readonly items: {
10701
10764
  readonly type: "union";
10702
- readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest"];
10765
+ readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logReadJoinRequests"];
10703
10766
  };
10704
10767
  };
10705
10768
  };
@@ -11304,6 +11367,33 @@ export declare const schemaDict: {
11304
11367
  };
11305
11368
  };
11306
11369
  };
11370
+ readonly ChatBskyEmbedJoinLink: {
11371
+ readonly lexicon: 1;
11372
+ readonly id: "chat.bsky.embed.joinLink";
11373
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.";
11374
+ readonly defs: {
11375
+ readonly main: {
11376
+ readonly type: "object";
11377
+ readonly required: ["code"];
11378
+ readonly properties: {
11379
+ readonly code: {
11380
+ readonly type: "string";
11381
+ readonly description: "The join link code.";
11382
+ };
11383
+ };
11384
+ };
11385
+ readonly view: {
11386
+ readonly type: "object";
11387
+ readonly required: ["joinLinkPreview"];
11388
+ readonly properties: {
11389
+ readonly joinLinkPreview: {
11390
+ readonly type: "ref";
11391
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
11392
+ };
11393
+ };
11394
+ };
11395
+ };
11396
+ };
11307
11397
  readonly ChatBskyGroupAddMembers: {
11308
11398
  readonly lexicon: 1;
11309
11399
  readonly id: "chat.bsky.group.addMembers";
@@ -11315,6 +11405,8 @@ export declare const schemaDict: {
11315
11405
  readonly name: "AccountSuspended";
11316
11406
  }, {
11317
11407
  readonly name: "BlockedActor";
11408
+ }, {
11409
+ readonly name: "BlockedSubject";
11318
11410
  }, {
11319
11411
  readonly name: "ConvoLocked";
11320
11412
  }, {
@@ -11430,6 +11522,8 @@ export declare const schemaDict: {
11430
11522
  readonly name: "AccountSuspended";
11431
11523
  }, {
11432
11524
  readonly name: "BlockedActor";
11525
+ }, {
11526
+ readonly name: "BlockedSubject";
11433
11527
  }, {
11434
11528
  readonly name: "NewAccountCannotCreateGroup";
11435
11529
  }, {
@@ -11851,7 +11945,7 @@ export declare const schemaDict: {
11851
11945
  readonly defs: {
11852
11946
  readonly main: {
11853
11947
  readonly type: "query";
11854
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results.";
11948
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.";
11855
11949
  readonly parameters: {
11856
11950
  readonly type: "params";
11857
11951
  readonly required: ["codes"];
@@ -12125,6 +12219,141 @@ export declare const schemaDict: {
12125
12219
  };
12126
12220
  };
12127
12221
  };
12222
+ readonly ChatBskyGroupUpdateJoinRequestsRead: {
12223
+ readonly lexicon: 1;
12224
+ readonly id: "chat.bsky.group.updateJoinRequestsRead";
12225
+ readonly defs: {
12226
+ readonly main: {
12227
+ readonly type: "procedure";
12228
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.";
12229
+ readonly errors: [{
12230
+ readonly name: "InvalidConvo";
12231
+ }, {
12232
+ readonly name: "InsufficientRole";
12233
+ }];
12234
+ readonly input: {
12235
+ readonly encoding: "application/json";
12236
+ readonly schema: {
12237
+ readonly type: "object";
12238
+ readonly required: ["convoId"];
12239
+ readonly properties: {
12240
+ readonly convoId: {
12241
+ readonly type: "string";
12242
+ };
12243
+ };
12244
+ };
12245
+ };
12246
+ readonly output: {
12247
+ readonly encoding: "application/json";
12248
+ readonly schema: {
12249
+ readonly type: "object";
12250
+ readonly required: [];
12251
+ readonly properties: {};
12252
+ };
12253
+ };
12254
+ };
12255
+ };
12256
+ };
12257
+ readonly ChatBskyGroupWithdrawJoinRequest: {
12258
+ readonly lexicon: 1;
12259
+ readonly id: "chat.bsky.group.withdrawJoinRequest";
12260
+ readonly defs: {
12261
+ readonly main: {
12262
+ readonly type: "procedure";
12263
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.";
12264
+ readonly errors: [{
12265
+ readonly name: "InvalidJoinRequest";
12266
+ }];
12267
+ readonly input: {
12268
+ readonly encoding: "application/json";
12269
+ readonly schema: {
12270
+ readonly type: "object";
12271
+ readonly required: ["convoId"];
12272
+ readonly properties: {
12273
+ readonly convoId: {
12274
+ readonly type: "string";
12275
+ };
12276
+ };
12277
+ };
12278
+ };
12279
+ readonly output: {
12280
+ readonly encoding: "application/json";
12281
+ readonly schema: {
12282
+ readonly type: "object";
12283
+ readonly required: [];
12284
+ readonly properties: {};
12285
+ };
12286
+ };
12287
+ };
12288
+ };
12289
+ };
12290
+ readonly ChatBskyModerationDefs: {
12291
+ readonly lexicon: 1;
12292
+ readonly id: "chat.bsky.moderation.defs";
12293
+ readonly defs: {
12294
+ readonly convoView: {
12295
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.";
12296
+ readonly type: "object";
12297
+ readonly required: ["id", "rev"];
12298
+ readonly properties: {
12299
+ readonly id: {
12300
+ readonly type: "string";
12301
+ };
12302
+ readonly rev: {
12303
+ readonly type: "string";
12304
+ };
12305
+ readonly kind: {
12306
+ readonly description: "Union field that has data specific to different kinds of convos.";
12307
+ readonly type: "union";
12308
+ readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
12309
+ };
12310
+ };
12311
+ };
12312
+ readonly directConvo: {
12313
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.";
12314
+ readonly type: "object";
12315
+ readonly properties: {};
12316
+ };
12317
+ readonly groupConvo: {
12318
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.";
12319
+ readonly type: "object";
12320
+ readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
12321
+ readonly properties: {
12322
+ readonly createdAt: {
12323
+ readonly type: "string";
12324
+ readonly format: "datetime";
12325
+ };
12326
+ readonly joinLink: {
12327
+ readonly type: "ref";
12328
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
12329
+ };
12330
+ readonly joinRequestCount: {
12331
+ readonly type: "integer";
12332
+ readonly description: "The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.";
12333
+ };
12334
+ readonly lockStatus: {
12335
+ readonly description: "The lock status of the conversation.";
12336
+ readonly type: "ref";
12337
+ readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
12338
+ };
12339
+ readonly memberCount: {
12340
+ readonly type: "integer";
12341
+ readonly description: "The total number of members in the group conversation.";
12342
+ };
12343
+ readonly memberLimit: {
12344
+ readonly type: "integer";
12345
+ readonly description: "The maximum number of members allowed in the group conversation.";
12346
+ };
12347
+ readonly name: {
12348
+ readonly type: "string";
12349
+ readonly description: "The display name of the group conversation.";
12350
+ readonly maxGraphemes: 128;
12351
+ readonly maxLength: 1280;
12352
+ };
12353
+ };
12354
+ };
12355
+ };
12356
+ };
12128
12357
  readonly ChatBskyModerationGetActorMetadata: {
12129
12358
  readonly lexicon: 1;
12130
12359
  readonly id: "chat.bsky.moderation.getActorMetadata";
@@ -12183,6 +12412,91 @@ export declare const schemaDict: {
12183
12412
  };
12184
12413
  };
12185
12414
  };
12415
+ readonly ChatBskyModerationGetConvo: {
12416
+ readonly lexicon: 1;
12417
+ readonly id: "chat.bsky.moderation.getConvo";
12418
+ readonly defs: {
12419
+ readonly main: {
12420
+ readonly type: "query";
12421
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.";
12422
+ readonly errors: [{
12423
+ readonly name: "InvalidConvo";
12424
+ }];
12425
+ readonly parameters: {
12426
+ readonly type: "params";
12427
+ readonly required: ["convoId"];
12428
+ readonly properties: {
12429
+ readonly convoId: {
12430
+ readonly type: "string";
12431
+ };
12432
+ };
12433
+ };
12434
+ readonly output: {
12435
+ readonly encoding: "application/json";
12436
+ readonly schema: {
12437
+ readonly type: "object";
12438
+ readonly required: ["convo"];
12439
+ readonly properties: {
12440
+ readonly convo: {
12441
+ readonly type: "ref";
12442
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
12443
+ };
12444
+ };
12445
+ };
12446
+ };
12447
+ };
12448
+ };
12449
+ };
12450
+ readonly ChatBskyModerationGetConvoMembers: {
12451
+ readonly lexicon: 1;
12452
+ readonly id: "chat.bsky.moderation.getConvoMembers";
12453
+ readonly defs: {
12454
+ readonly main: {
12455
+ readonly type: "query";
12456
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.";
12457
+ readonly errors: [{
12458
+ readonly name: "InvalidConvo";
12459
+ }];
12460
+ readonly parameters: {
12461
+ readonly type: "params";
12462
+ readonly required: ["convoId"];
12463
+ readonly properties: {
12464
+ readonly convoId: {
12465
+ readonly type: "string";
12466
+ };
12467
+ readonly limit: {
12468
+ readonly type: "integer";
12469
+ readonly minimum: 1;
12470
+ readonly maximum: 100;
12471
+ readonly default: 50;
12472
+ };
12473
+ readonly cursor: {
12474
+ readonly type: "string";
12475
+ };
12476
+ };
12477
+ };
12478
+ readonly output: {
12479
+ readonly encoding: "application/json";
12480
+ readonly schema: {
12481
+ readonly type: "object";
12482
+ readonly required: ["members"];
12483
+ readonly properties: {
12484
+ readonly cursor: {
12485
+ readonly type: "string";
12486
+ };
12487
+ readonly members: {
12488
+ readonly type: "array";
12489
+ readonly items: {
12490
+ readonly type: "ref";
12491
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
12492
+ };
12493
+ };
12494
+ };
12495
+ };
12496
+ };
12497
+ };
12498
+ };
12499
+ };
12186
12500
  readonly ChatBskyModerationGetMessageContext: {
12187
12501
  readonly lexicon: 1;
12188
12502
  readonly id: "chat.bsky.moderation.getMessageContext";
@@ -12257,7 +12571,7 @@ export declare const schemaDict: {
12257
12571
  readonly message: {
12258
12572
  readonly schema: {
12259
12573
  readonly type: "union";
12260
- readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
12574
+ readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated", "lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded"];
12261
12575
  };
12262
12576
  };
12263
12577
  readonly errors: [{
@@ -12746,6 +13060,29 @@ export declare const schemaDict: {
12746
13060
  };
12747
13061
  };
12748
13062
  };
13063
+ readonly eventRateLimitExceeded: {
13064
+ readonly type: "object";
13065
+ readonly description: "Fired when a user exceeds a rate limit.";
13066
+ readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
13067
+ readonly properties: {
13068
+ readonly actorDid: {
13069
+ readonly description: "The DID of the user who hit the rate limit.";
13070
+ readonly type: "string";
13071
+ readonly format: "did";
13072
+ };
13073
+ readonly createdAt: {
13074
+ readonly type: "string";
13075
+ readonly format: "datetime";
13076
+ };
13077
+ readonly endpoint: {
13078
+ readonly description: "The NSID of the endpoint that was rate limited.";
13079
+ readonly type: "string";
13080
+ };
13081
+ readonly rev: {
13082
+ readonly type: "string";
13083
+ };
13084
+ };
13085
+ };
12749
13086
  };
12750
13087
  };
12751
13088
  readonly ChatBskyModerationUpdateActorAccess: {
@@ -15585,8 +15922,8 @@ export declare const schemaDict: {
15585
15922
  readonly properties: {
15586
15923
  readonly aud: {
15587
15924
  readonly type: "string";
15588
- readonly format: "did";
15589
- readonly description: "The DID of the service that the token will be used to authenticate with";
15925
+ readonly maxLength: 2048;
15926
+ readonly description: "The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.";
15590
15927
  };
15591
15928
  readonly exp: {
15592
15929
  readonly type: "integer";
@@ -17605,7 +17942,7 @@ export declare const schemaDict: {
17605
17942
  };
17606
17943
  readonly subject: {
17607
17944
  readonly type: "union";
17608
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
17945
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
17609
17946
  };
17610
17947
  readonly subjectBlobCids: {
17611
17948
  readonly type: "array";
@@ -17646,7 +17983,7 @@ export declare const schemaDict: {
17646
17983
  };
17647
17984
  readonly subject: {
17648
17985
  readonly type: "union";
17649
- readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound"];
17986
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound", "lex:tools.ozone.moderation.defs#convoView"];
17650
17987
  };
17651
17988
  readonly subjectBlobs: {
17652
17989
  readonly type: "array";
@@ -17678,7 +18015,7 @@ export declare const schemaDict: {
17678
18015
  };
17679
18016
  readonly subject: {
17680
18017
  readonly type: "union";
17681
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
18018
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
17682
18019
  };
17683
18020
  readonly hosting: {
17684
18021
  readonly type: "union";
@@ -18642,6 +18979,19 @@ export declare const schemaDict: {
18642
18979
  };
18643
18980
  };
18644
18981
  };
18982
+ readonly convoView: {
18983
+ readonly type: "object";
18984
+ readonly required: ["did", "convoId"];
18985
+ readonly properties: {
18986
+ readonly did: {
18987
+ readonly type: "string";
18988
+ readonly format: "did";
18989
+ };
18990
+ readonly convoId: {
18991
+ readonly type: "string";
18992
+ };
18993
+ };
18994
+ };
18645
18995
  readonly moderation: {
18646
18996
  readonly type: "object";
18647
18997
  readonly properties: {
@@ -19459,8 +19809,8 @@ export declare const schemaDict: {
19459
19809
  };
19460
19810
  readonly subjectType: {
19461
19811
  readonly type: "string";
19462
- readonly description: "If specified, only events where the subject is of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
19463
- readonly knownValues: ["account", "record"];
19812
+ readonly description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
19813
+ readonly knownValues: ["account", "record", "conversation"];
19464
19814
  };
19465
19815
  readonly includeAllUserRecords: {
19466
19816
  readonly type: "boolean";
@@ -19728,8 +20078,8 @@ export declare const schemaDict: {
19728
20078
  };
19729
20079
  readonly subjectType: {
19730
20080
  readonly type: "string";
19731
- readonly description: "If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
19732
- readonly knownValues: ["account", "record"];
20081
+ readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
20082
+ readonly knownValues: ["account", "record", "conversation"];
19733
20083
  };
19734
20084
  readonly minAccountSuspendCount: {
19735
20085
  readonly type: "integer";
@@ -23752,6 +24102,15 @@ export declare const schemas: ({
23752
24102
  readonly description: "The user who issued this verification.";
23753
24103
  readonly format: "did";
23754
24104
  };
24105
+ readonly issuerDisplayName: {
24106
+ readonly type: "string";
24107
+ readonly description: "The display name of the issuer.";
24108
+ };
24109
+ readonly issuerHandle: {
24110
+ readonly type: "string";
24111
+ readonly description: "The handle of the issuer.";
24112
+ readonly format: "handle";
24113
+ };
23755
24114
  readonly uri: {
23756
24115
  readonly type: "string";
23757
24116
  readonly description: "The AT-URI of the verification record.";
@@ -32580,7 +32939,7 @@ export declare const schemas: ({
32580
32939
  readonly encoding: "application/json";
32581
32940
  readonly schema: {
32582
32941
  readonly type: "object";
32583
- readonly required: ["chatDisabled", "canCreateGroups"];
32942
+ readonly required: ["chatDisabled", "canCreateGroups", "groupMemberLimit"];
32584
32943
  readonly properties: {
32585
32944
  readonly chatDisabled: {
32586
32945
  readonly type: "boolean";
@@ -32590,6 +32949,10 @@ export declare const schemas: ({
32590
32949
  readonly type: "boolean";
32591
32950
  readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
32592
32951
  };
32952
+ readonly groupMemberLimit: {
32953
+ readonly type: "integer";
32954
+ readonly description: "The maximum number of members allowed in a group conversation.";
32955
+ };
32593
32956
  };
32594
32957
  };
32595
32958
  };
@@ -32754,7 +33117,7 @@ export declare const schemas: ({
32754
33117
  };
32755
33118
  readonly embed: {
32756
33119
  readonly type: "union";
32757
- readonly refs: ["lex:app.bsky.embed.record"];
33120
+ readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
32758
33121
  };
32759
33122
  };
32760
33123
  };
@@ -32783,7 +33146,7 @@ export declare const schemas: ({
32783
33146
  };
32784
33147
  readonly embed: {
32785
33148
  readonly type: "union";
32786
- readonly refs: ["lex:app.bsky.embed.record#view"];
33149
+ readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
32787
33150
  };
32788
33151
  readonly reactions: {
32789
33152
  readonly type: "array";
@@ -33098,39 +33461,43 @@ export declare const schemas: ({
33098
33461
  readonly groupConvo: {
33099
33462
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
33100
33463
  readonly type: "object";
33101
- readonly required: ["name", "lockStatus", "memberCount", "createdAt"];
33464
+ readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
33102
33465
  readonly properties: {
33103
- readonly name: {
33104
- readonly type: "string";
33105
- readonly description: "The display name of the group conversation.";
33106
- readonly maxGraphemes: 128;
33107
- readonly maxLength: 1280;
33108
- };
33109
- readonly memberCount: {
33110
- readonly type: "integer";
33111
- readonly description: "The total number of members in the group conversation.";
33112
- };
33113
33466
  readonly createdAt: {
33114
33467
  readonly type: "string";
33115
33468
  readonly format: "datetime";
33116
33469
  };
33117
- readonly joinRequestCount: {
33118
- readonly type: "integer";
33119
- readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
33120
- };
33121
33470
  readonly joinLink: {
33122
33471
  readonly type: "ref";
33123
33472
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
33124
33473
  };
33125
- readonly memberLimit: {
33474
+ readonly joinRequestCount: {
33126
33475
  readonly type: "integer";
33127
- readonly description: "The maximum number of members allowed in the group conversation.";
33476
+ readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
33128
33477
  };
33129
33478
  readonly lockStatus: {
33130
33479
  readonly description: "The lock status of the conversation.";
33131
33480
  readonly type: "ref";
33132
33481
  readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
33133
33482
  };
33483
+ readonly memberCount: {
33484
+ readonly type: "integer";
33485
+ readonly description: "The total number of members in the group conversation.";
33486
+ };
33487
+ readonly memberLimit: {
33488
+ readonly type: "integer";
33489
+ readonly description: "The maximum number of members allowed in the group conversation.";
33490
+ };
33491
+ readonly name: {
33492
+ readonly type: "string";
33493
+ readonly description: "The display name of the group conversation.";
33494
+ readonly maxGraphemes: 128;
33495
+ readonly maxLength: 1280;
33496
+ };
33497
+ readonly unreadJoinRequestCount: {
33498
+ readonly type: "integer";
33499
+ readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
33500
+ };
33134
33501
  };
33135
33502
  };
33136
33503
  readonly logBeginConvo: {
@@ -33659,7 +34026,51 @@ export declare const schemas: ({
33659
34026
  };
33660
34027
  };
33661
34028
  readonly logOutgoingJoinRequest: {
33662
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.";
34029
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.";
34030
+ readonly type: "object";
34031
+ readonly required: ["rev", "convoId"];
34032
+ readonly properties: {
34033
+ readonly rev: {
34034
+ readonly type: "string";
34035
+ };
34036
+ readonly convoId: {
34037
+ readonly type: "string";
34038
+ };
34039
+ };
34040
+ };
34041
+ readonly logWithdrawIncomingJoinRequest: {
34042
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.";
34043
+ readonly type: "object";
34044
+ readonly required: ["rev", "convoId", "member"];
34045
+ readonly properties: {
34046
+ readonly rev: {
34047
+ readonly type: "string";
34048
+ };
34049
+ readonly convoId: {
34050
+ readonly type: "string";
34051
+ };
34052
+ readonly member: {
34053
+ readonly description: "Prospective member who withdrew their join request.";
34054
+ readonly type: "ref";
34055
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
34056
+ };
34057
+ };
34058
+ };
34059
+ readonly logWithdrawOutgoingJoinRequest: {
34060
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.";
34061
+ readonly type: "object";
34062
+ readonly required: ["rev", "convoId"];
34063
+ readonly properties: {
34064
+ readonly rev: {
34065
+ readonly type: "string";
34066
+ };
34067
+ readonly convoId: {
34068
+ readonly type: "string";
34069
+ };
34070
+ };
34071
+ };
34072
+ readonly logReadJoinRequests: {
34073
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.";
33663
34074
  readonly type: "object";
33664
34075
  readonly required: ["rev", "convoId"];
33665
34076
  readonly properties: {
@@ -33794,6 +34205,8 @@ export declare const schemas: ({
33794
34205
  readonly name: "AccountSuspended";
33795
34206
  }, {
33796
34207
  readonly name: "BlockedActor";
34208
+ }, {
34209
+ readonly name: "BlockedSubject";
33797
34210
  }, {
33798
34211
  readonly name: "MessagesDisabled";
33799
34212
  }, {
@@ -33908,7 +34321,7 @@ export declare const schemas: ({
33908
34321
  readonly type: "array";
33909
34322
  readonly items: {
33910
34323
  readonly type: "union";
33911
- readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest"];
34324
+ readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logReadJoinRequests"];
33912
34325
  };
33913
34326
  };
33914
34327
  };
@@ -34499,6 +34912,32 @@ export declare const schemas: ({
34499
34912
  };
34500
34913
  };
34501
34914
  };
34915
+ } | {
34916
+ readonly lexicon: 1;
34917
+ readonly id: "chat.bsky.embed.joinLink";
34918
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.";
34919
+ readonly defs: {
34920
+ readonly main: {
34921
+ readonly type: "object";
34922
+ readonly required: ["code"];
34923
+ readonly properties: {
34924
+ readonly code: {
34925
+ readonly type: "string";
34926
+ readonly description: "The join link code.";
34927
+ };
34928
+ };
34929
+ };
34930
+ readonly view: {
34931
+ readonly type: "object";
34932
+ readonly required: ["joinLinkPreview"];
34933
+ readonly properties: {
34934
+ readonly joinLinkPreview: {
34935
+ readonly type: "ref";
34936
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
34937
+ };
34938
+ };
34939
+ };
34940
+ };
34502
34941
  } | {
34503
34942
  readonly lexicon: 1;
34504
34943
  readonly id: "chat.bsky.group.addMembers";
@@ -34510,6 +34949,8 @@ export declare const schemas: ({
34510
34949
  readonly name: "AccountSuspended";
34511
34950
  }, {
34512
34951
  readonly name: "BlockedActor";
34952
+ }, {
34953
+ readonly name: "BlockedSubject";
34513
34954
  }, {
34514
34955
  readonly name: "ConvoLocked";
34515
34956
  }, {
@@ -34623,6 +35064,8 @@ export declare const schemas: ({
34623
35064
  readonly name: "AccountSuspended";
34624
35065
  }, {
34625
35066
  readonly name: "BlockedActor";
35067
+ }, {
35068
+ readonly name: "BlockedSubject";
34626
35069
  }, {
34627
35070
  readonly name: "NewAccountCannotCreateGroup";
34628
35071
  }, {
@@ -35037,7 +35480,7 @@ export declare const schemas: ({
35037
35480
  readonly defs: {
35038
35481
  readonly main: {
35039
35482
  readonly type: "query";
35040
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results.";
35483
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.";
35041
35484
  readonly parameters: {
35042
35485
  readonly type: "params";
35043
35486
  readonly required: ["codes"];
@@ -35305,6 +35748,138 @@ export declare const schemas: ({
35305
35748
  };
35306
35749
  };
35307
35750
  };
35751
+ } | {
35752
+ readonly lexicon: 1;
35753
+ readonly id: "chat.bsky.group.updateJoinRequestsRead";
35754
+ readonly defs: {
35755
+ readonly main: {
35756
+ readonly type: "procedure";
35757
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.";
35758
+ readonly errors: [{
35759
+ readonly name: "InvalidConvo";
35760
+ }, {
35761
+ readonly name: "InsufficientRole";
35762
+ }];
35763
+ readonly input: {
35764
+ readonly encoding: "application/json";
35765
+ readonly schema: {
35766
+ readonly type: "object";
35767
+ readonly required: ["convoId"];
35768
+ readonly properties: {
35769
+ readonly convoId: {
35770
+ readonly type: "string";
35771
+ };
35772
+ };
35773
+ };
35774
+ };
35775
+ readonly output: {
35776
+ readonly encoding: "application/json";
35777
+ readonly schema: {
35778
+ readonly type: "object";
35779
+ readonly required: [];
35780
+ readonly properties: {};
35781
+ };
35782
+ };
35783
+ };
35784
+ };
35785
+ } | {
35786
+ readonly lexicon: 1;
35787
+ readonly id: "chat.bsky.group.withdrawJoinRequest";
35788
+ readonly defs: {
35789
+ readonly main: {
35790
+ readonly type: "procedure";
35791
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.";
35792
+ readonly errors: [{
35793
+ readonly name: "InvalidJoinRequest";
35794
+ }];
35795
+ readonly input: {
35796
+ readonly encoding: "application/json";
35797
+ readonly schema: {
35798
+ readonly type: "object";
35799
+ readonly required: ["convoId"];
35800
+ readonly properties: {
35801
+ readonly convoId: {
35802
+ readonly type: "string";
35803
+ };
35804
+ };
35805
+ };
35806
+ };
35807
+ readonly output: {
35808
+ readonly encoding: "application/json";
35809
+ readonly schema: {
35810
+ readonly type: "object";
35811
+ readonly required: [];
35812
+ readonly properties: {};
35813
+ };
35814
+ };
35815
+ };
35816
+ };
35817
+ } | {
35818
+ readonly lexicon: 1;
35819
+ readonly id: "chat.bsky.moderation.defs";
35820
+ readonly defs: {
35821
+ readonly convoView: {
35822
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.";
35823
+ readonly type: "object";
35824
+ readonly required: ["id", "rev"];
35825
+ readonly properties: {
35826
+ readonly id: {
35827
+ readonly type: "string";
35828
+ };
35829
+ readonly rev: {
35830
+ readonly type: "string";
35831
+ };
35832
+ readonly kind: {
35833
+ readonly description: "Union field that has data specific to different kinds of convos.";
35834
+ readonly type: "union";
35835
+ readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
35836
+ };
35837
+ };
35838
+ };
35839
+ readonly directConvo: {
35840
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.";
35841
+ readonly type: "object";
35842
+ readonly properties: {};
35843
+ };
35844
+ readonly groupConvo: {
35845
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.";
35846
+ readonly type: "object";
35847
+ readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
35848
+ readonly properties: {
35849
+ readonly createdAt: {
35850
+ readonly type: "string";
35851
+ readonly format: "datetime";
35852
+ };
35853
+ readonly joinLink: {
35854
+ readonly type: "ref";
35855
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
35856
+ };
35857
+ readonly joinRequestCount: {
35858
+ readonly type: "integer";
35859
+ readonly description: "The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.";
35860
+ };
35861
+ readonly lockStatus: {
35862
+ readonly description: "The lock status of the conversation.";
35863
+ readonly type: "ref";
35864
+ readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
35865
+ };
35866
+ readonly memberCount: {
35867
+ readonly type: "integer";
35868
+ readonly description: "The total number of members in the group conversation.";
35869
+ };
35870
+ readonly memberLimit: {
35871
+ readonly type: "integer";
35872
+ readonly description: "The maximum number of members allowed in the group conversation.";
35873
+ };
35874
+ readonly name: {
35875
+ readonly type: "string";
35876
+ readonly description: "The display name of the group conversation.";
35877
+ readonly maxGraphemes: 128;
35878
+ readonly maxLength: 1280;
35879
+ };
35880
+ };
35881
+ };
35882
+ };
35308
35883
  } | {
35309
35884
  readonly lexicon: 1;
35310
35885
  readonly id: "chat.bsky.moderation.getActorMetadata";
@@ -35362,6 +35937,89 @@ export declare const schemas: ({
35362
35937
  };
35363
35938
  };
35364
35939
  };
35940
+ } | {
35941
+ readonly lexicon: 1;
35942
+ readonly id: "chat.bsky.moderation.getConvo";
35943
+ readonly defs: {
35944
+ readonly main: {
35945
+ readonly type: "query";
35946
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.";
35947
+ readonly errors: [{
35948
+ readonly name: "InvalidConvo";
35949
+ }];
35950
+ readonly parameters: {
35951
+ readonly type: "params";
35952
+ readonly required: ["convoId"];
35953
+ readonly properties: {
35954
+ readonly convoId: {
35955
+ readonly type: "string";
35956
+ };
35957
+ };
35958
+ };
35959
+ readonly output: {
35960
+ readonly encoding: "application/json";
35961
+ readonly schema: {
35962
+ readonly type: "object";
35963
+ readonly required: ["convo"];
35964
+ readonly properties: {
35965
+ readonly convo: {
35966
+ readonly type: "ref";
35967
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
35968
+ };
35969
+ };
35970
+ };
35971
+ };
35972
+ };
35973
+ };
35974
+ } | {
35975
+ readonly lexicon: 1;
35976
+ readonly id: "chat.bsky.moderation.getConvoMembers";
35977
+ readonly defs: {
35978
+ readonly main: {
35979
+ readonly type: "query";
35980
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.";
35981
+ readonly errors: [{
35982
+ readonly name: "InvalidConvo";
35983
+ }];
35984
+ readonly parameters: {
35985
+ readonly type: "params";
35986
+ readonly required: ["convoId"];
35987
+ readonly properties: {
35988
+ readonly convoId: {
35989
+ readonly type: "string";
35990
+ };
35991
+ readonly limit: {
35992
+ readonly type: "integer";
35993
+ readonly minimum: 1;
35994
+ readonly maximum: 100;
35995
+ readonly default: 50;
35996
+ };
35997
+ readonly cursor: {
35998
+ readonly type: "string";
35999
+ };
36000
+ };
36001
+ };
36002
+ readonly output: {
36003
+ readonly encoding: "application/json";
36004
+ readonly schema: {
36005
+ readonly type: "object";
36006
+ readonly required: ["members"];
36007
+ readonly properties: {
36008
+ readonly cursor: {
36009
+ readonly type: "string";
36010
+ };
36011
+ readonly members: {
36012
+ readonly type: "array";
36013
+ readonly items: {
36014
+ readonly type: "ref";
36015
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
36016
+ };
36017
+ };
36018
+ };
36019
+ };
36020
+ };
36021
+ };
36022
+ };
35365
36023
  } | {
35366
36024
  readonly lexicon: 1;
35367
36025
  readonly id: "chat.bsky.moderation.getMessageContext";
@@ -35435,7 +36093,7 @@ export declare const schemas: ({
35435
36093
  readonly message: {
35436
36094
  readonly schema: {
35437
36095
  readonly type: "union";
35438
- readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
36096
+ readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated", "lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded"];
35439
36097
  };
35440
36098
  };
35441
36099
  readonly errors: [{
@@ -35924,6 +36582,29 @@ export declare const schemas: ({
35924
36582
  };
35925
36583
  };
35926
36584
  };
36585
+ readonly eventRateLimitExceeded: {
36586
+ readonly type: "object";
36587
+ readonly description: "Fired when a user exceeds a rate limit.";
36588
+ readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
36589
+ readonly properties: {
36590
+ readonly actorDid: {
36591
+ readonly description: "The DID of the user who hit the rate limit.";
36592
+ readonly type: "string";
36593
+ readonly format: "did";
36594
+ };
36595
+ readonly createdAt: {
36596
+ readonly type: "string";
36597
+ readonly format: "datetime";
36598
+ };
36599
+ readonly endpoint: {
36600
+ readonly description: "The NSID of the endpoint that was rate limited.";
36601
+ readonly type: "string";
36602
+ };
36603
+ readonly rev: {
36604
+ readonly type: "string";
36605
+ };
36606
+ };
36607
+ };
35927
36608
  };
35928
36609
  } | {
35929
36610
  readonly lexicon: 1;
@@ -38702,8 +39383,8 @@ export declare const schemas: ({
38702
39383
  readonly properties: {
38703
39384
  readonly aud: {
38704
39385
  readonly type: "string";
38705
- readonly format: "did";
38706
- readonly description: "The DID of the service that the token will be used to authenticate with";
39386
+ readonly maxLength: 2048;
39387
+ readonly description: "The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.";
38707
39388
  };
38708
39389
  readonly exp: {
38709
39390
  readonly type: "integer";
@@ -40678,7 +41359,7 @@ export declare const schemas: ({
40678
41359
  };
40679
41360
  readonly subject: {
40680
41361
  readonly type: "union";
40681
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
41362
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
40682
41363
  };
40683
41364
  readonly subjectBlobCids: {
40684
41365
  readonly type: "array";
@@ -40719,7 +41400,7 @@ export declare const schemas: ({
40719
41400
  };
40720
41401
  readonly subject: {
40721
41402
  readonly type: "union";
40722
- readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound"];
41403
+ readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound", "lex:tools.ozone.moderation.defs#convoView"];
40723
41404
  };
40724
41405
  readonly subjectBlobs: {
40725
41406
  readonly type: "array";
@@ -40751,7 +41432,7 @@ export declare const schemas: ({
40751
41432
  };
40752
41433
  readonly subject: {
40753
41434
  readonly type: "union";
40754
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
41435
+ readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
40755
41436
  };
40756
41437
  readonly hosting: {
40757
41438
  readonly type: "union";
@@ -41715,6 +42396,19 @@ export declare const schemas: ({
41715
42396
  };
41716
42397
  };
41717
42398
  };
42399
+ readonly convoView: {
42400
+ readonly type: "object";
42401
+ readonly required: ["did", "convoId"];
42402
+ readonly properties: {
42403
+ readonly did: {
42404
+ readonly type: "string";
42405
+ readonly format: "did";
42406
+ };
42407
+ readonly convoId: {
42408
+ readonly type: "string";
42409
+ };
42410
+ };
42411
+ };
41718
42412
  readonly moderation: {
41719
42413
  readonly type: "object";
41720
42414
  readonly properties: {
@@ -42521,8 +43215,8 @@ export declare const schemas: ({
42521
43215
  };
42522
43216
  readonly subjectType: {
42523
43217
  readonly type: "string";
42524
- readonly description: "If specified, only events where the subject is of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
42525
- readonly knownValues: ["account", "record"];
43218
+ readonly description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
43219
+ readonly knownValues: ["account", "record", "conversation"];
42526
43220
  };
42527
43221
  readonly includeAllUserRecords: {
42528
43222
  readonly type: "boolean";
@@ -42789,8 +43483,8 @@ export declare const schemas: ({
42789
43483
  };
42790
43484
  readonly subjectType: {
42791
43485
  readonly type: "string";
42792
- readonly description: "If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
42793
- readonly knownValues: ["account", "record"];
43486
+ readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
43487
+ readonly knownValues: ["account", "record", "conversation"];
42794
43488
  };
42795
43489
  readonly minAccountSuspendCount: {
42796
43490
  readonly type: "integer";
@@ -46557,6 +47251,7 @@ export declare const ids: {
46557
47251
  readonly ChatBskyConvoUnmuteConvo: "chat.bsky.convo.unmuteConvo";
46558
47252
  readonly ChatBskyConvoUpdateAllRead: "chat.bsky.convo.updateAllRead";
46559
47253
  readonly ChatBskyConvoUpdateRead: "chat.bsky.convo.updateRead";
47254
+ readonly ChatBskyEmbedJoinLink: "chat.bsky.embed.joinLink";
46560
47255
  readonly ChatBskyGroupAddMembers: "chat.bsky.group.addMembers";
46561
47256
  readonly ChatBskyGroupApproveJoinRequest: "chat.bsky.group.approveJoinRequest";
46562
47257
  readonly ChatBskyGroupCreateGroup: "chat.bsky.group.createGroup";
@@ -46572,7 +47267,12 @@ export declare const ids: {
46572
47267
  readonly ChatBskyGroupRejectJoinRequest: "chat.bsky.group.rejectJoinRequest";
46573
47268
  readonly ChatBskyGroupRemoveMembers: "chat.bsky.group.removeMembers";
46574
47269
  readonly ChatBskyGroupRequestJoin: "chat.bsky.group.requestJoin";
47270
+ readonly ChatBskyGroupUpdateJoinRequestsRead: "chat.bsky.group.updateJoinRequestsRead";
47271
+ readonly ChatBskyGroupWithdrawJoinRequest: "chat.bsky.group.withdrawJoinRequest";
47272
+ readonly ChatBskyModerationDefs: "chat.bsky.moderation.defs";
46575
47273
  readonly ChatBskyModerationGetActorMetadata: "chat.bsky.moderation.getActorMetadata";
47274
+ readonly ChatBskyModerationGetConvo: "chat.bsky.moderation.getConvo";
47275
+ readonly ChatBskyModerationGetConvoMembers: "chat.bsky.moderation.getConvoMembers";
46576
47276
  readonly ChatBskyModerationGetMessageContext: "chat.bsky.moderation.getMessageContext";
46577
47277
  readonly ChatBskyModerationSubscribeModEvents: "chat.bsky.moderation.subscribeModEvents";
46578
47278
  readonly ChatBskyModerationUpdateActorAccess: "chat.bsky.moderation.updateActorAccess";