@atproto/ozone 0.1.171 → 0.1.173

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 +18 -0
  2. package/dist/daemon/event-reverser.d.ts +1 -0
  3. package/dist/daemon/event-reverser.d.ts.map +1 -1
  4. package/dist/daemon/event-reverser.js +42 -1
  5. package/dist/daemon/event-reverser.js.map +1 -1
  6. package/dist/db/migrations/20260428T000000000Z-add-expiring-tag-table.d.ts +4 -0
  7. package/dist/db/migrations/20260428T000000000Z-add-expiring-tag-table.d.ts.map +1 -0
  8. package/dist/db/migrations/20260428T000000000Z-add-expiring-tag-table.js +32 -0
  9. package/dist/db/migrations/20260428T000000000Z-add-expiring-tag-table.js.map +1 -0
  10. package/dist/db/migrations/index.d.ts +1 -0
  11. package/dist/db/migrations/index.d.ts.map +1 -1
  12. package/dist/db/migrations/index.js +2 -1
  13. package/dist/db/migrations/index.js.map +1 -1
  14. package/dist/db/schema/expiring_tag.d.ts +15 -0
  15. package/dist/db/schema/expiring_tag.d.ts.map +1 -0
  16. package/dist/db/schema/expiring_tag.js +5 -0
  17. package/dist/db/schema/expiring_tag.js.map +1 -0
  18. package/dist/db/schema/index.d.ts +2 -1
  19. package/dist/db/schema/index.d.ts.map +1 -1
  20. package/dist/db/schema/index.js.map +1 -1
  21. package/dist/lexicon/index.d.ts +2 -0
  22. package/dist/lexicon/index.d.ts.map +1 -1
  23. package/dist/lexicon/index.js +4 -0
  24. package/dist/lexicon/index.js.map +1 -1
  25. package/dist/lexicon/lexicons.d.ts +444 -64
  26. package/dist/lexicon/lexicons.d.ts.map +1 -1
  27. package/dist/lexicon/lexicons.js +225 -31
  28. package/dist/lexicon/lexicons.js.map +1 -1
  29. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -0
  30. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  31. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  32. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +8 -2
  33. package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
  34. package/dist/lexicon/types/chat/bsky/actor/defs.js +9 -0
  35. package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
  36. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +52 -22
  37. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  38. package/dist/lexicon/types/chat/bsky/convo/defs.js +9 -0
  39. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  40. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.d.ts +26 -0
  41. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
  42. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.js +7 -0
  43. package/dist/lexicon/types/chat/bsky/convo/getConvoMembers.js.map +1 -0
  44. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts +3 -0
  45. package/dist/lexicon/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  46. package/dist/lexicon/types/chat/bsky/convo/getMessages.js.map +1 -1
  47. package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts +2 -0
  48. package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  49. package/dist/lexicon/types/chat/bsky/group/addMembers.js.map +1 -1
  50. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +2 -0
  51. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  52. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  53. package/dist/mod-service/expiring-tags.d.ts +27 -0
  54. package/dist/mod-service/expiring-tags.d.ts.map +1 -0
  55. package/dist/mod-service/expiring-tags.js +62 -0
  56. package/dist/mod-service/expiring-tags.js.map +1 -0
  57. package/dist/mod-service/index.d.ts.map +1 -1
  58. package/dist/mod-service/index.js +22 -0
  59. package/dist/mod-service/index.js.map +1 -1
  60. package/dist/mod-service/status.d.ts +4 -0
  61. package/dist/mod-service/status.d.ts.map +1 -1
  62. package/package.json +6 -6
  63. package/src/daemon/event-reverser.ts +50 -1
  64. package/src/db/migrations/20260428T000000000Z-add-expiring-tag-table.ts +32 -0
  65. package/src/db/migrations/index.ts +1 -0
  66. package/src/db/schema/expiring_tag.ts +17 -0
  67. package/src/db/schema/index.ts +3 -1
  68. package/src/lexicon/index.ts +13 -0
  69. package/src/lexicon/lexicons.ts +245 -31
  70. package/src/lexicon/types/app/bsky/actor/defs.ts +1 -0
  71. package/src/lexicon/types/chat/bsky/actor/defs.ts +17 -1
  72. package/src/lexicon/types/chat/bsky/convo/defs.ts +65 -22
  73. package/src/lexicon/types/chat/bsky/convo/getConvoMembers.ts +44 -0
  74. package/src/lexicon/types/chat/bsky/convo/getMessages.ts +3 -0
  75. package/src/lexicon/types/chat/bsky/group/addMembers.ts +2 -0
  76. package/src/lexicon/types/tools/ozone/moderation/defs.ts +2 -0
  77. package/src/mod-service/expiring-tags.ts +98 -0
  78. package/src/mod-service/index.ts +26 -0
  79. package/tests/expiring-tags.test.ts +231 -0
  80. package/tsconfig.build.tsbuildinfo +1 -1
@@ -258,6 +258,10 @@ export declare const schemaDict: {
258
258
  readonly type: "string";
259
259
  readonly knownValues: ["all", "none", "following"];
260
260
  };
261
+ readonly allowGroupInvites: {
262
+ readonly type: "string";
263
+ readonly knownValues: ["all", "none", "following"];
264
+ };
261
265
  };
262
266
  };
263
267
  readonly profileAssociatedGerm: {
@@ -9107,7 +9111,7 @@ export declare const schemaDict: {
9107
9111
  readonly kind: {
9108
9112
  readonly description: "Union field that has data specific to different kinds of convos.";
9109
9113
  readonly type: "union";
9110
- readonly refs: ["lex:chat.bsky.actor.defs#directConvoMember", "lex:chat.bsky.actor.defs#groupConvoMember"];
9114
+ readonly refs: ["lex:chat.bsky.actor.defs#directConvoMember", "lex:chat.bsky.actor.defs#groupConvoMember", "lex:chat.bsky.actor.defs#pastGroupConvoMember"];
9111
9115
  };
9112
9116
  };
9113
9117
  };
@@ -9117,7 +9121,7 @@ export declare const schemaDict: {
9117
9121
  readonly properties: {};
9118
9122
  };
9119
9123
  readonly groupConvoMember: {
9120
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
9124
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member.";
9121
9125
  readonly type: "object";
9122
9126
  readonly required: ["role"];
9123
9127
  readonly properties: {
@@ -9133,6 +9137,12 @@ export declare const schemaDict: {
9133
9137
  };
9134
9138
  };
9135
9139
  };
9140
+ readonly pastGroupConvoMember: {
9141
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member.";
9142
+ readonly type: "object";
9143
+ readonly required: [];
9144
+ readonly properties: {};
9145
+ };
9136
9146
  };
9137
9147
  };
9138
9148
  readonly ChatBskyActorDeleteAccount: {
@@ -9360,6 +9370,16 @@ export declare const schemaDict: {
9360
9370
  };
9361
9371
  };
9362
9372
  };
9373
+ readonly systemMessageReferredUser: {
9374
+ readonly type: "object";
9375
+ readonly required: ["did"];
9376
+ readonly properties: {
9377
+ readonly did: {
9378
+ readonly type: "string";
9379
+ readonly format: "did";
9380
+ };
9381
+ };
9382
+ };
9363
9383
  readonly systemMessageView: {
9364
9384
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
9365
9385
  readonly type: "object";
@@ -9389,7 +9409,7 @@ export declare const schemaDict: {
9389
9409
  readonly member: {
9390
9410
  readonly description: "Current view of the member who was added.";
9391
9411
  readonly type: "ref";
9392
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9412
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9393
9413
  };
9394
9414
  readonly role: {
9395
9415
  readonly description: "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.";
@@ -9398,7 +9418,7 @@ export declare const schemaDict: {
9398
9418
  };
9399
9419
  readonly addedBy: {
9400
9420
  readonly type: "ref";
9401
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9421
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9402
9422
  };
9403
9423
  };
9404
9424
  };
@@ -9410,11 +9430,11 @@ export declare const schemaDict: {
9410
9430
  readonly member: {
9411
9431
  readonly description: "Current view of the member who was removed.";
9412
9432
  readonly type: "ref";
9413
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9433
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9414
9434
  };
9415
9435
  readonly removedBy: {
9416
9436
  readonly type: "ref";
9417
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9437
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9418
9438
  };
9419
9439
  };
9420
9440
  };
@@ -9426,7 +9446,7 @@ export declare const schemaDict: {
9426
9446
  readonly member: {
9427
9447
  readonly description: "Current view of the member who joined.";
9428
9448
  readonly type: "ref";
9429
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9449
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9430
9450
  };
9431
9451
  readonly role: {
9432
9452
  readonly description: "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.";
@@ -9436,7 +9456,7 @@ export declare const schemaDict: {
9436
9456
  readonly approvedBy: {
9437
9457
  readonly description: "If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.";
9438
9458
  readonly type: "ref";
9439
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9459
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9440
9460
  };
9441
9461
  };
9442
9462
  };
@@ -9448,7 +9468,7 @@ export declare const schemaDict: {
9448
9468
  readonly member: {
9449
9469
  readonly description: "Current view of the member who left the group.";
9450
9470
  readonly type: "ref";
9451
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9471
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9452
9472
  };
9453
9473
  };
9454
9474
  };
@@ -9460,7 +9480,7 @@ export declare const schemaDict: {
9460
9480
  readonly lockedBy: {
9461
9481
  readonly description: "Current view of the member who locked the group.";
9462
9482
  readonly type: "ref";
9463
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9483
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9464
9484
  };
9465
9485
  };
9466
9486
  };
@@ -9472,7 +9492,7 @@ export declare const schemaDict: {
9472
9492
  readonly unlockedBy: {
9473
9493
  readonly description: "Current view of the member who unlocked the group.";
9474
9494
  readonly type: "ref";
9475
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9495
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9476
9496
  };
9477
9497
  };
9478
9498
  };
@@ -9484,7 +9504,7 @@ export declare const schemaDict: {
9484
9504
  readonly lockedBy: {
9485
9505
  readonly description: "Current view of the member who locked the group.";
9486
9506
  readonly type: "ref";
9487
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9507
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
9488
9508
  };
9489
9509
  };
9490
9510
  };
@@ -9604,6 +9624,7 @@ export declare const schemaDict: {
9604
9624
  readonly type: "string";
9605
9625
  };
9606
9626
  readonly members: {
9627
+ readonly description: "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.";
9607
9628
  readonly type: "array";
9608
9629
  readonly items: {
9609
9630
  readonly type: "ref";
@@ -9644,7 +9665,7 @@ export declare const schemaDict: {
9644
9665
  readonly groupConvo: {
9645
9666
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
9646
9667
  readonly type: "object";
9647
- readonly required: ["name", "lockStatus"];
9668
+ readonly required: ["name", "lockStatus", "memberCount", "createdAt"];
9648
9669
  readonly properties: {
9649
9670
  readonly name: {
9650
9671
  readonly type: "string";
@@ -9652,6 +9673,14 @@ export declare const schemaDict: {
9652
9673
  readonly maxGraphemes: 128;
9653
9674
  readonly maxLength: 1280;
9654
9675
  };
9676
+ readonly memberCount: {
9677
+ readonly type: "integer";
9678
+ readonly description: "The total number of members in the group conversation.";
9679
+ };
9680
+ readonly createdAt: {
9681
+ readonly type: "string";
9682
+ readonly format: "datetime";
9683
+ };
9655
9684
  readonly joinLink: {
9656
9685
  readonly type: "ref";
9657
9686
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
@@ -9743,6 +9772,14 @@ export declare const schemaDict: {
9743
9772
  readonly type: "union";
9744
9773
  readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
9745
9774
  };
9775
+ readonly relatedProfiles: {
9776
+ readonly description: "Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present.";
9777
+ readonly type: "array";
9778
+ readonly items: {
9779
+ readonly type: "ref";
9780
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9781
+ };
9782
+ };
9746
9783
  };
9747
9784
  };
9748
9785
  readonly logDeleteMessage: {
@@ -9798,6 +9835,14 @@ export declare const schemaDict: {
9798
9835
  readonly type: "ref";
9799
9836
  readonly ref: "lex:chat.bsky.convo.defs#reactionView";
9800
9837
  };
9838
+ readonly relatedProfiles: {
9839
+ readonly description: "Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.";
9840
+ readonly type: "array";
9841
+ readonly items: {
9842
+ readonly type: "ref";
9843
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9844
+ };
9845
+ };
9801
9846
  };
9802
9847
  };
9803
9848
  readonly logRemoveReaction: {
@@ -9819,6 +9864,14 @@ export declare const schemaDict: {
9819
9864
  readonly type: "ref";
9820
9865
  readonly ref: "lex:chat.bsky.convo.defs#reactionView";
9821
9866
  };
9867
+ readonly relatedProfiles: {
9868
+ readonly description: "Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.";
9869
+ readonly type: "array";
9870
+ readonly items: {
9871
+ readonly type: "ref";
9872
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9873
+ };
9874
+ };
9822
9875
  };
9823
9876
  };
9824
9877
  readonly logReadConvo: {
@@ -9841,7 +9894,7 @@ export declare const schemaDict: {
9841
9894
  readonly logAddMember: {
9842
9895
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).";
9843
9896
  readonly type: "object";
9844
- readonly required: ["rev", "convoId", "message"];
9897
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9845
9898
  readonly properties: {
9846
9899
  readonly rev: {
9847
9900
  readonly type: "string";
@@ -9850,15 +9903,24 @@ export declare const schemaDict: {
9850
9903
  readonly type: "string";
9851
9904
  };
9852
9905
  readonly message: {
9906
+ readonly description: "A system message with data of type #systemMessageDataAddMember";
9853
9907
  readonly type: "ref";
9854
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataAddMember";
9908
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
9909
+ };
9910
+ readonly relatedProfiles: {
9911
+ readonly description: "Profiles referred in the system message.";
9912
+ readonly type: "array";
9913
+ readonly items: {
9914
+ readonly type: "ref";
9915
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9916
+ };
9855
9917
  };
9856
9918
  };
9857
9919
  };
9858
9920
  readonly logRemoveMember: {
9859
9921
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message).";
9860
9922
  readonly type: "object";
9861
- readonly required: ["rev", "convoId", "message"];
9923
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9862
9924
  readonly properties: {
9863
9925
  readonly rev: {
9864
9926
  readonly type: "string";
@@ -9867,15 +9929,24 @@ export declare const schemaDict: {
9867
9929
  readonly type: "string";
9868
9930
  };
9869
9931
  readonly message: {
9932
+ readonly description: "A system message with data of type #systemMessageDataRemoveMember";
9870
9933
  readonly type: "ref";
9871
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataRemoveMember";
9934
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
9935
+ };
9936
+ readonly relatedProfiles: {
9937
+ readonly description: "Profiles referred in the system message.";
9938
+ readonly type: "array";
9939
+ readonly items: {
9940
+ readonly type: "ref";
9941
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9942
+ };
9872
9943
  };
9873
9944
  };
9874
9945
  };
9875
9946
  readonly logMemberJoin: {
9876
9947
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).";
9877
9948
  readonly type: "object";
9878
- readonly required: ["rev", "convoId", "message"];
9949
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9879
9950
  readonly properties: {
9880
9951
  readonly rev: {
9881
9952
  readonly type: "string";
@@ -9884,15 +9955,24 @@ export declare const schemaDict: {
9884
9955
  readonly type: "string";
9885
9956
  };
9886
9957
  readonly message: {
9958
+ readonly description: "A system message with data of type #systemMessageDataMemberJoin";
9887
9959
  readonly type: "ref";
9888
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataMemberJoin";
9960
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
9961
+ };
9962
+ readonly relatedProfiles: {
9963
+ readonly description: "Profiles referred in the system message.";
9964
+ readonly type: "array";
9965
+ readonly items: {
9966
+ readonly type: "ref";
9967
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9968
+ };
9889
9969
  };
9890
9970
  };
9891
9971
  };
9892
9972
  readonly logMemberLeave: {
9893
9973
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message).";
9894
9974
  readonly type: "object";
9895
- readonly required: ["rev", "convoId", "message"];
9975
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9896
9976
  readonly properties: {
9897
9977
  readonly rev: {
9898
9978
  readonly type: "string";
@@ -9901,15 +9981,24 @@ export declare const schemaDict: {
9901
9981
  readonly type: "string";
9902
9982
  };
9903
9983
  readonly message: {
9984
+ readonly description: "A system message with data of type #systemMessageDataMemberLeave";
9904
9985
  readonly type: "ref";
9905
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataMemberLeave";
9986
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
9987
+ };
9988
+ readonly relatedProfiles: {
9989
+ readonly description: "Profiles referred in the system message.";
9990
+ readonly type: "array";
9991
+ readonly items: {
9992
+ readonly type: "ref";
9993
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
9994
+ };
9906
9995
  };
9907
9996
  };
9908
9997
  };
9909
9998
  readonly logLockConvo: {
9910
9999
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.";
9911
10000
  readonly type: "object";
9912
- readonly required: ["rev", "convoId", "message"];
10001
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9913
10002
  readonly properties: {
9914
10003
  readonly rev: {
9915
10004
  readonly type: "string";
@@ -9918,15 +10007,24 @@ export declare const schemaDict: {
9918
10007
  readonly type: "string";
9919
10008
  };
9920
10009
  readonly message: {
10010
+ readonly description: "A system message with data of type #systemMessageDataLockConvo";
9921
10011
  readonly type: "ref";
9922
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataLockConvo";
10012
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
10013
+ };
10014
+ readonly relatedProfiles: {
10015
+ readonly description: "Profiles referred in the system message.";
10016
+ readonly type: "array";
10017
+ readonly items: {
10018
+ readonly type: "ref";
10019
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10020
+ };
9923
10021
  };
9924
10022
  };
9925
10023
  };
9926
10024
  readonly logUnlockConvo: {
9927
10025
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.";
9928
10026
  readonly type: "object";
9929
- readonly required: ["rev", "convoId", "message"];
10027
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9930
10028
  readonly properties: {
9931
10029
  readonly rev: {
9932
10030
  readonly type: "string";
@@ -9935,15 +10033,24 @@ export declare const schemaDict: {
9935
10033
  readonly type: "string";
9936
10034
  };
9937
10035
  readonly message: {
10036
+ readonly description: "A system message with data of type #systemMessageDataUnlockConvo";
9938
10037
  readonly type: "ref";
9939
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataUnlockConvo";
10038
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
10039
+ };
10040
+ readonly relatedProfiles: {
10041
+ readonly description: "Profiles referred in the system message.";
10042
+ readonly type: "array";
10043
+ readonly items: {
10044
+ readonly type: "ref";
10045
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10046
+ };
9940
10047
  };
9941
10048
  };
9942
10049
  };
9943
10050
  readonly logLockConvoPermanently: {
9944
10051
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently.";
9945
10052
  readonly type: "object";
9946
- readonly required: ["rev", "convoId", "message"];
10053
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
9947
10054
  readonly properties: {
9948
10055
  readonly rev: {
9949
10056
  readonly type: "string";
@@ -9952,8 +10059,17 @@ export declare const schemaDict: {
9952
10059
  readonly type: "string";
9953
10060
  };
9954
10061
  readonly message: {
10062
+ readonly description: "A system message with data of type #systemMessageDataLockConvoPermanently";
9955
10063
  readonly type: "ref";
9956
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataLockConvoPermanently";
10064
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
10065
+ };
10066
+ readonly relatedProfiles: {
10067
+ readonly description: "Profiles referred in the system message.";
10068
+ readonly type: "array";
10069
+ readonly items: {
10070
+ readonly type: "ref";
10071
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10072
+ };
9957
10073
  };
9958
10074
  };
9959
10075
  };
@@ -9969,8 +10085,9 @@ export declare const schemaDict: {
9969
10085
  readonly type: "string";
9970
10086
  };
9971
10087
  readonly message: {
10088
+ readonly description: "A system message with data of type #systemMessageDataEditGroup";
9972
10089
  readonly type: "ref";
9973
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataEditGroup";
10090
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
9974
10091
  };
9975
10092
  };
9976
10093
  };
@@ -9986,8 +10103,9 @@ export declare const schemaDict: {
9986
10103
  readonly type: "string";
9987
10104
  };
9988
10105
  readonly message: {
10106
+ readonly description: "A system message with data of type #systemMessageDataCreateJoinLink";
9989
10107
  readonly type: "ref";
9990
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataCreateJoinLink";
10108
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
9991
10109
  };
9992
10110
  };
9993
10111
  };
@@ -10003,8 +10121,9 @@ export declare const schemaDict: {
10003
10121
  readonly type: "string";
10004
10122
  };
10005
10123
  readonly message: {
10124
+ readonly description: "A system message with data of type #systemMessageDataEditJoinLink";
10006
10125
  readonly type: "ref";
10007
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataEditJoinLink";
10126
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
10008
10127
  };
10009
10128
  };
10010
10129
  };
@@ -10020,8 +10139,9 @@ export declare const schemaDict: {
10020
10139
  readonly type: "string";
10021
10140
  };
10022
10141
  readonly message: {
10142
+ readonly description: "A system message with data of type #systemMessageDataEnableJoinLink";
10023
10143
  readonly type: "ref";
10024
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataEnableJoinLink";
10144
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
10025
10145
  };
10026
10146
  };
10027
10147
  };
@@ -10037,8 +10157,9 @@ export declare const schemaDict: {
10037
10157
  readonly type: "string";
10038
10158
  };
10039
10159
  readonly message: {
10160
+ readonly description: "A system message with data of type #systemMessageDataDisableJoinLink";
10040
10161
  readonly type: "ref";
10041
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataDisableJoinLink";
10162
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
10042
10163
  };
10043
10164
  };
10044
10165
  };
@@ -10274,6 +10395,56 @@ export declare const schemaDict: {
10274
10395
  };
10275
10396
  };
10276
10397
  };
10398
+ readonly ChatBskyConvoGetConvoMembers: {
10399
+ readonly lexicon: 1;
10400
+ readonly id: "chat.bsky.convo.getConvoMembers";
10401
+ readonly defs: {
10402
+ readonly main: {
10403
+ readonly type: "query";
10404
+ readonly description: "Returns a paginated list of members from a conversation.";
10405
+ readonly errors: [{
10406
+ readonly name: "InvalidConvo";
10407
+ }];
10408
+ readonly parameters: {
10409
+ readonly type: "params";
10410
+ readonly required: ["convoId"];
10411
+ readonly properties: {
10412
+ readonly convoId: {
10413
+ readonly type: "string";
10414
+ };
10415
+ readonly limit: {
10416
+ readonly type: "integer";
10417
+ readonly minimum: 1;
10418
+ readonly maximum: 100;
10419
+ readonly default: 50;
10420
+ };
10421
+ readonly cursor: {
10422
+ readonly type: "string";
10423
+ };
10424
+ };
10425
+ };
10426
+ readonly output: {
10427
+ readonly encoding: "application/json";
10428
+ readonly schema: {
10429
+ readonly type: "object";
10430
+ readonly required: ["members"];
10431
+ readonly properties: {
10432
+ readonly cursor: {
10433
+ readonly type: "string";
10434
+ };
10435
+ readonly members: {
10436
+ readonly type: "array";
10437
+ readonly items: {
10438
+ readonly type: "ref";
10439
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10440
+ };
10441
+ };
10442
+ };
10443
+ };
10444
+ };
10445
+ };
10446
+ };
10447
+ };
10277
10448
  readonly ChatBskyConvoGetLog: {
10278
10449
  readonly lexicon: 1;
10279
10450
  readonly id: "chat.bsky.convo.getLog";
@@ -10355,6 +10526,14 @@ export declare const schemaDict: {
10355
10526
  readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView", "lex:chat.bsky.convo.defs#systemMessageView"];
10356
10527
  };
10357
10528
  };
10529
+ readonly relatedProfiles: {
10530
+ readonly description: "Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included.";
10531
+ readonly type: "array";
10532
+ readonly items: {
10533
+ readonly type: "ref";
10534
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
10535
+ };
10536
+ };
10358
10537
  };
10359
10538
  };
10360
10539
  };
@@ -10950,6 +11129,13 @@ export declare const schemaDict: {
10950
11129
  readonly type: "ref";
10951
11130
  readonly ref: "lex:chat.bsky.convo.defs#convoView";
10952
11131
  };
11132
+ readonly addedMembers: {
11133
+ readonly type: "array";
11134
+ readonly items: {
11135
+ readonly type: "ref";
11136
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
11137
+ };
11138
+ };
10953
11139
  };
10954
11140
  };
10955
11141
  };
@@ -17265,6 +17451,10 @@ export declare const schemaDict: {
17265
17451
  readonly type: "string";
17266
17452
  readonly description: "Additional comment about added/removed tags.";
17267
17453
  };
17454
+ readonly durationInHours: {
17455
+ readonly type: "integer";
17456
+ readonly description: "Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.";
17457
+ };
17268
17458
  };
17269
17459
  };
17270
17460
  readonly accountEvent: {
@@ -21003,6 +21193,10 @@ export declare const schemas: ({
21003
21193
  readonly type: "string";
21004
21194
  readonly knownValues: ["all", "none", "following"];
21005
21195
  };
21196
+ readonly allowGroupInvites: {
21197
+ readonly type: "string";
21198
+ readonly knownValues: ["all", "none", "following"];
21199
+ };
21006
21200
  };
21007
21201
  };
21008
21202
  readonly profileAssociatedGerm: {
@@ -29706,7 +29900,7 @@ export declare const schemas: ({
29706
29900
  readonly kind: {
29707
29901
  readonly description: "Union field that has data specific to different kinds of convos.";
29708
29902
  readonly type: "union";
29709
- readonly refs: ["lex:chat.bsky.actor.defs#directConvoMember", "lex:chat.bsky.actor.defs#groupConvoMember"];
29903
+ readonly refs: ["lex:chat.bsky.actor.defs#directConvoMember", "lex:chat.bsky.actor.defs#groupConvoMember", "lex:chat.bsky.actor.defs#pastGroupConvoMember"];
29710
29904
  };
29711
29905
  };
29712
29906
  };
@@ -29716,7 +29910,7 @@ export declare const schemas: ({
29716
29910
  readonly properties: {};
29717
29911
  };
29718
29912
  readonly groupConvoMember: {
29719
- readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
29913
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member.";
29720
29914
  readonly type: "object";
29721
29915
  readonly required: ["role"];
29722
29916
  readonly properties: {
@@ -29732,6 +29926,12 @@ export declare const schemas: ({
29732
29926
  };
29733
29927
  };
29734
29928
  };
29929
+ readonly pastGroupConvoMember: {
29930
+ readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member.";
29931
+ readonly type: "object";
29932
+ readonly required: [];
29933
+ readonly properties: {};
29934
+ };
29735
29935
  };
29736
29936
  } | {
29737
29937
  readonly lexicon: 1;
@@ -29954,6 +30154,16 @@ export declare const schemas: ({
29954
30154
  };
29955
30155
  };
29956
30156
  };
30157
+ readonly systemMessageReferredUser: {
30158
+ readonly type: "object";
30159
+ readonly required: ["did"];
30160
+ readonly properties: {
30161
+ readonly did: {
30162
+ readonly type: "string";
30163
+ readonly format: "did";
30164
+ };
30165
+ };
30166
+ };
29957
30167
  readonly systemMessageView: {
29958
30168
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
29959
30169
  readonly type: "object";
@@ -29983,7 +30193,7 @@ export declare const schemas: ({
29983
30193
  readonly member: {
29984
30194
  readonly description: "Current view of the member who was added.";
29985
30195
  readonly type: "ref";
29986
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30196
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
29987
30197
  };
29988
30198
  readonly role: {
29989
30199
  readonly description: "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.";
@@ -29992,7 +30202,7 @@ export declare const schemas: ({
29992
30202
  };
29993
30203
  readonly addedBy: {
29994
30204
  readonly type: "ref";
29995
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30205
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
29996
30206
  };
29997
30207
  };
29998
30208
  };
@@ -30004,11 +30214,11 @@ export declare const schemas: ({
30004
30214
  readonly member: {
30005
30215
  readonly description: "Current view of the member who was removed.";
30006
30216
  readonly type: "ref";
30007
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30217
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30008
30218
  };
30009
30219
  readonly removedBy: {
30010
30220
  readonly type: "ref";
30011
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30221
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30012
30222
  };
30013
30223
  };
30014
30224
  };
@@ -30020,7 +30230,7 @@ export declare const schemas: ({
30020
30230
  readonly member: {
30021
30231
  readonly description: "Current view of the member who joined.";
30022
30232
  readonly type: "ref";
30023
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30233
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30024
30234
  };
30025
30235
  readonly role: {
30026
30236
  readonly description: "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.";
@@ -30030,7 +30240,7 @@ export declare const schemas: ({
30030
30240
  readonly approvedBy: {
30031
30241
  readonly description: "If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.";
30032
30242
  readonly type: "ref";
30033
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30243
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30034
30244
  };
30035
30245
  };
30036
30246
  };
@@ -30042,7 +30252,7 @@ export declare const schemas: ({
30042
30252
  readonly member: {
30043
30253
  readonly description: "Current view of the member who left the group.";
30044
30254
  readonly type: "ref";
30045
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30255
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30046
30256
  };
30047
30257
  };
30048
30258
  };
@@ -30054,7 +30264,7 @@ export declare const schemas: ({
30054
30264
  readonly lockedBy: {
30055
30265
  readonly description: "Current view of the member who locked the group.";
30056
30266
  readonly type: "ref";
30057
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30267
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30058
30268
  };
30059
30269
  };
30060
30270
  };
@@ -30066,7 +30276,7 @@ export declare const schemas: ({
30066
30276
  readonly unlockedBy: {
30067
30277
  readonly description: "Current view of the member who unlocked the group.";
30068
30278
  readonly type: "ref";
30069
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30279
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30070
30280
  };
30071
30281
  };
30072
30282
  };
@@ -30078,7 +30288,7 @@ export declare const schemas: ({
30078
30288
  readonly lockedBy: {
30079
30289
  readonly description: "Current view of the member who locked the group.";
30080
30290
  readonly type: "ref";
30081
- readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30291
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageReferredUser";
30082
30292
  };
30083
30293
  };
30084
30294
  };
@@ -30198,6 +30408,7 @@ export declare const schemas: ({
30198
30408
  readonly type: "string";
30199
30409
  };
30200
30410
  readonly members: {
30411
+ readonly description: "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.";
30201
30412
  readonly type: "array";
30202
30413
  readonly items: {
30203
30414
  readonly type: "ref";
@@ -30238,7 +30449,7 @@ export declare const schemas: ({
30238
30449
  readonly groupConvo: {
30239
30450
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
30240
30451
  readonly type: "object";
30241
- readonly required: ["name", "lockStatus"];
30452
+ readonly required: ["name", "lockStatus", "memberCount", "createdAt"];
30242
30453
  readonly properties: {
30243
30454
  readonly name: {
30244
30455
  readonly type: "string";
@@ -30246,6 +30457,14 @@ export declare const schemas: ({
30246
30457
  readonly maxGraphemes: 128;
30247
30458
  readonly maxLength: 1280;
30248
30459
  };
30460
+ readonly memberCount: {
30461
+ readonly type: "integer";
30462
+ readonly description: "The total number of members in the group conversation.";
30463
+ };
30464
+ readonly createdAt: {
30465
+ readonly type: "string";
30466
+ readonly format: "datetime";
30467
+ };
30249
30468
  readonly joinLink: {
30250
30469
  readonly type: "ref";
30251
30470
  readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
@@ -30337,6 +30556,14 @@ export declare const schemas: ({
30337
30556
  readonly type: "union";
30338
30557
  readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView"];
30339
30558
  };
30559
+ readonly relatedProfiles: {
30560
+ readonly description: "Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present.";
30561
+ readonly type: "array";
30562
+ readonly items: {
30563
+ readonly type: "ref";
30564
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30565
+ };
30566
+ };
30340
30567
  };
30341
30568
  };
30342
30569
  readonly logDeleteMessage: {
@@ -30392,6 +30619,14 @@ export declare const schemas: ({
30392
30619
  readonly type: "ref";
30393
30620
  readonly ref: "lex:chat.bsky.convo.defs#reactionView";
30394
30621
  };
30622
+ readonly relatedProfiles: {
30623
+ readonly description: "Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.";
30624
+ readonly type: "array";
30625
+ readonly items: {
30626
+ readonly type: "ref";
30627
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30628
+ };
30629
+ };
30395
30630
  };
30396
30631
  };
30397
30632
  readonly logRemoveReaction: {
@@ -30413,6 +30648,14 @@ export declare const schemas: ({
30413
30648
  readonly type: "ref";
30414
30649
  readonly ref: "lex:chat.bsky.convo.defs#reactionView";
30415
30650
  };
30651
+ readonly relatedProfiles: {
30652
+ readonly description: "Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.";
30653
+ readonly type: "array";
30654
+ readonly items: {
30655
+ readonly type: "ref";
30656
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30657
+ };
30658
+ };
30416
30659
  };
30417
30660
  };
30418
30661
  readonly logReadConvo: {
@@ -30435,7 +30678,7 @@ export declare const schemas: ({
30435
30678
  readonly logAddMember: {
30436
30679
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).";
30437
30680
  readonly type: "object";
30438
- readonly required: ["rev", "convoId", "message"];
30681
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30439
30682
  readonly properties: {
30440
30683
  readonly rev: {
30441
30684
  readonly type: "string";
@@ -30444,15 +30687,24 @@ export declare const schemas: ({
30444
30687
  readonly type: "string";
30445
30688
  };
30446
30689
  readonly message: {
30690
+ readonly description: "A system message with data of type #systemMessageDataAddMember";
30447
30691
  readonly type: "ref";
30448
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataAddMember";
30692
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30693
+ };
30694
+ readonly relatedProfiles: {
30695
+ readonly description: "Profiles referred in the system message.";
30696
+ readonly type: "array";
30697
+ readonly items: {
30698
+ readonly type: "ref";
30699
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30700
+ };
30449
30701
  };
30450
30702
  };
30451
30703
  };
30452
30704
  readonly logRemoveMember: {
30453
30705
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message).";
30454
30706
  readonly type: "object";
30455
- readonly required: ["rev", "convoId", "message"];
30707
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30456
30708
  readonly properties: {
30457
30709
  readonly rev: {
30458
30710
  readonly type: "string";
@@ -30461,15 +30713,24 @@ export declare const schemas: ({
30461
30713
  readonly type: "string";
30462
30714
  };
30463
30715
  readonly message: {
30716
+ readonly description: "A system message with data of type #systemMessageDataRemoveMember";
30464
30717
  readonly type: "ref";
30465
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataRemoveMember";
30718
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30719
+ };
30720
+ readonly relatedProfiles: {
30721
+ readonly description: "Profiles referred in the system message.";
30722
+ readonly type: "array";
30723
+ readonly items: {
30724
+ readonly type: "ref";
30725
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30726
+ };
30466
30727
  };
30467
30728
  };
30468
30729
  };
30469
30730
  readonly logMemberJoin: {
30470
30731
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).";
30471
30732
  readonly type: "object";
30472
- readonly required: ["rev", "convoId", "message"];
30733
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30473
30734
  readonly properties: {
30474
30735
  readonly rev: {
30475
30736
  readonly type: "string";
@@ -30478,15 +30739,24 @@ export declare const schemas: ({
30478
30739
  readonly type: "string";
30479
30740
  };
30480
30741
  readonly message: {
30742
+ readonly description: "A system message with data of type #systemMessageDataMemberJoin";
30481
30743
  readonly type: "ref";
30482
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataMemberJoin";
30744
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30745
+ };
30746
+ readonly relatedProfiles: {
30747
+ readonly description: "Profiles referred in the system message.";
30748
+ readonly type: "array";
30749
+ readonly items: {
30750
+ readonly type: "ref";
30751
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30752
+ };
30483
30753
  };
30484
30754
  };
30485
30755
  };
30486
30756
  readonly logMemberLeave: {
30487
30757
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message).";
30488
30758
  readonly type: "object";
30489
- readonly required: ["rev", "convoId", "message"];
30759
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30490
30760
  readonly properties: {
30491
30761
  readonly rev: {
30492
30762
  readonly type: "string";
@@ -30495,15 +30765,24 @@ export declare const schemas: ({
30495
30765
  readonly type: "string";
30496
30766
  };
30497
30767
  readonly message: {
30768
+ readonly description: "A system message with data of type #systemMessageDataMemberLeave";
30498
30769
  readonly type: "ref";
30499
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataMemberLeave";
30770
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30771
+ };
30772
+ readonly relatedProfiles: {
30773
+ readonly description: "Profiles referred in the system message.";
30774
+ readonly type: "array";
30775
+ readonly items: {
30776
+ readonly type: "ref";
30777
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30778
+ };
30500
30779
  };
30501
30780
  };
30502
30781
  };
30503
30782
  readonly logLockConvo: {
30504
30783
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.";
30505
30784
  readonly type: "object";
30506
- readonly required: ["rev", "convoId", "message"];
30785
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30507
30786
  readonly properties: {
30508
30787
  readonly rev: {
30509
30788
  readonly type: "string";
@@ -30512,15 +30791,24 @@ export declare const schemas: ({
30512
30791
  readonly type: "string";
30513
30792
  };
30514
30793
  readonly message: {
30794
+ readonly description: "A system message with data of type #systemMessageDataLockConvo";
30515
30795
  readonly type: "ref";
30516
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataLockConvo";
30796
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30797
+ };
30798
+ readonly relatedProfiles: {
30799
+ readonly description: "Profiles referred in the system message.";
30800
+ readonly type: "array";
30801
+ readonly items: {
30802
+ readonly type: "ref";
30803
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30804
+ };
30517
30805
  };
30518
30806
  };
30519
30807
  };
30520
30808
  readonly logUnlockConvo: {
30521
30809
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.";
30522
30810
  readonly type: "object";
30523
- readonly required: ["rev", "convoId", "message"];
30811
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30524
30812
  readonly properties: {
30525
30813
  readonly rev: {
30526
30814
  readonly type: "string";
@@ -30529,15 +30817,24 @@ export declare const schemas: ({
30529
30817
  readonly type: "string";
30530
30818
  };
30531
30819
  readonly message: {
30820
+ readonly description: "A system message with data of type #systemMessageDataUnlockConvo";
30532
30821
  readonly type: "ref";
30533
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataUnlockConvo";
30822
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30823
+ };
30824
+ readonly relatedProfiles: {
30825
+ readonly description: "Profiles referred in the system message.";
30826
+ readonly type: "array";
30827
+ readonly items: {
30828
+ readonly type: "ref";
30829
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30830
+ };
30534
30831
  };
30535
30832
  };
30536
30833
  };
30537
30834
  readonly logLockConvoPermanently: {
30538
30835
  readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently.";
30539
30836
  readonly type: "object";
30540
- readonly required: ["rev", "convoId", "message"];
30837
+ readonly required: ["rev", "convoId", "message", "relatedProfiles"];
30541
30838
  readonly properties: {
30542
30839
  readonly rev: {
30543
30840
  readonly type: "string";
@@ -30546,8 +30843,17 @@ export declare const schemas: ({
30546
30843
  readonly type: "string";
30547
30844
  };
30548
30845
  readonly message: {
30846
+ readonly description: "A system message with data of type #systemMessageDataLockConvoPermanently";
30549
30847
  readonly type: "ref";
30550
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataLockConvoPermanently";
30848
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30849
+ };
30850
+ readonly relatedProfiles: {
30851
+ readonly description: "Profiles referred in the system message.";
30852
+ readonly type: "array";
30853
+ readonly items: {
30854
+ readonly type: "ref";
30855
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
30856
+ };
30551
30857
  };
30552
30858
  };
30553
30859
  };
@@ -30563,8 +30869,9 @@ export declare const schemas: ({
30563
30869
  readonly type: "string";
30564
30870
  };
30565
30871
  readonly message: {
30872
+ readonly description: "A system message with data of type #systemMessageDataEditGroup";
30566
30873
  readonly type: "ref";
30567
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataEditGroup";
30874
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30568
30875
  };
30569
30876
  };
30570
30877
  };
@@ -30580,8 +30887,9 @@ export declare const schemas: ({
30580
30887
  readonly type: "string";
30581
30888
  };
30582
30889
  readonly message: {
30890
+ readonly description: "A system message with data of type #systemMessageDataCreateJoinLink";
30583
30891
  readonly type: "ref";
30584
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataCreateJoinLink";
30892
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30585
30893
  };
30586
30894
  };
30587
30895
  };
@@ -30597,8 +30905,9 @@ export declare const schemas: ({
30597
30905
  readonly type: "string";
30598
30906
  };
30599
30907
  readonly message: {
30908
+ readonly description: "A system message with data of type #systemMessageDataEditJoinLink";
30600
30909
  readonly type: "ref";
30601
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataEditJoinLink";
30910
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30602
30911
  };
30603
30912
  };
30604
30913
  };
@@ -30614,8 +30923,9 @@ export declare const schemas: ({
30614
30923
  readonly type: "string";
30615
30924
  };
30616
30925
  readonly message: {
30926
+ readonly description: "A system message with data of type #systemMessageDataEnableJoinLink";
30617
30927
  readonly type: "ref";
30618
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataEnableJoinLink";
30928
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30619
30929
  };
30620
30930
  };
30621
30931
  };
@@ -30631,8 +30941,9 @@ export declare const schemas: ({
30631
30941
  readonly type: "string";
30632
30942
  };
30633
30943
  readonly message: {
30944
+ readonly description: "A system message with data of type #systemMessageDataDisableJoinLink";
30634
30945
  readonly type: "ref";
30635
- readonly ref: "lex:chat.bsky.convo.defs#systemMessageDataDisableJoinLink";
30946
+ readonly ref: "lex:chat.bsky.convo.defs#systemMessageView";
30636
30947
  };
30637
30948
  };
30638
30949
  };
@@ -30863,6 +31174,55 @@ export declare const schemas: ({
30863
31174
  };
30864
31175
  };
30865
31176
  };
31177
+ } | {
31178
+ readonly lexicon: 1;
31179
+ readonly id: "chat.bsky.convo.getConvoMembers";
31180
+ readonly defs: {
31181
+ readonly main: {
31182
+ readonly type: "query";
31183
+ readonly description: "Returns a paginated list of members from a conversation.";
31184
+ readonly errors: [{
31185
+ readonly name: "InvalidConvo";
31186
+ }];
31187
+ readonly parameters: {
31188
+ readonly type: "params";
31189
+ readonly required: ["convoId"];
31190
+ readonly properties: {
31191
+ readonly convoId: {
31192
+ readonly type: "string";
31193
+ };
31194
+ readonly limit: {
31195
+ readonly type: "integer";
31196
+ readonly minimum: 1;
31197
+ readonly maximum: 100;
31198
+ readonly default: 50;
31199
+ };
31200
+ readonly cursor: {
31201
+ readonly type: "string";
31202
+ };
31203
+ };
31204
+ };
31205
+ readonly output: {
31206
+ readonly encoding: "application/json";
31207
+ readonly schema: {
31208
+ readonly type: "object";
31209
+ readonly required: ["members"];
31210
+ readonly properties: {
31211
+ readonly cursor: {
31212
+ readonly type: "string";
31213
+ };
31214
+ readonly members: {
31215
+ readonly type: "array";
31216
+ readonly items: {
31217
+ readonly type: "ref";
31218
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
31219
+ };
31220
+ };
31221
+ };
31222
+ };
31223
+ };
31224
+ };
31225
+ };
30866
31226
  } | {
30867
31227
  readonly lexicon: 1;
30868
31228
  readonly id: "chat.bsky.convo.getLog";
@@ -30943,6 +31303,14 @@ export declare const schemas: ({
30943
31303
  readonly refs: ["lex:chat.bsky.convo.defs#messageView", "lex:chat.bsky.convo.defs#deletedMessageView", "lex:chat.bsky.convo.defs#systemMessageView"];
30944
31304
  };
30945
31305
  };
31306
+ readonly relatedProfiles: {
31307
+ readonly description: "Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included.";
31308
+ readonly type: "array";
31309
+ readonly items: {
31310
+ readonly type: "ref";
31311
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
31312
+ };
31313
+ };
30946
31314
  };
30947
31315
  };
30948
31316
  };
@@ -31525,6 +31893,13 @@ export declare const schemas: ({
31525
31893
  readonly type: "ref";
31526
31894
  readonly ref: "lex:chat.bsky.convo.defs#convoView";
31527
31895
  };
31896
+ readonly addedMembers: {
31897
+ readonly type: "array";
31898
+ readonly items: {
31899
+ readonly type: "ref";
31900
+ readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
31901
+ };
31902
+ };
31528
31903
  };
31529
31904
  };
31530
31905
  };
@@ -37720,6 +38095,10 @@ export declare const schemas: ({
37720
38095
  readonly type: "string";
37721
38096
  readonly description: "Additional comment about added/removed tags.";
37722
38097
  };
38098
+ readonly durationInHours: {
38099
+ readonly type: "integer";
38100
+ readonly description: "Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.";
38101
+ };
37723
38102
  };
37724
38103
  };
37725
38104
  readonly accountEvent: {
@@ -41320,6 +41699,7 @@ export declare const ids: {
41320
41699
  readonly ChatBskyConvoGetConvo: "chat.bsky.convo.getConvo";
41321
41700
  readonly ChatBskyConvoGetConvoAvailability: "chat.bsky.convo.getConvoAvailability";
41322
41701
  readonly ChatBskyConvoGetConvoForMembers: "chat.bsky.convo.getConvoForMembers";
41702
+ readonly ChatBskyConvoGetConvoMembers: "chat.bsky.convo.getConvoMembers";
41323
41703
  readonly ChatBskyConvoGetLog: "chat.bsky.convo.getLog";
41324
41704
  readonly ChatBskyConvoGetMessages: "chat.bsky.convo.getMessages";
41325
41705
  readonly ChatBskyConvoLeaveConvo: "chat.bsky.convo.leaveConvo";