@atproto/api 0.20.6 → 0.20.8

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 (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/definitions/labels.json +4 -20
  3. package/dist/client/index.d.ts +22 -0
  4. package/dist/client/index.d.ts.map +1 -1
  5. package/dist/client/index.js +48 -0
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/client/lexicons.d.ts +1048 -276
  8. package/dist/client/lexicons.d.ts.map +1 -1
  9. package/dist/client/lexicons.js +451 -26
  10. package/dist/client/lexicons.js.map +1 -1
  11. package/dist/client/types/app/bsky/actor/defs.d.ts +4 -0
  12. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  13. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  14. package/dist/client/types/chat/bsky/convo/defs.d.ts +37 -9
  15. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  16. package/dist/client/types/chat/bsky/convo/defs.js +21 -0
  17. package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
  18. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +3 -0
  19. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  20. package/dist/client/types/chat/bsky/convo/getConvoForMembers.js +7 -0
  21. package/dist/client/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
  22. package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
  23. package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  24. package/dist/client/types/chat/bsky/convo/getLog.js.map +1 -1
  25. package/dist/client/types/chat/bsky/embed/joinLink.d.ts +19 -0
  26. package/dist/client/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
  27. package/dist/client/types/chat/bsky/embed/joinLink.js +19 -0
  28. package/dist/client/types/chat/bsky/embed/joinLink.js.map +1 -0
  29. package/dist/client/types/chat/bsky/group/addMembers.d.ts +3 -0
  30. package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  31. package/dist/client/types/chat/bsky/group/addMembers.js +7 -0
  32. package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
  33. package/dist/client/types/chat/bsky/group/createGroup.d.ts +3 -0
  34. package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  35. package/dist/client/types/chat/bsky/group/createGroup.js +7 -0
  36. package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
  37. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts +29 -0
  38. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
  39. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js +28 -0
  40. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
  41. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts +26 -0
  42. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
  43. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js +21 -0
  44. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
  45. package/dist/client/types/chat/bsky/moderation/defs.d.ts +42 -0
  46. package/dist/client/types/chat/bsky/moderation/defs.d.ts.map +1 -0
  47. package/dist/client/types/chat/bsky/moderation/defs.js +26 -0
  48. package/dist/client/types/chat/bsky/moderation/defs.js.map +1 -0
  49. package/dist/client/types/chat/bsky/moderation/getConvo.d.ts +26 -0
  50. package/dist/client/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
  51. package/dist/client/types/chat/bsky/moderation/getConvo.js +21 -0
  52. package/dist/client/types/chat/bsky/moderation/getConvo.js.map +1 -0
  53. package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts +29 -0
  54. package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
  55. package/dist/client/types/chat/bsky/moderation/getConvoMembers.js +21 -0
  56. package/dist/client/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
  57. package/dist/client/types/chat/bsky/moderation/getConvos.d.ts +23 -0
  58. package/dist/client/types/chat/bsky/moderation/getConvos.d.ts.map +1 -0
  59. package/dist/client/types/chat/bsky/moderation/getConvos.js +8 -0
  60. package/dist/client/types/chat/bsky/moderation/getConvos.js.map +1 -0
  61. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +12 -0
  62. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  63. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
  64. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  65. package/dist/client/types/tools/ozone/moderation/defs.d.ts +10 -3
  66. package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  67. package/dist/client/types/tools/ozone/moderation/defs.js +7 -0
  68. package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
  69. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
  70. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  71. package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  72. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
  73. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  74. package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  75. package/dist/moderation/const/labels.d.ts.map +1 -1
  76. package/dist/moderation/const/labels.js +0 -21
  77. package/dist/moderation/const/labels.js.map +1 -1
  78. package/package.json +4 -4
  79. package/tests/moderation-behaviors.test.ts +7 -26
  80. 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.";
@@ -9543,7 +9552,7 @@ export declare const schemaDict: {
9543
9552
  };
9544
9553
  readonly embed: {
9545
9554
  readonly type: "union";
9546
- readonly refs: ["lex:app.bsky.embed.record"];
9555
+ readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
9547
9556
  };
9548
9557
  };
9549
9558
  };
@@ -9572,7 +9581,7 @@ export declare const schemaDict: {
9572
9581
  };
9573
9582
  readonly embed: {
9574
9583
  readonly type: "union";
9575
- readonly refs: ["lex:app.bsky.embed.record#view"];
9584
+ readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
9576
9585
  };
9577
9586
  readonly reactions: {
9578
9587
  readonly type: "array";
@@ -9887,39 +9896,43 @@ export declare const schemaDict: {
9887
9896
  readonly groupConvo: {
9888
9897
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
9889
9898
  readonly type: "object";
9890
- readonly required: ["name", "lockStatus", "memberCount", "memberLimit", "createdAt"];
9899
+ readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
9891
9900
  readonly properties: {
9892
- readonly name: {
9893
- readonly type: "string";
9894
- readonly description: "The display name of the group conversation.";
9895
- readonly maxGraphemes: 128;
9896
- readonly maxLength: 1280;
9897
- };
9898
- readonly memberCount: {
9899
- readonly type: "integer";
9900
- readonly description: "The total number of members in the group conversation.";
9901
- };
9902
9901
  readonly createdAt: {
9903
9902
  readonly type: "string";
9904
9903
  readonly format: "datetime";
9905
9904
  };
9906
- readonly joinRequestCount: {
9907
- readonly type: "integer";
9908
- readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
9909
- };
9910
9905
  readonly joinLink: {
9911
9906
  readonly type: "ref";
9912
9907
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
9913
9908
  };
9914
- readonly memberLimit: {
9909
+ readonly joinRequestCount: {
9915
9910
  readonly type: "integer";
9916
- 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.";
9917
9912
  };
9918
9913
  readonly lockStatus: {
9919
9914
  readonly description: "The lock status of the conversation.";
9920
9915
  readonly type: "ref";
9921
9916
  readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
9922
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
+ };
9923
9936
  };
9924
9937
  };
9925
9938
  readonly logBeginConvo: {
@@ -10448,7 +10461,51 @@ export declare const schemaDict: {
10448
10461
  };
10449
10462
  };
10450
10463
  readonly logOutgoingJoinRequest: {
10451
- 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.";
10452
10509
  readonly type: "object";
10453
10510
  readonly required: ["rev", "convoId"];
10454
10511
  readonly properties: {
@@ -10587,6 +10644,8 @@ export declare const schemaDict: {
10587
10644
  readonly name: "AccountSuspended";
10588
10645
  }, {
10589
10646
  readonly name: "BlockedActor";
10647
+ }, {
10648
+ readonly name: "BlockedSubject";
10590
10649
  }, {
10591
10650
  readonly name: "MessagesDisabled";
10592
10651
  }, {
@@ -10703,7 +10762,7 @@ export declare const schemaDict: {
10703
10762
  readonly type: "array";
10704
10763
  readonly items: {
10705
10764
  readonly type: "union";
10706
- 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"];
10707
10766
  };
10708
10767
  };
10709
10768
  };
@@ -11308,6 +11367,33 @@ export declare const schemaDict: {
11308
11367
  };
11309
11368
  };
11310
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
+ };
11311
11397
  readonly ChatBskyGroupAddMembers: {
11312
11398
  readonly lexicon: 1;
11313
11399
  readonly id: "chat.bsky.group.addMembers";
@@ -11319,6 +11405,8 @@ export declare const schemaDict: {
11319
11405
  readonly name: "AccountSuspended";
11320
11406
  }, {
11321
11407
  readonly name: "BlockedActor";
11408
+ }, {
11409
+ readonly name: "BlockedSubject";
11322
11410
  }, {
11323
11411
  readonly name: "ConvoLocked";
11324
11412
  }, {
@@ -11434,6 +11522,8 @@ export declare const schemaDict: {
11434
11522
  readonly name: "AccountSuspended";
11435
11523
  }, {
11436
11524
  readonly name: "BlockedActor";
11525
+ }, {
11526
+ readonly name: "BlockedSubject";
11437
11527
  }, {
11438
11528
  readonly name: "NewAccountCannotCreateGroup";
11439
11529
  }, {
@@ -11855,7 +11945,7 @@ export declare const schemaDict: {
11855
11945
  readonly defs: {
11856
11946
  readonly main: {
11857
11947
  readonly type: "query";
11858
- 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.";
11859
11949
  readonly parameters: {
11860
11950
  readonly type: "params";
11861
11951
  readonly required: ["codes"];
@@ -12129,6 +12219,141 @@ export declare const schemaDict: {
12129
12219
  };
12130
12220
  };
12131
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
+ };
12132
12357
  readonly ChatBskyModerationGetActorMetadata: {
12133
12358
  readonly lexicon: 1;
12134
12359
  readonly id: "chat.bsky.moderation.getActorMetadata";
@@ -12187,6 +12412,131 @@ export declare const schemaDict: {
12187
12412
  };
12188
12413
  };
12189
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
+ };
12500
+ readonly ChatBskyModerationGetConvos: {
12501
+ readonly lexicon: 1;
12502
+ readonly id: "chat.bsky.moderation.getConvos";
12503
+ readonly defs: {
12504
+ readonly main: {
12505
+ readonly type: "query";
12506
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.";
12507
+ readonly parameters: {
12508
+ readonly type: "params";
12509
+ readonly required: ["convoIds"];
12510
+ readonly properties: {
12511
+ readonly convoIds: {
12512
+ readonly type: "array";
12513
+ readonly minLength: 1;
12514
+ readonly maxLength: 100;
12515
+ readonly items: {
12516
+ readonly type: "string";
12517
+ };
12518
+ };
12519
+ };
12520
+ };
12521
+ readonly output: {
12522
+ readonly encoding: "application/json";
12523
+ readonly schema: {
12524
+ readonly type: "object";
12525
+ readonly required: ["convos"];
12526
+ readonly properties: {
12527
+ readonly convos: {
12528
+ readonly type: "array";
12529
+ readonly items: {
12530
+ readonly type: "ref";
12531
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
12532
+ };
12533
+ };
12534
+ };
12535
+ };
12536
+ };
12537
+ };
12538
+ };
12539
+ };
12190
12540
  readonly ChatBskyModerationGetMessageContext: {
12191
12541
  readonly lexicon: 1;
12192
12542
  readonly id: "chat.bsky.moderation.getMessageContext";
@@ -12261,7 +12611,7 @@ export declare const schemaDict: {
12261
12611
  readonly message: {
12262
12612
  readonly schema: {
12263
12613
  readonly type: "union";
12264
- 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"];
12614
+ 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"];
12265
12615
  };
12266
12616
  };
12267
12617
  readonly errors: [{
@@ -12750,6 +13100,29 @@ export declare const schemaDict: {
12750
13100
  };
12751
13101
  };
12752
13102
  };
13103
+ readonly eventRateLimitExceeded: {
13104
+ readonly type: "object";
13105
+ readonly description: "Fired when a user exceeds a rate limit.";
13106
+ readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
13107
+ readonly properties: {
13108
+ readonly actorDid: {
13109
+ readonly description: "The DID of the user who hit the rate limit.";
13110
+ readonly type: "string";
13111
+ readonly format: "did";
13112
+ };
13113
+ readonly createdAt: {
13114
+ readonly type: "string";
13115
+ readonly format: "datetime";
13116
+ };
13117
+ readonly endpoint: {
13118
+ readonly description: "The NSID of the endpoint that was rate limited.";
13119
+ readonly type: "string";
13120
+ };
13121
+ readonly rev: {
13122
+ readonly type: "string";
13123
+ };
13124
+ };
13125
+ };
12753
13126
  };
12754
13127
  };
12755
13128
  readonly ChatBskyModerationUpdateActorAccess: {
@@ -17609,7 +17982,7 @@ export declare const schemaDict: {
17609
17982
  };
17610
17983
  readonly subject: {
17611
17984
  readonly type: "union";
17612
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
17985
+ 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"];
17613
17986
  };
17614
17987
  readonly subjectBlobCids: {
17615
17988
  readonly type: "array";
@@ -17650,7 +18023,7 @@ export declare const schemaDict: {
17650
18023
  };
17651
18024
  readonly subject: {
17652
18025
  readonly type: "union";
17653
- 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"];
18026
+ 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"];
17654
18027
  };
17655
18028
  readonly subjectBlobs: {
17656
18029
  readonly type: "array";
@@ -17682,7 +18055,7 @@ export declare const schemaDict: {
17682
18055
  };
17683
18056
  readonly subject: {
17684
18057
  readonly type: "union";
17685
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
18058
+ 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"];
17686
18059
  };
17687
18060
  readonly hosting: {
17688
18061
  readonly type: "union";
@@ -18646,6 +19019,19 @@ export declare const schemaDict: {
18646
19019
  };
18647
19020
  };
18648
19021
  };
19022
+ readonly convoView: {
19023
+ readonly type: "object";
19024
+ readonly required: ["did", "convoId"];
19025
+ readonly properties: {
19026
+ readonly did: {
19027
+ readonly type: "string";
19028
+ readonly format: "did";
19029
+ };
19030
+ readonly convoId: {
19031
+ readonly type: "string";
19032
+ };
19033
+ };
19034
+ };
18649
19035
  readonly moderation: {
18650
19036
  readonly type: "object";
18651
19037
  readonly properties: {
@@ -19463,8 +19849,8 @@ export declare const schemaDict: {
19463
19849
  };
19464
19850
  readonly subjectType: {
19465
19851
  readonly type: "string";
19466
- 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.";
19467
- readonly knownValues: ["account", "record"];
19852
+ 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.";
19853
+ readonly knownValues: ["account", "record", "conversation"];
19468
19854
  };
19469
19855
  readonly includeAllUserRecords: {
19470
19856
  readonly type: "boolean";
@@ -19732,8 +20118,8 @@ export declare const schemaDict: {
19732
20118
  };
19733
20119
  readonly subjectType: {
19734
20120
  readonly type: "string";
19735
- 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.";
19736
- readonly knownValues: ["account", "record"];
20121
+ 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.";
20122
+ readonly knownValues: ["account", "record", "conversation"];
19737
20123
  };
19738
20124
  readonly minAccountSuspendCount: {
19739
20125
  readonly type: "integer";
@@ -23756,6 +24142,15 @@ export declare const schemas: ({
23756
24142
  readonly description: "The user who issued this verification.";
23757
24143
  readonly format: "did";
23758
24144
  };
24145
+ readonly issuerDisplayName: {
24146
+ readonly type: "string";
24147
+ readonly description: "The display name of the issuer.";
24148
+ };
24149
+ readonly issuerHandle: {
24150
+ readonly type: "string";
24151
+ readonly description: "The handle of the issuer.";
24152
+ readonly format: "handle";
24153
+ };
23759
24154
  readonly uri: {
23760
24155
  readonly type: "string";
23761
24156
  readonly description: "The AT-URI of the verification record.";
@@ -32762,7 +33157,7 @@ export declare const schemas: ({
32762
33157
  };
32763
33158
  readonly embed: {
32764
33159
  readonly type: "union";
32765
- readonly refs: ["lex:app.bsky.embed.record"];
33160
+ readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
32766
33161
  };
32767
33162
  };
32768
33163
  };
@@ -32791,7 +33186,7 @@ export declare const schemas: ({
32791
33186
  };
32792
33187
  readonly embed: {
32793
33188
  readonly type: "union";
32794
- readonly refs: ["lex:app.bsky.embed.record#view"];
33189
+ readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
32795
33190
  };
32796
33191
  readonly reactions: {
32797
33192
  readonly type: "array";
@@ -33106,39 +33501,43 @@ export declare const schemas: ({
33106
33501
  readonly groupConvo: {
33107
33502
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
33108
33503
  readonly type: "object";
33109
- readonly required: ["name", "lockStatus", "memberCount", "memberLimit", "createdAt"];
33504
+ readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
33110
33505
  readonly properties: {
33111
- readonly name: {
33112
- readonly type: "string";
33113
- readonly description: "The display name of the group conversation.";
33114
- readonly maxGraphemes: 128;
33115
- readonly maxLength: 1280;
33116
- };
33117
- readonly memberCount: {
33118
- readonly type: "integer";
33119
- readonly description: "The total number of members in the group conversation.";
33120
- };
33121
33506
  readonly createdAt: {
33122
33507
  readonly type: "string";
33123
33508
  readonly format: "datetime";
33124
33509
  };
33125
- readonly joinRequestCount: {
33126
- readonly type: "integer";
33127
- readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
33128
- };
33129
33510
  readonly joinLink: {
33130
33511
  readonly type: "ref";
33131
33512
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
33132
33513
  };
33133
- readonly memberLimit: {
33514
+ readonly joinRequestCount: {
33134
33515
  readonly type: "integer";
33135
- readonly description: "The maximum number of members allowed in the group conversation.";
33516
+ readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
33136
33517
  };
33137
33518
  readonly lockStatus: {
33138
33519
  readonly description: "The lock status of the conversation.";
33139
33520
  readonly type: "ref";
33140
33521
  readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
33141
33522
  };
33523
+ readonly memberCount: {
33524
+ readonly type: "integer";
33525
+ readonly description: "The total number of members in the group conversation.";
33526
+ };
33527
+ readonly memberLimit: {
33528
+ readonly type: "integer";
33529
+ readonly description: "The maximum number of members allowed in the group conversation.";
33530
+ };
33531
+ readonly name: {
33532
+ readonly type: "string";
33533
+ readonly description: "The display name of the group conversation.";
33534
+ readonly maxGraphemes: 128;
33535
+ readonly maxLength: 1280;
33536
+ };
33537
+ readonly unreadJoinRequestCount: {
33538
+ readonly type: "integer";
33539
+ readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
33540
+ };
33142
33541
  };
33143
33542
  };
33144
33543
  readonly logBeginConvo: {
@@ -33667,7 +34066,51 @@ export declare const schemas: ({
33667
34066
  };
33668
34067
  };
33669
34068
  readonly logOutgoingJoinRequest: {
33670
- 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.";
34069
+ 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.";
34070
+ readonly type: "object";
34071
+ readonly required: ["rev", "convoId"];
34072
+ readonly properties: {
34073
+ readonly rev: {
34074
+ readonly type: "string";
34075
+ };
34076
+ readonly convoId: {
34077
+ readonly type: "string";
34078
+ };
34079
+ };
34080
+ };
34081
+ readonly logWithdrawIncomingJoinRequest: {
34082
+ 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.";
34083
+ readonly type: "object";
34084
+ readonly required: ["rev", "convoId", "member"];
34085
+ readonly properties: {
34086
+ readonly rev: {
34087
+ readonly type: "string";
34088
+ };
34089
+ readonly convoId: {
34090
+ readonly type: "string";
34091
+ };
34092
+ readonly member: {
34093
+ readonly description: "Prospective member who withdrew their join request.";
34094
+ readonly type: "ref";
34095
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
34096
+ };
34097
+ };
34098
+ };
34099
+ readonly logWithdrawOutgoingJoinRequest: {
34100
+ 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.";
34101
+ readonly type: "object";
34102
+ readonly required: ["rev", "convoId"];
34103
+ readonly properties: {
34104
+ readonly rev: {
34105
+ readonly type: "string";
34106
+ };
34107
+ readonly convoId: {
34108
+ readonly type: "string";
34109
+ };
34110
+ };
34111
+ };
34112
+ readonly logReadJoinRequests: {
34113
+ 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.";
33671
34114
  readonly type: "object";
33672
34115
  readonly required: ["rev", "convoId"];
33673
34116
  readonly properties: {
@@ -33802,6 +34245,8 @@ export declare const schemas: ({
33802
34245
  readonly name: "AccountSuspended";
33803
34246
  }, {
33804
34247
  readonly name: "BlockedActor";
34248
+ }, {
34249
+ readonly name: "BlockedSubject";
33805
34250
  }, {
33806
34251
  readonly name: "MessagesDisabled";
33807
34252
  }, {
@@ -33916,7 +34361,7 @@ export declare const schemas: ({
33916
34361
  readonly type: "array";
33917
34362
  readonly items: {
33918
34363
  readonly type: "union";
33919
- 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"];
34364
+ 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"];
33920
34365
  };
33921
34366
  };
33922
34367
  };
@@ -34507,6 +34952,32 @@ export declare const schemas: ({
34507
34952
  };
34508
34953
  };
34509
34954
  };
34955
+ } | {
34956
+ readonly lexicon: 1;
34957
+ readonly id: "chat.bsky.embed.joinLink";
34958
+ 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.";
34959
+ readonly defs: {
34960
+ readonly main: {
34961
+ readonly type: "object";
34962
+ readonly required: ["code"];
34963
+ readonly properties: {
34964
+ readonly code: {
34965
+ readonly type: "string";
34966
+ readonly description: "The join link code.";
34967
+ };
34968
+ };
34969
+ };
34970
+ readonly view: {
34971
+ readonly type: "object";
34972
+ readonly required: ["joinLinkPreview"];
34973
+ readonly properties: {
34974
+ readonly joinLinkPreview: {
34975
+ readonly type: "ref";
34976
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
34977
+ };
34978
+ };
34979
+ };
34980
+ };
34510
34981
  } | {
34511
34982
  readonly lexicon: 1;
34512
34983
  readonly id: "chat.bsky.group.addMembers";
@@ -34518,6 +34989,8 @@ export declare const schemas: ({
34518
34989
  readonly name: "AccountSuspended";
34519
34990
  }, {
34520
34991
  readonly name: "BlockedActor";
34992
+ }, {
34993
+ readonly name: "BlockedSubject";
34521
34994
  }, {
34522
34995
  readonly name: "ConvoLocked";
34523
34996
  }, {
@@ -34631,6 +35104,8 @@ export declare const schemas: ({
34631
35104
  readonly name: "AccountSuspended";
34632
35105
  }, {
34633
35106
  readonly name: "BlockedActor";
35107
+ }, {
35108
+ readonly name: "BlockedSubject";
34634
35109
  }, {
34635
35110
  readonly name: "NewAccountCannotCreateGroup";
34636
35111
  }, {
@@ -35045,7 +35520,7 @@ export declare const schemas: ({
35045
35520
  readonly defs: {
35046
35521
  readonly main: {
35047
35522
  readonly type: "query";
35048
- 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.";
35523
+ 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.";
35049
35524
  readonly parameters: {
35050
35525
  readonly type: "params";
35051
35526
  readonly required: ["codes"];
@@ -35112,16 +35587,472 @@ export declare const schemas: ({
35112
35587
  readonly encoding: "application/json";
35113
35588
  readonly schema: {
35114
35589
  readonly type: "object";
35115
- readonly required: ["requests"];
35590
+ readonly required: ["requests"];
35591
+ readonly properties: {
35592
+ readonly cursor: {
35593
+ readonly type: "string";
35594
+ };
35595
+ readonly requests: {
35596
+ readonly type: "array";
35597
+ readonly items: {
35598
+ readonly type: "ref";
35599
+ readonly ref: "lex:chat.bsky.group.defs#joinRequestView";
35600
+ };
35601
+ };
35602
+ };
35603
+ };
35604
+ };
35605
+ };
35606
+ };
35607
+ } | {
35608
+ readonly lexicon: 1;
35609
+ readonly id: "chat.bsky.group.listMutualGroups";
35610
+ readonly defs: {
35611
+ readonly main: {
35612
+ readonly type: "query";
35613
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of group conversations that both the requester and the specified actor are members of.";
35614
+ readonly parameters: {
35615
+ readonly type: "params";
35616
+ readonly required: ["subject"];
35617
+ readonly properties: {
35618
+ readonly subject: {
35619
+ readonly type: "string";
35620
+ readonly format: "did";
35621
+ };
35622
+ readonly limit: {
35623
+ readonly type: "integer";
35624
+ readonly minimum: 1;
35625
+ readonly maximum: 100;
35626
+ readonly default: 50;
35627
+ };
35628
+ readonly cursor: {
35629
+ readonly type: "string";
35630
+ };
35631
+ };
35632
+ };
35633
+ readonly output: {
35634
+ readonly encoding: "application/json";
35635
+ readonly schema: {
35636
+ readonly type: "object";
35637
+ readonly required: ["convos"];
35638
+ readonly properties: {
35639
+ readonly cursor: {
35640
+ readonly type: "string";
35641
+ };
35642
+ readonly convos: {
35643
+ readonly type: "array";
35644
+ readonly items: {
35645
+ readonly type: "ref";
35646
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
35647
+ };
35648
+ };
35649
+ };
35650
+ };
35651
+ };
35652
+ };
35653
+ };
35654
+ } | {
35655
+ readonly lexicon: 1;
35656
+ readonly id: "chat.bsky.group.rejectJoinRequest";
35657
+ readonly defs: {
35658
+ readonly main: {
35659
+ readonly type: "procedure";
35660
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.";
35661
+ readonly errors: [{
35662
+ readonly name: "InvalidConvo";
35663
+ }, {
35664
+ readonly name: "InsufficientRole";
35665
+ }];
35666
+ readonly input: {
35667
+ readonly encoding: "application/json";
35668
+ readonly schema: {
35669
+ readonly type: "object";
35670
+ readonly required: ["convoId", "member"];
35671
+ readonly properties: {
35672
+ readonly convoId: {
35673
+ readonly type: "string";
35674
+ };
35675
+ readonly member: {
35676
+ readonly type: "string";
35677
+ readonly format: "did";
35678
+ };
35679
+ };
35680
+ };
35681
+ };
35682
+ readonly output: {
35683
+ readonly encoding: "application/json";
35684
+ readonly schema: {
35685
+ readonly type: "object";
35686
+ readonly required: [];
35687
+ readonly properties: {};
35688
+ };
35689
+ };
35690
+ };
35691
+ };
35692
+ } | {
35693
+ readonly lexicon: 1;
35694
+ readonly id: "chat.bsky.group.removeMembers";
35695
+ readonly defs: {
35696
+ readonly main: {
35697
+ readonly type: "procedure";
35698
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Removes members from a group. This deletes convo memberships, doesn't just set a status.";
35699
+ readonly errors: [{
35700
+ readonly name: "InvalidConvo";
35701
+ }, {
35702
+ readonly name: "InsufficientRole";
35703
+ }];
35704
+ readonly input: {
35705
+ readonly encoding: "application/json";
35706
+ readonly schema: {
35707
+ readonly type: "object";
35708
+ readonly required: ["convoId", "members"];
35709
+ readonly properties: {
35710
+ readonly convoId: {
35711
+ readonly type: "string";
35712
+ };
35713
+ readonly members: {
35714
+ readonly type: "array";
35715
+ readonly items: {
35716
+ readonly type: "string";
35717
+ readonly format: "did";
35718
+ };
35719
+ readonly minLength: 1;
35720
+ };
35721
+ };
35722
+ };
35723
+ };
35724
+ readonly output: {
35725
+ readonly encoding: "application/json";
35726
+ readonly schema: {
35727
+ readonly type: "object";
35728
+ readonly required: ["convo"];
35729
+ readonly properties: {
35730
+ readonly convo: {
35731
+ readonly type: "ref";
35732
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
35733
+ };
35734
+ };
35735
+ };
35736
+ };
35737
+ };
35738
+ };
35739
+ } | {
35740
+ readonly lexicon: 1;
35741
+ readonly id: "chat.bsky.group.requestJoin";
35742
+ readonly defs: {
35743
+ readonly main: {
35744
+ readonly type: "procedure";
35745
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.";
35746
+ readonly errors: [{
35747
+ readonly name: "ConvoLocked";
35748
+ }, {
35749
+ readonly name: "FollowRequired";
35750
+ }, {
35751
+ readonly name: "InvalidCode";
35752
+ }, {
35753
+ readonly name: "LinkDisabled";
35754
+ }, {
35755
+ readonly name: "MemberLimitReached";
35756
+ }, {
35757
+ readonly name: "UserKicked";
35758
+ }];
35759
+ readonly input: {
35760
+ readonly encoding: "application/json";
35761
+ readonly schema: {
35762
+ readonly type: "object";
35763
+ readonly required: ["code"];
35764
+ readonly properties: {
35765
+ readonly code: {
35766
+ readonly type: "string";
35767
+ };
35768
+ };
35769
+ };
35770
+ };
35771
+ readonly output: {
35772
+ readonly encoding: "application/json";
35773
+ readonly schema: {
35774
+ readonly type: "object";
35775
+ readonly required: ["status"];
35776
+ readonly properties: {
35777
+ readonly status: {
35778
+ readonly type: "string";
35779
+ readonly knownValues: ["joined", "pending"];
35780
+ };
35781
+ readonly convo: {
35782
+ readonly description: "The group convo joined. This is only present in the case of status=joined";
35783
+ readonly type: "ref";
35784
+ readonly ref: "lex:chat.bsky.convo.defs#convoView";
35785
+ };
35786
+ };
35787
+ };
35788
+ };
35789
+ };
35790
+ };
35791
+ } | {
35792
+ readonly lexicon: 1;
35793
+ readonly id: "chat.bsky.group.updateJoinRequestsRead";
35794
+ readonly defs: {
35795
+ readonly main: {
35796
+ readonly type: "procedure";
35797
+ 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.";
35798
+ readonly errors: [{
35799
+ readonly name: "InvalidConvo";
35800
+ }, {
35801
+ readonly name: "InsufficientRole";
35802
+ }];
35803
+ readonly input: {
35804
+ readonly encoding: "application/json";
35805
+ readonly schema: {
35806
+ readonly type: "object";
35807
+ readonly required: ["convoId"];
35808
+ readonly properties: {
35809
+ readonly convoId: {
35810
+ readonly type: "string";
35811
+ };
35812
+ };
35813
+ };
35814
+ };
35815
+ readonly output: {
35816
+ readonly encoding: "application/json";
35817
+ readonly schema: {
35818
+ readonly type: "object";
35819
+ readonly required: [];
35820
+ readonly properties: {};
35821
+ };
35822
+ };
35823
+ };
35824
+ };
35825
+ } | {
35826
+ readonly lexicon: 1;
35827
+ readonly id: "chat.bsky.group.withdrawJoinRequest";
35828
+ readonly defs: {
35829
+ readonly main: {
35830
+ readonly type: "procedure";
35831
+ 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.";
35832
+ readonly errors: [{
35833
+ readonly name: "InvalidJoinRequest";
35834
+ }];
35835
+ readonly input: {
35836
+ readonly encoding: "application/json";
35837
+ readonly schema: {
35838
+ readonly type: "object";
35839
+ readonly required: ["convoId"];
35840
+ readonly properties: {
35841
+ readonly convoId: {
35842
+ readonly type: "string";
35843
+ };
35844
+ };
35845
+ };
35846
+ };
35847
+ readonly output: {
35848
+ readonly encoding: "application/json";
35849
+ readonly schema: {
35850
+ readonly type: "object";
35851
+ readonly required: [];
35852
+ readonly properties: {};
35853
+ };
35854
+ };
35855
+ };
35856
+ };
35857
+ } | {
35858
+ readonly lexicon: 1;
35859
+ readonly id: "chat.bsky.moderation.defs";
35860
+ readonly defs: {
35861
+ readonly convoView: {
35862
+ 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.";
35863
+ readonly type: "object";
35864
+ readonly required: ["id", "rev"];
35865
+ readonly properties: {
35866
+ readonly id: {
35867
+ readonly type: "string";
35868
+ };
35869
+ readonly rev: {
35870
+ readonly type: "string";
35871
+ };
35872
+ readonly kind: {
35873
+ readonly description: "Union field that has data specific to different kinds of convos.";
35874
+ readonly type: "union";
35875
+ readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
35876
+ };
35877
+ };
35878
+ };
35879
+ readonly directConvo: {
35880
+ 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.";
35881
+ readonly type: "object";
35882
+ readonly properties: {};
35883
+ };
35884
+ readonly groupConvo: {
35885
+ 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.";
35886
+ readonly type: "object";
35887
+ readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
35888
+ readonly properties: {
35889
+ readonly createdAt: {
35890
+ readonly type: "string";
35891
+ readonly format: "datetime";
35892
+ };
35893
+ readonly joinLink: {
35894
+ readonly type: "ref";
35895
+ readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
35896
+ };
35897
+ readonly joinRequestCount: {
35898
+ readonly type: "integer";
35899
+ 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.";
35900
+ };
35901
+ readonly lockStatus: {
35902
+ readonly description: "The lock status of the conversation.";
35903
+ readonly type: "ref";
35904
+ readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
35905
+ };
35906
+ readonly memberCount: {
35907
+ readonly type: "integer";
35908
+ readonly description: "The total number of members in the group conversation.";
35909
+ };
35910
+ readonly memberLimit: {
35911
+ readonly type: "integer";
35912
+ readonly description: "The maximum number of members allowed in the group conversation.";
35913
+ };
35914
+ readonly name: {
35915
+ readonly type: "string";
35916
+ readonly description: "The display name of the group conversation.";
35917
+ readonly maxGraphemes: 128;
35918
+ readonly maxLength: 1280;
35919
+ };
35920
+ };
35921
+ };
35922
+ };
35923
+ } | {
35924
+ readonly lexicon: 1;
35925
+ readonly id: "chat.bsky.moderation.getActorMetadata";
35926
+ readonly defs: {
35927
+ readonly main: {
35928
+ readonly type: "query";
35929
+ readonly parameters: {
35930
+ readonly type: "params";
35931
+ readonly required: ["actor"];
35932
+ readonly properties: {
35933
+ readonly actor: {
35934
+ readonly type: "string";
35935
+ readonly format: "did";
35936
+ };
35937
+ };
35938
+ };
35939
+ readonly output: {
35940
+ readonly encoding: "application/json";
35941
+ readonly schema: {
35942
+ readonly type: "object";
35943
+ readonly required: ["day", "month", "all"];
35944
+ readonly properties: {
35945
+ readonly day: {
35946
+ readonly type: "ref";
35947
+ readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35948
+ };
35949
+ readonly month: {
35950
+ readonly type: "ref";
35951
+ readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35952
+ };
35953
+ readonly all: {
35954
+ readonly type: "ref";
35955
+ readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35956
+ };
35957
+ };
35958
+ };
35959
+ };
35960
+ };
35961
+ readonly metadata: {
35962
+ readonly type: "object";
35963
+ readonly required: ["messagesSent", "messagesReceived", "convos", "convosStarted"];
35964
+ readonly properties: {
35965
+ readonly messagesSent: {
35966
+ readonly type: "integer";
35967
+ };
35968
+ readonly messagesReceived: {
35969
+ readonly type: "integer";
35970
+ };
35971
+ readonly convos: {
35972
+ readonly type: "integer";
35973
+ };
35974
+ readonly convosStarted: {
35975
+ readonly type: "integer";
35976
+ };
35977
+ };
35978
+ };
35979
+ };
35980
+ } | {
35981
+ readonly lexicon: 1;
35982
+ readonly id: "chat.bsky.moderation.getConvo";
35983
+ readonly defs: {
35984
+ readonly main: {
35985
+ readonly type: "query";
35986
+ 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.";
35987
+ readonly errors: [{
35988
+ readonly name: "InvalidConvo";
35989
+ }];
35990
+ readonly parameters: {
35991
+ readonly type: "params";
35992
+ readonly required: ["convoId"];
35993
+ readonly properties: {
35994
+ readonly convoId: {
35995
+ readonly type: "string";
35996
+ };
35997
+ };
35998
+ };
35999
+ readonly output: {
36000
+ readonly encoding: "application/json";
36001
+ readonly schema: {
36002
+ readonly type: "object";
36003
+ readonly required: ["convo"];
36004
+ readonly properties: {
36005
+ readonly convo: {
36006
+ readonly type: "ref";
36007
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
36008
+ };
36009
+ };
36010
+ };
36011
+ };
36012
+ };
36013
+ };
36014
+ } | {
36015
+ readonly lexicon: 1;
36016
+ readonly id: "chat.bsky.moderation.getConvoMembers";
36017
+ readonly defs: {
36018
+ readonly main: {
36019
+ readonly type: "query";
36020
+ 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.";
36021
+ readonly errors: [{
36022
+ readonly name: "InvalidConvo";
36023
+ }];
36024
+ readonly parameters: {
36025
+ readonly type: "params";
36026
+ readonly required: ["convoId"];
36027
+ readonly properties: {
36028
+ readonly convoId: {
36029
+ readonly type: "string";
36030
+ };
36031
+ readonly limit: {
36032
+ readonly type: "integer";
36033
+ readonly minimum: 1;
36034
+ readonly maximum: 100;
36035
+ readonly default: 50;
36036
+ };
36037
+ readonly cursor: {
36038
+ readonly type: "string";
36039
+ };
36040
+ };
36041
+ };
36042
+ readonly output: {
36043
+ readonly encoding: "application/json";
36044
+ readonly schema: {
36045
+ readonly type: "object";
36046
+ readonly required: ["members"];
35116
36047
  readonly properties: {
35117
36048
  readonly cursor: {
35118
36049
  readonly type: "string";
35119
36050
  };
35120
- readonly requests: {
36051
+ readonly members: {
35121
36052
  readonly type: "array";
35122
36053
  readonly items: {
35123
36054
  readonly type: "ref";
35124
- readonly ref: "lex:chat.bsky.group.defs#joinRequestView";
36055
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
35125
36056
  };
35126
36057
  };
35127
36058
  };
@@ -35131,27 +36062,22 @@ export declare const schemas: ({
35131
36062
  };
35132
36063
  } | {
35133
36064
  readonly lexicon: 1;
35134
- readonly id: "chat.bsky.group.listMutualGroups";
36065
+ readonly id: "chat.bsky.moderation.getConvos";
35135
36066
  readonly defs: {
35136
36067
  readonly main: {
35137
36068
  readonly type: "query";
35138
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of group conversations that both the requester and the specified actor are members of.";
36069
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.";
35139
36070
  readonly parameters: {
35140
36071
  readonly type: "params";
35141
- readonly required: ["subject"];
36072
+ readonly required: ["convoIds"];
35142
36073
  readonly properties: {
35143
- readonly subject: {
35144
- readonly type: "string";
35145
- readonly format: "did";
35146
- };
35147
- readonly limit: {
35148
- readonly type: "integer";
35149
- readonly minimum: 1;
35150
- readonly maximum: 100;
35151
- readonly default: 50;
35152
- };
35153
- readonly cursor: {
35154
- readonly type: "string";
36074
+ readonly convoIds: {
36075
+ readonly type: "array";
36076
+ readonly minLength: 1;
36077
+ readonly maxLength: 100;
36078
+ readonly items: {
36079
+ readonly type: "string";
36080
+ };
35155
36081
  };
35156
36082
  };
35157
36083
  };
@@ -35161,14 +36087,11 @@ export declare const schemas: ({
35161
36087
  readonly type: "object";
35162
36088
  readonly required: ["convos"];
35163
36089
  readonly properties: {
35164
- readonly cursor: {
35165
- readonly type: "string";
35166
- };
35167
36090
  readonly convos: {
35168
36091
  readonly type: "array";
35169
36092
  readonly items: {
35170
36093
  readonly type: "ref";
35171
- readonly ref: "lex:chat.bsky.convo.defs#convoView";
36094
+ readonly ref: "lex:chat.bsky.moderation.defs#convoView";
35172
36095
  };
35173
36096
  };
35174
36097
  };
@@ -35176,200 +36099,6 @@ export declare const schemas: ({
35176
36099
  };
35177
36100
  };
35178
36101
  };
35179
- } | {
35180
- readonly lexicon: 1;
35181
- readonly id: "chat.bsky.group.rejectJoinRequest";
35182
- readonly defs: {
35183
- readonly main: {
35184
- readonly type: "procedure";
35185
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.";
35186
- readonly errors: [{
35187
- readonly name: "InvalidConvo";
35188
- }, {
35189
- readonly name: "InsufficientRole";
35190
- }];
35191
- readonly input: {
35192
- readonly encoding: "application/json";
35193
- readonly schema: {
35194
- readonly type: "object";
35195
- readonly required: ["convoId", "member"];
35196
- readonly properties: {
35197
- readonly convoId: {
35198
- readonly type: "string";
35199
- };
35200
- readonly member: {
35201
- readonly type: "string";
35202
- readonly format: "did";
35203
- };
35204
- };
35205
- };
35206
- };
35207
- readonly output: {
35208
- readonly encoding: "application/json";
35209
- readonly schema: {
35210
- readonly type: "object";
35211
- readonly required: [];
35212
- readonly properties: {};
35213
- };
35214
- };
35215
- };
35216
- };
35217
- } | {
35218
- readonly lexicon: 1;
35219
- readonly id: "chat.bsky.group.removeMembers";
35220
- readonly defs: {
35221
- readonly main: {
35222
- readonly type: "procedure";
35223
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Removes members from a group. This deletes convo memberships, doesn't just set a status.";
35224
- readonly errors: [{
35225
- readonly name: "InvalidConvo";
35226
- }, {
35227
- readonly name: "InsufficientRole";
35228
- }];
35229
- readonly input: {
35230
- readonly encoding: "application/json";
35231
- readonly schema: {
35232
- readonly type: "object";
35233
- readonly required: ["convoId", "members"];
35234
- readonly properties: {
35235
- readonly convoId: {
35236
- readonly type: "string";
35237
- };
35238
- readonly members: {
35239
- readonly type: "array";
35240
- readonly items: {
35241
- readonly type: "string";
35242
- readonly format: "did";
35243
- };
35244
- readonly minLength: 1;
35245
- };
35246
- };
35247
- };
35248
- };
35249
- readonly output: {
35250
- readonly encoding: "application/json";
35251
- readonly schema: {
35252
- readonly type: "object";
35253
- readonly required: ["convo"];
35254
- readonly properties: {
35255
- readonly convo: {
35256
- readonly type: "ref";
35257
- readonly ref: "lex:chat.bsky.convo.defs#convoView";
35258
- };
35259
- };
35260
- };
35261
- };
35262
- };
35263
- };
35264
- } | {
35265
- readonly lexicon: 1;
35266
- readonly id: "chat.bsky.group.requestJoin";
35267
- readonly defs: {
35268
- readonly main: {
35269
- readonly type: "procedure";
35270
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.";
35271
- readonly errors: [{
35272
- readonly name: "ConvoLocked";
35273
- }, {
35274
- readonly name: "FollowRequired";
35275
- }, {
35276
- readonly name: "InvalidCode";
35277
- }, {
35278
- readonly name: "LinkDisabled";
35279
- }, {
35280
- readonly name: "MemberLimitReached";
35281
- }, {
35282
- readonly name: "UserKicked";
35283
- }];
35284
- readonly input: {
35285
- readonly encoding: "application/json";
35286
- readonly schema: {
35287
- readonly type: "object";
35288
- readonly required: ["code"];
35289
- readonly properties: {
35290
- readonly code: {
35291
- readonly type: "string";
35292
- };
35293
- };
35294
- };
35295
- };
35296
- readonly output: {
35297
- readonly encoding: "application/json";
35298
- readonly schema: {
35299
- readonly type: "object";
35300
- readonly required: ["status"];
35301
- readonly properties: {
35302
- readonly status: {
35303
- readonly type: "string";
35304
- readonly knownValues: ["joined", "pending"];
35305
- };
35306
- readonly convo: {
35307
- readonly description: "The group convo joined. This is only present in the case of status=joined";
35308
- readonly type: "ref";
35309
- readonly ref: "lex:chat.bsky.convo.defs#convoView";
35310
- };
35311
- };
35312
- };
35313
- };
35314
- };
35315
- };
35316
- } | {
35317
- readonly lexicon: 1;
35318
- readonly id: "chat.bsky.moderation.getActorMetadata";
35319
- readonly defs: {
35320
- readonly main: {
35321
- readonly type: "query";
35322
- readonly parameters: {
35323
- readonly type: "params";
35324
- readonly required: ["actor"];
35325
- readonly properties: {
35326
- readonly actor: {
35327
- readonly type: "string";
35328
- readonly format: "did";
35329
- };
35330
- };
35331
- };
35332
- readonly output: {
35333
- readonly encoding: "application/json";
35334
- readonly schema: {
35335
- readonly type: "object";
35336
- readonly required: ["day", "month", "all"];
35337
- readonly properties: {
35338
- readonly day: {
35339
- readonly type: "ref";
35340
- readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35341
- };
35342
- readonly month: {
35343
- readonly type: "ref";
35344
- readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35345
- };
35346
- readonly all: {
35347
- readonly type: "ref";
35348
- readonly ref: "lex:chat.bsky.moderation.getActorMetadata#metadata";
35349
- };
35350
- };
35351
- };
35352
- };
35353
- };
35354
- readonly metadata: {
35355
- readonly type: "object";
35356
- readonly required: ["messagesSent", "messagesReceived", "convos", "convosStarted"];
35357
- readonly properties: {
35358
- readonly messagesSent: {
35359
- readonly type: "integer";
35360
- };
35361
- readonly messagesReceived: {
35362
- readonly type: "integer";
35363
- };
35364
- readonly convos: {
35365
- readonly type: "integer";
35366
- };
35367
- readonly convosStarted: {
35368
- readonly type: "integer";
35369
- };
35370
- };
35371
- };
35372
- };
35373
36102
  } | {
35374
36103
  readonly lexicon: 1;
35375
36104
  readonly id: "chat.bsky.moderation.getMessageContext";
@@ -35443,7 +36172,7 @@ export declare const schemas: ({
35443
36172
  readonly message: {
35444
36173
  readonly schema: {
35445
36174
  readonly type: "union";
35446
- 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"];
36175
+ 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"];
35447
36176
  };
35448
36177
  };
35449
36178
  readonly errors: [{
@@ -35932,6 +36661,29 @@ export declare const schemas: ({
35932
36661
  };
35933
36662
  };
35934
36663
  };
36664
+ readonly eventRateLimitExceeded: {
36665
+ readonly type: "object";
36666
+ readonly description: "Fired when a user exceeds a rate limit.";
36667
+ readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
36668
+ readonly properties: {
36669
+ readonly actorDid: {
36670
+ readonly description: "The DID of the user who hit the rate limit.";
36671
+ readonly type: "string";
36672
+ readonly format: "did";
36673
+ };
36674
+ readonly createdAt: {
36675
+ readonly type: "string";
36676
+ readonly format: "datetime";
36677
+ };
36678
+ readonly endpoint: {
36679
+ readonly description: "The NSID of the endpoint that was rate limited.";
36680
+ readonly type: "string";
36681
+ };
36682
+ readonly rev: {
36683
+ readonly type: "string";
36684
+ };
36685
+ };
36686
+ };
35935
36687
  };
35936
36688
  } | {
35937
36689
  readonly lexicon: 1;
@@ -40686,7 +41438,7 @@ export declare const schemas: ({
40686
41438
  };
40687
41439
  readonly subject: {
40688
41440
  readonly type: "union";
40689
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
41441
+ 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"];
40690
41442
  };
40691
41443
  readonly subjectBlobCids: {
40692
41444
  readonly type: "array";
@@ -40727,7 +41479,7 @@ export declare const schemas: ({
40727
41479
  };
40728
41480
  readonly subject: {
40729
41481
  readonly type: "union";
40730
- 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"];
41482
+ 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"];
40731
41483
  };
40732
41484
  readonly subjectBlobs: {
40733
41485
  readonly type: "array";
@@ -40759,7 +41511,7 @@ export declare const schemas: ({
40759
41511
  };
40760
41512
  readonly subject: {
40761
41513
  readonly type: "union";
40762
- readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
41514
+ 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"];
40763
41515
  };
40764
41516
  readonly hosting: {
40765
41517
  readonly type: "union";
@@ -41723,6 +42475,19 @@ export declare const schemas: ({
41723
42475
  };
41724
42476
  };
41725
42477
  };
42478
+ readonly convoView: {
42479
+ readonly type: "object";
42480
+ readonly required: ["did", "convoId"];
42481
+ readonly properties: {
42482
+ readonly did: {
42483
+ readonly type: "string";
42484
+ readonly format: "did";
42485
+ };
42486
+ readonly convoId: {
42487
+ readonly type: "string";
42488
+ };
42489
+ };
42490
+ };
41726
42491
  readonly moderation: {
41727
42492
  readonly type: "object";
41728
42493
  readonly properties: {
@@ -42529,8 +43294,8 @@ export declare const schemas: ({
42529
43294
  };
42530
43295
  readonly subjectType: {
42531
43296
  readonly type: "string";
42532
- 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.";
42533
- readonly knownValues: ["account", "record"];
43297
+ 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.";
43298
+ readonly knownValues: ["account", "record", "conversation"];
42534
43299
  };
42535
43300
  readonly includeAllUserRecords: {
42536
43301
  readonly type: "boolean";
@@ -42797,8 +43562,8 @@ export declare const schemas: ({
42797
43562
  };
42798
43563
  readonly subjectType: {
42799
43564
  readonly type: "string";
42800
- 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.";
42801
- readonly knownValues: ["account", "record"];
43565
+ 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.";
43566
+ readonly knownValues: ["account", "record", "conversation"];
42802
43567
  };
42803
43568
  readonly minAccountSuspendCount: {
42804
43569
  readonly type: "integer";
@@ -46565,6 +47330,7 @@ export declare const ids: {
46565
47330
  readonly ChatBskyConvoUnmuteConvo: "chat.bsky.convo.unmuteConvo";
46566
47331
  readonly ChatBskyConvoUpdateAllRead: "chat.bsky.convo.updateAllRead";
46567
47332
  readonly ChatBskyConvoUpdateRead: "chat.bsky.convo.updateRead";
47333
+ readonly ChatBskyEmbedJoinLink: "chat.bsky.embed.joinLink";
46568
47334
  readonly ChatBskyGroupAddMembers: "chat.bsky.group.addMembers";
46569
47335
  readonly ChatBskyGroupApproveJoinRequest: "chat.bsky.group.approveJoinRequest";
46570
47336
  readonly ChatBskyGroupCreateGroup: "chat.bsky.group.createGroup";
@@ -46580,7 +47346,13 @@ export declare const ids: {
46580
47346
  readonly ChatBskyGroupRejectJoinRequest: "chat.bsky.group.rejectJoinRequest";
46581
47347
  readonly ChatBskyGroupRemoveMembers: "chat.bsky.group.removeMembers";
46582
47348
  readonly ChatBskyGroupRequestJoin: "chat.bsky.group.requestJoin";
47349
+ readonly ChatBskyGroupUpdateJoinRequestsRead: "chat.bsky.group.updateJoinRequestsRead";
47350
+ readonly ChatBskyGroupWithdrawJoinRequest: "chat.bsky.group.withdrawJoinRequest";
47351
+ readonly ChatBskyModerationDefs: "chat.bsky.moderation.defs";
46583
47352
  readonly ChatBskyModerationGetActorMetadata: "chat.bsky.moderation.getActorMetadata";
47353
+ readonly ChatBskyModerationGetConvo: "chat.bsky.moderation.getConvo";
47354
+ readonly ChatBskyModerationGetConvoMembers: "chat.bsky.moderation.getConvoMembers";
47355
+ readonly ChatBskyModerationGetConvos: "chat.bsky.moderation.getConvos";
46584
47356
  readonly ChatBskyModerationGetMessageContext: "chat.bsky.moderation.getMessageContext";
46585
47357
  readonly ChatBskyModerationSubscribeModEvents: "chat.bsky.moderation.subscribeModEvents";
46586
47358
  readonly ChatBskyModerationUpdateActorAccess: "chat.bsky.moderation.updateActorAccess";