@atproto/api 0.19.9 → 0.19.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +15 -6
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +380 -64
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +193 -31
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +1 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  13. package/dist/client/types/chat/bsky/actor/defs.d.ts +8 -2
  14. package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
  15. package/dist/client/types/chat/bsky/actor/defs.js +9 -0
  16. package/dist/client/types/chat/bsky/actor/defs.js.map +1 -1
  17. package/dist/client/types/chat/bsky/convo/defs.d.ts +45 -22
  18. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  19. package/dist/client/types/chat/bsky/convo/defs.js +9 -0
  20. package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
  21. package/dist/client/types/chat/bsky/convo/getConvoMembers.d.ts +29 -0
  22. package/dist/client/types/chat/bsky/convo/getConvoMembers.d.ts.map +1 -0
  23. package/dist/client/types/chat/bsky/convo/getConvoMembers.js +26 -0
  24. package/dist/client/types/chat/bsky/convo/getConvoMembers.js.map +1 -0
  25. package/dist/client/types/chat/bsky/convo/getMessages.d.ts +3 -0
  26. package/dist/client/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
  27. package/dist/client/types/chat/bsky/convo/getMessages.js.map +1 -1
  28. package/dist/client/types/chat/bsky/group/addMembers.d.ts +2 -0
  29. package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  30. package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
  31. package/package.json +3 -3
  32. package/src/client/index.ts +13 -0
  33. package/src/client/lexicons.ts +209 -31
  34. package/src/client/types/app/bsky/actor/defs.ts +1 -0
  35. package/src/client/types/chat/bsky/actor/defs.ts +17 -1
  36. package/src/client/types/chat/bsky/convo/defs.ts +58 -22
  37. package/src/client/types/chat/bsky/convo/getConvoMembers.ts +54 -0
  38. package/src/client/types/chat/bsky/convo/getMessages.ts +3 -0
  39. package/src/client/types/chat/bsky/group/addMembers.ts +2 -0
  40. 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'],
10336
10360
  properties: {
10337
10361
  name: {
10338
10362
  type: 'string',
@@ -10340,6 +10364,11 @@ 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
+ },
10343
10372
  joinLink: {
10344
10373
  type: 'ref',
10345
10374
  ref: 'lex:chat.bsky.group.defs#joinLinkView',
@@ -10559,7 +10588,7 @@ export const schemaDict = {
10559
10588
  description:
10560
10589
  '[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
10590
  type: 'object',
10562
- required: ['rev', 'convoId', 'message'],
10591
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10563
10592
  properties: {
10564
10593
  rev: {
10565
10594
  type: 'string',
@@ -10568,8 +10597,18 @@ export const schemaDict = {
10568
10597
  type: 'string',
10569
10598
  },
10570
10599
  message: {
10600
+ description:
10601
+ 'A system message with data of type #systemMessageDataAddMember',
10571
10602
  type: 'ref',
10572
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataAddMember',
10603
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10604
+ },
10605
+ relatedProfiles: {
10606
+ description: 'Profiles referred in the system message.',
10607
+ type: 'array',
10608
+ items: {
10609
+ type: 'ref',
10610
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10611
+ },
10573
10612
  },
10574
10613
  },
10575
10614
  },
@@ -10577,7 +10616,7 @@ export const schemaDict = {
10577
10616
  description:
10578
10617
  "[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
10618
  type: 'object',
10580
- required: ['rev', 'convoId', 'message'],
10619
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10581
10620
  properties: {
10582
10621
  rev: {
10583
10622
  type: 'string',
@@ -10586,8 +10625,18 @@ export const schemaDict = {
10586
10625
  type: 'string',
10587
10626
  },
10588
10627
  message: {
10628
+ description:
10629
+ 'A system message with data of type #systemMessageDataRemoveMember',
10589
10630
  type: 'ref',
10590
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataRemoveMember',
10631
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10632
+ },
10633
+ relatedProfiles: {
10634
+ description: 'Profiles referred in the system message.',
10635
+ type: 'array',
10636
+ items: {
10637
+ type: 'ref',
10638
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10639
+ },
10591
10640
  },
10592
10641
  },
10593
10642
  },
@@ -10595,7 +10644,7 @@ export const schemaDict = {
10595
10644
  description:
10596
10645
  '[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
10646
  type: 'object',
10598
- required: ['rev', 'convoId', 'message'],
10647
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10599
10648
  properties: {
10600
10649
  rev: {
10601
10650
  type: 'string',
@@ -10604,8 +10653,18 @@ export const schemaDict = {
10604
10653
  type: 'string',
10605
10654
  },
10606
10655
  message: {
10656
+ description:
10657
+ 'A system message with data of type #systemMessageDataMemberJoin',
10607
10658
  type: 'ref',
10608
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberJoin',
10659
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10660
+ },
10661
+ relatedProfiles: {
10662
+ description: 'Profiles referred in the system message.',
10663
+ type: 'array',
10664
+ items: {
10665
+ type: 'ref',
10666
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10667
+ },
10609
10668
  },
10610
10669
  },
10611
10670
  },
@@ -10613,7 +10672,7 @@ export const schemaDict = {
10613
10672
  description:
10614
10673
  "[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
10674
  type: 'object',
10616
- required: ['rev', 'convoId', 'message'],
10675
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10617
10676
  properties: {
10618
10677
  rev: {
10619
10678
  type: 'string',
@@ -10622,8 +10681,18 @@ export const schemaDict = {
10622
10681
  type: 'string',
10623
10682
  },
10624
10683
  message: {
10684
+ description:
10685
+ 'A system message with data of type #systemMessageDataMemberLeave',
10625
10686
  type: 'ref',
10626
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberLeave',
10687
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10688
+ },
10689
+ relatedProfiles: {
10690
+ description: 'Profiles referred in the system message.',
10691
+ type: 'array',
10692
+ items: {
10693
+ type: 'ref',
10694
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10695
+ },
10627
10696
  },
10628
10697
  },
10629
10698
  },
@@ -10631,7 +10700,7 @@ export const schemaDict = {
10631
10700
  description:
10632
10701
  '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.',
10633
10702
  type: 'object',
10634
- required: ['rev', 'convoId', 'message'],
10703
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10635
10704
  properties: {
10636
10705
  rev: {
10637
10706
  type: 'string',
@@ -10640,8 +10709,18 @@ export const schemaDict = {
10640
10709
  type: 'string',
10641
10710
  },
10642
10711
  message: {
10712
+ description:
10713
+ 'A system message with data of type #systemMessageDataLockConvo',
10643
10714
  type: 'ref',
10644
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvo',
10715
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10716
+ },
10717
+ relatedProfiles: {
10718
+ description: 'Profiles referred in the system message.',
10719
+ type: 'array',
10720
+ items: {
10721
+ type: 'ref',
10722
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10723
+ },
10645
10724
  },
10646
10725
  },
10647
10726
  },
@@ -10649,7 +10728,7 @@ export const schemaDict = {
10649
10728
  description:
10650
10729
  '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.',
10651
10730
  type: 'object',
10652
- required: ['rev', 'convoId', 'message'],
10731
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10653
10732
  properties: {
10654
10733
  rev: {
10655
10734
  type: 'string',
@@ -10658,8 +10737,18 @@ export const schemaDict = {
10658
10737
  type: 'string',
10659
10738
  },
10660
10739
  message: {
10740
+ description:
10741
+ 'A system message with data of type #systemMessageDataUnlockConvo',
10661
10742
  type: 'ref',
10662
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataUnlockConvo',
10743
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10744
+ },
10745
+ relatedProfiles: {
10746
+ description: 'Profiles referred in the system message.',
10747
+ type: 'array',
10748
+ items: {
10749
+ type: 'ref',
10750
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10751
+ },
10663
10752
  },
10664
10753
  },
10665
10754
  },
@@ -10667,7 +10756,7 @@ export const schemaDict = {
10667
10756
  description:
10668
10757
  '[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
10758
  type: 'object',
10670
- required: ['rev', 'convoId', 'message'],
10759
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10671
10760
  properties: {
10672
10761
  rev: {
10673
10762
  type: 'string',
@@ -10676,8 +10765,18 @@ export const schemaDict = {
10676
10765
  type: 'string',
10677
10766
  },
10678
10767
  message: {
10768
+ description:
10769
+ 'A system message with data of type #systemMessageDataLockConvoPermanently',
10679
10770
  type: 'ref',
10680
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvoPermanently',
10771
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10772
+ },
10773
+ relatedProfiles: {
10774
+ description: 'Profiles referred in the system message.',
10775
+ type: 'array',
10776
+ items: {
10777
+ type: 'ref',
10778
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10779
+ },
10681
10780
  },
10682
10781
  },
10683
10782
  },
@@ -10694,8 +10793,10 @@ export const schemaDict = {
10694
10793
  type: 'string',
10695
10794
  },
10696
10795
  message: {
10796
+ description:
10797
+ 'A system message with data of type #systemMessageDataEditGroup',
10697
10798
  type: 'ref',
10698
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditGroup',
10799
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10699
10800
  },
10700
10801
  },
10701
10802
  },
@@ -10712,8 +10813,10 @@ export const schemaDict = {
10712
10813
  type: 'string',
10713
10814
  },
10714
10815
  message: {
10816
+ description:
10817
+ 'A system message with data of type #systemMessageDataCreateJoinLink',
10715
10818
  type: 'ref',
10716
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataCreateJoinLink',
10819
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10717
10820
  },
10718
10821
  },
10719
10822
  },
@@ -10730,8 +10833,10 @@ export const schemaDict = {
10730
10833
  type: 'string',
10731
10834
  },
10732
10835
  message: {
10836
+ description:
10837
+ 'A system message with data of type #systemMessageDataEditJoinLink',
10733
10838
  type: 'ref',
10734
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditJoinLink',
10839
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10735
10840
  },
10736
10841
  },
10737
10842
  },
@@ -10748,8 +10853,10 @@ export const schemaDict = {
10748
10853
  type: 'string',
10749
10854
  },
10750
10855
  message: {
10856
+ description:
10857
+ 'A system message with data of type #systemMessageDataEnableJoinLink',
10751
10858
  type: 'ref',
10752
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEnableJoinLink',
10859
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10753
10860
  },
10754
10861
  },
10755
10862
  },
@@ -10766,8 +10873,10 @@ export const schemaDict = {
10766
10873
  type: 'string',
10767
10874
  },
10768
10875
  message: {
10876
+ description:
10877
+ 'A system message with data of type #systemMessageDataDisableJoinLink',
10769
10878
  type: 'ref',
10770
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataDisableJoinLink',
10879
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10771
10880
  },
10772
10881
  },
10773
10882
  },
@@ -11022,6 +11131,58 @@ export const schemaDict = {
11022
11131
  },
11023
11132
  },
11024
11133
  },
11134
+ ChatBskyConvoGetConvoMembers: {
11135
+ lexicon: 1,
11136
+ id: 'chat.bsky.convo.getConvoMembers',
11137
+ defs: {
11138
+ main: {
11139
+ type: 'query',
11140
+ description: 'Returns a paginated list of members from a conversation.',
11141
+ errors: [
11142
+ {
11143
+ name: 'InvalidConvo',
11144
+ },
11145
+ ],
11146
+ parameters: {
11147
+ type: 'params',
11148
+ required: ['convoId'],
11149
+ properties: {
11150
+ convoId: {
11151
+ type: 'string',
11152
+ },
11153
+ limit: {
11154
+ type: 'integer',
11155
+ minimum: 1,
11156
+ maximum: 100,
11157
+ default: 50,
11158
+ },
11159
+ cursor: {
11160
+ type: 'string',
11161
+ },
11162
+ },
11163
+ },
11164
+ output: {
11165
+ encoding: 'application/json',
11166
+ schema: {
11167
+ type: 'object',
11168
+ required: ['members'],
11169
+ properties: {
11170
+ cursor: {
11171
+ type: 'string',
11172
+ },
11173
+ members: {
11174
+ type: 'array',
11175
+ items: {
11176
+ type: 'ref',
11177
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11178
+ },
11179
+ },
11180
+ },
11181
+ },
11182
+ },
11183
+ },
11184
+ },
11185
+ },
11025
11186
  ChatBskyConvoGetLog: {
11026
11187
  lexicon: 1,
11027
11188
  id: 'chat.bsky.convo.getLog',
@@ -11137,6 +11298,15 @@ export const schemaDict = {
11137
11298
  ],
11138
11299
  },
11139
11300
  },
11301
+ relatedProfiles: {
11302
+ description:
11303
+ 'Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included.',
11304
+ type: 'array',
11305
+ items: {
11306
+ type: 'ref',
11307
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11308
+ },
11309
+ },
11140
11310
  },
11141
11311
  },
11142
11312
  },
@@ -11788,6 +11958,13 @@ export const schemaDict = {
11788
11958
  type: 'ref',
11789
11959
  ref: 'lex:chat.bsky.convo.defs#convoView',
11790
11960
  },
11961
+ addedMembers: {
11962
+ type: 'array',
11963
+ items: {
11964
+ type: 'ref',
11965
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11966
+ },
11967
+ },
11791
11968
  },
11792
11969
  },
11793
11970
  },
@@ -22982,6 +23159,7 @@ export const ids = {
22982
23159
  ChatBskyConvoGetConvo: 'chat.bsky.convo.getConvo',
22983
23160
  ChatBskyConvoGetConvoAvailability: 'chat.bsky.convo.getConvoAvailability',
22984
23161
  ChatBskyConvoGetConvoForMembers: 'chat.bsky.convo.getConvoForMembers',
23162
+ ChatBskyConvoGetConvoMembers: 'chat.bsky.convo.getConvoMembers',
22985
23163
  ChatBskyConvoGetLog: 'chat.bsky.convo.getLog',
22986
23164
  ChatBskyConvoGetMessages: 'chat.bsky.convo.getMessages',
22987
23165
  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
+ }