@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
@@ -265,6 +265,10 @@ export const schemaDict = {
265
265
  type: 'string',
266
266
  knownValues: ['all', 'none', 'following'],
267
267
  },
268
+ allowGroupInvites: {
269
+ type: 'string',
270
+ knownValues: ['all', 'none', 'following'],
271
+ },
268
272
  },
269
273
  },
270
274
  profileAssociatedGerm: {
@@ -9735,6 +9739,7 @@ export const schemaDict = {
9735
9739
  refs: [
9736
9740
  'lex:chat.bsky.actor.defs#directConvoMember',
9737
9741
  'lex:chat.bsky.actor.defs#groupConvoMember',
9742
+ 'lex:chat.bsky.actor.defs#pastGroupConvoMember',
9738
9743
  ],
9739
9744
  },
9740
9745
  },
@@ -9747,7 +9752,7 @@ export const schemaDict = {
9747
9752
  },
9748
9753
  groupConvoMember: {
9749
9754
  description:
9750
- '[NOTE: This is under active development and should be considered unstable while this note is here].',
9755
+ '[NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member.',
9751
9756
  type: 'object',
9752
9757
  required: ['role'],
9753
9758
  properties: {
@@ -9765,6 +9770,13 @@ export const schemaDict = {
9765
9770
  },
9766
9771
  },
9767
9772
  },
9773
+ pastGroupConvoMember: {
9774
+ description:
9775
+ '[NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member.',
9776
+ type: 'object',
9777
+ required: [],
9778
+ properties: {},
9779
+ },
9768
9780
  },
9769
9781
  },
9770
9782
  ChatBskyActorDeleteAccount: {
@@ -10008,6 +10020,16 @@ export const schemaDict = {
10008
10020
  },
10009
10021
  },
10010
10022
  },
10023
+ systemMessageReferredUser: {
10024
+ type: 'object',
10025
+ required: ['did'],
10026
+ properties: {
10027
+ did: {
10028
+ type: 'string',
10029
+ format: 'did',
10030
+ },
10031
+ },
10032
+ },
10011
10033
  systemMessageView: {
10012
10034
  description:
10013
10035
  '[NOTE: This is under active development and should be considered unstable while this note is here].',
@@ -10052,7 +10074,7 @@ export const schemaDict = {
10052
10074
  member: {
10053
10075
  description: 'Current view of the member who was added.',
10054
10076
  type: 'ref',
10055
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10077
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10056
10078
  },
10057
10079
  role: {
10058
10080
  description:
@@ -10062,7 +10084,7 @@ export const schemaDict = {
10062
10084
  },
10063
10085
  addedBy: {
10064
10086
  type: 'ref',
10065
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10087
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10066
10088
  },
10067
10089
  },
10068
10090
  },
@@ -10075,11 +10097,11 @@ export const schemaDict = {
10075
10097
  member: {
10076
10098
  description: 'Current view of the member who was removed.',
10077
10099
  type: 'ref',
10078
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10100
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10079
10101
  },
10080
10102
  removedBy: {
10081
10103
  type: 'ref',
10082
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10104
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10083
10105
  },
10084
10106
  },
10085
10107
  },
@@ -10092,7 +10114,7 @@ export const schemaDict = {
10092
10114
  member: {
10093
10115
  description: 'Current view of the member who joined.',
10094
10116
  type: 'ref',
10095
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10117
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10096
10118
  },
10097
10119
  role: {
10098
10120
  description:
@@ -10104,7 +10126,7 @@ export const schemaDict = {
10104
10126
  description:
10105
10127
  'If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.',
10106
10128
  type: 'ref',
10107
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10129
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10108
10130
  },
10109
10131
  },
10110
10132
  },
@@ -10117,7 +10139,7 @@ export const schemaDict = {
10117
10139
  member: {
10118
10140
  description: 'Current view of the member who left the group.',
10119
10141
  type: 'ref',
10120
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10142
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10121
10143
  },
10122
10144
  },
10123
10145
  },
@@ -10130,7 +10152,7 @@ export const schemaDict = {
10130
10152
  lockedBy: {
10131
10153
  description: 'Current view of the member who locked the group.',
10132
10154
  type: 'ref',
10133
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10155
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10134
10156
  },
10135
10157
  },
10136
10158
  },
@@ -10143,7 +10165,7 @@ export const schemaDict = {
10143
10165
  unlockedBy: {
10144
10166
  description: 'Current view of the member who unlocked the group.',
10145
10167
  type: 'ref',
10146
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10168
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10147
10169
  },
10148
10170
  },
10149
10171
  },
@@ -10156,7 +10178,7 @@ export const schemaDict = {
10156
10178
  lockedBy: {
10157
10179
  description: 'Current view of the member who locked the group.',
10158
10180
  type: 'ref',
10159
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10181
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
10160
10182
  },
10161
10183
  },
10162
10184
  },
@@ -10281,6 +10303,8 @@ export const schemaDict = {
10281
10303
  type: 'string',
10282
10304
  },
10283
10305
  members: {
10306
+ description:
10307
+ '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.',
10284
10308
  type: 'array',
10285
10309
  items: {
10286
10310
  type: 'ref',
@@ -10332,7 +10356,7 @@ export const schemaDict = {
10332
10356
  description:
10333
10357
  '[NOTE: This is under active development and should be considered unstable while this note is here].',
10334
10358
  type: 'object',
10335
- required: ['name', 'lockStatus'],
10359
+ required: ['name', 'lockStatus', 'memberCount', 'createdAt'],
10336
10360
  properties: {
10337
10361
  name: {
10338
10362
  type: 'string',
@@ -10340,6 +10364,15 @@ export const schemaDict = {
10340
10364
  maxGraphemes: 128,
10341
10365
  maxLength: 1280,
10342
10366
  },
10367
+ memberCount: {
10368
+ type: 'integer',
10369
+ description:
10370
+ 'The total number of members in the group conversation.',
10371
+ },
10372
+ createdAt: {
10373
+ type: 'string',
10374
+ format: 'datetime',
10375
+ },
10343
10376
  joinLink: {
10344
10377
  type: 'ref',
10345
10378
  ref: 'lex:chat.bsky.group.defs#joinLinkView',
@@ -10440,6 +10473,15 @@ export const schemaDict = {
10440
10473
  'lex:chat.bsky.convo.defs#deletedMessageView',
10441
10474
  ],
10442
10475
  },
10476
+ relatedProfiles: {
10477
+ description:
10478
+ "Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present.",
10479
+ type: 'array',
10480
+ items: {
10481
+ type: 'ref',
10482
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10483
+ },
10484
+ },
10443
10485
  },
10444
10486
  },
10445
10487
  logDeleteMessage: {
@@ -10507,6 +10549,15 @@ export const schemaDict = {
10507
10549
  type: 'ref',
10508
10550
  ref: 'lex:chat.bsky.convo.defs#reactionView',
10509
10551
  },
10552
+ relatedProfiles: {
10553
+ description:
10554
+ "Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.",
10555
+ type: 'array',
10556
+ items: {
10557
+ type: 'ref',
10558
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10559
+ },
10560
+ },
10510
10561
  },
10511
10562
  },
10512
10563
  logRemoveReaction: {
@@ -10531,6 +10582,15 @@ export const schemaDict = {
10531
10582
  type: 'ref',
10532
10583
  ref: 'lex:chat.bsky.convo.defs#reactionView',
10533
10584
  },
10585
+ relatedProfiles: {
10586
+ description:
10587
+ "Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.",
10588
+ type: 'array',
10589
+ items: {
10590
+ type: 'ref',
10591
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10592
+ },
10593
+ },
10534
10594
  },
10535
10595
  },
10536
10596
  logReadConvo: {
@@ -10559,7 +10619,7 @@ export const schemaDict = {
10559
10619
  description:
10560
10620
  '[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).',
10561
10621
  type: 'object',
10562
- required: ['rev', 'convoId', 'message'],
10622
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10563
10623
  properties: {
10564
10624
  rev: {
10565
10625
  type: 'string',
@@ -10568,8 +10628,18 @@ export const schemaDict = {
10568
10628
  type: 'string',
10569
10629
  },
10570
10630
  message: {
10631
+ description:
10632
+ 'A system message with data of type #systemMessageDataAddMember',
10571
10633
  type: 'ref',
10572
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataAddMember',
10634
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10635
+ },
10636
+ relatedProfiles: {
10637
+ description: 'Profiles referred in the system message.',
10638
+ type: 'array',
10639
+ items: {
10640
+ type: 'ref',
10641
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10642
+ },
10573
10643
  },
10574
10644
  },
10575
10645
  },
@@ -10577,7 +10647,7 @@ export const schemaDict = {
10577
10647
  description:
10578
10648
  "[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).",
10579
10649
  type: 'object',
10580
- required: ['rev', 'convoId', 'message'],
10650
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10581
10651
  properties: {
10582
10652
  rev: {
10583
10653
  type: 'string',
@@ -10586,8 +10656,18 @@ export const schemaDict = {
10586
10656
  type: 'string',
10587
10657
  },
10588
10658
  message: {
10659
+ description:
10660
+ 'A system message with data of type #systemMessageDataRemoveMember',
10589
10661
  type: 'ref',
10590
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataRemoveMember',
10662
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10663
+ },
10664
+ relatedProfiles: {
10665
+ description: 'Profiles referred in the system message.',
10666
+ type: 'array',
10667
+ items: {
10668
+ type: 'ref',
10669
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10670
+ },
10591
10671
  },
10592
10672
  },
10593
10673
  },
@@ -10595,7 +10675,7 @@ export const schemaDict = {
10595
10675
  description:
10596
10676
  '[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).',
10597
10677
  type: 'object',
10598
- required: ['rev', 'convoId', 'message'],
10678
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10599
10679
  properties: {
10600
10680
  rev: {
10601
10681
  type: 'string',
@@ -10604,8 +10684,18 @@ export const schemaDict = {
10604
10684
  type: 'string',
10605
10685
  },
10606
10686
  message: {
10687
+ description:
10688
+ 'A system message with data of type #systemMessageDataMemberJoin',
10607
10689
  type: 'ref',
10608
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberJoin',
10690
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10691
+ },
10692
+ relatedProfiles: {
10693
+ description: 'Profiles referred in the system message.',
10694
+ type: 'array',
10695
+ items: {
10696
+ type: 'ref',
10697
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10698
+ },
10609
10699
  },
10610
10700
  },
10611
10701
  },
@@ -10613,7 +10703,7 @@ export const schemaDict = {
10613
10703
  description:
10614
10704
  "[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).",
10615
10705
  type: 'object',
10616
- required: ['rev', 'convoId', 'message'],
10706
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10617
10707
  properties: {
10618
10708
  rev: {
10619
10709
  type: 'string',
@@ -10622,8 +10712,18 @@ export const schemaDict = {
10622
10712
  type: 'string',
10623
10713
  },
10624
10714
  message: {
10715
+ description:
10716
+ 'A system message with data of type #systemMessageDataMemberLeave',
10625
10717
  type: 'ref',
10626
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberLeave',
10718
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10719
+ },
10720
+ relatedProfiles: {
10721
+ description: 'Profiles referred in the system message.',
10722
+ type: 'array',
10723
+ items: {
10724
+ type: 'ref',
10725
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10726
+ },
10627
10727
  },
10628
10728
  },
10629
10729
  },
@@ -10631,7 +10731,7 @@ export const schemaDict = {
10631
10731
  description:
10632
10732
  '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.',
10633
10733
  type: 'object',
10634
- required: ['rev', 'convoId', 'message'],
10734
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10635
10735
  properties: {
10636
10736
  rev: {
10637
10737
  type: 'string',
@@ -10640,8 +10740,18 @@ export const schemaDict = {
10640
10740
  type: 'string',
10641
10741
  },
10642
10742
  message: {
10743
+ description:
10744
+ 'A system message with data of type #systemMessageDataLockConvo',
10643
10745
  type: 'ref',
10644
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvo',
10746
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10747
+ },
10748
+ relatedProfiles: {
10749
+ description: 'Profiles referred in the system message.',
10750
+ type: 'array',
10751
+ items: {
10752
+ type: 'ref',
10753
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10754
+ },
10645
10755
  },
10646
10756
  },
10647
10757
  },
@@ -10649,7 +10759,7 @@ export const schemaDict = {
10649
10759
  description:
10650
10760
  '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.',
10651
10761
  type: 'object',
10652
- required: ['rev', 'convoId', 'message'],
10762
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10653
10763
  properties: {
10654
10764
  rev: {
10655
10765
  type: 'string',
@@ -10658,8 +10768,18 @@ export const schemaDict = {
10658
10768
  type: 'string',
10659
10769
  },
10660
10770
  message: {
10771
+ description:
10772
+ 'A system message with data of type #systemMessageDataUnlockConvo',
10661
10773
  type: 'ref',
10662
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataUnlockConvo',
10774
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10775
+ },
10776
+ relatedProfiles: {
10777
+ description: 'Profiles referred in the system message.',
10778
+ type: 'array',
10779
+ items: {
10780
+ type: 'ref',
10781
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10782
+ },
10663
10783
  },
10664
10784
  },
10665
10785
  },
@@ -10667,7 +10787,7 @@ export const schemaDict = {
10667
10787
  description:
10668
10788
  '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently.',
10669
10789
  type: 'object',
10670
- required: ['rev', 'convoId', 'message'],
10790
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10671
10791
  properties: {
10672
10792
  rev: {
10673
10793
  type: 'string',
@@ -10676,8 +10796,18 @@ export const schemaDict = {
10676
10796
  type: 'string',
10677
10797
  },
10678
10798
  message: {
10799
+ description:
10800
+ 'A system message with data of type #systemMessageDataLockConvoPermanently',
10679
10801
  type: 'ref',
10680
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvoPermanently',
10802
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10803
+ },
10804
+ relatedProfiles: {
10805
+ description: 'Profiles referred in the system message.',
10806
+ type: 'array',
10807
+ items: {
10808
+ type: 'ref',
10809
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10810
+ },
10681
10811
  },
10682
10812
  },
10683
10813
  },
@@ -10694,8 +10824,10 @@ export const schemaDict = {
10694
10824
  type: 'string',
10695
10825
  },
10696
10826
  message: {
10827
+ description:
10828
+ 'A system message with data of type #systemMessageDataEditGroup',
10697
10829
  type: 'ref',
10698
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditGroup',
10830
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10699
10831
  },
10700
10832
  },
10701
10833
  },
@@ -10712,8 +10844,10 @@ export const schemaDict = {
10712
10844
  type: 'string',
10713
10845
  },
10714
10846
  message: {
10847
+ description:
10848
+ 'A system message with data of type #systemMessageDataCreateJoinLink',
10715
10849
  type: 'ref',
10716
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataCreateJoinLink',
10850
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10717
10851
  },
10718
10852
  },
10719
10853
  },
@@ -10730,8 +10864,10 @@ export const schemaDict = {
10730
10864
  type: 'string',
10731
10865
  },
10732
10866
  message: {
10867
+ description:
10868
+ 'A system message with data of type #systemMessageDataEditJoinLink',
10733
10869
  type: 'ref',
10734
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditJoinLink',
10870
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10735
10871
  },
10736
10872
  },
10737
10873
  },
@@ -10748,8 +10884,10 @@ export const schemaDict = {
10748
10884
  type: 'string',
10749
10885
  },
10750
10886
  message: {
10887
+ description:
10888
+ 'A system message with data of type #systemMessageDataEnableJoinLink',
10751
10889
  type: 'ref',
10752
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEnableJoinLink',
10890
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10753
10891
  },
10754
10892
  },
10755
10893
  },
@@ -10766,8 +10904,10 @@ export const schemaDict = {
10766
10904
  type: 'string',
10767
10905
  },
10768
10906
  message: {
10907
+ description:
10908
+ 'A system message with data of type #systemMessageDataDisableJoinLink',
10769
10909
  type: 'ref',
10770
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataDisableJoinLink',
10910
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10771
10911
  },
10772
10912
  },
10773
10913
  },
@@ -11022,6 +11162,58 @@ export const schemaDict = {
11022
11162
  },
11023
11163
  },
11024
11164
  },
11165
+ ChatBskyConvoGetConvoMembers: {
11166
+ lexicon: 1,
11167
+ id: 'chat.bsky.convo.getConvoMembers',
11168
+ defs: {
11169
+ main: {
11170
+ type: 'query',
11171
+ description: 'Returns a paginated list of members from a conversation.',
11172
+ errors: [
11173
+ {
11174
+ name: 'InvalidConvo',
11175
+ },
11176
+ ],
11177
+ parameters: {
11178
+ type: 'params',
11179
+ required: ['convoId'],
11180
+ properties: {
11181
+ convoId: {
11182
+ type: 'string',
11183
+ },
11184
+ limit: {
11185
+ type: 'integer',
11186
+ minimum: 1,
11187
+ maximum: 100,
11188
+ default: 50,
11189
+ },
11190
+ cursor: {
11191
+ type: 'string',
11192
+ },
11193
+ },
11194
+ },
11195
+ output: {
11196
+ encoding: 'application/json',
11197
+ schema: {
11198
+ type: 'object',
11199
+ required: ['members'],
11200
+ properties: {
11201
+ cursor: {
11202
+ type: 'string',
11203
+ },
11204
+ members: {
11205
+ type: 'array',
11206
+ items: {
11207
+ type: 'ref',
11208
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11209
+ },
11210
+ },
11211
+ },
11212
+ },
11213
+ },
11214
+ },
11215
+ },
11216
+ },
11025
11217
  ChatBskyConvoGetLog: {
11026
11218
  lexicon: 1,
11027
11219
  id: 'chat.bsky.convo.getLog',
@@ -11137,6 +11329,15 @@ export const schemaDict = {
11137
11329
  ],
11138
11330
  },
11139
11331
  },
11332
+ relatedProfiles: {
11333
+ description:
11334
+ 'Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included.',
11335
+ type: 'array',
11336
+ items: {
11337
+ type: 'ref',
11338
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11339
+ },
11340
+ },
11140
11341
  },
11141
11342
  },
11142
11343
  },
@@ -11788,6 +11989,13 @@ export const schemaDict = {
11788
11989
  type: 'ref',
11789
11990
  ref: 'lex:chat.bsky.convo.defs#convoView',
11790
11991
  },
11992
+ addedMembers: {
11993
+ type: 'array',
11994
+ items: {
11995
+ type: 'ref',
11996
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11997
+ },
11998
+ },
11791
11999
  },
11792
12000
  },
11793
12001
  },
@@ -18826,6 +19034,11 @@ export const schemaDict = {
18826
19034
  type: 'string',
18827
19035
  description: 'Additional comment about added/removed tags.',
18828
19036
  },
19037
+ durationInHours: {
19038
+ type: 'integer',
19039
+ description:
19040
+ 'Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.',
19041
+ },
18829
19042
  },
18830
19043
  },
18831
19044
  accountEvent: {
@@ -22913,6 +23126,7 @@ export const ids = {
22913
23126
  ChatBskyConvoGetConvo: 'chat.bsky.convo.getConvo',
22914
23127
  ChatBskyConvoGetConvoAvailability: 'chat.bsky.convo.getConvoAvailability',
22915
23128
  ChatBskyConvoGetConvoForMembers: 'chat.bsky.convo.getConvoForMembers',
23129
+ ChatBskyConvoGetConvoMembers: 'chat.bsky.convo.getConvoMembers',
22916
23130
  ChatBskyConvoGetLog: 'chat.bsky.convo.getLog',
22917
23131
  ChatBskyConvoGetMessages: 'chat.bsky.convo.getMessages',
22918
23132
  ChatBskyConvoLeaveConvo: 'chat.bsky.convo.leaveConvo',
@@ -137,6 +137,7 @@ export function validateProfileAssociated<V>(v: V) {
137
137
  export interface ProfileAssociatedChat {
138
138
  $type?: 'app.bsky.actor.defs#profileAssociatedChat'
139
139
  allowIncoming: 'all' | 'none' | 'following' | (string & {})
140
+ allowGroupInvites?: 'all' | 'none' | 'following' | (string & {})
140
141
  }
141
142
 
142
143
  const hashProfileAssociatedChat = 'profileAssociatedChat'
@@ -34,6 +34,7 @@ export interface ProfileViewBasic {
34
34
  kind?:
35
35
  | $Typed<DirectConvoMember>
36
36
  | $Typed<GroupConvoMember>
37
+ | $Typed<PastGroupConvoMember>
37
38
  | { $type: string }
38
39
  }
39
40
 
@@ -62,7 +63,7 @@ export function validateDirectConvoMember<V>(v: V) {
62
63
  return validate<DirectConvoMember & V>(v, id, hashDirectConvoMember)
63
64
  }
64
65
 
65
- /** [NOTE: This is under active development and should be considered unstable while this note is here]. */
66
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member. */
66
67
  export interface GroupConvoMember {
67
68
  $type?: 'chat.bsky.actor.defs#groupConvoMember'
68
69
  addedBy?: ProfileViewBasic
@@ -78,3 +79,18 @@ export function isGroupConvoMember<V>(v: V) {
78
79
  export function validateGroupConvoMember<V>(v: V) {
79
80
  return validate<GroupConvoMember & V>(v, id, hashGroupConvoMember)
80
81
  }
82
+
83
+ /** [NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member. */
84
+ export interface PastGroupConvoMember {
85
+ $type?: 'chat.bsky.actor.defs#pastGroupConvoMember'
86
+ }
87
+
88
+ const hashPastGroupConvoMember = 'pastGroupConvoMember'
89
+
90
+ export function isPastGroupConvoMember<V>(v: V) {
91
+ return is$typed(v, id, hashPastGroupConvoMember)
92
+ }
93
+
94
+ export function validatePastGroupConvoMember<V>(v: V) {
95
+ return validate<PastGroupConvoMember & V>(v, id, hashPastGroupConvoMember)
96
+ }