@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
@@ -263,6 +263,10 @@ exports.schemaDict = {
263
263
  type: 'string',
264
264
  knownValues: ['all', 'none', 'following'],
265
265
  },
266
+ allowGroupInvites: {
267
+ type: 'string',
268
+ knownValues: ['all', 'none', 'following'],
269
+ },
266
270
  },
267
271
  },
268
272
  profileAssociatedGerm: {
@@ -9397,6 +9401,7 @@ exports.schemaDict = {
9397
9401
  refs: [
9398
9402
  'lex:chat.bsky.actor.defs#directConvoMember',
9399
9403
  'lex:chat.bsky.actor.defs#groupConvoMember',
9404
+ 'lex:chat.bsky.actor.defs#pastGroupConvoMember',
9400
9405
  ],
9401
9406
  },
9402
9407
  },
@@ -9407,7 +9412,7 @@ exports.schemaDict = {
9407
9412
  properties: {},
9408
9413
  },
9409
9414
  groupConvoMember: {
9410
- description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
9415
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member.',
9411
9416
  type: 'object',
9412
9417
  required: ['role'],
9413
9418
  properties: {
@@ -9423,6 +9428,12 @@ exports.schemaDict = {
9423
9428
  },
9424
9429
  },
9425
9430
  },
9431
+ pastGroupConvoMember: {
9432
+ description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member.',
9433
+ type: 'object',
9434
+ required: [],
9435
+ properties: {},
9436
+ },
9426
9437
  },
9427
9438
  },
9428
9439
  ChatBskyActorDeleteAccount: {
@@ -9658,6 +9669,16 @@ exports.schemaDict = {
9658
9669
  },
9659
9670
  },
9660
9671
  },
9672
+ systemMessageReferredUser: {
9673
+ type: 'object',
9674
+ required: ['did'],
9675
+ properties: {
9676
+ did: {
9677
+ type: 'string',
9678
+ format: 'did',
9679
+ },
9680
+ },
9681
+ },
9661
9682
  systemMessageView: {
9662
9683
  description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
9663
9684
  type: 'object',
@@ -9700,7 +9721,7 @@ exports.schemaDict = {
9700
9721
  member: {
9701
9722
  description: 'Current view of the member who was added.',
9702
9723
  type: 'ref',
9703
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9724
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9704
9725
  },
9705
9726
  role: {
9706
9727
  description: "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.",
@@ -9709,7 +9730,7 @@ exports.schemaDict = {
9709
9730
  },
9710
9731
  addedBy: {
9711
9732
  type: 'ref',
9712
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9733
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9713
9734
  },
9714
9735
  },
9715
9736
  },
@@ -9721,11 +9742,11 @@ exports.schemaDict = {
9721
9742
  member: {
9722
9743
  description: 'Current view of the member who was removed.',
9723
9744
  type: 'ref',
9724
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9745
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9725
9746
  },
9726
9747
  removedBy: {
9727
9748
  type: 'ref',
9728
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9749
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9729
9750
  },
9730
9751
  },
9731
9752
  },
@@ -9737,7 +9758,7 @@ exports.schemaDict = {
9737
9758
  member: {
9738
9759
  description: 'Current view of the member who joined.',
9739
9760
  type: 'ref',
9740
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9761
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9741
9762
  },
9742
9763
  role: {
9743
9764
  description: "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.",
@@ -9747,7 +9768,7 @@ exports.schemaDict = {
9747
9768
  approvedBy: {
9748
9769
  description: 'If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.',
9749
9770
  type: 'ref',
9750
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9771
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9751
9772
  },
9752
9773
  },
9753
9774
  },
@@ -9759,7 +9780,7 @@ exports.schemaDict = {
9759
9780
  member: {
9760
9781
  description: 'Current view of the member who left the group.',
9761
9782
  type: 'ref',
9762
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9783
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9763
9784
  },
9764
9785
  },
9765
9786
  },
@@ -9771,7 +9792,7 @@ exports.schemaDict = {
9771
9792
  lockedBy: {
9772
9793
  description: 'Current view of the member who locked the group.',
9773
9794
  type: 'ref',
9774
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9795
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9775
9796
  },
9776
9797
  },
9777
9798
  },
@@ -9783,7 +9804,7 @@ exports.schemaDict = {
9783
9804
  unlockedBy: {
9784
9805
  description: 'Current view of the member who unlocked the group.',
9785
9806
  type: 'ref',
9786
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9807
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9787
9808
  },
9788
9809
  },
9789
9810
  },
@@ -9795,7 +9816,7 @@ exports.schemaDict = {
9795
9816
  lockedBy: {
9796
9817
  description: 'Current view of the member who locked the group.',
9797
9818
  type: 'ref',
9798
- ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
9819
+ ref: 'lex:chat.bsky.convo.defs#systemMessageReferredUser',
9799
9820
  },
9800
9821
  },
9801
9822
  },
@@ -9915,6 +9936,7 @@ exports.schemaDict = {
9915
9936
  type: 'string',
9916
9937
  },
9917
9938
  members: {
9939
+ 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.',
9918
9940
  type: 'array',
9919
9941
  items: {
9920
9942
  type: 'ref',
@@ -9962,7 +9984,7 @@ exports.schemaDict = {
9962
9984
  groupConvo: {
9963
9985
  description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
9964
9986
  type: 'object',
9965
- required: ['name', 'lockStatus'],
9987
+ required: ['name', 'lockStatus', 'memberCount', 'createdAt'],
9966
9988
  properties: {
9967
9989
  name: {
9968
9990
  type: 'string',
@@ -9970,6 +9992,14 @@ exports.schemaDict = {
9970
9992
  maxGraphemes: 128,
9971
9993
  maxLength: 1280,
9972
9994
  },
9995
+ memberCount: {
9996
+ type: 'integer',
9997
+ description: 'The total number of members in the group conversation.',
9998
+ },
9999
+ createdAt: {
10000
+ type: 'string',
10001
+ format: 'datetime',
10002
+ },
9973
10003
  joinLink: {
9974
10004
  type: 'ref',
9975
10005
  ref: 'lex:chat.bsky.group.defs#joinLinkView',
@@ -10064,6 +10094,14 @@ exports.schemaDict = {
10064
10094
  'lex:chat.bsky.convo.defs#deletedMessageView',
10065
10095
  ],
10066
10096
  },
10097
+ relatedProfiles: {
10098
+ description: "Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present.",
10099
+ type: 'array',
10100
+ items: {
10101
+ type: 'ref',
10102
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10103
+ },
10104
+ },
10067
10105
  },
10068
10106
  },
10069
10107
  logDeleteMessage: {
@@ -10129,6 +10167,14 @@ exports.schemaDict = {
10129
10167
  type: 'ref',
10130
10168
  ref: 'lex:chat.bsky.convo.defs#reactionView',
10131
10169
  },
10170
+ relatedProfiles: {
10171
+ 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.",
10172
+ type: 'array',
10173
+ items: {
10174
+ type: 'ref',
10175
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10176
+ },
10177
+ },
10132
10178
  },
10133
10179
  },
10134
10180
  logRemoveReaction: {
@@ -10153,6 +10199,14 @@ exports.schemaDict = {
10153
10199
  type: 'ref',
10154
10200
  ref: 'lex:chat.bsky.convo.defs#reactionView',
10155
10201
  },
10202
+ relatedProfiles: {
10203
+ 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.",
10204
+ type: 'array',
10205
+ items: {
10206
+ type: 'ref',
10207
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10208
+ },
10209
+ },
10156
10210
  },
10157
10211
  },
10158
10212
  logReadConvo: {
@@ -10179,7 +10233,7 @@ exports.schemaDict = {
10179
10233
  logAddMember: {
10180
10234
  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).',
10181
10235
  type: 'object',
10182
- required: ['rev', 'convoId', 'message'],
10236
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10183
10237
  properties: {
10184
10238
  rev: {
10185
10239
  type: 'string',
@@ -10188,15 +10242,24 @@ exports.schemaDict = {
10188
10242
  type: 'string',
10189
10243
  },
10190
10244
  message: {
10245
+ description: 'A system message with data of type #systemMessageDataAddMember',
10191
10246
  type: 'ref',
10192
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataAddMember',
10247
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10248
+ },
10249
+ relatedProfiles: {
10250
+ description: 'Profiles referred in the system message.',
10251
+ type: 'array',
10252
+ items: {
10253
+ type: 'ref',
10254
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10255
+ },
10193
10256
  },
10194
10257
  },
10195
10258
  },
10196
10259
  logRemoveMember: {
10197
10260
  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).",
10198
10261
  type: 'object',
10199
- required: ['rev', 'convoId', 'message'],
10262
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10200
10263
  properties: {
10201
10264
  rev: {
10202
10265
  type: 'string',
@@ -10205,15 +10268,24 @@ exports.schemaDict = {
10205
10268
  type: 'string',
10206
10269
  },
10207
10270
  message: {
10271
+ description: 'A system message with data of type #systemMessageDataRemoveMember',
10208
10272
  type: 'ref',
10209
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataRemoveMember',
10273
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10274
+ },
10275
+ relatedProfiles: {
10276
+ description: 'Profiles referred in the system message.',
10277
+ type: 'array',
10278
+ items: {
10279
+ type: 'ref',
10280
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10281
+ },
10210
10282
  },
10211
10283
  },
10212
10284
  },
10213
10285
  logMemberJoin: {
10214
10286
  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).',
10215
10287
  type: 'object',
10216
- required: ['rev', 'convoId', 'message'],
10288
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10217
10289
  properties: {
10218
10290
  rev: {
10219
10291
  type: 'string',
@@ -10222,15 +10294,24 @@ exports.schemaDict = {
10222
10294
  type: 'string',
10223
10295
  },
10224
10296
  message: {
10297
+ description: 'A system message with data of type #systemMessageDataMemberJoin',
10225
10298
  type: 'ref',
10226
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberJoin',
10299
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10300
+ },
10301
+ relatedProfiles: {
10302
+ description: 'Profiles referred in the system message.',
10303
+ type: 'array',
10304
+ items: {
10305
+ type: 'ref',
10306
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10307
+ },
10227
10308
  },
10228
10309
  },
10229
10310
  },
10230
10311
  logMemberLeave: {
10231
10312
  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).",
10232
10313
  type: 'object',
10233
- required: ['rev', 'convoId', 'message'],
10314
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10234
10315
  properties: {
10235
10316
  rev: {
10236
10317
  type: 'string',
@@ -10239,15 +10320,24 @@ exports.schemaDict = {
10239
10320
  type: 'string',
10240
10321
  },
10241
10322
  message: {
10323
+ description: 'A system message with data of type #systemMessageDataMemberLeave',
10242
10324
  type: 'ref',
10243
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataMemberLeave',
10325
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10326
+ },
10327
+ relatedProfiles: {
10328
+ description: 'Profiles referred in the system message.',
10329
+ type: 'array',
10330
+ items: {
10331
+ type: 'ref',
10332
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10333
+ },
10244
10334
  },
10245
10335
  },
10246
10336
  },
10247
10337
  logLockConvo: {
10248
10338
  description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.',
10249
10339
  type: 'object',
10250
- required: ['rev', 'convoId', 'message'],
10340
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10251
10341
  properties: {
10252
10342
  rev: {
10253
10343
  type: 'string',
@@ -10256,15 +10346,24 @@ exports.schemaDict = {
10256
10346
  type: 'string',
10257
10347
  },
10258
10348
  message: {
10349
+ description: 'A system message with data of type #systemMessageDataLockConvo',
10259
10350
  type: 'ref',
10260
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvo',
10351
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10352
+ },
10353
+ relatedProfiles: {
10354
+ description: 'Profiles referred in the system message.',
10355
+ type: 'array',
10356
+ items: {
10357
+ type: 'ref',
10358
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10359
+ },
10261
10360
  },
10262
10361
  },
10263
10362
  },
10264
10363
  logUnlockConvo: {
10265
10364
  description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.',
10266
10365
  type: 'object',
10267
- required: ['rev', 'convoId', 'message'],
10366
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10268
10367
  properties: {
10269
10368
  rev: {
10270
10369
  type: 'string',
@@ -10273,15 +10372,24 @@ exports.schemaDict = {
10273
10372
  type: 'string',
10274
10373
  },
10275
10374
  message: {
10375
+ description: 'A system message with data of type #systemMessageDataUnlockConvo',
10276
10376
  type: 'ref',
10277
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataUnlockConvo',
10377
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10378
+ },
10379
+ relatedProfiles: {
10380
+ description: 'Profiles referred in the system message.',
10381
+ type: 'array',
10382
+ items: {
10383
+ type: 'ref',
10384
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10385
+ },
10278
10386
  },
10279
10387
  },
10280
10388
  },
10281
10389
  logLockConvoPermanently: {
10282
10390
  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.',
10283
10391
  type: 'object',
10284
- required: ['rev', 'convoId', 'message'],
10392
+ required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10285
10393
  properties: {
10286
10394
  rev: {
10287
10395
  type: 'string',
@@ -10290,8 +10398,17 @@ exports.schemaDict = {
10290
10398
  type: 'string',
10291
10399
  },
10292
10400
  message: {
10401
+ description: 'A system message with data of type #systemMessageDataLockConvoPermanently',
10293
10402
  type: 'ref',
10294
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataLockConvoPermanently',
10403
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10404
+ },
10405
+ relatedProfiles: {
10406
+ description: 'Profiles referred in the system message.',
10407
+ type: 'array',
10408
+ items: {
10409
+ type: 'ref',
10410
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10411
+ },
10295
10412
  },
10296
10413
  },
10297
10414
  },
@@ -10307,8 +10424,9 @@ exports.schemaDict = {
10307
10424
  type: 'string',
10308
10425
  },
10309
10426
  message: {
10427
+ description: 'A system message with data of type #systemMessageDataEditGroup',
10310
10428
  type: 'ref',
10311
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditGroup',
10429
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10312
10430
  },
10313
10431
  },
10314
10432
  },
@@ -10324,8 +10442,9 @@ exports.schemaDict = {
10324
10442
  type: 'string',
10325
10443
  },
10326
10444
  message: {
10445
+ description: 'A system message with data of type #systemMessageDataCreateJoinLink',
10327
10446
  type: 'ref',
10328
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataCreateJoinLink',
10447
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10329
10448
  },
10330
10449
  },
10331
10450
  },
@@ -10341,8 +10460,9 @@ exports.schemaDict = {
10341
10460
  type: 'string',
10342
10461
  },
10343
10462
  message: {
10463
+ description: 'A system message with data of type #systemMessageDataEditJoinLink',
10344
10464
  type: 'ref',
10345
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEditJoinLink',
10465
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10346
10466
  },
10347
10467
  },
10348
10468
  },
@@ -10358,8 +10478,9 @@ exports.schemaDict = {
10358
10478
  type: 'string',
10359
10479
  },
10360
10480
  message: {
10481
+ description: 'A system message with data of type #systemMessageDataEnableJoinLink',
10361
10482
  type: 'ref',
10362
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataEnableJoinLink',
10483
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10363
10484
  },
10364
10485
  },
10365
10486
  },
@@ -10375,8 +10496,9 @@ exports.schemaDict = {
10375
10496
  type: 'string',
10376
10497
  },
10377
10498
  message: {
10499
+ description: 'A system message with data of type #systemMessageDataDisableJoinLink',
10378
10500
  type: 'ref',
10379
- ref: 'lex:chat.bsky.convo.defs#systemMessageDataDisableJoinLink',
10501
+ ref: 'lex:chat.bsky.convo.defs#systemMessageView',
10380
10502
  },
10381
10503
  },
10382
10504
  },
@@ -10623,6 +10745,58 @@ exports.schemaDict = {
10623
10745
  },
10624
10746
  },
10625
10747
  },
10748
+ ChatBskyConvoGetConvoMembers: {
10749
+ lexicon: 1,
10750
+ id: 'chat.bsky.convo.getConvoMembers',
10751
+ defs: {
10752
+ main: {
10753
+ type: 'query',
10754
+ description: 'Returns a paginated list of members from a conversation.',
10755
+ errors: [
10756
+ {
10757
+ name: 'InvalidConvo',
10758
+ },
10759
+ ],
10760
+ parameters: {
10761
+ type: 'params',
10762
+ required: ['convoId'],
10763
+ properties: {
10764
+ convoId: {
10765
+ type: 'string',
10766
+ },
10767
+ limit: {
10768
+ type: 'integer',
10769
+ minimum: 1,
10770
+ maximum: 100,
10771
+ default: 50,
10772
+ },
10773
+ cursor: {
10774
+ type: 'string',
10775
+ },
10776
+ },
10777
+ },
10778
+ output: {
10779
+ encoding: 'application/json',
10780
+ schema: {
10781
+ type: 'object',
10782
+ required: ['members'],
10783
+ properties: {
10784
+ cursor: {
10785
+ type: 'string',
10786
+ },
10787
+ members: {
10788
+ type: 'array',
10789
+ items: {
10790
+ type: 'ref',
10791
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10792
+ },
10793
+ },
10794
+ },
10795
+ },
10796
+ },
10797
+ },
10798
+ },
10799
+ },
10626
10800
  ChatBskyConvoGetLog: {
10627
10801
  lexicon: 1,
10628
10802
  id: 'chat.bsky.convo.getLog',
@@ -10738,6 +10912,14 @@ exports.schemaDict = {
10738
10912
  ],
10739
10913
  },
10740
10914
  },
10915
+ relatedProfiles: {
10916
+ description: 'Set of all members who authored or reacted to the returned messages. Members referred to by system messages are also included.',
10917
+ type: 'array',
10918
+ items: {
10919
+ type: 'ref',
10920
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
10921
+ },
10922
+ },
10741
10923
  },
10742
10924
  },
10743
10925
  },
@@ -11373,6 +11555,13 @@ exports.schemaDict = {
11373
11555
  type: 'ref',
11374
11556
  ref: 'lex:chat.bsky.convo.defs#convoView',
11375
11557
  },
11558
+ addedMembers: {
11559
+ type: 'array',
11560
+ items: {
11561
+ type: 'ref',
11562
+ ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
11563
+ },
11564
+ },
11376
11565
  },
11377
11566
  },
11378
11567
  },
@@ -18142,6 +18331,10 @@ exports.schemaDict = {
18142
18331
  type: 'string',
18143
18332
  description: 'Additional comment about added/removed tags.',
18144
18333
  },
18334
+ durationInHours: {
18335
+ type: 'integer',
18336
+ description: 'Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.',
18337
+ },
18145
18338
  },
18146
18339
  },
18147
18340
  accountEvent: {
@@ -22073,6 +22266,7 @@ exports.ids = {
22073
22266
  ChatBskyConvoGetConvo: 'chat.bsky.convo.getConvo',
22074
22267
  ChatBskyConvoGetConvoAvailability: 'chat.bsky.convo.getConvoAvailability',
22075
22268
  ChatBskyConvoGetConvoForMembers: 'chat.bsky.convo.getConvoForMembers',
22269
+ ChatBskyConvoGetConvoMembers: 'chat.bsky.convo.getConvoMembers',
22076
22270
  ChatBskyConvoGetLog: 'chat.bsky.convo.getLog',
22077
22271
  ChatBskyConvoGetMessages: 'chat.bsky.convo.getMessages',
22078
22272
  ChatBskyConvoLeaveConvo: 'chat.bsky.convo.leaveConvo',