@atproto/api 0.20.16 → 0.20.18

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 (54) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/client/index.d.ts +18 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +28 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +906 -134
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +460 -67
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/feed/searchPostsV2.d.ts +88 -0
  11. package/dist/client/types/app/bsky/feed/searchPostsV2.d.ts.map +1 -0
  12. package/dist/client/types/app/bsky/feed/searchPostsV2.js +21 -0
  13. package/dist/client/types/app/bsky/feed/searchPostsV2.js.map +1 -0
  14. package/dist/client/types/app/bsky/notification/defs.d.ts +1 -0
  15. package/dist/client/types/app/bsky/notification/defs.d.ts.map +1 -1
  16. package/dist/client/types/app/bsky/notification/defs.js.map +1 -1
  17. package/dist/client/types/chat/bsky/actor/declaration.d.ts +1 -1
  18. package/dist/client/types/chat/bsky/actor/declaration.d.ts.map +1 -1
  19. package/dist/client/types/chat/bsky/actor/declaration.js.map +1 -1
  20. package/dist/client/types/chat/bsky/actor/defs.d.ts +2 -3
  21. package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
  22. package/dist/client/types/chat/bsky/actor/defs.js.map +1 -1
  23. package/dist/client/types/chat/bsky/convo/defs.d.ts +32 -35
  24. package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
  25. package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
  26. package/dist/client/types/chat/bsky/moderation/defs.d.ts +3 -3
  27. package/dist/client/types/chat/bsky/moderation/defs.d.ts.map +1 -1
  28. package/dist/client/types/chat/bsky/moderation/defs.js.map +1 -1
  29. package/dist/client/types/chat/bsky/notification/defs.d.ts +19 -0
  30. package/dist/client/types/chat/bsky/notification/defs.d.ts.map +1 -0
  31. package/dist/client/types/chat/bsky/notification/defs.js +19 -0
  32. package/dist/client/types/chat/bsky/notification/defs.js.map +1 -0
  33. package/dist/client/types/chat/bsky/notification/getPreferences.d.ts +21 -0
  34. package/dist/client/types/chat/bsky/notification/getPreferences.d.ts.map +1 -0
  35. package/dist/client/types/chat/bsky/notification/getPreferences.js +8 -0
  36. package/dist/client/types/chat/bsky/notification/getPreferences.js.map +1 -0
  37. package/dist/client/types/chat/bsky/notification/putPreferences.d.ts +26 -0
  38. package/dist/client/types/chat/bsky/notification/putPreferences.d.ts.map +1 -0
  39. package/dist/client/types/chat/bsky/notification/putPreferences.js +8 -0
  40. package/dist/client/types/chat/bsky/notification/putPreferences.js.map +1 -0
  41. package/dist/client/types/tools/ozone/report/defs.d.ts +1 -0
  42. package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
  43. package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
  44. package/dist/client/types/tools/ozone/report/queryActivities.d.ts +33 -0
  45. package/dist/client/types/tools/ozone/report/queryActivities.d.ts.map +1 -0
  46. package/dist/client/types/tools/ozone/report/queryActivities.js +8 -0
  47. package/dist/client/types/tools/ozone/report/queryActivities.js.map +1 -0
  48. package/package.json +2 -1
  49. package/tests/atp-agent.test.ts +1 -1
  50. package/tests/dispatcher.test.ts +5 -10
  51. package/tests/errors.test.ts +1 -1
  52. package/tests/moderation-prefs.test.ts +1 -1
  53. package/tests/util/echo-server.ts +18 -2
  54. package/tsconfig.build.tsbuildinfo +1 -1
@@ -5061,6 +5061,230 @@ export const schemaDict = {
5061
5061
  },
5062
5062
  },
5063
5063
  },
5064
+ AppBskyFeedSearchPostsV2: {
5065
+ lexicon: 1,
5066
+ id: 'app.bsky.feed.searchPostsV2',
5067
+ defs: {
5068
+ main: {
5069
+ type: 'query',
5070
+ description: 'Find posts matching a search query or filters, returning search hits for matching post records.',
5071
+ parameters: {
5072
+ type: 'params',
5073
+ required: ['sort'],
5074
+ properties: {
5075
+ cursor: {
5076
+ type: 'string',
5077
+ description: 'Optional pagination cursor.',
5078
+ },
5079
+ limit: {
5080
+ type: 'integer',
5081
+ minimum: 1,
5082
+ maximum: 100,
5083
+ default: 25,
5084
+ description: 'Maximum number of results to return.',
5085
+ },
5086
+ query: {
5087
+ type: 'string',
5088
+ description: 'Search query string. A query or at least one filter is required.',
5089
+ },
5090
+ sort: {
5091
+ type: 'string',
5092
+ knownValues: ['recent', 'top'],
5093
+ description: "Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking.",
5094
+ },
5095
+ authors: {
5096
+ type: 'array',
5097
+ items: {
5098
+ type: 'string',
5099
+ format: 'at-identifier',
5100
+ },
5101
+ description: 'Include posts by any of these authors. Handles are resolved to DIDs before searching.',
5102
+ },
5103
+ mentions: {
5104
+ type: 'array',
5105
+ items: {
5106
+ type: 'string',
5107
+ format: 'at-identifier',
5108
+ },
5109
+ description: 'Include posts that mention any of these accounts. Handles are resolved to DIDs before searching.',
5110
+ },
5111
+ domains: {
5112
+ type: 'array',
5113
+ items: {
5114
+ type: 'string',
5115
+ },
5116
+ description: 'Include posts that link to any of these domains.',
5117
+ },
5118
+ urls: {
5119
+ type: 'array',
5120
+ items: {
5121
+ type: 'string',
5122
+ format: 'uri',
5123
+ },
5124
+ description: 'Include posts that link to any of these URLs.',
5125
+ },
5126
+ embeddedAtUris: {
5127
+ type: 'array',
5128
+ items: {
5129
+ type: 'string',
5130
+ format: 'at-uri',
5131
+ },
5132
+ description: 'Include posts that embed any of these AT URIs.',
5133
+ },
5134
+ hashtags: {
5135
+ type: 'array',
5136
+ items: {
5137
+ type: 'string',
5138
+ maxLength: 640,
5139
+ maxGraphemes: 64,
5140
+ },
5141
+ description: 'Include posts tagged with any of these hashtags. Do not include the hash (#) prefix.',
5142
+ },
5143
+ excludeAuthors: {
5144
+ type: 'array',
5145
+ items: {
5146
+ type: 'string',
5147
+ format: 'at-identifier',
5148
+ },
5149
+ description: 'Exclude posts by any of these authors. Handles are resolved to DIDs before searching.',
5150
+ },
5151
+ excludeMentions: {
5152
+ type: 'array',
5153
+ items: {
5154
+ type: 'string',
5155
+ format: 'at-identifier',
5156
+ },
5157
+ description: 'Exclude posts that mention any of these accounts. Handles are resolved to DIDs before searching.',
5158
+ },
5159
+ excludeDomains: {
5160
+ type: 'array',
5161
+ items: {
5162
+ type: 'string',
5163
+ },
5164
+ description: 'Exclude posts that link to any of these domains.',
5165
+ },
5166
+ excludeUrls: {
5167
+ type: 'array',
5168
+ items: {
5169
+ type: 'string',
5170
+ format: 'uri',
5171
+ },
5172
+ description: 'Exclude posts that link to any of these URLs.',
5173
+ },
5174
+ excludeEmbeddedAtUris: {
5175
+ type: 'array',
5176
+ items: {
5177
+ type: 'string',
5178
+ format: 'at-uri',
5179
+ },
5180
+ description: 'Exclude posts that embed any of these AT URIs.',
5181
+ },
5182
+ excludeHashtags: {
5183
+ type: 'array',
5184
+ items: {
5185
+ type: 'string',
5186
+ maxLength: 640,
5187
+ maxGraphemes: 64,
5188
+ },
5189
+ description: 'Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix.',
5190
+ },
5191
+ since: {
5192
+ type: 'string',
5193
+ format: 'datetime',
5194
+ description: 'Include posts indexed at or after this timestamp.',
5195
+ },
5196
+ until: {
5197
+ type: 'string',
5198
+ format: 'datetime',
5199
+ description: 'Include posts indexed before this timestamp. Defaults to the current time.',
5200
+ },
5201
+ allTime: {
5202
+ type: 'boolean',
5203
+ description: 'Search the full index instead of the recent-post window.',
5204
+ },
5205
+ language: {
5206
+ type: 'string',
5207
+ format: 'language',
5208
+ description: 'Include posts whose language matches this language code.',
5209
+ },
5210
+ hasMedia: {
5211
+ type: 'boolean',
5212
+ description: 'Include only posts with media.',
5213
+ },
5214
+ hasVideo: {
5215
+ type: 'boolean',
5216
+ description: 'Include only posts with video.',
5217
+ },
5218
+ replyParentUri: {
5219
+ type: 'string',
5220
+ format: 'at-uri',
5221
+ description: 'Include only direct replies to this parent post URI.',
5222
+ },
5223
+ threadRootUri: {
5224
+ type: 'string',
5225
+ format: 'at-uri',
5226
+ description: 'Include only posts in the thread rooted at this post URI.',
5227
+ },
5228
+ excludeReplies: {
5229
+ type: 'boolean',
5230
+ description: 'Exclude replies from results. Mutually exclusive with repliesOnly.',
5231
+ },
5232
+ repliesOnly: {
5233
+ type: 'boolean',
5234
+ description: 'Include only replies. Mutually exclusive with excludeReplies.',
5235
+ },
5236
+ following: {
5237
+ type: 'boolean',
5238
+ description: 'Include only posts from accounts followed by the viewer.',
5239
+ },
5240
+ queryLanguage: {
5241
+ type: 'string',
5242
+ knownValues: ['ja', 'zh', 'ko', 'th', 'ar'],
5243
+ description: 'Language analyzer hint for the query text. If unset, the server auto-detects when possible.',
5244
+ },
5245
+ },
5246
+ },
5247
+ output: {
5248
+ encoding: 'application/json',
5249
+ schema: {
5250
+ type: 'object',
5251
+ required: ['posts'],
5252
+ properties: {
5253
+ cursor: {
5254
+ type: 'string',
5255
+ description: 'Cursor for the next page of results.',
5256
+ },
5257
+ hitsTotal: {
5258
+ type: 'integer',
5259
+ description: 'Estimated total number of matching hits. May be rounded or truncated.',
5260
+ },
5261
+ posts: {
5262
+ type: 'array',
5263
+ items: {
5264
+ type: 'ref',
5265
+ ref: 'lex:app.bsky.feed.defs#postView',
5266
+ },
5267
+ description: 'Hydrated views of matching posts.',
5268
+ },
5269
+ detectedQueryLanguages: {
5270
+ type: 'array',
5271
+ items: {
5272
+ type: 'string',
5273
+ knownValues: ['ja', 'zh', 'ko', 'th', 'ar'],
5274
+ },
5275
+ description: 'Query languages detected for CJK, Thai, or Arabic text. Empty or omitted for other scripts.',
5276
+ },
5277
+ },
5278
+ },
5279
+ },
5280
+ errors: [
5281
+ {
5282
+ name: 'BadQueryString',
5283
+ },
5284
+ ],
5285
+ },
5286
+ },
5287
+ },
5064
5288
  AppBskyFeedSendInteractions: {
5065
5289
  lexicon: 1,
5066
5290
  id: 'app.bsky.feed.sendInteractions',
@@ -7017,6 +7241,7 @@ export const schemaDict = {
7017
7241
  },
7018
7242
  chatPreference: {
7019
7243
  type: 'object',
7244
+ description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.',
7020
7245
  required: ['include', 'push'],
7021
7246
  properties: {
7022
7247
  include: {
@@ -7077,6 +7302,7 @@ export const schemaDict = {
7077
7302
  chat: {
7078
7303
  type: 'ref',
7079
7304
  ref: 'lex:app.bsky.notification.defs#chatPreference',
7305
+ description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.',
7080
7306
  },
7081
7307
  follow: {
7082
7308
  type: 'ref',
@@ -7473,6 +7699,7 @@ export const schemaDict = {
7473
7699
  chat: {
7474
7700
  type: 'ref',
7475
7701
  ref: 'lex:app.bsky.notification.defs#chatPreference',
7702
+ description: "Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned.",
7476
7703
  },
7477
7704
  follow: {
7478
7705
  type: 'ref',
@@ -9620,7 +9847,7 @@ export const schemaDict = {
9620
9847
  knownValues: ['all', 'none', 'following'],
9621
9848
  },
9622
9849
  allowGroupInvites: {
9623
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.',
9850
+ description: 'Declaration about group chat invitation preferences for the record owner.',
9624
9851
  type: 'string',
9625
9852
  knownValues: ['all', 'none', 'following'],
9626
9853
  },
@@ -9697,12 +9924,11 @@ export const schemaDict = {
9697
9924
  },
9698
9925
  },
9699
9926
  directConvoMember: {
9700
- description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
9701
9927
  type: 'object',
9702
9928
  properties: {},
9703
9929
  },
9704
9930
  groupConvoMember: {
9705
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A current group convo member.',
9931
+ description: 'A current group convo member.',
9706
9932
  type: 'object',
9707
9933
  required: ['role'],
9708
9934
  properties: {
@@ -9719,7 +9945,7 @@ export const schemaDict = {
9719
9945
  },
9720
9946
  },
9721
9947
  pastGroupConvoMember: {
9722
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A past group convo member.',
9948
+ description: 'A past group convo member.',
9723
9949
  type: 'object',
9724
9950
  required: [],
9725
9951
  properties: {},
@@ -10040,7 +10266,6 @@ export const schemaDict = {
10040
10266
  },
10041
10267
  },
10042
10268
  systemMessageView: {
10043
- description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
10044
10269
  type: 'object',
10045
10270
  required: ['id', 'rev', 'sentAt', 'data'],
10046
10271
  properties: {
@@ -10074,7 +10299,7 @@ export const schemaDict = {
10074
10299
  },
10075
10300
  },
10076
10301
  systemMessageDataAddMember: {
10077
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was added to the group convo.',
10302
+ description: 'System message indicating a user was added to the group convo.',
10078
10303
  type: 'object',
10079
10304
  required: ['member', 'role', 'addedBy'],
10080
10305
  properties: {
@@ -10095,7 +10320,7 @@ export const schemaDict = {
10095
10320
  },
10096
10321
  },
10097
10322
  systemMessageDataRemoveMember: {
10098
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was removed from the group convo.',
10323
+ description: 'System message indicating a user was removed from the group convo.',
10099
10324
  type: 'object',
10100
10325
  required: ['member', 'removedBy'],
10101
10326
  properties: {
@@ -10111,7 +10336,7 @@ export const schemaDict = {
10111
10336
  },
10112
10337
  },
10113
10338
  systemMessageDataMemberJoin: {
10114
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user joined the group convo via join link.',
10339
+ description: 'System message indicating a user joined the group convo via join link.',
10115
10340
  type: 'object',
10116
10341
  required: ['member', 'role'],
10117
10342
  properties: {
@@ -10133,7 +10358,7 @@ export const schemaDict = {
10133
10358
  },
10134
10359
  },
10135
10360
  systemMessageDataMemberLeave: {
10136
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user voluntarily left the group convo.',
10361
+ description: 'System message indicating a user voluntarily left the group convo.',
10137
10362
  type: 'object',
10138
10363
  required: ['member'],
10139
10364
  properties: {
@@ -10145,7 +10370,7 @@ export const schemaDict = {
10145
10370
  },
10146
10371
  },
10147
10372
  systemMessageDataLockConvo: {
10148
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked.',
10373
+ description: 'System message indicating the group convo was locked.',
10149
10374
  type: 'object',
10150
10375
  required: ['lockedBy'],
10151
10376
  properties: {
@@ -10157,7 +10382,7 @@ export const schemaDict = {
10157
10382
  },
10158
10383
  },
10159
10384
  systemMessageDataUnlockConvo: {
10160
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked.',
10385
+ description: 'System message indicating the group convo was unlocked.',
10161
10386
  type: 'object',
10162
10387
  required: ['unlockedBy'],
10163
10388
  properties: {
@@ -10169,7 +10394,7 @@ export const schemaDict = {
10169
10394
  },
10170
10395
  },
10171
10396
  systemMessageDataLockConvoPermanently: {
10172
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked permanently.',
10397
+ description: 'System message indicating the group convo was locked permanently.',
10173
10398
  type: 'object',
10174
10399
  required: ['lockedBy'],
10175
10400
  properties: {
@@ -10181,7 +10406,7 @@ export const schemaDict = {
10181
10406
  },
10182
10407
  },
10183
10408
  systemMessageDataEditGroup: {
10184
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited.',
10409
+ description: 'System message indicating the group info was edited.',
10185
10410
  type: 'object',
10186
10411
  properties: {
10187
10412
  oldName: {
@@ -10195,22 +10420,22 @@ export const schemaDict = {
10195
10420
  },
10196
10421
  },
10197
10422
  systemMessageDataCreateJoinLink: {
10198
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was created.',
10423
+ description: 'System message indicating the group join link was created.',
10199
10424
  type: 'object',
10200
10425
  properties: {},
10201
10426
  },
10202
10427
  systemMessageDataEditJoinLink: {
10203
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was edited.',
10428
+ description: 'System message indicating the group join link was edited.',
10204
10429
  type: 'object',
10205
10430
  properties: {},
10206
10431
  },
10207
10432
  systemMessageDataEnableJoinLink: {
10208
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was enabled.',
10433
+ description: 'System message indicating the group join link was enabled.',
10209
10434
  type: 'object',
10210
10435
  properties: {},
10211
10436
  },
10212
10437
  systemMessageDataDisableJoinLink: {
10213
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was disabled.',
10438
+ description: 'System message indicating the group join link was disabled.',
10214
10439
  type: 'object',
10215
10440
  properties: {},
10216
10441
  },
@@ -10337,12 +10562,10 @@ export const schemaDict = {
10337
10562
  },
10338
10563
  },
10339
10564
  directConvo: {
10340
- description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
10341
10565
  type: 'object',
10342
10566
  properties: {},
10343
10567
  },
10344
10568
  groupConvo: {
10345
- description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
10346
10569
  type: 'object',
10347
10570
  required: [
10348
10571
  'createdAt',
@@ -10593,7 +10816,7 @@ export const schemaDict = {
10593
10816
  },
10594
10817
  },
10595
10818
  logReadConvo: {
10596
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a convo was read up to a certain message.',
10819
+ description: 'Event indicating a convo was read up to a certain message.',
10597
10820
  type: 'object',
10598
10821
  required: ['rev', 'convoId', 'message'],
10599
10822
  properties: {
@@ -10614,7 +10837,7 @@ export const schemaDict = {
10614
10837
  },
10615
10838
  },
10616
10839
  logAddMember: {
10617
- 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).',
10840
+ description: '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).',
10618
10841
  type: 'object',
10619
10842
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10620
10843
  properties: {
@@ -10640,7 +10863,7 @@ export const schemaDict = {
10640
10863
  },
10641
10864
  },
10642
10865
  logRemoveMember: {
10643
- 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).",
10866
+ description: "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).",
10644
10867
  type: 'object',
10645
10868
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10646
10869
  properties: {
@@ -10666,7 +10889,7 @@ export const schemaDict = {
10666
10889
  },
10667
10890
  },
10668
10891
  logMemberJoin: {
10669
- 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).',
10892
+ description: '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).',
10670
10893
  type: 'object',
10671
10894
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10672
10895
  properties: {
@@ -10692,7 +10915,7 @@ export const schemaDict = {
10692
10915
  },
10693
10916
  },
10694
10917
  logMemberLeave: {
10695
- 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).",
10918
+ description: "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).",
10696
10919
  type: 'object',
10697
10920
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10698
10921
  properties: {
@@ -10718,7 +10941,7 @@ export const schemaDict = {
10718
10941
  },
10719
10942
  },
10720
10943
  logLockConvo: {
10721
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.',
10944
+ description: 'Event indicating a group convo was locked.',
10722
10945
  type: 'object',
10723
10946
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10724
10947
  properties: {
@@ -10744,7 +10967,7 @@ export const schemaDict = {
10744
10967
  },
10745
10968
  },
10746
10969
  logUnlockConvo: {
10747
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.',
10970
+ description: 'Event indicating a group convo was unlocked.',
10748
10971
  type: 'object',
10749
10972
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10750
10973
  properties: {
@@ -10770,7 +10993,7 @@ export const schemaDict = {
10770
10993
  },
10771
10994
  },
10772
10995
  logLockConvoPermanently: {
10773
- 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.',
10996
+ description: 'Event indicating a group convo was locked permanently.',
10774
10997
  type: 'object',
10775
10998
  required: ['rev', 'convoId', 'message', 'relatedProfiles'],
10776
10999
  properties: {
@@ -10796,7 +11019,7 @@ export const schemaDict = {
10796
11019
  },
10797
11020
  },
10798
11021
  logEditGroup: {
10799
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited.',
11022
+ description: 'Event indicating info about group convo was edited.',
10800
11023
  type: 'object',
10801
11024
  required: ['rev', 'convoId', 'message'],
10802
11025
  properties: {
@@ -10814,7 +11037,7 @@ export const schemaDict = {
10814
11037
  },
10815
11038
  },
10816
11039
  logCreateJoinLink: {
10817
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was created for a group convo.',
11040
+ description: 'Event indicating a join link was created for a group convo.',
10818
11041
  type: 'object',
10819
11042
  required: ['rev', 'convoId', 'message'],
10820
11043
  properties: {
@@ -10832,7 +11055,7 @@ export const schemaDict = {
10832
11055
  },
10833
11056
  },
10834
11057
  logEditJoinLink: {
10835
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a settings about a join link for a group convo were edited.',
11058
+ description: 'Event indicating a settings about a join link for a group convo were edited.',
10836
11059
  type: 'object',
10837
11060
  required: ['rev', 'convoId', 'message'],
10838
11061
  properties: {
@@ -10850,7 +11073,7 @@ export const schemaDict = {
10850
11073
  },
10851
11074
  },
10852
11075
  logEnableJoinLink: {
10853
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was enabled for a group convo.',
11076
+ description: 'Event indicating a join link was enabled for a group convo.',
10854
11077
  type: 'object',
10855
11078
  required: ['rev', 'convoId', 'message'],
10856
11079
  properties: {
@@ -10868,7 +11091,7 @@ export const schemaDict = {
10868
11091
  },
10869
11092
  },
10870
11093
  logDisableJoinLink: {
10871
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was disabled for a group convo.',
11094
+ description: 'Event indicating a join link was disabled for a group convo.',
10872
11095
  type: 'object',
10873
11096
  required: ['rev', 'convoId', 'message'],
10874
11097
  properties: {
@@ -10886,7 +11109,7 @@ export const schemaDict = {
10886
11109
  },
10887
11110
  },
10888
11111
  logIncomingJoinRequest: {
10889
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made to a group the viewer owns. Only the owner gets this.',
11112
+ description: 'Event indicating a join request was made to a group the viewer owns. Only the owner gets this.',
10890
11113
  type: 'object',
10891
11114
  required: ['rev', 'convoId', 'member'],
10892
11115
  properties: {
@@ -10904,7 +11127,7 @@ export const schemaDict = {
10904
11127
  },
10905
11128
  },
10906
11129
  logApproveJoinRequest: {
10907
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.',
11130
+ description: 'Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.',
10908
11131
  type: 'object',
10909
11132
  required: ['rev', 'convoId', 'member'],
10910
11133
  properties: {
@@ -10922,7 +11145,7 @@ export const schemaDict = {
10922
11145
  },
10923
11146
  },
10924
11147
  logRejectJoinRequest: {
10925
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was rejected by the viewer. Only the owner gets this.',
11148
+ description: 'Event indicating a join request was rejected by the viewer. Only the owner gets this.',
10926
11149
  type: 'object',
10927
11150
  required: ['rev', 'convoId', 'member'],
10928
11151
  properties: {
@@ -10940,7 +11163,7 @@ export const schemaDict = {
10940
11163
  },
10941
11164
  },
10942
11165
  logOutgoingJoinRequest: {
10943
- 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.',
11166
+ description: 'Event indicating a join request was made by the requester. Only requester actor gets this.',
10944
11167
  type: 'object',
10945
11168
  required: ['rev', 'convoId'],
10946
11169
  properties: {
@@ -10953,7 +11176,7 @@ export const schemaDict = {
10953
11176
  },
10954
11177
  },
10955
11178
  logWithdrawIncomingJoinRequest: {
10956
- 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.',
11179
+ description: 'Event indicating a prospective member withdrew their join request. Only the owner gets this.',
10957
11180
  type: 'object',
10958
11181
  required: ['rev', 'convoId', 'member'],
10959
11182
  properties: {
@@ -10971,7 +11194,7 @@ export const schemaDict = {
10971
11194
  },
10972
11195
  },
10973
11196
  logWithdrawOutgoingJoinRequest: {
10974
- 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.',
11197
+ description: 'Event indicating the viewer withdrew their own join request. Only requester actor gets this.',
10975
11198
  type: 'object',
10976
11199
  required: ['rev', 'convoId'],
10977
11200
  properties: {
@@ -10984,7 +11207,7 @@ export const schemaDict = {
10984
11207
  },
10985
11208
  },
10986
11209
  logReadJoinRequests: {
10987
- 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.',
11210
+ description: 'Event indicating the group owner marked join requests as read. Only the owner gets this.',
10988
11211
  type: 'object',
10989
11212
  required: ['rev', 'convoId'],
10990
11213
  properties: {
@@ -11365,7 +11588,7 @@ export const schemaDict = {
11365
11588
  defs: {
11366
11589
  main: {
11367
11590
  type: 'query',
11368
- description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns unread conversation counts for conversations that are unlocked, not muted, split by convo status. Direct convos are excluded when a block relationship exists between the actor and the other member, or when the other member's account is deleted or deactivated. Group convos are considered unread if they have unread join request counts.",
11591
+ description: "Returns unread conversation counts for conversations that are unlocked, not muted, split by convo status. Direct convos are excluded when a block relationship exists between the actor and the other member, or when the other member's account is deleted or deactivated. Group convos are considered unread if they have unread join request counts.",
11369
11592
  parameters: {
11370
11593
  type: 'params',
11371
11594
  properties: {
@@ -11448,7 +11671,7 @@ export const schemaDict = {
11448
11671
  defs: {
11449
11672
  main: {
11450
11673
  type: 'query',
11451
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.',
11674
+ description: 'Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.',
11452
11675
  parameters: {
11453
11676
  type: 'params',
11454
11677
  properties: {
@@ -11556,7 +11779,7 @@ export const schemaDict = {
11556
11779
  defs: {
11557
11780
  main: {
11558
11781
  type: 'procedure',
11559
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Locks a group convo so no more content (messages, reactions) can be added to it.',
11782
+ description: 'Locks a group convo so no more content (messages, reactions) can be added to it.',
11560
11783
  errors: [
11561
11784
  {
11562
11785
  name: 'ConvoLocked',
@@ -11815,7 +12038,7 @@ export const schemaDict = {
11815
12038
  defs: {
11816
12039
  main: {
11817
12040
  type: 'procedure',
11818
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Unlocks a group convo so it is able to receive new content.',
12041
+ description: 'Unlocks a group convo so it is able to receive new content.',
11819
12042
  errors: [
11820
12043
  {
11821
12044
  name: 'InvalidConvo',
@@ -11976,7 +12199,7 @@ export const schemaDict = {
11976
12199
  ChatBskyEmbedJoinLink: {
11977
12200
  lexicon: 1,
11978
12201
  id: 'chat.bsky.embed.joinLink',
11979
- 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.',
12202
+ description: 'A join link embedded in a chat message.',
11980
12203
  defs: {
11981
12204
  main: {
11982
12205
  type: 'object',
@@ -12010,7 +12233,7 @@ export const schemaDict = {
12010
12233
  defs: {
12011
12234
  main: {
12012
12235
  type: 'procedure',
12013
- description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Adds members to a group. The members are added in 'request' status, so they have to accept it. This creates convo memberships.",
12236
+ description: "Adds members to a group. The members are added in 'request' status, so they have to accept it. This creates convo memberships.",
12014
12237
  errors: [
12015
12238
  {
12016
12239
  name: 'AccountSuspended',
@@ -12092,7 +12315,7 @@ export const schemaDict = {
12092
12315
  defs: {
12093
12316
  main: {
12094
12317
  type: 'procedure',
12095
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Approves a request to join a group (via join link) the user owns. Action taken by the group owner.',
12318
+ description: 'Approves a request to join a group (via join link) the user owns. Action taken by the group owner.',
12096
12319
  errors: [
12097
12320
  {
12098
12321
  name: 'InvalidConvo',
@@ -12142,7 +12365,7 @@ export const schemaDict = {
12142
12365
  defs: {
12143
12366
  main: {
12144
12367
  type: 'procedure',
12145
- description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Creates a group convo, specifying the members to be added to it. Unlike getConvoForMembers, this isn't idempotent. It will create new groups even if the membership is identical to pre-existing groups. Will create 'request' membership for all members, except the owner who is 'accepted'.",
12368
+ description: "Creates a group convo, specifying the members to be added to it. Unlike getConvoForMembers, this isn't idempotent. It will create new groups even if the membership is identical to pre-existing groups. Will create 'request' membership for all members, except the owner who is 'accepted'.",
12146
12369
  errors: [
12147
12370
  {
12148
12371
  name: 'AccountSuspended',
@@ -12211,7 +12434,7 @@ export const schemaDict = {
12211
12434
  defs: {
12212
12435
  main: {
12213
12436
  type: 'procedure',
12214
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Creates a join link for the group convo.',
12437
+ description: 'Creates a join link for the group convo.',
12215
12438
  errors: [
12216
12439
  {
12217
12440
  name: 'EnabledJoinLinkAlreadyExists',
@@ -12262,7 +12485,6 @@ export const schemaDict = {
12262
12485
  ChatBskyGroupDefs: {
12263
12486
  lexicon: 1,
12264
12487
  id: 'chat.bsky.group.defs',
12265
- description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
12266
12488
  defs: {
12267
12489
  linkEnabledStatus: {
12268
12490
  type: 'string',
@@ -12443,7 +12665,7 @@ export const schemaDict = {
12443
12665
  defs: {
12444
12666
  main: {
12445
12667
  type: 'procedure',
12446
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Disables the active join link for the group convo.',
12668
+ description: 'Disables the active join link for the group convo.',
12447
12669
  errors: [
12448
12670
  {
12449
12671
  name: 'InvalidConvo',
@@ -12489,7 +12711,7 @@ export const schemaDict = {
12489
12711
  defs: {
12490
12712
  main: {
12491
12713
  type: 'procedure',
12492
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Edits group settings.',
12714
+ description: 'Edits group settings.',
12493
12715
  errors: [
12494
12716
  {
12495
12717
  name: 'ConvoLocked',
@@ -12541,7 +12763,7 @@ export const schemaDict = {
12541
12763
  defs: {
12542
12764
  main: {
12543
12765
  type: 'procedure',
12544
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Edits the existing join link settings for the group convo.',
12766
+ description: 'Edits the existing join link settings for the group convo.',
12545
12767
  errors: [
12546
12768
  {
12547
12769
  name: 'InvalidConvo',
@@ -12594,7 +12816,7 @@ export const schemaDict = {
12594
12816
  defs: {
12595
12817
  main: {
12596
12818
  type: 'procedure',
12597
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Re-enables a previously disabled join link for the group convo.',
12819
+ description: 'Re-enables a previously disabled join link for the group convo.',
12598
12820
  errors: [
12599
12821
  {
12600
12822
  name: 'InvalidConvo',
@@ -12643,7 +12865,7 @@ export const schemaDict = {
12643
12865
  defs: {
12644
12866
  main: {
12645
12867
  type: 'query',
12646
- 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. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.",
12868
+ description: "Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.",
12647
12869
  parameters: {
12648
12870
  type: 'params',
12649
12871
  required: ['codes'],
@@ -12687,7 +12909,7 @@ export const schemaDict = {
12687
12909
  defs: {
12688
12910
  main: {
12689
12911
  type: 'query',
12690
- description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Lists a page of request to join a group (via join link) the user owns. Shows the data from the owner's point of view.",
12912
+ description: "Lists a page of request to join a group (via join link) the user owns. Shows the data from the owner's point of view.",
12691
12913
  errors: [
12692
12914
  {
12693
12915
  name: 'InvalidConvo',
@@ -12742,7 +12964,7 @@ export const schemaDict = {
12742
12964
  defs: {
12743
12965
  main: {
12744
12966
  type: 'query',
12745
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of group conversations that both the requester and the specified actor are members of.',
12967
+ description: 'Returns a page of group conversations that both the requester and the specified actor are members of.',
12746
12968
  parameters: {
12747
12969
  type: 'params',
12748
12970
  required: ['subject'],
@@ -12790,7 +13012,7 @@ export const schemaDict = {
12790
13012
  defs: {
12791
13013
  main: {
12792
13014
  type: 'procedure',
12793
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.',
13015
+ description: 'Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.',
12794
13016
  errors: [
12795
13017
  {
12796
13018
  name: 'InvalidConvo',
@@ -12832,7 +13054,7 @@ export const schemaDict = {
12832
13054
  defs: {
12833
13055
  main: {
12834
13056
  type: 'procedure',
12835
- description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Removes members from a group. This deletes convo memberships, doesn't just set a status.",
13057
+ description: "Removes members from a group. This deletes convo memberships, doesn't just set a status.",
12836
13058
  errors: [
12837
13059
  {
12838
13060
  name: 'InvalidConvo',
@@ -12883,7 +13105,7 @@ export const schemaDict = {
12883
13105
  defs: {
12884
13106
  main: {
12885
13107
  type: 'procedure',
12886
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.',
13108
+ description: 'Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.',
12887
13109
  errors: [
12888
13110
  {
12889
13111
  name: 'ConvoLocked',
@@ -12943,7 +13165,7 @@ export const schemaDict = {
12943
13165
  defs: {
12944
13166
  main: {
12945
13167
  type: 'procedure',
12946
- 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.',
13168
+ description: 'Marks all join requests as read for the group owner.',
12947
13169
  errors: [
12948
13170
  {
12949
13171
  name: 'InvalidConvo',
@@ -12981,7 +13203,7 @@ export const schemaDict = {
12981
13203
  defs: {
12982
13204
  main: {
12983
13205
  type: 'procedure',
12984
- 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.',
13206
+ description: 'Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.',
12985
13207
  errors: [
12986
13208
  {
12987
13209
  name: 'InvalidJoinRequest',
@@ -13015,7 +13237,7 @@ export const schemaDict = {
13015
13237
  id: 'chat.bsky.moderation.defs',
13016
13238
  defs: {
13017
13239
  convoView: {
13018
- 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.',
13240
+ description: '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.',
13019
13241
  type: 'object',
13020
13242
  required: ['id', 'rev'],
13021
13243
  properties: {
@@ -13036,12 +13258,12 @@ export const schemaDict = {
13036
13258
  },
13037
13259
  },
13038
13260
  directConvo: {
13039
- 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.',
13261
+ description: 'Data specific to a direct conversation, for moderation purposes.',
13040
13262
  type: 'object',
13041
13263
  properties: {},
13042
13264
  },
13043
13265
  groupConvo: {
13044
- 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.',
13266
+ description: '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.',
13045
13267
  type: 'object',
13046
13268
  required: [
13047
13269
  'createdAt',
@@ -13156,7 +13378,7 @@ export const schemaDict = {
13156
13378
  defs: {
13157
13379
  main: {
13158
13380
  type: 'query',
13159
- 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.',
13381
+ description: 'Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.',
13160
13382
  errors: [
13161
13383
  {
13162
13384
  name: 'InvalidConvo',
@@ -13193,7 +13415,7 @@ export const schemaDict = {
13193
13415
  defs: {
13194
13416
  main: {
13195
13417
  type: 'query',
13196
- 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.',
13418
+ description: 'Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.',
13197
13419
  errors: [
13198
13420
  {
13199
13421
  name: 'InvalidConvo',
@@ -13245,7 +13467,7 @@ export const schemaDict = {
13245
13467
  defs: {
13246
13468
  main: {
13247
13469
  type: 'query',
13248
- description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.',
13470
+ description: 'Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.',
13249
13471
  parameters: {
13250
13472
  type: 'params',
13251
13473
  required: ['convoIds'],
@@ -14022,6 +14244,101 @@ export const schemaDict = {
14022
14244
  },
14023
14245
  },
14024
14246
  },
14247
+ ChatBskyNotificationDefs: {
14248
+ lexicon: 1,
14249
+ id: 'chat.bsky.notification.defs',
14250
+ defs: {
14251
+ preferences: {
14252
+ type: 'object',
14253
+ required: ['chat', 'chatRequest'],
14254
+ properties: {
14255
+ chat: {
14256
+ type: 'ref',
14257
+ ref: 'lex:chat.bsky.notification.defs#chatPreference',
14258
+ },
14259
+ chatRequest: {
14260
+ type: 'ref',
14261
+ ref: 'lex:chat.bsky.notification.defs#chatPreference',
14262
+ },
14263
+ },
14264
+ },
14265
+ chatPreference: {
14266
+ type: 'object',
14267
+ required: ['include', 'push'],
14268
+ properties: {
14269
+ include: {
14270
+ type: 'string',
14271
+ knownValues: ['all', 'follows'],
14272
+ },
14273
+ push: {
14274
+ type: 'boolean',
14275
+ },
14276
+ },
14277
+ },
14278
+ },
14279
+ },
14280
+ ChatBskyNotificationGetPreferences: {
14281
+ lexicon: 1,
14282
+ id: 'chat.bsky.notification.getPreferences',
14283
+ defs: {
14284
+ main: {
14285
+ type: 'query',
14286
+ description: "Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.",
14287
+ output: {
14288
+ encoding: 'application/json',
14289
+ schema: {
14290
+ type: 'object',
14291
+ required: ['preferences'],
14292
+ properties: {
14293
+ preferences: {
14294
+ type: 'ref',
14295
+ ref: 'lex:chat.bsky.notification.defs#preferences',
14296
+ },
14297
+ },
14298
+ },
14299
+ },
14300
+ },
14301
+ },
14302
+ },
14303
+ ChatBskyNotificationPutPreferences: {
14304
+ lexicon: 1,
14305
+ id: 'chat.bsky.notification.putPreferences',
14306
+ defs: {
14307
+ main: {
14308
+ type: 'procedure',
14309
+ description: "Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.",
14310
+ input: {
14311
+ encoding: 'application/json',
14312
+ schema: {
14313
+ type: 'object',
14314
+ properties: {
14315
+ chat: {
14316
+ type: 'ref',
14317
+ ref: 'lex:chat.bsky.notification.defs#chatPreference',
14318
+ },
14319
+ chatRequest: {
14320
+ type: 'ref',
14321
+ ref: 'lex:chat.bsky.notification.defs#chatPreference',
14322
+ },
14323
+ },
14324
+ },
14325
+ },
14326
+ output: {
14327
+ encoding: 'application/json',
14328
+ schema: {
14329
+ type: 'object',
14330
+ required: ['preferences'],
14331
+ properties: {
14332
+ preferences: {
14333
+ type: 'ref',
14334
+ ref: 'lex:chat.bsky.notification.defs#preferences',
14335
+ },
14336
+ },
14337
+ },
14338
+ },
14339
+ },
14340
+ },
14341
+ },
14025
14342
  ComAtprotoAdminDefs: {
14026
14343
  lexicon: 1,
14027
14344
  id: 'com.atproto.admin.defs',
@@ -22932,6 +23249,11 @@ export const schemaDict = {
22932
23249
  ref: 'lex:tools.ozone.team.defs#member',
22933
23250
  description: 'Full member record of the moderator who created this activity',
22934
23251
  },
23252
+ report: {
23253
+ type: 'ref',
23254
+ ref: 'lex:tools.ozone.report.defs#reportView',
23255
+ description: 'Full view of the report this activity belongs to.',
23256
+ },
22935
23257
  createdAt: {
22936
23258
  type: 'string',
22937
23259
  format: 'datetime',
@@ -23344,6 +23666,72 @@ export const schemaDict = {
23344
23666
  },
23345
23667
  },
23346
23668
  },
23669
+ ToolsOzoneReportQueryActivities: {
23670
+ lexicon: 1,
23671
+ id: 'tools.ozone.report.queryActivities',
23672
+ defs: {
23673
+ main: {
23674
+ type: 'query',
23675
+ description: 'Query report activities across all reports, ordered by createdAt. Used by downstream pollers; for per-report activity history use listActivities.',
23676
+ parameters: {
23677
+ type: 'params',
23678
+ properties: {
23679
+ activityTypes: {
23680
+ type: 'array',
23681
+ items: {
23682
+ type: 'string',
23683
+ },
23684
+ description: 'Filter to specific activity types (e.g. closeActivity, escalationActivity). If omitted, all types are returned.',
23685
+ },
23686
+ createdAfter: {
23687
+ type: 'string',
23688
+ format: 'datetime',
23689
+ description: 'Retrieve activities created at or after a given timestamp',
23690
+ },
23691
+ createdBefore: {
23692
+ type: 'string',
23693
+ format: 'datetime',
23694
+ description: 'Retrieve activities created at or before a given timestamp',
23695
+ },
23696
+ sortDirection: {
23697
+ type: 'string',
23698
+ default: 'desc',
23699
+ enum: ['asc', 'desc'],
23700
+ },
23701
+ limit: {
23702
+ type: 'integer',
23703
+ minimum: 1,
23704
+ maximum: 100,
23705
+ default: 50,
23706
+ },
23707
+ cursor: {
23708
+ type: 'string',
23709
+ description: 'Cursor of the form `<createdAtMs>::<activityId>`.',
23710
+ },
23711
+ },
23712
+ },
23713
+ output: {
23714
+ encoding: 'application/json',
23715
+ schema: {
23716
+ type: 'object',
23717
+ required: ['activities'],
23718
+ properties: {
23719
+ activities: {
23720
+ type: 'array',
23721
+ items: {
23722
+ type: 'ref',
23723
+ ref: 'lex:tools.ozone.report.defs#reportActivityView',
23724
+ },
23725
+ },
23726
+ cursor: {
23727
+ type: 'string',
23728
+ },
23729
+ },
23730
+ },
23731
+ },
23732
+ },
23733
+ },
23734
+ },
23347
23735
  ToolsOzoneReportQueryReports: {
23348
23736
  lexicon: 1,
23349
23737
  id: 'tools.ozone.report.queryReports',
@@ -25446,6 +25834,7 @@ export const ids = {
25446
25834
  AppBskyFeedPostgate: 'app.bsky.feed.postgate',
25447
25835
  AppBskyFeedRepost: 'app.bsky.feed.repost',
25448
25836
  AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
25837
+ AppBskyFeedSearchPostsV2: 'app.bsky.feed.searchPostsV2',
25449
25838
  AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
25450
25839
  AppBskyFeedThreadgate: 'app.bsky.feed.threadgate',
25451
25840
  AppBskyGraphBlock: 'app.bsky.graph.block',
@@ -25584,6 +25973,9 @@ export const ids = {
25584
25973
  ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
25585
25974
  ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
25586
25975
  ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',
25976
+ ChatBskyNotificationDefs: 'chat.bsky.notification.defs',
25977
+ ChatBskyNotificationGetPreferences: 'chat.bsky.notification.getPreferences',
25978
+ ChatBskyNotificationPutPreferences: 'chat.bsky.notification.putPreferences',
25587
25979
  ComAtprotoAdminDefs: 'com.atproto.admin.defs',
25588
25980
  ComAtprotoAdminDeleteAccount: 'com.atproto.admin.deleteAccount',
25589
25981
  ComAtprotoAdminDisableAccountInvites: 'com.atproto.admin.disableAccountInvites',
@@ -25720,6 +26112,7 @@ export const ids = {
25720
26112
  ToolsOzoneReportGetLiveStats: 'tools.ozone.report.getLiveStats',
25721
26113
  ToolsOzoneReportGetReport: 'tools.ozone.report.getReport',
25722
26114
  ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities',
26115
+ ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities',
25723
26116
  ToolsOzoneReportQueryReports: 'tools.ozone.report.queryReports',
25724
26117
  ToolsOzoneReportReassignQueue: 'tools.ozone.report.reassignQueue',
25725
26118
  ToolsOzoneReportRefreshStats: 'tools.ozone.report.refreshStats',