@atproto/api 0.20.5 → 0.20.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/client/index.d.ts +19 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +44 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +766 -66
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +422 -28
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +4 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  13. package/dist/client/types/chat/bsky/actor/getStatus.d.ts +2 -0
  14. package/dist/client/types/chat/bsky/actor/getStatus.d.ts.map +1 -1
  15. package/dist/client/types/chat/bsky/actor/getStatus.js.map +1 -1
  16. package/dist/client/types/chat/bsky/convo/defs.d.ts +38 -10
  17. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  18. package/dist/client/types/chat/bsky/convo/defs.js +21 -0
  19. package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
  20. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +3 -0
  21. package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
  22. package/dist/client/types/chat/bsky/convo/getConvoForMembers.js +7 -0
  23. package/dist/client/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
  24. package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
  25. package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
  26. package/dist/client/types/chat/bsky/convo/getLog.js.map +1 -1
  27. package/dist/client/types/chat/bsky/embed/joinLink.d.ts +19 -0
  28. package/dist/client/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
  29. package/dist/client/types/chat/bsky/embed/joinLink.js +19 -0
  30. package/dist/client/types/chat/bsky/embed/joinLink.js.map +1 -0
  31. package/dist/client/types/chat/bsky/group/addMembers.d.ts +3 -0
  32. package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
  33. package/dist/client/types/chat/bsky/group/addMembers.js +7 -0
  34. package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
  35. package/dist/client/types/chat/bsky/group/createGroup.d.ts +3 -0
  36. package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  37. package/dist/client/types/chat/bsky/group/createGroup.js +7 -0
  38. package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
  39. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts +29 -0
  40. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
  41. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js +28 -0
  42. package/dist/client/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
  43. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts +26 -0
  44. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
  45. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js +21 -0
  46. package/dist/client/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
  47. package/dist/client/types/chat/bsky/moderation/defs.d.ts +42 -0
  48. package/dist/client/types/chat/bsky/moderation/defs.d.ts.map +1 -0
  49. package/dist/client/types/chat/bsky/moderation/defs.js +26 -0
  50. package/dist/client/types/chat/bsky/moderation/defs.js.map +1 -0
  51. package/dist/client/types/chat/bsky/moderation/getConvo.d.ts +26 -0
  52. package/dist/client/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
  53. package/dist/client/types/chat/bsky/moderation/getConvo.js +21 -0
  54. package/dist/client/types/chat/bsky/moderation/getConvo.js.map +1 -0
  55. package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts +29 -0
  56. package/dist/client/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
  57. package/dist/client/types/chat/bsky/moderation/getConvoMembers.js +21 -0
  58. package/dist/client/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
  59. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +12 -0
  60. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
  61. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
  62. package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
  63. package/dist/client/types/com/atproto/server/getServiceAuth.d.ts +1 -1
  64. package/dist/client/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  65. package/dist/client/types/com/atproto/server/getServiceAuth.js.map +1 -1
  66. package/dist/client/types/tools/ozone/moderation/defs.d.ts +10 -3
  67. package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  68. package/dist/client/types/tools/ozone/moderation/defs.js +7 -0
  69. package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
  70. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
  71. package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  72. package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  73. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
  74. package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  75. package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  76. package/package.json +1 -1
  77. package/tsconfig.build.tsbuildinfo +1 -1
@@ -385,6 +385,15 @@ export const schemaDict = {
385
385
  description: 'The user who issued this verification.',
386
386
  format: 'did',
387
387
  },
388
+ issuerDisplayName: {
389
+ type: 'string',
390
+ description: 'The display name of the issuer.',
391
+ },
392
+ issuerHandle: {
393
+ type: 'string',
394
+ description: 'The handle of the issuer.',
395
+ format: 'handle',
396
+ },
388
397
  uri: {
389
398
  type: 'string',
390
399
  description: 'The AT-URI of the verification record.',
@@ -9649,7 +9658,7 @@ export const schemaDict = {
9649
9658
  encoding: 'application/json',
9650
9659
  schema: {
9651
9660
  type: 'object',
9652
- required: ['chatDisabled', 'canCreateGroups'],
9661
+ required: ['chatDisabled', 'canCreateGroups', 'groupMemberLimit'],
9653
9662
  properties: {
9654
9663
  chatDisabled: {
9655
9664
  type: 'boolean',
@@ -9659,6 +9668,10 @@ export const schemaDict = {
9659
9668
  type: 'boolean',
9660
9669
  description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.",
9661
9670
  },
9671
+ groupMemberLimit: {
9672
+ type: 'integer',
9673
+ description: 'The maximum number of members allowed in a group conversation.',
9674
+ },
9662
9675
  },
9663
9676
  },
9664
9677
  },
@@ -9834,7 +9847,7 @@ export const schemaDict = {
9834
9847
  },
9835
9848
  embed: {
9836
9849
  type: 'union',
9837
- refs: ['lex:app.bsky.embed.record'],
9850
+ refs: ['lex:app.bsky.embed.record', 'lex:chat.bsky.embed.joinLink'],
9838
9851
  },
9839
9852
  },
9840
9853
  },
@@ -9863,7 +9876,10 @@ export const schemaDict = {
9863
9876
  },
9864
9877
  embed: {
9865
9878
  type: 'union',
9866
- refs: ['lex:app.bsky.embed.record#view'],
9879
+ refs: [
9880
+ 'lex:app.bsky.embed.record#view',
9881
+ 'lex:chat.bsky.embed.joinLink#view',
9882
+ ],
9867
9883
  },
9868
9884
  reactions: {
9869
9885
  type: 'array',
@@ -10198,39 +10214,49 @@ export const schemaDict = {
10198
10214
  groupConvo: {
10199
10215
  description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
10200
10216
  type: 'object',
10201
- required: ['name', 'lockStatus', 'memberCount', 'createdAt'],
10217
+ required: [
10218
+ 'createdAt',
10219
+ 'lockStatus',
10220
+ 'memberCount',
10221
+ 'memberLimit',
10222
+ 'name',
10223
+ ],
10202
10224
  properties: {
10203
- name: {
10204
- type: 'string',
10205
- description: 'The display name of the group conversation.',
10206
- maxGraphemes: 128,
10207
- maxLength: 1280,
10208
- },
10209
- memberCount: {
10210
- type: 'integer',
10211
- description: 'The total number of members in the group conversation.',
10212
- },
10213
10225
  createdAt: {
10214
10226
  type: 'string',
10215
10227
  format: 'datetime',
10216
10228
  },
10217
- joinRequestCount: {
10218
- type: 'integer',
10219
- description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
10220
- },
10221
10229
  joinLink: {
10222
10230
  type: 'ref',
10223
10231
  ref: 'lex:chat.bsky.group.defs#joinLinkView',
10224
10232
  },
10225
- memberLimit: {
10233
+ joinRequestCount: {
10226
10234
  type: 'integer',
10227
- description: 'The maximum number of members allowed in the group conversation.',
10235
+ description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
10228
10236
  },
10229
10237
  lockStatus: {
10230
10238
  description: 'The lock status of the conversation.',
10231
10239
  type: 'ref',
10232
10240
  ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
10233
10241
  },
10242
+ memberCount: {
10243
+ type: 'integer',
10244
+ description: 'The total number of members in the group conversation.',
10245
+ },
10246
+ memberLimit: {
10247
+ type: 'integer',
10248
+ description: 'The maximum number of members allowed in the group conversation.',
10249
+ },
10250
+ name: {
10251
+ type: 'string',
10252
+ description: 'The display name of the group conversation.',
10253
+ maxGraphemes: 128,
10254
+ maxLength: 1280,
10255
+ },
10256
+ unreadJoinRequestCount: {
10257
+ type: 'integer',
10258
+ description: 'The number of unread join requests for the group conversation. Only present for the owner.',
10259
+ },
10234
10260
  },
10235
10261
  },
10236
10262
  logBeginConvo: {
@@ -10779,7 +10805,51 @@ export const schemaDict = {
10779
10805
  },
10780
10806
  },
10781
10807
  logOutgoingJoinRequest: {
10782
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.',
10808
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.',
10809
+ type: 'object',
10810
+ required: ['rev', 'convoId'],
10811
+ properties: {
10812
+ rev: {
10813
+ type: 'string',
10814
+ },
10815
+ convoId: {
10816
+ type: 'string',
10817
+ },
10818
+ },
10819
+ },
10820
+ logWithdrawIncomingJoinRequest: {
10821
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.',
10822
+ type: 'object',
10823
+ required: ['rev', 'convoId', 'member'],
10824
+ properties: {
10825
+ rev: {
10826
+ type: 'string',
10827
+ },
10828
+ convoId: {
10829
+ type: 'string',
10830
+ },
10831
+ member: {
10832
+ description: 'Prospective member who withdrew their join request.',
10833
+ type: 'ref',
10834
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10835
+ },
10836
+ },
10837
+ },
10838
+ logWithdrawOutgoingJoinRequest: {
10839
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.',
10840
+ type: 'object',
10841
+ required: ['rev', 'convoId'],
10842
+ properties: {
10843
+ rev: {
10844
+ type: 'string',
10845
+ },
10846
+ convoId: {
10847
+ type: 'string',
10848
+ },
10849
+ },
10850
+ },
10851
+ logReadJoinRequests: {
10852
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.',
10783
10853
  type: 'object',
10784
10854
  required: ['rev', 'convoId'],
10785
10855
  properties: {
@@ -10926,6 +10996,9 @@ export const schemaDict = {
10926
10996
  {
10927
10997
  name: 'BlockedActor',
10928
10998
  },
10999
+ {
11000
+ name: 'BlockedSubject',
11001
+ },
10929
11002
  {
10930
11003
  name: 'MessagesDisabled',
10931
11004
  },
@@ -11075,6 +11148,9 @@ export const schemaDict = {
11075
11148
  'lex:chat.bsky.convo.defs#logApproveJoinRequest',
11076
11149
  'lex:chat.bsky.convo.defs#logRejectJoinRequest',
11077
11150
  'lex:chat.bsky.convo.defs#logOutgoingJoinRequest',
11151
+ 'lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest',
11152
+ 'lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest',
11153
+ 'lex:chat.bsky.convo.defs#logReadJoinRequests',
11078
11154
  ],
11079
11155
  },
11080
11156
  },
@@ -11716,6 +11792,33 @@ export const schemaDict = {
11716
11792
  },
11717
11793
  },
11718
11794
  },
11795
+ ChatBskyEmbedJoinLink: {
11796
+ lexicon: 1,
11797
+ id: 'chat.bsky.embed.joinLink',
11798
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.',
11799
+ defs: {
11800
+ main: {
11801
+ type: 'object',
11802
+ required: ['code'],
11803
+ properties: {
11804
+ code: {
11805
+ type: 'string',
11806
+ description: 'The join link code.',
11807
+ },
11808
+ },
11809
+ },
11810
+ view: {
11811
+ type: 'object',
11812
+ required: ['joinLinkPreview'],
11813
+ properties: {
11814
+ joinLinkPreview: {
11815
+ type: 'ref',
11816
+ ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
11817
+ },
11818
+ },
11819
+ },
11820
+ },
11821
+ },
11719
11822
  ChatBskyGroupAddMembers: {
11720
11823
  lexicon: 1,
11721
11824
  id: 'chat.bsky.group.addMembers',
@@ -11730,6 +11833,9 @@ export const schemaDict = {
11730
11833
  {
11731
11834
  name: 'BlockedActor',
11732
11835
  },
11836
+ {
11837
+ name: 'BlockedSubject',
11838
+ },
11733
11839
  {
11734
11840
  name: 'ConvoLocked',
11735
11841
  },
@@ -11859,6 +11965,9 @@ export const schemaDict = {
11859
11965
  {
11860
11966
  name: 'BlockedActor',
11861
11967
  },
11968
+ {
11969
+ name: 'BlockedSubject',
11970
+ },
11862
11971
  {
11863
11972
  name: 'NewAccountCannotCreateGroup',
11864
11973
  },
@@ -12327,7 +12436,7 @@ export const schemaDict = {
12327
12436
  defs: {
12328
12437
  main: {
12329
12438
  type: 'query',
12330
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results.',
12439
+ description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.",
12331
12440
  parameters: {
12332
12441
  type: 'params',
12333
12442
  required: ['codes'],
@@ -12617,6 +12726,156 @@ export const schemaDict = {
12617
12726
  },
12618
12727
  },
12619
12728
  },
12729
+ ChatBskyGroupUpdateJoinRequestsRead: {
12730
+ lexicon: 1,
12731
+ id: 'chat.bsky.group.updateJoinRequestsRead',
12732
+ defs: {
12733
+ main: {
12734
+ type: 'procedure',
12735
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.',
12736
+ errors: [
12737
+ {
12738
+ name: 'InvalidConvo',
12739
+ },
12740
+ {
12741
+ name: 'InsufficientRole',
12742
+ },
12743
+ ],
12744
+ input: {
12745
+ encoding: 'application/json',
12746
+ schema: {
12747
+ type: 'object',
12748
+ required: ['convoId'],
12749
+ properties: {
12750
+ convoId: {
12751
+ type: 'string',
12752
+ },
12753
+ },
12754
+ },
12755
+ },
12756
+ output: {
12757
+ encoding: 'application/json',
12758
+ schema: {
12759
+ type: 'object',
12760
+ required: [],
12761
+ properties: {},
12762
+ },
12763
+ },
12764
+ },
12765
+ },
12766
+ },
12767
+ ChatBskyGroupWithdrawJoinRequest: {
12768
+ lexicon: 1,
12769
+ id: 'chat.bsky.group.withdrawJoinRequest',
12770
+ defs: {
12771
+ main: {
12772
+ type: 'procedure',
12773
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.',
12774
+ errors: [
12775
+ {
12776
+ name: 'InvalidJoinRequest',
12777
+ },
12778
+ ],
12779
+ input: {
12780
+ encoding: 'application/json',
12781
+ schema: {
12782
+ type: 'object',
12783
+ required: ['convoId'],
12784
+ properties: {
12785
+ convoId: {
12786
+ type: 'string',
12787
+ },
12788
+ },
12789
+ },
12790
+ },
12791
+ output: {
12792
+ encoding: 'application/json',
12793
+ schema: {
12794
+ type: 'object',
12795
+ required: [],
12796
+ properties: {},
12797
+ },
12798
+ },
12799
+ },
12800
+ },
12801
+ },
12802
+ ChatBskyModerationDefs: {
12803
+ lexicon: 1,
12804
+ id: 'chat.bsky.moderation.defs',
12805
+ defs: {
12806
+ convoView: {
12807
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.',
12808
+ type: 'object',
12809
+ required: ['id', 'rev'],
12810
+ properties: {
12811
+ id: {
12812
+ type: 'string',
12813
+ },
12814
+ rev: {
12815
+ type: 'string',
12816
+ },
12817
+ kind: {
12818
+ description: 'Union field that has data specific to different kinds of convos.',
12819
+ type: 'union',
12820
+ refs: [
12821
+ 'lex:chat.bsky.moderation.defs#directConvo',
12822
+ 'lex:chat.bsky.moderation.defs#groupConvo',
12823
+ ],
12824
+ },
12825
+ },
12826
+ },
12827
+ directConvo: {
12828
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.',
12829
+ type: 'object',
12830
+ properties: {},
12831
+ },
12832
+ groupConvo: {
12833
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.',
12834
+ type: 'object',
12835
+ required: [
12836
+ 'createdAt',
12837
+ 'joinRequestCount',
12838
+ 'lockStatus',
12839
+ 'memberCount',
12840
+ 'memberLimit',
12841
+ 'name',
12842
+ ],
12843
+ properties: {
12844
+ createdAt: {
12845
+ type: 'string',
12846
+ format: 'datetime',
12847
+ },
12848
+ joinLink: {
12849
+ type: 'ref',
12850
+ ref: 'lex:chat.bsky.group.defs#joinLinkView',
12851
+ },
12852
+ joinRequestCount: {
12853
+ type: 'integer',
12854
+ description: 'The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.',
12855
+ },
12856
+ lockStatus: {
12857
+ description: 'The lock status of the conversation.',
12858
+ type: 'ref',
12859
+ ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
12860
+ },
12861
+ memberCount: {
12862
+ type: 'integer',
12863
+ description: 'The total number of members in the group conversation.',
12864
+ },
12865
+ memberLimit: {
12866
+ type: 'integer',
12867
+ description: 'The maximum number of members allowed in the group conversation.',
12868
+ },
12869
+ name: {
12870
+ type: 'string',
12871
+ description: 'The display name of the group conversation.',
12872
+ maxGraphemes: 128,
12873
+ maxLength: 1280,
12874
+ },
12875
+ },
12876
+ },
12877
+ },
12878
+ },
12620
12879
  ChatBskyModerationGetActorMetadata: {
12621
12880
  lexicon: 1,
12622
12881
  id: 'chat.bsky.moderation.getActorMetadata',
@@ -12680,6 +12939,95 @@ export const schemaDict = {
12680
12939
  },
12681
12940
  },
12682
12941
  },
12942
+ ChatBskyModerationGetConvo: {
12943
+ lexicon: 1,
12944
+ id: 'chat.bsky.moderation.getConvo',
12945
+ defs: {
12946
+ main: {
12947
+ type: 'query',
12948
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.',
12949
+ errors: [
12950
+ {
12951
+ name: 'InvalidConvo',
12952
+ },
12953
+ ],
12954
+ parameters: {
12955
+ type: 'params',
12956
+ required: ['convoId'],
12957
+ properties: {
12958
+ convoId: {
12959
+ type: 'string',
12960
+ },
12961
+ },
12962
+ },
12963
+ output: {
12964
+ encoding: 'application/json',
12965
+ schema: {
12966
+ type: 'object',
12967
+ required: ['convo'],
12968
+ properties: {
12969
+ convo: {
12970
+ type: 'ref',
12971
+ ref: 'lex:chat.bsky.moderation.defs#convoView',
12972
+ },
12973
+ },
12974
+ },
12975
+ },
12976
+ },
12977
+ },
12978
+ },
12979
+ ChatBskyModerationGetConvoMembers: {
12980
+ lexicon: 1,
12981
+ id: 'chat.bsky.moderation.getConvoMembers',
12982
+ defs: {
12983
+ main: {
12984
+ type: 'query',
12985
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.',
12986
+ errors: [
12987
+ {
12988
+ name: 'InvalidConvo',
12989
+ },
12990
+ ],
12991
+ parameters: {
12992
+ type: 'params',
12993
+ required: ['convoId'],
12994
+ properties: {
12995
+ convoId: {
12996
+ type: 'string',
12997
+ },
12998
+ limit: {
12999
+ type: 'integer',
13000
+ minimum: 1,
13001
+ maximum: 100,
13002
+ default: 50,
13003
+ },
13004
+ cursor: {
13005
+ type: 'string',
13006
+ },
13007
+ },
13008
+ },
13009
+ output: {
13010
+ encoding: 'application/json',
13011
+ schema: {
13012
+ type: 'object',
13013
+ required: ['members'],
13014
+ properties: {
13015
+ cursor: {
13016
+ type: 'string',
13017
+ },
13018
+ members: {
13019
+ type: 'array',
13020
+ items: {
13021
+ type: 'ref',
13022
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
13023
+ },
13024
+ },
13025
+ },
13026
+ },
13027
+ },
13028
+ },
13029
+ },
13030
+ },
12683
13031
  ChatBskyModerationGetMessageContext: {
12684
13032
  lexicon: 1,
12685
13033
  id: 'chat.bsky.moderation.getMessageContext',
@@ -12768,6 +13116,7 @@ export const schemaDict = {
12768
13116
  'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
12769
13117
  'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
12770
13118
  'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
13119
+ 'lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded',
12771
13120
  ],
12772
13121
  },
12773
13122
  },
@@ -13368,6 +13717,29 @@ export const schemaDict = {
13368
13717
  },
13369
13718
  },
13370
13719
  },
13720
+ eventRateLimitExceeded: {
13721
+ type: 'object',
13722
+ description: 'Fired when a user exceeds a rate limit.',
13723
+ required: ['actorDid', 'createdAt', 'endpoint', 'rev'],
13724
+ properties: {
13725
+ actorDid: {
13726
+ description: 'The DID of the user who hit the rate limit.',
13727
+ type: 'string',
13728
+ format: 'did',
13729
+ },
13730
+ createdAt: {
13731
+ type: 'string',
13732
+ format: 'datetime',
13733
+ },
13734
+ endpoint: {
13735
+ description: 'The NSID of the endpoint that was rate limited.',
13736
+ type: 'string',
13737
+ },
13738
+ rev: {
13739
+ type: 'string',
13740
+ },
13741
+ },
13742
+ },
13371
13743
  },
13372
13744
  },
13373
13745
  ChatBskyModerationUpdateActorAccess: {
@@ -16376,8 +16748,8 @@ export const schemaDict = {
16376
16748
  properties: {
16377
16749
  aud: {
16378
16750
  type: 'string',
16379
- format: 'did',
16380
- description: 'The DID of the service that the token will be used to authenticate with',
16751
+ maxLength: 2048,
16752
+ description: 'The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.',
16381
16753
  },
16382
16754
  exp: {
16383
16755
  type: 'integer',
@@ -18562,6 +18934,7 @@ export const schemaDict = {
18562
18934
  'lex:com.atproto.admin.defs#repoRef',
18563
18935
  'lex:com.atproto.repo.strongRef',
18564
18936
  'lex:chat.bsky.convo.defs#messageRef',
18937
+ 'lex:chat.bsky.convo.defs#convoRef',
18565
18938
  ],
18566
18939
  },
18567
18940
  subjectBlobCids: {
@@ -18641,6 +19014,7 @@ export const schemaDict = {
18641
19014
  'lex:tools.ozone.moderation.defs#repoViewNotFound',
18642
19015
  'lex:tools.ozone.moderation.defs#recordView',
18643
19016
  'lex:tools.ozone.moderation.defs#recordViewNotFound',
19017
+ 'lex:tools.ozone.moderation.defs#convoView',
18644
19018
  ],
18645
19019
  },
18646
19020
  subjectBlobs: {
@@ -18677,6 +19051,7 @@ export const schemaDict = {
18677
19051
  'lex:com.atproto.admin.defs#repoRef',
18678
19052
  'lex:com.atproto.repo.strongRef',
18679
19053
  'lex:chat.bsky.convo.defs#messageRef',
19054
+ 'lex:chat.bsky.convo.defs#convoRef',
18680
19055
  ],
18681
19056
  },
18682
19057
  hosting: {
@@ -19684,6 +20059,19 @@ export const schemaDict = {
19684
20059
  },
19685
20060
  },
19686
20061
  },
20062
+ convoView: {
20063
+ type: 'object',
20064
+ required: ['did', 'convoId'],
20065
+ properties: {
20066
+ did: {
20067
+ type: 'string',
20068
+ format: 'did',
20069
+ },
20070
+ convoId: {
20071
+ type: 'string',
20072
+ },
20073
+ },
20074
+ },
19687
20075
  moderation: {
19688
20076
  type: 'object',
19689
20077
  properties: {
@@ -20596,8 +20984,8 @@ export const schemaDict = {
20596
20984
  },
20597
20985
  subjectType: {
20598
20986
  type: 'string',
20599
- description: "If specified, only events where the subject is of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
20600
- knownValues: ['account', 'record'],
20987
+ description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
20988
+ knownValues: ['account', 'record', 'conversation'],
20601
20989
  },
20602
20990
  includeAllUserRecords: {
20603
20991
  type: 'boolean',
@@ -20882,8 +21270,8 @@ export const schemaDict = {
20882
21270
  },
20883
21271
  subjectType: {
20884
21272
  type: 'string',
20885
- description: "If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
20886
- knownValues: ['account', 'record'],
21273
+ description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
21274
+ knownValues: ['account', 'record', 'conversation'],
20887
21275
  },
20888
21276
  minAccountSuspendCount: {
20889
21277
  type: 'integer',
@@ -24916,6 +25304,7 @@ export const ids = {
24916
25304
  ChatBskyConvoUnmuteConvo: 'chat.bsky.convo.unmuteConvo',
24917
25305
  ChatBskyConvoUpdateAllRead: 'chat.bsky.convo.updateAllRead',
24918
25306
  ChatBskyConvoUpdateRead: 'chat.bsky.convo.updateRead',
25307
+ ChatBskyEmbedJoinLink: 'chat.bsky.embed.joinLink',
24919
25308
  ChatBskyGroupAddMembers: 'chat.bsky.group.addMembers',
24920
25309
  ChatBskyGroupApproveJoinRequest: 'chat.bsky.group.approveJoinRequest',
24921
25310
  ChatBskyGroupCreateGroup: 'chat.bsky.group.createGroup',
@@ -24931,7 +25320,12 @@ export const ids = {
24931
25320
  ChatBskyGroupRejectJoinRequest: 'chat.bsky.group.rejectJoinRequest',
24932
25321
  ChatBskyGroupRemoveMembers: 'chat.bsky.group.removeMembers',
24933
25322
  ChatBskyGroupRequestJoin: 'chat.bsky.group.requestJoin',
25323
+ ChatBskyGroupUpdateJoinRequestsRead: 'chat.bsky.group.updateJoinRequestsRead',
25324
+ ChatBskyGroupWithdrawJoinRequest: 'chat.bsky.group.withdrawJoinRequest',
25325
+ ChatBskyModerationDefs: 'chat.bsky.moderation.defs',
24934
25326
  ChatBskyModerationGetActorMetadata: 'chat.bsky.moderation.getActorMetadata',
25327
+ ChatBskyModerationGetConvo: 'chat.bsky.moderation.getConvo',
25328
+ ChatBskyModerationGetConvoMembers: 'chat.bsky.moderation.getConvoMembers',
24935
25329
  ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
24936
25330
  ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
24937
25331
  ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',