@atcute/bluesky 1.0.0

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.
@@ -0,0 +1,2454 @@
1
+ /**
2
+ * @module
3
+ * Contains type declarations for Bluesky lexicons
4
+ */
5
+ import '@atcute/client/lexicons';
6
+ declare module '@atcute/client/lexicons' {
7
+ namespace AppBskyActorDefs {
8
+ interface AdultContentPref {
9
+ [Brand.Type]?: 'app.bsky.actor.defs#adultContentPref';
10
+ /** @default false */
11
+ enabled: boolean;
12
+ }
13
+ /** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */
14
+ interface BskyAppProgressGuide {
15
+ [Brand.Type]?: 'app.bsky.actor.defs#bskyAppProgressGuide';
16
+ /** Maximum string length: 100 */
17
+ guide: string;
18
+ }
19
+ /** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */
20
+ interface BskyAppStatePref {
21
+ [Brand.Type]?: 'app.bsky.actor.defs#bskyAppStatePref';
22
+ activeProgressGuide?: BskyAppProgressGuide;
23
+ /**
24
+ * An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. \
25
+ * Maximum array length: 1000 \
26
+ * Maximum string length: 100
27
+ */
28
+ queuedNudges?: string[];
29
+ }
30
+ interface ContentLabelPref {
31
+ [Brand.Type]?: 'app.bsky.actor.defs#contentLabelPref';
32
+ label: string;
33
+ visibility: 'hide' | 'ignore' | 'show' | 'warn' | (string & {});
34
+ /** Which labeler does this preference apply to? If undefined, applies globally. */
35
+ labelerDid?: At.DID;
36
+ }
37
+ interface FeedViewPref {
38
+ [Brand.Type]?: 'app.bsky.actor.defs#feedViewPref';
39
+ /** The URI of the feed, or an identifier which describes the feed. */
40
+ feed: string;
41
+ /** Hide quote posts in the feed. */
42
+ hideQuotePosts?: boolean;
43
+ /** Hide replies in the feed. */
44
+ hideReplies?: boolean;
45
+ /** Hide replies in the feed if they do not have this number of likes. */
46
+ hideRepliesByLikeCount?: number;
47
+ /**
48
+ * Hide replies in the feed if they are not by followed users.
49
+ * @default true
50
+ */
51
+ hideRepliesByUnfollowed?: boolean;
52
+ /** Hide reposts in the feed. */
53
+ hideReposts?: boolean;
54
+ }
55
+ interface HiddenPostsPref {
56
+ [Brand.Type]?: 'app.bsky.actor.defs#hiddenPostsPref';
57
+ /** A list of URIs of posts the account owner has hidden. */
58
+ items: At.Uri[];
59
+ }
60
+ interface InterestsPref {
61
+ [Brand.Type]?: 'app.bsky.actor.defs#interestsPref';
62
+ /**
63
+ * A list of tags which describe the account owner's interests gathered during onboarding. \
64
+ * Maximum array length: 100 \
65
+ * Maximum string length: 640 \
66
+ * Maximum grapheme length: 64
67
+ */
68
+ tags: string[];
69
+ }
70
+ /** The subject's followers whom you also follow */
71
+ interface KnownFollowers {
72
+ [Brand.Type]?: 'app.bsky.actor.defs#knownFollowers';
73
+ count: number;
74
+ /**
75
+ * Minimum array length: 0 \
76
+ * Maximum array length: 5
77
+ */
78
+ followers: ProfileViewBasic[];
79
+ }
80
+ interface LabelerPrefItem {
81
+ [Brand.Type]?: 'app.bsky.actor.defs#labelerPrefItem';
82
+ did: At.DID;
83
+ }
84
+ interface LabelersPref {
85
+ [Brand.Type]?: 'app.bsky.actor.defs#labelersPref';
86
+ labelers: LabelerPrefItem[];
87
+ }
88
+ /** A word that the account owner has muted. */
89
+ interface MutedWord {
90
+ [Brand.Type]?: 'app.bsky.actor.defs#mutedWord';
91
+ /** The intended targets of the muted word. */
92
+ targets: AppBskyActorDefs.MutedWordTarget[];
93
+ /**
94
+ * The muted word itself. \
95
+ * Maximum string length: 10000 \
96
+ * Maximum grapheme length: 1000
97
+ */
98
+ value: string;
99
+ /**
100
+ * Groups of users to apply the muted word to. If undefined, applies to all users.
101
+ * @default "all"
102
+ */
103
+ actorTarget?: 'all' | 'exclude-following' | (string & {});
104
+ /** The date and time at which the muted word will expire and no longer be applied. */
105
+ expiresAt?: string;
106
+ id?: string;
107
+ }
108
+ interface MutedWordsPref {
109
+ [Brand.Type]?: 'app.bsky.actor.defs#mutedWordsPref';
110
+ /** A list of words the account owner has muted. */
111
+ items: AppBskyActorDefs.MutedWord[];
112
+ }
113
+ /**
114
+ * Maximum string length: 640 \
115
+ * Maximum grapheme length: 64
116
+ */
117
+ type MutedWordTarget = 'content' | 'tag' | (string & {});
118
+ interface PersonalDetailsPref {
119
+ [Brand.Type]?: 'app.bsky.actor.defs#personalDetailsPref';
120
+ /** The birth date of account owner. */
121
+ birthDate?: string;
122
+ }
123
+ type Preferences = Brand.Union<AdultContentPref | BskyAppStatePref | ContentLabelPref | FeedViewPref | HiddenPostsPref | InterestsPref | LabelersPref | MutedWordsPref | PersonalDetailsPref | SavedFeedsPref | SavedFeedsPrefV2 | ThreadViewPref>[];
124
+ interface ProfileAssociated {
125
+ [Brand.Type]?: 'app.bsky.actor.defs#profileAssociated';
126
+ chat?: ProfileAssociatedChat;
127
+ feedgens?: number;
128
+ labeler?: boolean;
129
+ lists?: number;
130
+ starterPacks?: number;
131
+ }
132
+ interface ProfileAssociatedChat {
133
+ [Brand.Type]?: 'app.bsky.actor.defs#profileAssociatedChat';
134
+ allowIncoming: 'all' | 'following' | 'none' | (string & {});
135
+ }
136
+ interface ProfileView {
137
+ [Brand.Type]?: 'app.bsky.actor.defs#profileView';
138
+ did: At.DID;
139
+ handle: At.Handle;
140
+ associated?: ProfileAssociated;
141
+ avatar?: string;
142
+ createdAt?: string;
143
+ /**
144
+ * Maximum string length: 2560 \
145
+ * Maximum grapheme length: 256
146
+ */
147
+ description?: string;
148
+ /**
149
+ * Maximum string length: 640 \
150
+ * Maximum grapheme length: 64
151
+ */
152
+ displayName?: string;
153
+ indexedAt?: string;
154
+ labels?: ComAtprotoLabelDefs.Label[];
155
+ viewer?: ViewerState;
156
+ }
157
+ interface ProfileViewBasic {
158
+ [Brand.Type]?: 'app.bsky.actor.defs#profileViewBasic';
159
+ did: At.DID;
160
+ handle: At.Handle;
161
+ associated?: ProfileAssociated;
162
+ avatar?: string;
163
+ createdAt?: string;
164
+ /**
165
+ * Maximum string length: 640 \
166
+ * Maximum grapheme length: 64
167
+ */
168
+ displayName?: string;
169
+ labels?: ComAtprotoLabelDefs.Label[];
170
+ viewer?: ViewerState;
171
+ }
172
+ interface ProfileViewDetailed {
173
+ [Brand.Type]?: 'app.bsky.actor.defs#profileViewDetailed';
174
+ did: At.DID;
175
+ handle: At.Handle;
176
+ associated?: ProfileAssociated;
177
+ avatar?: string;
178
+ banner?: string;
179
+ createdAt?: string;
180
+ /**
181
+ * Maximum string length: 2560 \
182
+ * Maximum grapheme length: 256
183
+ */
184
+ description?: string;
185
+ /**
186
+ * Maximum string length: 640 \
187
+ * Maximum grapheme length: 64
188
+ */
189
+ displayName?: string;
190
+ followersCount?: number;
191
+ followsCount?: number;
192
+ indexedAt?: string;
193
+ joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic;
194
+ labels?: ComAtprotoLabelDefs.Label[];
195
+ postsCount?: number;
196
+ viewer?: ViewerState;
197
+ }
198
+ interface SavedFeed {
199
+ [Brand.Type]?: 'app.bsky.actor.defs#savedFeed';
200
+ id: string;
201
+ pinned: boolean;
202
+ type: 'feed' | 'list' | 'timeline' | (string & {});
203
+ value: string;
204
+ }
205
+ interface SavedFeedsPref {
206
+ [Brand.Type]?: 'app.bsky.actor.defs#savedFeedsPref';
207
+ pinned: At.Uri[];
208
+ saved: At.Uri[];
209
+ timelineIndex?: number;
210
+ }
211
+ interface SavedFeedsPrefV2 {
212
+ [Brand.Type]?: 'app.bsky.actor.defs#savedFeedsPrefV2';
213
+ items: AppBskyActorDefs.SavedFeed[];
214
+ }
215
+ interface ThreadViewPref {
216
+ [Brand.Type]?: 'app.bsky.actor.defs#threadViewPref';
217
+ /** Show followed users at the top of all replies. */
218
+ prioritizeFollowedUsers?: boolean;
219
+ /** Sorting mode for threads. */
220
+ sort?: 'most-likes' | 'newest' | 'oldest' | 'random' | (string & {});
221
+ }
222
+ /** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */
223
+ interface ViewerState {
224
+ [Brand.Type]?: 'app.bsky.actor.defs#viewerState';
225
+ blockedBy?: boolean;
226
+ blocking?: At.Uri;
227
+ blockingByList?: AppBskyGraphDefs.ListViewBasic;
228
+ followedBy?: At.Uri;
229
+ following?: At.Uri;
230
+ knownFollowers?: KnownFollowers;
231
+ muted?: boolean;
232
+ mutedByList?: AppBskyGraphDefs.ListViewBasic;
233
+ }
234
+ }
235
+ /** Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth. */
236
+ namespace AppBskyActorGetPreferences {
237
+ type Input = undefined;
238
+ interface Output {
239
+ preferences: AppBskyActorDefs.Preferences;
240
+ }
241
+ }
242
+ /** Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth. */
243
+ namespace AppBskyActorGetProfile {
244
+ interface Params {
245
+ /** Handle or DID of account to fetch profile of. */
246
+ actor: string;
247
+ }
248
+ type Input = undefined;
249
+ type Output = AppBskyActorDefs.ProfileViewDetailed;
250
+ }
251
+ /** Get detailed profile views of multiple actors. */
252
+ namespace AppBskyActorGetProfiles {
253
+ interface Params {
254
+ /** Maximum array length: 25 */
255
+ actors: string[];
256
+ }
257
+ type Input = undefined;
258
+ interface Output {
259
+ profiles: AppBskyActorDefs.ProfileViewDetailed[];
260
+ }
261
+ }
262
+ /** Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding. */
263
+ namespace AppBskyActorGetSuggestions {
264
+ interface Params {
265
+ cursor?: string;
266
+ /**
267
+ * Minimum: 1 \
268
+ * Maximum: 100
269
+ * @default 50
270
+ */
271
+ limit?: number;
272
+ }
273
+ type Input = undefined;
274
+ interface Output {
275
+ actors: AppBskyActorDefs.ProfileView[];
276
+ cursor?: string;
277
+ }
278
+ }
279
+ namespace AppBskyActorProfile {
280
+ interface Record {
281
+ /** Small image to be displayed next to posts from account. AKA, 'profile picture' */
282
+ avatar?: At.Blob;
283
+ /** Larger horizontal image to display behind profile view. */
284
+ banner?: At.Blob;
285
+ createdAt?: string;
286
+ /**
287
+ * Free-form profile description text. \
288
+ * Maximum string length: 2560 \
289
+ * Maximum grapheme length: 256
290
+ */
291
+ description?: string;
292
+ /**
293
+ * Maximum string length: 640 \
294
+ * Maximum grapheme length: 64
295
+ */
296
+ displayName?: string;
297
+ joinedViaStarterPack?: ComAtprotoRepoStrongRef.Main;
298
+ /** Self-label values, specific to the Bluesky application, on the overall account. */
299
+ labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
300
+ }
301
+ }
302
+ /** Set the private preferences attached to the account. */
303
+ namespace AppBskyActorPutPreferences {
304
+ interface Params {
305
+ }
306
+ interface Input {
307
+ preferences: AppBskyActorDefs.Preferences;
308
+ }
309
+ type Output = undefined;
310
+ }
311
+ /** Find actors (profiles) matching search criteria. Does not require auth. */
312
+ namespace AppBskyActorSearchActors {
313
+ interface Params {
314
+ cursor?: string;
315
+ /**
316
+ * Minimum: 1 \
317
+ * Maximum: 100
318
+ * @default 25
319
+ */
320
+ limit?: number;
321
+ /** Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
322
+ q?: string;
323
+ /**
324
+ * DEPRECATED: use 'q' instead.
325
+ * @deprecated
326
+ */
327
+ term?: string;
328
+ }
329
+ type Input = undefined;
330
+ interface Output {
331
+ actors: AppBskyActorDefs.ProfileView[];
332
+ cursor?: string;
333
+ }
334
+ }
335
+ /** Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth. */
336
+ namespace AppBskyActorSearchActorsTypeahead {
337
+ interface Params {
338
+ /**
339
+ * Minimum: 1 \
340
+ * Maximum: 100
341
+ * @default 10
342
+ */
343
+ limit?: number;
344
+ /** Search query prefix; not a full query string. */
345
+ q?: string;
346
+ /**
347
+ * DEPRECATED: use 'q' instead.
348
+ * @deprecated
349
+ */
350
+ term?: string;
351
+ }
352
+ type Input = undefined;
353
+ interface Output {
354
+ actors: AppBskyActorDefs.ProfileViewBasic[];
355
+ }
356
+ }
357
+ namespace AppBskyEmbedExternal {
358
+ /** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */
359
+ interface Main {
360
+ [Brand.Type]?: 'app.bsky.embed.external';
361
+ external: External;
362
+ }
363
+ interface External {
364
+ [Brand.Type]?: 'app.bsky.embed.external#external';
365
+ description: string;
366
+ title: string;
367
+ uri: string;
368
+ thumb?: At.Blob;
369
+ }
370
+ interface View {
371
+ [Brand.Type]?: 'app.bsky.embed.external#view';
372
+ external: ViewExternal;
373
+ }
374
+ interface ViewExternal {
375
+ [Brand.Type]?: 'app.bsky.embed.external#viewExternal';
376
+ description: string;
377
+ title: string;
378
+ uri: string;
379
+ thumb?: string;
380
+ }
381
+ }
382
+ namespace AppBskyEmbedImages {
383
+ interface Main {
384
+ [Brand.Type]?: 'app.bsky.embed.images';
385
+ /** Maximum array length: 4 */
386
+ images: Image[];
387
+ }
388
+ /** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
389
+ interface AspectRatio {
390
+ [Brand.Type]?: 'app.bsky.embed.images#aspectRatio';
391
+ /** Minimum: 1 */
392
+ height: number;
393
+ /** Minimum: 1 */
394
+ width: number;
395
+ }
396
+ interface Image {
397
+ [Brand.Type]?: 'app.bsky.embed.images#image';
398
+ /** Alt text description of the image, for accessibility. */
399
+ alt: string;
400
+ image: At.Blob;
401
+ aspectRatio?: AspectRatio;
402
+ }
403
+ interface View {
404
+ [Brand.Type]?: 'app.bsky.embed.images#view';
405
+ /** Maximum array length: 4 */
406
+ images: ViewImage[];
407
+ }
408
+ interface ViewImage {
409
+ [Brand.Type]?: 'app.bsky.embed.images#viewImage';
410
+ /** Alt text description of the image, for accessibility. */
411
+ alt: string;
412
+ /** Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */
413
+ fullsize: string;
414
+ /** Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */
415
+ thumb: string;
416
+ aspectRatio?: AspectRatio;
417
+ }
418
+ }
419
+ namespace AppBskyEmbedRecord {
420
+ interface Main {
421
+ [Brand.Type]?: 'app.bsky.embed.record';
422
+ record: ComAtprotoRepoStrongRef.Main;
423
+ }
424
+ interface View {
425
+ [Brand.Type]?: 'app.bsky.embed.record#view';
426
+ record: Brand.Union<ViewBlocked | ViewNotFound | ViewRecord | AppBskyFeedDefs.GeneratorView | AppBskyGraphDefs.ListView | AppBskyGraphDefs.StarterPackViewBasic | AppBskyLabelerDefs.LabelerView>;
427
+ }
428
+ interface ViewBlocked {
429
+ [Brand.Type]?: 'app.bsky.embed.record#viewBlocked';
430
+ author: AppBskyFeedDefs.BlockedAuthor;
431
+ blocked: boolean;
432
+ uri: At.Uri;
433
+ }
434
+ interface ViewNotFound {
435
+ [Brand.Type]?: 'app.bsky.embed.record#viewNotFound';
436
+ notFound: boolean;
437
+ uri: At.Uri;
438
+ }
439
+ interface ViewRecord {
440
+ [Brand.Type]?: 'app.bsky.embed.record#viewRecord';
441
+ author: AppBskyActorDefs.ProfileViewBasic;
442
+ cid: At.CID;
443
+ indexedAt: string;
444
+ uri: At.Uri;
445
+ /** The record data itself. */
446
+ value: unknown;
447
+ embeds?: Brand.Union<AppBskyEmbedExternal.View | AppBskyEmbedImages.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View>[];
448
+ labels?: ComAtprotoLabelDefs.Label[];
449
+ likeCount?: number;
450
+ replyCount?: number;
451
+ repostCount?: number;
452
+ }
453
+ }
454
+ namespace AppBskyEmbedRecordWithMedia {
455
+ interface Main {
456
+ [Brand.Type]?: 'app.bsky.embed.recordWithMedia';
457
+ media: Brand.Union<AppBskyEmbedExternal.Main | AppBskyEmbedImages.Main>;
458
+ record: AppBskyEmbedRecord.Main;
459
+ }
460
+ interface View {
461
+ [Brand.Type]?: 'app.bsky.embed.recordWithMedia#view';
462
+ media: Brand.Union<AppBskyEmbedExternal.View | AppBskyEmbedImages.View>;
463
+ record: AppBskyEmbedRecord.View;
464
+ }
465
+ }
466
+ namespace AppBskyFeedDefs {
467
+ interface BlockedAuthor {
468
+ [Brand.Type]?: 'app.bsky.feed.defs#blockedAuthor';
469
+ did: At.DID;
470
+ viewer?: AppBskyActorDefs.ViewerState;
471
+ }
472
+ interface BlockedPost {
473
+ [Brand.Type]?: 'app.bsky.feed.defs#blockedPost';
474
+ author: BlockedAuthor;
475
+ blocked: boolean;
476
+ uri: At.Uri;
477
+ }
478
+ type ClickthroughAuthor = 'app.bsky.feed.defs#clickthroughAuthor';
479
+ type ClickthroughEmbed = 'app.bsky.feed.defs#clickthroughEmbed';
480
+ type ClickthroughItem = 'app.bsky.feed.defs#clickthroughItem';
481
+ type ClickthroughReposter = 'app.bsky.feed.defs#clickthroughReposter';
482
+ interface FeedViewPost {
483
+ [Brand.Type]?: 'app.bsky.feed.defs#feedViewPost';
484
+ post: PostView;
485
+ /**
486
+ * Context provided by feed generator that may be passed back alongside interactions. \
487
+ * Maximum string length: 2000
488
+ */
489
+ feedContext?: string;
490
+ reason?: Brand.Union<ReasonRepost>;
491
+ reply?: ReplyRef;
492
+ }
493
+ interface GeneratorView {
494
+ [Brand.Type]?: 'app.bsky.feed.defs#generatorView';
495
+ cid: At.CID;
496
+ creator: AppBskyActorDefs.ProfileView;
497
+ did: At.DID;
498
+ displayName: string;
499
+ indexedAt: string;
500
+ uri: At.Uri;
501
+ acceptsInteractions?: boolean;
502
+ avatar?: string;
503
+ /**
504
+ * Maximum string length: 3000 \
505
+ * Maximum grapheme length: 300
506
+ */
507
+ description?: string;
508
+ descriptionFacets?: AppBskyRichtextFacet.Main[];
509
+ labels?: ComAtprotoLabelDefs.Label[];
510
+ /** Minimum: 0 */
511
+ likeCount?: number;
512
+ viewer?: GeneratorViewerState;
513
+ }
514
+ interface GeneratorViewerState {
515
+ [Brand.Type]?: 'app.bsky.feed.defs#generatorViewerState';
516
+ like?: At.Uri;
517
+ }
518
+ interface Interaction {
519
+ [Brand.Type]?: 'app.bsky.feed.defs#interaction';
520
+ event?: 'app.bsky.feed.defs#clickthroughAuthor' | 'app.bsky.feed.defs#clickthroughEmbed' | 'app.bsky.feed.defs#clickthroughItem' | 'app.bsky.feed.defs#clickthroughReposter' | 'app.bsky.feed.defs#interactionLike' | 'app.bsky.feed.defs#interactionQuote' | 'app.bsky.feed.defs#interactionReply' | 'app.bsky.feed.defs#interactionRepost' | 'app.bsky.feed.defs#interactionSeen' | 'app.bsky.feed.defs#interactionShare' | 'app.bsky.feed.defs#requestLess' | 'app.bsky.feed.defs#requestMore' | (string & {});
521
+ /**
522
+ * Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. \
523
+ * Maximum string length: 2000
524
+ */
525
+ feedContext?: string;
526
+ item?: At.Uri;
527
+ }
528
+ type InteractionLike = 'app.bsky.feed.defs#interactionLike';
529
+ type InteractionQuote = 'app.bsky.feed.defs#interactionQuote';
530
+ type InteractionReply = 'app.bsky.feed.defs#interactionReply';
531
+ type InteractionRepost = 'app.bsky.feed.defs#interactionRepost';
532
+ type InteractionSeen = 'app.bsky.feed.defs#interactionSeen';
533
+ type InteractionShare = 'app.bsky.feed.defs#interactionShare';
534
+ interface NotFoundPost {
535
+ [Brand.Type]?: 'app.bsky.feed.defs#notFoundPost';
536
+ notFound: boolean;
537
+ uri: At.Uri;
538
+ }
539
+ interface PostView {
540
+ [Brand.Type]?: 'app.bsky.feed.defs#postView';
541
+ author: AppBskyActorDefs.ProfileViewBasic;
542
+ cid: At.CID;
543
+ indexedAt: string;
544
+ record: unknown;
545
+ uri: At.Uri;
546
+ embed?: Brand.Union<AppBskyEmbedExternal.View | AppBskyEmbedImages.View | AppBskyEmbedRecord.View | AppBskyEmbedRecordWithMedia.View>;
547
+ labels?: ComAtprotoLabelDefs.Label[];
548
+ likeCount?: number;
549
+ replyCount?: number;
550
+ repostCount?: number;
551
+ threadgate?: ThreadgateView;
552
+ viewer?: ViewerState;
553
+ }
554
+ interface ReasonRepost {
555
+ [Brand.Type]?: 'app.bsky.feed.defs#reasonRepost';
556
+ by: AppBskyActorDefs.ProfileViewBasic;
557
+ indexedAt: string;
558
+ }
559
+ interface ReplyRef {
560
+ [Brand.Type]?: 'app.bsky.feed.defs#replyRef';
561
+ parent: Brand.Union<BlockedPost | NotFoundPost | PostView>;
562
+ root: Brand.Union<BlockedPost | NotFoundPost | PostView>;
563
+ /** When parent is a reply to another post, this is the author of that post. */
564
+ grandparentAuthor?: AppBskyActorDefs.ProfileViewBasic;
565
+ }
566
+ type RequestLess = 'app.bsky.feed.defs#requestLess';
567
+ type RequestMore = 'app.bsky.feed.defs#requestMore';
568
+ interface SkeletonFeedPost {
569
+ [Brand.Type]?: 'app.bsky.feed.defs#skeletonFeedPost';
570
+ post: At.Uri;
571
+ /**
572
+ * Context that will be passed through to client and may be passed to feed generator back alongside interactions. \
573
+ * Maximum string length: 2000
574
+ */
575
+ feedContext?: string;
576
+ reason?: Brand.Union<SkeletonReasonRepost>;
577
+ }
578
+ interface SkeletonReasonRepost {
579
+ [Brand.Type]?: 'app.bsky.feed.defs#skeletonReasonRepost';
580
+ repost: At.Uri;
581
+ }
582
+ interface ThreadgateView {
583
+ [Brand.Type]?: 'app.bsky.feed.defs#threadgateView';
584
+ cid?: At.CID;
585
+ lists?: AppBskyGraphDefs.ListViewBasic[];
586
+ record?: unknown;
587
+ uri?: At.Uri;
588
+ }
589
+ interface ThreadViewPost {
590
+ [Brand.Type]?: 'app.bsky.feed.defs#threadViewPost';
591
+ post: PostView;
592
+ parent?: Brand.Union<BlockedPost | NotFoundPost | ThreadViewPost>;
593
+ replies?: Brand.Union<BlockedPost | NotFoundPost | ThreadViewPost>[];
594
+ }
595
+ /** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */
596
+ interface ViewerState {
597
+ [Brand.Type]?: 'app.bsky.feed.defs#viewerState';
598
+ like?: At.Uri;
599
+ replyDisabled?: boolean;
600
+ repost?: At.Uri;
601
+ threadMuted?: boolean;
602
+ }
603
+ }
604
+ /** Get information about a feed generator, including policies and offered feed URIs. Does not require auth; implemented by Feed Generator services (not App View). */
605
+ namespace AppBskyFeedDescribeFeedGenerator {
606
+ interface Params {
607
+ }
608
+ type Input = undefined;
609
+ interface Output {
610
+ did: At.DID;
611
+ feeds: Feed[];
612
+ links?: Links;
613
+ }
614
+ interface Feed {
615
+ [Brand.Type]?: 'app.bsky.feed.describeFeedGenerator#feed';
616
+ uri: At.Uri;
617
+ }
618
+ interface Links {
619
+ [Brand.Type]?: 'app.bsky.feed.describeFeedGenerator#links';
620
+ privacyPolicy?: string;
621
+ termsOfService?: string;
622
+ }
623
+ }
624
+ namespace AppBskyFeedGenerator {
625
+ interface Record {
626
+ createdAt: string;
627
+ did: At.DID;
628
+ /**
629
+ * Maximum string length: 240 \
630
+ * Maximum grapheme length: 24
631
+ */
632
+ displayName: string;
633
+ /** Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions */
634
+ acceptsInteractions?: boolean;
635
+ avatar?: At.Blob;
636
+ /**
637
+ * Maximum string length: 3000 \
638
+ * Maximum grapheme length: 300
639
+ */
640
+ description?: string;
641
+ descriptionFacets?: AppBskyRichtextFacet.Main[];
642
+ /** Self-label values */
643
+ labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
644
+ }
645
+ }
646
+ /** Get a list of feeds (feed generator records) created by the actor (in the actor's repo). */
647
+ namespace AppBskyFeedGetActorFeeds {
648
+ interface Params {
649
+ actor: string;
650
+ cursor?: string;
651
+ /**
652
+ * Minimum: 1 \
653
+ * Maximum: 100
654
+ * @default 50
655
+ */
656
+ limit?: number;
657
+ }
658
+ type Input = undefined;
659
+ interface Output {
660
+ feeds: AppBskyFeedDefs.GeneratorView[];
661
+ cursor?: string;
662
+ }
663
+ }
664
+ /** Get a list of posts liked by an actor. Requires auth, actor must be the requesting account. */
665
+ namespace AppBskyFeedGetActorLikes {
666
+ interface Params {
667
+ actor: string;
668
+ cursor?: string;
669
+ /**
670
+ * Minimum: 1 \
671
+ * Maximum: 100
672
+ * @default 50
673
+ */
674
+ limit?: number;
675
+ }
676
+ type Input = undefined;
677
+ interface Output {
678
+ feed: AppBskyFeedDefs.FeedViewPost[];
679
+ cursor?: string;
680
+ }
681
+ interface Errors {
682
+ BlockedActor: {};
683
+ BlockedByActor: {};
684
+ }
685
+ }
686
+ /** Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth. */
687
+ namespace AppBskyFeedGetAuthorFeed {
688
+ interface Params {
689
+ actor: string;
690
+ cursor?: string;
691
+ /**
692
+ * Combinations of post/repost types to include in response.
693
+ * @default "posts_with_replies"
694
+ */
695
+ filter?: 'posts_and_author_threads' | 'posts_no_replies' | 'posts_with_media' | 'posts_with_replies' | (string & {});
696
+ /**
697
+ * Minimum: 1 \
698
+ * Maximum: 100
699
+ * @default 50
700
+ */
701
+ limit?: number;
702
+ }
703
+ type Input = undefined;
704
+ interface Output {
705
+ feed: AppBskyFeedDefs.FeedViewPost[];
706
+ cursor?: string;
707
+ }
708
+ interface Errors {
709
+ BlockedActor: {};
710
+ BlockedByActor: {};
711
+ }
712
+ }
713
+ /** Get a hydrated feed from an actor's selected feed generator. Implemented by App View. */
714
+ namespace AppBskyFeedGetFeed {
715
+ interface Params {
716
+ feed: At.Uri;
717
+ cursor?: string;
718
+ /**
719
+ * Minimum: 1 \
720
+ * Maximum: 100
721
+ * @default 50
722
+ */
723
+ limit?: number;
724
+ }
725
+ type Input = undefined;
726
+ interface Output {
727
+ feed: AppBskyFeedDefs.FeedViewPost[];
728
+ cursor?: string;
729
+ }
730
+ interface Errors {
731
+ UnknownFeed: {};
732
+ }
733
+ }
734
+ /** Get information about a feed generator. Implemented by AppView. */
735
+ namespace AppBskyFeedGetFeedGenerator {
736
+ interface Params {
737
+ /** AT-URI of the feed generator record. */
738
+ feed: At.Uri;
739
+ }
740
+ type Input = undefined;
741
+ interface Output {
742
+ /** Indicates whether the feed generator service has been online recently, or else seems to be inactive. */
743
+ isOnline: boolean;
744
+ /** Indicates whether the feed generator service is compatible with the record declaration. */
745
+ isValid: boolean;
746
+ view: AppBskyFeedDefs.GeneratorView;
747
+ }
748
+ }
749
+ /** Get information about a list of feed generators. */
750
+ namespace AppBskyFeedGetFeedGenerators {
751
+ interface Params {
752
+ feeds: At.Uri[];
753
+ }
754
+ type Input = undefined;
755
+ interface Output {
756
+ feeds: AppBskyFeedDefs.GeneratorView[];
757
+ }
758
+ }
759
+ /** Get a skeleton of a feed provided by a feed generator. Auth is optional, depending on provider requirements, and provides the DID of the requester. Implemented by Feed Generator Service. */
760
+ namespace AppBskyFeedGetFeedSkeleton {
761
+ interface Params {
762
+ /** Reference to feed generator record describing the specific feed being requested. */
763
+ feed: At.Uri;
764
+ cursor?: string;
765
+ /**
766
+ * Minimum: 1 \
767
+ * Maximum: 100
768
+ * @default 50
769
+ */
770
+ limit?: number;
771
+ }
772
+ type Input = undefined;
773
+ interface Output {
774
+ feed: AppBskyFeedDefs.SkeletonFeedPost[];
775
+ cursor?: string;
776
+ }
777
+ interface Errors {
778
+ UnknownFeed: {};
779
+ }
780
+ }
781
+ /** Get like records which reference a subject (by AT-URI and CID). */
782
+ namespace AppBskyFeedGetLikes {
783
+ interface Params {
784
+ /** AT-URI of the subject (eg, a post record). */
785
+ uri: At.Uri;
786
+ /** CID of the subject record (aka, specific version of record), to filter likes. */
787
+ cid?: At.CID;
788
+ cursor?: string;
789
+ /**
790
+ * Minimum: 1 \
791
+ * Maximum: 100
792
+ * @default 50
793
+ */
794
+ limit?: number;
795
+ }
796
+ type Input = undefined;
797
+ interface Output {
798
+ likes: Like[];
799
+ uri: At.Uri;
800
+ cid?: At.CID;
801
+ cursor?: string;
802
+ }
803
+ interface Like {
804
+ [Brand.Type]?: 'app.bsky.feed.getLikes#like';
805
+ actor: AppBskyActorDefs.ProfileView;
806
+ createdAt: string;
807
+ indexedAt: string;
808
+ }
809
+ }
810
+ /** Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth. */
811
+ namespace AppBskyFeedGetListFeed {
812
+ interface Params {
813
+ /** Reference (AT-URI) to the list record. */
814
+ list: At.Uri;
815
+ cursor?: string;
816
+ /**
817
+ * Minimum: 1 \
818
+ * Maximum: 100
819
+ * @default 50
820
+ */
821
+ limit?: number;
822
+ }
823
+ type Input = undefined;
824
+ interface Output {
825
+ feed: AppBskyFeedDefs.FeedViewPost[];
826
+ cursor?: string;
827
+ }
828
+ interface Errors {
829
+ UnknownList: {};
830
+ }
831
+ }
832
+ /** Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'. */
833
+ namespace AppBskyFeedGetPosts {
834
+ interface Params {
835
+ /**
836
+ * List of post AT-URIs to return hydrated views for. \
837
+ * Maximum array length: 25
838
+ */
839
+ uris: At.Uri[];
840
+ }
841
+ type Input = undefined;
842
+ interface Output {
843
+ posts: AppBskyFeedDefs.PostView[];
844
+ }
845
+ }
846
+ /** Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests. */
847
+ namespace AppBskyFeedGetPostThread {
848
+ interface Params {
849
+ /** Reference (AT-URI) to post record. */
850
+ uri: At.Uri;
851
+ /**
852
+ * How many levels of reply depth should be included in response. \
853
+ * Minimum: 0 \
854
+ * Maximum: 1000
855
+ * @default 6
856
+ */
857
+ depth?: number;
858
+ /**
859
+ * How many levels of parent (and grandparent, etc) post to include. \
860
+ * Minimum: 0 \
861
+ * Maximum: 1000
862
+ * @default 80
863
+ */
864
+ parentHeight?: number;
865
+ }
866
+ type Input = undefined;
867
+ interface Output {
868
+ thread: Brand.Union<AppBskyFeedDefs.BlockedPost | AppBskyFeedDefs.NotFoundPost | AppBskyFeedDefs.ThreadViewPost>;
869
+ }
870
+ interface Errors {
871
+ NotFound: {};
872
+ }
873
+ }
874
+ /** Get a list of reposts for a given post. */
875
+ namespace AppBskyFeedGetRepostedBy {
876
+ interface Params {
877
+ /** Reference (AT-URI) of post record */
878
+ uri: At.Uri;
879
+ /** If supplied, filters to reposts of specific version (by CID) of the post record. */
880
+ cid?: At.CID;
881
+ cursor?: string;
882
+ /**
883
+ * Minimum: 1 \
884
+ * Maximum: 100
885
+ * @default 50
886
+ */
887
+ limit?: number;
888
+ }
889
+ type Input = undefined;
890
+ interface Output {
891
+ repostedBy: AppBskyActorDefs.ProfileView[];
892
+ uri: At.Uri;
893
+ cid?: At.CID;
894
+ cursor?: string;
895
+ }
896
+ }
897
+ /** Get a list of suggested feeds (feed generators) for the requesting account. */
898
+ namespace AppBskyFeedGetSuggestedFeeds {
899
+ interface Params {
900
+ cursor?: string;
901
+ /**
902
+ * Minimum: 1 \
903
+ * Maximum: 100
904
+ * @default 50
905
+ */
906
+ limit?: number;
907
+ }
908
+ type Input = undefined;
909
+ interface Output {
910
+ feeds: AppBskyFeedDefs.GeneratorView[];
911
+ cursor?: string;
912
+ }
913
+ }
914
+ /** Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed. */
915
+ namespace AppBskyFeedGetTimeline {
916
+ interface Params {
917
+ /** Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism. */
918
+ algorithm?: string;
919
+ cursor?: string;
920
+ /**
921
+ * Minimum: 1 \
922
+ * Maximum: 100
923
+ * @default 50
924
+ */
925
+ limit?: number;
926
+ }
927
+ type Input = undefined;
928
+ interface Output {
929
+ feed: AppBskyFeedDefs.FeedViewPost[];
930
+ cursor?: string;
931
+ }
932
+ }
933
+ namespace AppBskyFeedLike {
934
+ interface Record {
935
+ createdAt: string;
936
+ subject: ComAtprotoRepoStrongRef.Main;
937
+ }
938
+ }
939
+ namespace AppBskyFeedPost {
940
+ interface Record {
941
+ /** Client-declared timestamp when this post was originally created. */
942
+ createdAt: string;
943
+ /**
944
+ * The primary post content. May be an empty string, if there are embeds. \
945
+ * Maximum string length: 3000 \
946
+ * Maximum grapheme length: 300
947
+ */
948
+ text: string;
949
+ embed?: Brand.Union<AppBskyEmbedExternal.Main | AppBskyEmbedImages.Main | AppBskyEmbedRecord.Main | AppBskyEmbedRecordWithMedia.Main>;
950
+ /**
951
+ * DEPRECATED: replaced by app.bsky.richtext.facet.
952
+ * @deprecated
953
+ */
954
+ entities?: Entity[];
955
+ /** Annotations of text (mentions, URLs, hashtags, etc) */
956
+ facets?: AppBskyRichtextFacet.Main[];
957
+ /** Self-label values for this post. Effectively content warnings. */
958
+ labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
959
+ /**
960
+ * Indicates human language of post primary text content. \
961
+ * Maximum array length: 3
962
+ */
963
+ langs?: string[];
964
+ reply?: ReplyRef;
965
+ /**
966
+ * Additional hashtags, in addition to any included in post text and facets. \
967
+ * Maximum array length: 8 \
968
+ * Maximum string length: 640 \
969
+ * Maximum grapheme length: 64
970
+ */
971
+ tags?: string[];
972
+ }
973
+ /**
974
+ * Deprecated: use facets instead.
975
+ * @deprecated
976
+ */
977
+ interface Entity {
978
+ [Brand.Type]?: 'app.bsky.feed.post#entity';
979
+ index: TextSlice;
980
+ /** Expected values are 'mention' and 'link'. */
981
+ type: string;
982
+ value: string;
983
+ }
984
+ interface ReplyRef {
985
+ [Brand.Type]?: 'app.bsky.feed.post#replyRef';
986
+ parent: ComAtprotoRepoStrongRef.Main;
987
+ root: ComAtprotoRepoStrongRef.Main;
988
+ }
989
+ /**
990
+ * Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.
991
+ * @deprecated
992
+ */
993
+ interface TextSlice {
994
+ [Brand.Type]?: 'app.bsky.feed.post#textSlice';
995
+ /** Minimum: 0 */
996
+ end: number;
997
+ /** Minimum: 0 */
998
+ start: number;
999
+ }
1000
+ }
1001
+ namespace AppBskyFeedRepost {
1002
+ interface Record {
1003
+ createdAt: string;
1004
+ subject: ComAtprotoRepoStrongRef.Main;
1005
+ }
1006
+ }
1007
+ /** Find posts matching search criteria, returning views of those posts. */
1008
+ namespace AppBskyFeedSearchPosts {
1009
+ interface Params {
1010
+ /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
1011
+ q: string;
1012
+ /** Filter to posts by the given account. Handles are resolved to DID before query-time. */
1013
+ author?: string;
1014
+ /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
1015
+ cursor?: string;
1016
+ /** Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. */
1017
+ domain?: string;
1018
+ /** Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. */
1019
+ lang?: string;
1020
+ /**
1021
+ * Minimum: 1 \
1022
+ * Maximum: 100
1023
+ * @default 25
1024
+ */
1025
+ limit?: number;
1026
+ /** Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. */
1027
+ mentions?: string;
1028
+ /** Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
1029
+ since?: string;
1030
+ /**
1031
+ * Specifies the ranking order of results.
1032
+ * @default "latest"
1033
+ */
1034
+ sort?: 'latest' | 'top' | (string & {});
1035
+ /**
1036
+ * Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. \
1037
+ * Maximum string length: 640 \
1038
+ * Maximum grapheme length: 64
1039
+ */
1040
+ tag?: string[];
1041
+ /** Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). */
1042
+ until?: string;
1043
+ /** Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching. */
1044
+ url?: string;
1045
+ }
1046
+ type Input = undefined;
1047
+ interface Output {
1048
+ posts: AppBskyFeedDefs.PostView[];
1049
+ cursor?: string;
1050
+ /** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
1051
+ hitsTotal?: number;
1052
+ }
1053
+ interface Errors {
1054
+ BadQueryString: {};
1055
+ }
1056
+ }
1057
+ /** Send information about interactions with feed items back to the feed generator that served them. */
1058
+ namespace AppBskyFeedSendInteractions {
1059
+ interface Params {
1060
+ }
1061
+ interface Input {
1062
+ interactions: AppBskyFeedDefs.Interaction[];
1063
+ }
1064
+ interface Output {
1065
+ }
1066
+ }
1067
+ namespace AppBskyFeedThreadgate {
1068
+ interface Record {
1069
+ createdAt: string;
1070
+ /** Reference (AT-URI) to the post record. */
1071
+ post: At.Uri;
1072
+ /** Maximum array length: 5 */
1073
+ allow?: Brand.Union<FollowingRule | ListRule | MentionRule>[];
1074
+ }
1075
+ /** Allow replies from actors you follow. */
1076
+ interface FollowingRule {
1077
+ [Brand.Type]?: 'app.bsky.feed.threadgate#followingRule';
1078
+ }
1079
+ /** Allow replies from actors on a list. */
1080
+ interface ListRule {
1081
+ [Brand.Type]?: 'app.bsky.feed.threadgate#listRule';
1082
+ list: At.Uri;
1083
+ }
1084
+ /** Allow replies from actors mentioned in your post. */
1085
+ interface MentionRule {
1086
+ [Brand.Type]?: 'app.bsky.feed.threadgate#mentionRule';
1087
+ }
1088
+ }
1089
+ namespace AppBskyGraphBlock {
1090
+ interface Record {
1091
+ createdAt: string;
1092
+ /** DID of the account to be blocked. */
1093
+ subject: At.DID;
1094
+ }
1095
+ }
1096
+ namespace AppBskyGraphDefs {
1097
+ type Curatelist = 'app.bsky.graph.defs#curatelist';
1098
+ interface ListItemView {
1099
+ [Brand.Type]?: 'app.bsky.graph.defs#listItemView';
1100
+ subject: AppBskyActorDefs.ProfileView;
1101
+ uri: At.Uri;
1102
+ }
1103
+ type ListPurpose = 'app.bsky.graph.defs#curatelist' | 'app.bsky.graph.defs#modlist' | 'app.bsky.graph.defs#referencelist' | (string & {});
1104
+ interface ListView {
1105
+ [Brand.Type]?: 'app.bsky.graph.defs#listView';
1106
+ cid: At.CID;
1107
+ creator: AppBskyActorDefs.ProfileView;
1108
+ indexedAt: string;
1109
+ /**
1110
+ * Minimum string length: 1 \
1111
+ * Maximum string length: 64
1112
+ */
1113
+ name: string;
1114
+ purpose: ListPurpose;
1115
+ uri: At.Uri;
1116
+ avatar?: string;
1117
+ /**
1118
+ * Maximum string length: 3000 \
1119
+ * Maximum grapheme length: 300
1120
+ */
1121
+ description?: string;
1122
+ descriptionFacets?: AppBskyRichtextFacet.Main[];
1123
+ labels?: ComAtprotoLabelDefs.Label[];
1124
+ /** Minimum: 0 */
1125
+ listItemCount?: number;
1126
+ viewer?: ListViewerState;
1127
+ }
1128
+ interface ListViewBasic {
1129
+ [Brand.Type]?: 'app.bsky.graph.defs#listViewBasic';
1130
+ cid: At.CID;
1131
+ /**
1132
+ * Minimum string length: 1 \
1133
+ * Maximum string length: 64
1134
+ */
1135
+ name: string;
1136
+ purpose: ListPurpose;
1137
+ uri: At.Uri;
1138
+ avatar?: string;
1139
+ indexedAt?: string;
1140
+ labels?: ComAtprotoLabelDefs.Label[];
1141
+ /** Minimum: 0 */
1142
+ listItemCount?: number;
1143
+ viewer?: ListViewerState;
1144
+ }
1145
+ interface ListViewerState {
1146
+ [Brand.Type]?: 'app.bsky.graph.defs#listViewerState';
1147
+ blocked?: At.Uri;
1148
+ muted?: boolean;
1149
+ }
1150
+ type Modlist = 'app.bsky.graph.defs#modlist';
1151
+ /** indicates that a handle or DID could not be resolved */
1152
+ interface NotFoundActor {
1153
+ [Brand.Type]?: 'app.bsky.graph.defs#notFoundActor';
1154
+ actor: string;
1155
+ notFound: boolean;
1156
+ }
1157
+ type Referencelist = 'app.bsky.graph.defs#referencelist';
1158
+ /** lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object) */
1159
+ interface Relationship {
1160
+ [Brand.Type]?: 'app.bsky.graph.defs#relationship';
1161
+ did: At.DID;
1162
+ /** if the actor is followed by this DID, contains the AT-URI of the follow record */
1163
+ followedBy?: At.Uri;
1164
+ /** if the actor follows this DID, this is the AT-URI of the follow record */
1165
+ following?: At.Uri;
1166
+ }
1167
+ interface StarterPackView {
1168
+ [Brand.Type]?: 'app.bsky.graph.defs#starterPackView';
1169
+ cid: At.CID;
1170
+ creator: AppBskyActorDefs.ProfileViewBasic;
1171
+ indexedAt: string;
1172
+ record: unknown;
1173
+ uri: At.Uri;
1174
+ /** Maximum array length: 3 */
1175
+ feeds?: AppBskyFeedDefs.GeneratorView[];
1176
+ /** Minimum: 0 */
1177
+ joinedAllTimeCount?: number;
1178
+ /** Minimum: 0 */
1179
+ joinedWeekCount?: number;
1180
+ labels?: ComAtprotoLabelDefs.Label[];
1181
+ list?: ListViewBasic;
1182
+ /** Maximum array length: 12 */
1183
+ listItemsSample?: ListItemView[];
1184
+ }
1185
+ interface StarterPackViewBasic {
1186
+ [Brand.Type]?: 'app.bsky.graph.defs#starterPackViewBasic';
1187
+ cid: At.CID;
1188
+ creator: AppBskyActorDefs.ProfileViewBasic;
1189
+ indexedAt: string;
1190
+ record: unknown;
1191
+ uri: At.Uri;
1192
+ /** Minimum: 0 */
1193
+ joinedAllTimeCount?: number;
1194
+ /** Minimum: 0 */
1195
+ joinedWeekCount?: number;
1196
+ labels?: ComAtprotoLabelDefs.Label[];
1197
+ /** Minimum: 0 */
1198
+ listItemCount?: number;
1199
+ }
1200
+ }
1201
+ namespace AppBskyGraphFollow {
1202
+ interface Record {
1203
+ createdAt: string;
1204
+ subject: At.DID;
1205
+ }
1206
+ }
1207
+ /** Get a list of starter packs created by the actor. */
1208
+ namespace AppBskyGraphGetActorStarterPacks {
1209
+ interface Params {
1210
+ actor: string;
1211
+ cursor?: string;
1212
+ /**
1213
+ * Minimum: 1 \
1214
+ * Maximum: 100
1215
+ * @default 50
1216
+ */
1217
+ limit?: number;
1218
+ }
1219
+ type Input = undefined;
1220
+ interface Output {
1221
+ starterPacks: AppBskyGraphDefs.StarterPackViewBasic[];
1222
+ cursor?: string;
1223
+ }
1224
+ }
1225
+ /** Enumerates which accounts the requesting account is currently blocking. Requires auth. */
1226
+ namespace AppBskyGraphGetBlocks {
1227
+ interface Params {
1228
+ cursor?: string;
1229
+ /**
1230
+ * Minimum: 1 \
1231
+ * Maximum: 100
1232
+ * @default 50
1233
+ */
1234
+ limit?: number;
1235
+ }
1236
+ type Input = undefined;
1237
+ interface Output {
1238
+ blocks: AppBskyActorDefs.ProfileView[];
1239
+ cursor?: string;
1240
+ }
1241
+ }
1242
+ /** Enumerates accounts which follow a specified account (actor). */
1243
+ namespace AppBskyGraphGetFollowers {
1244
+ interface Params {
1245
+ actor: string;
1246
+ cursor?: string;
1247
+ /**
1248
+ * Minimum: 1 \
1249
+ * Maximum: 100
1250
+ * @default 50
1251
+ */
1252
+ limit?: number;
1253
+ }
1254
+ type Input = undefined;
1255
+ interface Output {
1256
+ followers: AppBskyActorDefs.ProfileView[];
1257
+ subject: AppBskyActorDefs.ProfileView;
1258
+ cursor?: string;
1259
+ }
1260
+ }
1261
+ /** Enumerates accounts which a specified account (actor) follows. */
1262
+ namespace AppBskyGraphGetFollows {
1263
+ interface Params {
1264
+ actor: string;
1265
+ cursor?: string;
1266
+ /**
1267
+ * Minimum: 1 \
1268
+ * Maximum: 100
1269
+ * @default 50
1270
+ */
1271
+ limit?: number;
1272
+ }
1273
+ type Input = undefined;
1274
+ interface Output {
1275
+ follows: AppBskyActorDefs.ProfileView[];
1276
+ subject: AppBskyActorDefs.ProfileView;
1277
+ cursor?: string;
1278
+ }
1279
+ }
1280
+ /** Enumerates accounts which follow a specified account (actor) and are followed by the viewer. */
1281
+ namespace AppBskyGraphGetKnownFollowers {
1282
+ interface Params {
1283
+ actor: string;
1284
+ cursor?: string;
1285
+ /**
1286
+ * Minimum: 1 \
1287
+ * Maximum: 100
1288
+ * @default 50
1289
+ */
1290
+ limit?: number;
1291
+ }
1292
+ type Input = undefined;
1293
+ interface Output {
1294
+ followers: AppBskyActorDefs.ProfileView[];
1295
+ subject: AppBskyActorDefs.ProfileView;
1296
+ cursor?: string;
1297
+ }
1298
+ }
1299
+ /** Gets a 'view' (with additional context) of a specified list. */
1300
+ namespace AppBskyGraphGetList {
1301
+ interface Params {
1302
+ /** Reference (AT-URI) of the list record to hydrate. */
1303
+ list: At.Uri;
1304
+ cursor?: string;
1305
+ /**
1306
+ * Minimum: 1 \
1307
+ * Maximum: 100
1308
+ * @default 50
1309
+ */
1310
+ limit?: number;
1311
+ }
1312
+ type Input = undefined;
1313
+ interface Output {
1314
+ items: AppBskyGraphDefs.ListItemView[];
1315
+ list: AppBskyGraphDefs.ListView;
1316
+ cursor?: string;
1317
+ }
1318
+ }
1319
+ /** Get mod lists that the requesting account (actor) is blocking. Requires auth. */
1320
+ namespace AppBskyGraphGetListBlocks {
1321
+ interface Params {
1322
+ cursor?: string;
1323
+ /**
1324
+ * Minimum: 1 \
1325
+ * Maximum: 100
1326
+ * @default 50
1327
+ */
1328
+ limit?: number;
1329
+ }
1330
+ type Input = undefined;
1331
+ interface Output {
1332
+ lists: AppBskyGraphDefs.ListView[];
1333
+ cursor?: string;
1334
+ }
1335
+ }
1336
+ /** Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth. */
1337
+ namespace AppBskyGraphGetListMutes {
1338
+ interface Params {
1339
+ cursor?: string;
1340
+ /**
1341
+ * Minimum: 1 \
1342
+ * Maximum: 100
1343
+ * @default 50
1344
+ */
1345
+ limit?: number;
1346
+ }
1347
+ type Input = undefined;
1348
+ interface Output {
1349
+ lists: AppBskyGraphDefs.ListView[];
1350
+ cursor?: string;
1351
+ }
1352
+ }
1353
+ /** Enumerates the lists created by a specified account (actor). */
1354
+ namespace AppBskyGraphGetLists {
1355
+ interface Params {
1356
+ /** The account (actor) to enumerate lists from. */
1357
+ actor: string;
1358
+ cursor?: string;
1359
+ /**
1360
+ * Minimum: 1 \
1361
+ * Maximum: 100
1362
+ * @default 50
1363
+ */
1364
+ limit?: number;
1365
+ }
1366
+ type Input = undefined;
1367
+ interface Output {
1368
+ lists: AppBskyGraphDefs.ListView[];
1369
+ cursor?: string;
1370
+ }
1371
+ }
1372
+ /** Enumerates accounts that the requesting account (actor) currently has muted. Requires auth. */
1373
+ namespace AppBskyGraphGetMutes {
1374
+ interface Params {
1375
+ cursor?: string;
1376
+ /**
1377
+ * Minimum: 1 \
1378
+ * Maximum: 100
1379
+ * @default 50
1380
+ */
1381
+ limit?: number;
1382
+ }
1383
+ type Input = undefined;
1384
+ interface Output {
1385
+ mutes: AppBskyActorDefs.ProfileView[];
1386
+ cursor?: string;
1387
+ }
1388
+ }
1389
+ /** Enumerates public relationships between one account, and a list of other accounts. Does not require auth. */
1390
+ namespace AppBskyGraphGetRelationships {
1391
+ interface Params {
1392
+ /** Primary account requesting relationships for. */
1393
+ actor: string;
1394
+ /**
1395
+ * List of 'other' accounts to be related back to the primary. \
1396
+ * Maximum array length: 30
1397
+ */
1398
+ others?: string[];
1399
+ }
1400
+ type Input = undefined;
1401
+ interface Output {
1402
+ relationships: Brand.Union<AppBskyGraphDefs.NotFoundActor | AppBskyGraphDefs.Relationship>[];
1403
+ actor?: At.DID;
1404
+ }
1405
+ interface Errors {
1406
+ ActorNotFound: {};
1407
+ }
1408
+ }
1409
+ /** Gets a view of a starter pack. */
1410
+ namespace AppBskyGraphGetStarterPack {
1411
+ interface Params {
1412
+ /** Reference (AT-URI) of the starter pack record. */
1413
+ starterPack: At.Uri;
1414
+ }
1415
+ type Input = undefined;
1416
+ interface Output {
1417
+ starterPack: AppBskyGraphDefs.StarterPackView;
1418
+ }
1419
+ }
1420
+ /** Get views for a list of starter packs. */
1421
+ namespace AppBskyGraphGetStarterPacks {
1422
+ interface Params {
1423
+ /** Maximum array length: 25 */
1424
+ uris: At.Uri[];
1425
+ }
1426
+ type Input = undefined;
1427
+ interface Output {
1428
+ starterPacks: AppBskyGraphDefs.StarterPackViewBasic[];
1429
+ }
1430
+ }
1431
+ /** Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account. */
1432
+ namespace AppBskyGraphGetSuggestedFollowsByActor {
1433
+ interface Params {
1434
+ actor: string;
1435
+ }
1436
+ type Input = undefined;
1437
+ interface Output {
1438
+ suggestions: AppBskyActorDefs.ProfileView[];
1439
+ }
1440
+ }
1441
+ namespace AppBskyGraphList {
1442
+ interface Record {
1443
+ createdAt: string;
1444
+ /**
1445
+ * Display name for list; can not be empty. \
1446
+ * Minimum string length: 1 \
1447
+ * Maximum string length: 64
1448
+ */
1449
+ name: string;
1450
+ /** Defines the purpose of the list (aka, moderation-oriented or curration-oriented) */
1451
+ purpose: AppBskyGraphDefs.ListPurpose;
1452
+ avatar?: At.Blob;
1453
+ /**
1454
+ * Maximum string length: 3000 \
1455
+ * Maximum grapheme length: 300
1456
+ */
1457
+ description?: string;
1458
+ descriptionFacets?: AppBskyRichtextFacet.Main[];
1459
+ labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
1460
+ }
1461
+ }
1462
+ namespace AppBskyGraphListblock {
1463
+ interface Record {
1464
+ createdAt: string;
1465
+ /** Reference (AT-URI) to the mod list record. */
1466
+ subject: At.Uri;
1467
+ }
1468
+ }
1469
+ namespace AppBskyGraphListitem {
1470
+ interface Record {
1471
+ createdAt: string;
1472
+ /** Reference (AT-URI) to the list record (app.bsky.graph.list). */
1473
+ list: At.Uri;
1474
+ /** The account which is included on the list. */
1475
+ subject: At.DID;
1476
+ }
1477
+ }
1478
+ /** Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth. */
1479
+ namespace AppBskyGraphMuteActor {
1480
+ interface Params {
1481
+ }
1482
+ interface Input {
1483
+ actor: string;
1484
+ }
1485
+ type Output = undefined;
1486
+ }
1487
+ /** Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth. */
1488
+ namespace AppBskyGraphMuteActorList {
1489
+ interface Params {
1490
+ }
1491
+ interface Input {
1492
+ list: At.Uri;
1493
+ }
1494
+ type Output = undefined;
1495
+ }
1496
+ /** Mutes a thread preventing notifications from the thread and any of its children. Mutes are private in Bluesky. Requires auth. */
1497
+ namespace AppBskyGraphMuteThread {
1498
+ interface Params {
1499
+ }
1500
+ interface Input {
1501
+ root: At.Uri;
1502
+ }
1503
+ type Output = undefined;
1504
+ }
1505
+ namespace AppBskyGraphStarterpack {
1506
+ interface Record {
1507
+ createdAt: string;
1508
+ /** Reference (AT-URI) to the list record. */
1509
+ list: At.Uri;
1510
+ /**
1511
+ * Display name for starter pack; can not be empty. \
1512
+ * Minimum string length: 1 \
1513
+ * Maximum string length: 500 \
1514
+ * Maximum grapheme length: 50
1515
+ */
1516
+ name: string;
1517
+ /**
1518
+ * Maximum string length: 3000 \
1519
+ * Maximum grapheme length: 300
1520
+ */
1521
+ description?: string;
1522
+ descriptionFacets?: AppBskyRichtextFacet.Main[];
1523
+ /** Maximum array length: 3 */
1524
+ feeds?: FeedItem[];
1525
+ }
1526
+ interface FeedItem {
1527
+ [Brand.Type]?: 'app.bsky.graph.starterpack#feedItem';
1528
+ uri: At.Uri;
1529
+ }
1530
+ }
1531
+ /** Unmutes the specified account. Requires auth. */
1532
+ namespace AppBskyGraphUnmuteActor {
1533
+ interface Params {
1534
+ }
1535
+ interface Input {
1536
+ actor: string;
1537
+ }
1538
+ type Output = undefined;
1539
+ }
1540
+ /** Unmutes the specified list of accounts. Requires auth. */
1541
+ namespace AppBskyGraphUnmuteActorList {
1542
+ interface Params {
1543
+ }
1544
+ interface Input {
1545
+ list: At.Uri;
1546
+ }
1547
+ type Output = undefined;
1548
+ }
1549
+ /** Unmutes the specified thread. Requires auth. */
1550
+ namespace AppBskyGraphUnmuteThread {
1551
+ interface Params {
1552
+ }
1553
+ interface Input {
1554
+ root: At.Uri;
1555
+ }
1556
+ type Output = undefined;
1557
+ }
1558
+ namespace AppBskyLabelerDefs {
1559
+ interface LabelerPolicies {
1560
+ [Brand.Type]?: 'app.bsky.labeler.defs#labelerPolicies';
1561
+ /** The label values which this labeler publishes. May include global or custom labels. */
1562
+ labelValues: ComAtprotoLabelDefs.LabelValue[];
1563
+ /** Label values created by this labeler and scoped exclusively to it. Labels defined here will override global label definitions for this labeler. */
1564
+ labelValueDefinitions?: ComAtprotoLabelDefs.LabelValueDefinition[];
1565
+ }
1566
+ interface LabelerView {
1567
+ [Brand.Type]?: 'app.bsky.labeler.defs#labelerView';
1568
+ cid: At.CID;
1569
+ creator: AppBskyActorDefs.ProfileView;
1570
+ indexedAt: string;
1571
+ uri: At.Uri;
1572
+ labels?: ComAtprotoLabelDefs.Label[];
1573
+ /** Minimum: 0 */
1574
+ likeCount?: number;
1575
+ viewer?: LabelerViewerState;
1576
+ }
1577
+ interface LabelerViewDetailed {
1578
+ [Brand.Type]?: 'app.bsky.labeler.defs#labelerViewDetailed';
1579
+ cid: At.CID;
1580
+ creator: AppBskyActorDefs.ProfileView;
1581
+ indexedAt: string;
1582
+ policies: AppBskyLabelerDefs.LabelerPolicies;
1583
+ uri: At.Uri;
1584
+ labels?: ComAtprotoLabelDefs.Label[];
1585
+ /** Minimum: 0 */
1586
+ likeCount?: number;
1587
+ viewer?: LabelerViewerState;
1588
+ }
1589
+ interface LabelerViewerState {
1590
+ [Brand.Type]?: 'app.bsky.labeler.defs#labelerViewerState';
1591
+ like?: At.Uri;
1592
+ }
1593
+ }
1594
+ /** Get information about a list of labeler services. */
1595
+ namespace AppBskyLabelerGetServices {
1596
+ interface Params {
1597
+ dids: At.DID[];
1598
+ /** @default false */
1599
+ detailed?: boolean;
1600
+ }
1601
+ type Input = undefined;
1602
+ interface Output {
1603
+ views: Brand.Union<AppBskyLabelerDefs.LabelerView | AppBskyLabelerDefs.LabelerViewDetailed>[];
1604
+ }
1605
+ }
1606
+ namespace AppBskyLabelerService {
1607
+ interface Record {
1608
+ createdAt: string;
1609
+ policies: AppBskyLabelerDefs.LabelerPolicies;
1610
+ labels?: Brand.Union<ComAtprotoLabelDefs.SelfLabels>;
1611
+ }
1612
+ }
1613
+ /** Count the number of unread notifications for the requesting account. Requires auth. */
1614
+ namespace AppBskyNotificationGetUnreadCount {
1615
+ interface Params {
1616
+ priority?: boolean;
1617
+ seenAt?: string;
1618
+ }
1619
+ type Input = undefined;
1620
+ interface Output {
1621
+ count: number;
1622
+ }
1623
+ }
1624
+ /** Enumerate notifications for the requesting account. Requires auth. */
1625
+ namespace AppBskyNotificationListNotifications {
1626
+ interface Params {
1627
+ cursor?: string;
1628
+ /**
1629
+ * Minimum: 1 \
1630
+ * Maximum: 100
1631
+ * @default 50
1632
+ */
1633
+ limit?: number;
1634
+ priority?: boolean;
1635
+ seenAt?: string;
1636
+ }
1637
+ type Input = undefined;
1638
+ interface Output {
1639
+ notifications: Notification[];
1640
+ cursor?: string;
1641
+ priority?: boolean;
1642
+ seenAt?: string;
1643
+ }
1644
+ interface Notification {
1645
+ [Brand.Type]?: 'app.bsky.notification.listNotifications#notification';
1646
+ author: AppBskyActorDefs.ProfileView;
1647
+ cid: At.CID;
1648
+ indexedAt: string;
1649
+ isRead: boolean;
1650
+ /** Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'. */
1651
+ reason: 'follow' | 'like' | 'mention' | 'quote' | 'reply' | 'repost' | 'starterpack-joined' | (string & {});
1652
+ record: unknown;
1653
+ uri: At.Uri;
1654
+ labels?: ComAtprotoLabelDefs.Label[];
1655
+ reasonSubject?: At.Uri;
1656
+ }
1657
+ }
1658
+ /** Set notification-related preferences for an account. Requires auth. */
1659
+ namespace AppBskyNotificationPutPreferences {
1660
+ interface Params {
1661
+ }
1662
+ interface Input {
1663
+ priority: boolean;
1664
+ }
1665
+ type Output = undefined;
1666
+ }
1667
+ /** Register to receive push notifications, via a specified service, for the requesting account. Requires auth. */
1668
+ namespace AppBskyNotificationRegisterPush {
1669
+ interface Params {
1670
+ }
1671
+ interface Input {
1672
+ appId: string;
1673
+ platform: 'android' | 'ios' | 'web' | (string & {});
1674
+ serviceDid: At.DID;
1675
+ token: string;
1676
+ }
1677
+ type Output = undefined;
1678
+ }
1679
+ /** Notify server that the requesting account has seen notifications. Requires auth. */
1680
+ namespace AppBskyNotificationUpdateSeen {
1681
+ interface Params {
1682
+ }
1683
+ interface Input {
1684
+ seenAt: string;
1685
+ }
1686
+ type Output = undefined;
1687
+ }
1688
+ namespace AppBskyRichtextFacet {
1689
+ /** Annotation of a sub-string within rich text. */
1690
+ interface Main {
1691
+ [Brand.Type]?: 'app.bsky.richtext.facet';
1692
+ features: Brand.Union<Link | Mention | Tag>[];
1693
+ index: ByteSlice;
1694
+ }
1695
+ /** Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets. */
1696
+ interface ByteSlice {
1697
+ [Brand.Type]?: 'app.bsky.richtext.facet#byteSlice';
1698
+ /** Minimum: 0 */
1699
+ byteEnd: number;
1700
+ /** Minimum: 0 */
1701
+ byteStart: number;
1702
+ }
1703
+ /** Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. */
1704
+ interface Link {
1705
+ [Brand.Type]?: 'app.bsky.richtext.facet#link';
1706
+ uri: string;
1707
+ }
1708
+ /** Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID. */
1709
+ interface Mention {
1710
+ [Brand.Type]?: 'app.bsky.richtext.facet#mention';
1711
+ did: At.DID;
1712
+ }
1713
+ /** Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags'). */
1714
+ interface Tag {
1715
+ [Brand.Type]?: 'app.bsky.richtext.facet#tag';
1716
+ /**
1717
+ * Maximum string length: 640 \
1718
+ * Maximum grapheme length: 64
1719
+ */
1720
+ tag: string;
1721
+ }
1722
+ }
1723
+ namespace AppBskyUnspeccedDefs {
1724
+ interface SkeletonSearchActor {
1725
+ [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchActor';
1726
+ did: At.DID;
1727
+ }
1728
+ interface SkeletonSearchPost {
1729
+ [Brand.Type]?: 'app.bsky.unspecced.defs#skeletonSearchPost';
1730
+ uri: At.Uri;
1731
+ }
1732
+ }
1733
+ /** An unspecced view of globally popular feed generators. */
1734
+ namespace AppBskyUnspeccedGetPopularFeedGenerators {
1735
+ interface Params {
1736
+ cursor?: string;
1737
+ /**
1738
+ * Minimum: 1 \
1739
+ * Maximum: 100
1740
+ * @default 50
1741
+ */
1742
+ limit?: number;
1743
+ query?: string;
1744
+ }
1745
+ type Input = undefined;
1746
+ interface Output {
1747
+ feeds: AppBskyFeedDefs.GeneratorView[];
1748
+ cursor?: string;
1749
+ }
1750
+ }
1751
+ /** Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions */
1752
+ namespace AppBskyUnspeccedGetSuggestionsSkeleton {
1753
+ interface Params {
1754
+ cursor?: string;
1755
+ /**
1756
+ * Minimum: 1 \
1757
+ * Maximum: 100
1758
+ * @default 50
1759
+ */
1760
+ limit?: number;
1761
+ /** DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer. */
1762
+ relativeToDid?: At.DID;
1763
+ /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
1764
+ viewer?: At.DID;
1765
+ }
1766
+ type Input = undefined;
1767
+ interface Output {
1768
+ actors: AppBskyUnspeccedDefs.SkeletonSearchActor[];
1769
+ cursor?: string;
1770
+ }
1771
+ }
1772
+ /** Get a list of suggestions (feeds and users) tagged with categories */
1773
+ namespace AppBskyUnspeccedGetTaggedSuggestions {
1774
+ type Input = undefined;
1775
+ interface Output {
1776
+ suggestions: Suggestion[];
1777
+ }
1778
+ interface Suggestion {
1779
+ [Brand.Type]?: 'app.bsky.unspecced.getTaggedSuggestions#suggestion';
1780
+ subject: string;
1781
+ subjectType: 'actor' | 'feed' | (string & {});
1782
+ tag: string;
1783
+ }
1784
+ }
1785
+ /** Backend Actors (profile) search, returns only skeleton. */
1786
+ namespace AppBskyUnspeccedSearchActorsSkeleton {
1787
+ interface Params {
1788
+ /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. */
1789
+ q: string;
1790
+ /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
1791
+ cursor?: string;
1792
+ /**
1793
+ * Minimum: 1 \
1794
+ * Maximum: 100
1795
+ * @default 25
1796
+ */
1797
+ limit?: number;
1798
+ /** If true, acts as fast/simple 'typeahead' query. */
1799
+ typeahead?: boolean;
1800
+ /** DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking. */
1801
+ viewer?: At.DID;
1802
+ }
1803
+ type Input = undefined;
1804
+ interface Output {
1805
+ actors: AppBskyUnspeccedDefs.SkeletonSearchActor[];
1806
+ cursor?: string;
1807
+ /** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
1808
+ hitsTotal?: number;
1809
+ }
1810
+ interface Errors {
1811
+ BadQueryString: {};
1812
+ }
1813
+ }
1814
+ /** Backend Posts search, returns only skeleton */
1815
+ namespace AppBskyUnspeccedSearchPostsSkeleton {
1816
+ interface Params {
1817
+ /** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
1818
+ q: string;
1819
+ /** Filter to posts by the given account. Handles are resolved to DID before query-time. */
1820
+ author?: string;
1821
+ /** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
1822
+ cursor?: string;
1823
+ /** Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization. */
1824
+ domain?: string;
1825
+ /** Filter to posts in the given language. Expected to be based on post language field, though server may override language detection. */
1826
+ lang?: string;
1827
+ /**
1828
+ * Minimum: 1 \
1829
+ * Maximum: 100
1830
+ * @default 25
1831
+ */
1832
+ limit?: number;
1833
+ /** Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions. */
1834
+ mentions?: string;
1835
+ /** Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
1836
+ since?: string;
1837
+ /**
1838
+ * Specifies the ranking order of results.
1839
+ * @default "latest"
1840
+ */
1841
+ sort?: 'latest' | 'top' | (string & {});
1842
+ /**
1843
+ * Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching. \
1844
+ * Maximum string length: 640 \
1845
+ * Maximum grapheme length: 64
1846
+ */
1847
+ tag?: string[];
1848
+ /** Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD). */
1849
+ until?: string;
1850
+ /** Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching. */
1851
+ url?: string;
1852
+ /** DID of the account making the request (not included for public/unauthenticated queries). Used for 'from:me' queries. */
1853
+ viewer?: At.DID;
1854
+ }
1855
+ type Input = undefined;
1856
+ interface Output {
1857
+ posts: AppBskyUnspeccedDefs.SkeletonSearchPost[];
1858
+ cursor?: string;
1859
+ /** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
1860
+ hitsTotal?: number;
1861
+ }
1862
+ interface Errors {
1863
+ BadQueryString: {};
1864
+ }
1865
+ }
1866
+ namespace ChatBskyActorDeclaration {
1867
+ interface Record {
1868
+ allowIncoming: 'all' | 'following' | 'none' | (string & {});
1869
+ }
1870
+ }
1871
+ namespace ChatBskyActorDefs {
1872
+ interface ProfileViewBasic {
1873
+ [Brand.Type]?: 'chat.bsky.actor.defs#profileViewBasic';
1874
+ did: At.DID;
1875
+ handle: At.Handle;
1876
+ associated?: AppBskyActorDefs.ProfileAssociated;
1877
+ avatar?: string;
1878
+ /** Set to true when the actor cannot actively participate in converations */
1879
+ chatDisabled?: boolean;
1880
+ /**
1881
+ * Maximum string length: 640 \
1882
+ * Maximum grapheme length: 64
1883
+ */
1884
+ displayName?: string;
1885
+ labels?: ComAtprotoLabelDefs.Label[];
1886
+ viewer?: AppBskyActorDefs.ViewerState;
1887
+ }
1888
+ }
1889
+ namespace ChatBskyActorDeleteAccount {
1890
+ interface Params {
1891
+ }
1892
+ type Input = undefined;
1893
+ interface Output {
1894
+ }
1895
+ }
1896
+ namespace ChatBskyActorExportAccountData {
1897
+ interface Params {
1898
+ }
1899
+ type Input = undefined;
1900
+ type Output = Uint8Array;
1901
+ }
1902
+ namespace ChatBskyConvoDefs {
1903
+ interface ConvoView {
1904
+ [Brand.Type]?: 'chat.bsky.convo.defs#convoView';
1905
+ id: string;
1906
+ members: ChatBskyActorDefs.ProfileViewBasic[];
1907
+ muted: boolean;
1908
+ rev: string;
1909
+ unreadCount: number;
1910
+ lastMessage?: Brand.Union<DeletedMessageView | MessageView>;
1911
+ }
1912
+ interface DeletedMessageView {
1913
+ [Brand.Type]?: 'chat.bsky.convo.defs#deletedMessageView';
1914
+ id: string;
1915
+ rev: string;
1916
+ sender: MessageViewSender;
1917
+ sentAt: string;
1918
+ }
1919
+ interface LogBeginConvo {
1920
+ [Brand.Type]?: 'chat.bsky.convo.defs#logBeginConvo';
1921
+ convoId: string;
1922
+ rev: string;
1923
+ }
1924
+ interface LogCreateMessage {
1925
+ [Brand.Type]?: 'chat.bsky.convo.defs#logCreateMessage';
1926
+ convoId: string;
1927
+ message: Brand.Union<DeletedMessageView | MessageView>;
1928
+ rev: string;
1929
+ }
1930
+ interface LogDeleteMessage {
1931
+ [Brand.Type]?: 'chat.bsky.convo.defs#logDeleteMessage';
1932
+ convoId: string;
1933
+ message: Brand.Union<DeletedMessageView | MessageView>;
1934
+ rev: string;
1935
+ }
1936
+ interface LogLeaveConvo {
1937
+ [Brand.Type]?: 'chat.bsky.convo.defs#logLeaveConvo';
1938
+ convoId: string;
1939
+ rev: string;
1940
+ }
1941
+ interface MessageInput {
1942
+ [Brand.Type]?: 'chat.bsky.convo.defs#messageInput';
1943
+ /**
1944
+ * Maximum string length: 10000 \
1945
+ * Maximum grapheme length: 1000
1946
+ */
1947
+ text: string;
1948
+ embed?: Brand.Union<AppBskyEmbedRecord.Main>;
1949
+ /** Annotations of text (mentions, URLs, hashtags, etc) */
1950
+ facets?: AppBskyRichtextFacet.Main[];
1951
+ }
1952
+ interface MessageRef {
1953
+ [Brand.Type]?: 'chat.bsky.convo.defs#messageRef';
1954
+ convoId: string;
1955
+ did: At.DID;
1956
+ messageId: string;
1957
+ }
1958
+ interface MessageView {
1959
+ [Brand.Type]?: 'chat.bsky.convo.defs#messageView';
1960
+ id: string;
1961
+ rev: string;
1962
+ sender: MessageViewSender;
1963
+ sentAt: string;
1964
+ /**
1965
+ * Maximum string length: 10000 \
1966
+ * Maximum grapheme length: 1000
1967
+ */
1968
+ text: string;
1969
+ embed?: Brand.Union<AppBskyEmbedRecord.View>;
1970
+ /** Annotations of text (mentions, URLs, hashtags, etc) */
1971
+ facets?: AppBskyRichtextFacet.Main[];
1972
+ }
1973
+ interface MessageViewSender {
1974
+ [Brand.Type]?: 'chat.bsky.convo.defs#messageViewSender';
1975
+ did: At.DID;
1976
+ }
1977
+ }
1978
+ namespace ChatBskyConvoDeleteMessageForSelf {
1979
+ interface Params {
1980
+ }
1981
+ interface Input {
1982
+ convoId: string;
1983
+ messageId: string;
1984
+ }
1985
+ type Output = ChatBskyConvoDefs.DeletedMessageView;
1986
+ }
1987
+ namespace ChatBskyConvoGetConvo {
1988
+ interface Params {
1989
+ convoId: string;
1990
+ }
1991
+ type Input = undefined;
1992
+ interface Output {
1993
+ convo: ChatBskyConvoDefs.ConvoView;
1994
+ }
1995
+ }
1996
+ namespace ChatBskyConvoGetConvoForMembers {
1997
+ interface Params {
1998
+ /**
1999
+ * Minimum array length: 1 \
2000
+ * Maximum array length: 10
2001
+ */
2002
+ members: At.DID[];
2003
+ }
2004
+ type Input = undefined;
2005
+ interface Output {
2006
+ convo: ChatBskyConvoDefs.ConvoView;
2007
+ }
2008
+ }
2009
+ namespace ChatBskyConvoGetLog {
2010
+ interface Params {
2011
+ cursor?: string;
2012
+ }
2013
+ type Input = undefined;
2014
+ interface Output {
2015
+ logs: Brand.Union<ChatBskyConvoDefs.LogBeginConvo | ChatBskyConvoDefs.LogCreateMessage | ChatBskyConvoDefs.LogDeleteMessage | ChatBskyConvoDefs.LogLeaveConvo>[];
2016
+ cursor?: string;
2017
+ }
2018
+ }
2019
+ namespace ChatBskyConvoGetMessages {
2020
+ interface Params {
2021
+ convoId: string;
2022
+ cursor?: string;
2023
+ /**
2024
+ * Minimum: 1 \
2025
+ * Maximum: 100
2026
+ * @default 50
2027
+ */
2028
+ limit?: number;
2029
+ }
2030
+ type Input = undefined;
2031
+ interface Output {
2032
+ messages: Brand.Union<ChatBskyConvoDefs.DeletedMessageView | ChatBskyConvoDefs.MessageView>[];
2033
+ cursor?: string;
2034
+ }
2035
+ }
2036
+ namespace ChatBskyConvoLeaveConvo {
2037
+ interface Params {
2038
+ }
2039
+ interface Input {
2040
+ convoId: string;
2041
+ }
2042
+ interface Output {
2043
+ convoId: string;
2044
+ rev: string;
2045
+ }
2046
+ }
2047
+ namespace ChatBskyConvoListConvos {
2048
+ interface Params {
2049
+ cursor?: string;
2050
+ /**
2051
+ * Minimum: 1 \
2052
+ * Maximum: 100
2053
+ * @default 50
2054
+ */
2055
+ limit?: number;
2056
+ }
2057
+ type Input = undefined;
2058
+ interface Output {
2059
+ convos: ChatBskyConvoDefs.ConvoView[];
2060
+ cursor?: string;
2061
+ }
2062
+ }
2063
+ namespace ChatBskyConvoMuteConvo {
2064
+ interface Params {
2065
+ }
2066
+ interface Input {
2067
+ convoId: string;
2068
+ }
2069
+ interface Output {
2070
+ convo: ChatBskyConvoDefs.ConvoView;
2071
+ }
2072
+ }
2073
+ namespace ChatBskyConvoSendMessage {
2074
+ interface Params {
2075
+ }
2076
+ interface Input {
2077
+ convoId: string;
2078
+ message: ChatBskyConvoDefs.MessageInput;
2079
+ }
2080
+ type Output = ChatBskyConvoDefs.MessageView;
2081
+ }
2082
+ namespace ChatBskyConvoSendMessageBatch {
2083
+ interface Params {
2084
+ }
2085
+ interface Input {
2086
+ /** Maximum array length: 100 */
2087
+ items: BatchItem[];
2088
+ }
2089
+ interface Output {
2090
+ items: ChatBskyConvoDefs.MessageView[];
2091
+ }
2092
+ interface BatchItem {
2093
+ [Brand.Type]?: 'chat.bsky.convo.sendMessageBatch#batchItem';
2094
+ convoId: string;
2095
+ message: ChatBskyConvoDefs.MessageInput;
2096
+ }
2097
+ }
2098
+ namespace ChatBskyConvoUnmuteConvo {
2099
+ interface Params {
2100
+ }
2101
+ interface Input {
2102
+ convoId: string;
2103
+ }
2104
+ interface Output {
2105
+ convo: ChatBskyConvoDefs.ConvoView;
2106
+ }
2107
+ }
2108
+ namespace ChatBskyConvoUpdateRead {
2109
+ interface Params {
2110
+ }
2111
+ interface Input {
2112
+ convoId: string;
2113
+ messageId?: string;
2114
+ }
2115
+ interface Output {
2116
+ convo: ChatBskyConvoDefs.ConvoView;
2117
+ }
2118
+ }
2119
+ namespace ChatBskyModerationGetActorMetadata {
2120
+ interface Params {
2121
+ actor: At.DID;
2122
+ }
2123
+ type Input = undefined;
2124
+ interface Output {
2125
+ all: Metadata;
2126
+ day: Metadata;
2127
+ month: Metadata;
2128
+ }
2129
+ interface Metadata {
2130
+ [Brand.Type]?: 'chat.bsky.moderation.getActorMetadata#metadata';
2131
+ convos: number;
2132
+ convosStarted: number;
2133
+ messagesReceived: number;
2134
+ messagesSent: number;
2135
+ }
2136
+ }
2137
+ namespace ChatBskyModerationGetMessageContext {
2138
+ interface Params {
2139
+ messageId: string;
2140
+ /** @default 5 */
2141
+ after?: number;
2142
+ /** @default 5 */
2143
+ before?: number;
2144
+ /** Conversation that the message is from. NOTE: this field will eventually be required. */
2145
+ convoId?: string;
2146
+ }
2147
+ type Input = undefined;
2148
+ interface Output {
2149
+ messages: Brand.Union<ChatBskyConvoDefs.DeletedMessageView | ChatBskyConvoDefs.MessageView>[];
2150
+ }
2151
+ }
2152
+ namespace ChatBskyModerationUpdateActorAccess {
2153
+ interface Params {
2154
+ }
2155
+ interface Input {
2156
+ actor: At.DID;
2157
+ allowAccess: boolean;
2158
+ ref?: string;
2159
+ }
2160
+ type Output = undefined;
2161
+ }
2162
+ interface Records {
2163
+ 'app.bsky.actor.profile': AppBskyActorProfile.Record;
2164
+ 'app.bsky.feed.generator': AppBskyFeedGenerator.Record;
2165
+ 'app.bsky.feed.like': AppBskyFeedLike.Record;
2166
+ 'app.bsky.feed.post': AppBskyFeedPost.Record;
2167
+ 'app.bsky.feed.repost': AppBskyFeedRepost.Record;
2168
+ 'app.bsky.feed.threadgate': AppBskyFeedThreadgate.Record;
2169
+ 'app.bsky.graph.block': AppBskyGraphBlock.Record;
2170
+ 'app.bsky.graph.follow': AppBskyGraphFollow.Record;
2171
+ 'app.bsky.graph.list': AppBskyGraphList.Record;
2172
+ 'app.bsky.graph.listblock': AppBskyGraphListblock.Record;
2173
+ 'app.bsky.graph.listitem': AppBskyGraphListitem.Record;
2174
+ 'app.bsky.graph.starterpack': AppBskyGraphStarterpack.Record;
2175
+ 'app.bsky.labeler.service': AppBskyLabelerService.Record;
2176
+ 'chat.bsky.actor.declaration': ChatBskyActorDeclaration.Record;
2177
+ }
2178
+ interface Queries {
2179
+ 'app.bsky.actor.getPreferences': {
2180
+ output: AppBskyActorGetPreferences.Output;
2181
+ };
2182
+ 'app.bsky.actor.getProfile': {
2183
+ params: AppBskyActorGetProfile.Params;
2184
+ output: AppBskyActorGetProfile.Output;
2185
+ };
2186
+ 'app.bsky.actor.getProfiles': {
2187
+ params: AppBskyActorGetProfiles.Params;
2188
+ output: AppBskyActorGetProfiles.Output;
2189
+ };
2190
+ 'app.bsky.actor.getSuggestions': {
2191
+ params: AppBskyActorGetSuggestions.Params;
2192
+ output: AppBskyActorGetSuggestions.Output;
2193
+ };
2194
+ 'app.bsky.actor.searchActors': {
2195
+ params: AppBskyActorSearchActors.Params;
2196
+ output: AppBskyActorSearchActors.Output;
2197
+ };
2198
+ 'app.bsky.actor.searchActorsTypeahead': {
2199
+ params: AppBskyActorSearchActorsTypeahead.Params;
2200
+ output: AppBskyActorSearchActorsTypeahead.Output;
2201
+ };
2202
+ 'app.bsky.feed.describeFeedGenerator': {
2203
+ output: AppBskyFeedDescribeFeedGenerator.Output;
2204
+ };
2205
+ 'app.bsky.feed.getActorFeeds': {
2206
+ params: AppBskyFeedGetActorFeeds.Params;
2207
+ output: AppBskyFeedGetActorFeeds.Output;
2208
+ };
2209
+ 'app.bsky.feed.getActorLikes': {
2210
+ params: AppBskyFeedGetActorLikes.Params;
2211
+ output: AppBskyFeedGetActorLikes.Output;
2212
+ };
2213
+ 'app.bsky.feed.getAuthorFeed': {
2214
+ params: AppBskyFeedGetAuthorFeed.Params;
2215
+ output: AppBskyFeedGetAuthorFeed.Output;
2216
+ };
2217
+ 'app.bsky.feed.getFeed': {
2218
+ params: AppBskyFeedGetFeed.Params;
2219
+ output: AppBskyFeedGetFeed.Output;
2220
+ };
2221
+ 'app.bsky.feed.getFeedGenerator': {
2222
+ params: AppBskyFeedGetFeedGenerator.Params;
2223
+ output: AppBskyFeedGetFeedGenerator.Output;
2224
+ };
2225
+ 'app.bsky.feed.getFeedGenerators': {
2226
+ params: AppBskyFeedGetFeedGenerators.Params;
2227
+ output: AppBskyFeedGetFeedGenerators.Output;
2228
+ };
2229
+ 'app.bsky.feed.getFeedSkeleton': {
2230
+ params: AppBskyFeedGetFeedSkeleton.Params;
2231
+ output: AppBskyFeedGetFeedSkeleton.Output;
2232
+ };
2233
+ 'app.bsky.feed.getLikes': {
2234
+ params: AppBskyFeedGetLikes.Params;
2235
+ output: AppBskyFeedGetLikes.Output;
2236
+ };
2237
+ 'app.bsky.feed.getListFeed': {
2238
+ params: AppBskyFeedGetListFeed.Params;
2239
+ output: AppBskyFeedGetListFeed.Output;
2240
+ };
2241
+ 'app.bsky.feed.getPosts': {
2242
+ params: AppBskyFeedGetPosts.Params;
2243
+ output: AppBskyFeedGetPosts.Output;
2244
+ };
2245
+ 'app.bsky.feed.getPostThread': {
2246
+ params: AppBskyFeedGetPostThread.Params;
2247
+ output: AppBskyFeedGetPostThread.Output;
2248
+ };
2249
+ 'app.bsky.feed.getRepostedBy': {
2250
+ params: AppBskyFeedGetRepostedBy.Params;
2251
+ output: AppBskyFeedGetRepostedBy.Output;
2252
+ };
2253
+ 'app.bsky.feed.getSuggestedFeeds': {
2254
+ params: AppBskyFeedGetSuggestedFeeds.Params;
2255
+ output: AppBskyFeedGetSuggestedFeeds.Output;
2256
+ };
2257
+ 'app.bsky.feed.getTimeline': {
2258
+ params: AppBskyFeedGetTimeline.Params;
2259
+ output: AppBskyFeedGetTimeline.Output;
2260
+ };
2261
+ 'app.bsky.feed.searchPosts': {
2262
+ params: AppBskyFeedSearchPosts.Params;
2263
+ output: AppBskyFeedSearchPosts.Output;
2264
+ };
2265
+ 'app.bsky.graph.getActorStarterPacks': {
2266
+ params: AppBskyGraphGetActorStarterPacks.Params;
2267
+ output: AppBskyGraphGetActorStarterPacks.Output;
2268
+ };
2269
+ 'app.bsky.graph.getBlocks': {
2270
+ params: AppBskyGraphGetBlocks.Params;
2271
+ output: AppBskyGraphGetBlocks.Output;
2272
+ };
2273
+ 'app.bsky.graph.getFollowers': {
2274
+ params: AppBskyGraphGetFollowers.Params;
2275
+ output: AppBskyGraphGetFollowers.Output;
2276
+ };
2277
+ 'app.bsky.graph.getFollows': {
2278
+ params: AppBskyGraphGetFollows.Params;
2279
+ output: AppBskyGraphGetFollows.Output;
2280
+ };
2281
+ 'app.bsky.graph.getKnownFollowers': {
2282
+ params: AppBskyGraphGetKnownFollowers.Params;
2283
+ output: AppBskyGraphGetKnownFollowers.Output;
2284
+ };
2285
+ 'app.bsky.graph.getList': {
2286
+ params: AppBskyGraphGetList.Params;
2287
+ output: AppBskyGraphGetList.Output;
2288
+ };
2289
+ 'app.bsky.graph.getListBlocks': {
2290
+ params: AppBskyGraphGetListBlocks.Params;
2291
+ output: AppBskyGraphGetListBlocks.Output;
2292
+ };
2293
+ 'app.bsky.graph.getListMutes': {
2294
+ params: AppBskyGraphGetListMutes.Params;
2295
+ output: AppBskyGraphGetListMutes.Output;
2296
+ };
2297
+ 'app.bsky.graph.getLists': {
2298
+ params: AppBskyGraphGetLists.Params;
2299
+ output: AppBskyGraphGetLists.Output;
2300
+ };
2301
+ 'app.bsky.graph.getMutes': {
2302
+ params: AppBskyGraphGetMutes.Params;
2303
+ output: AppBskyGraphGetMutes.Output;
2304
+ };
2305
+ 'app.bsky.graph.getRelationships': {
2306
+ params: AppBskyGraphGetRelationships.Params;
2307
+ output: AppBskyGraphGetRelationships.Output;
2308
+ };
2309
+ 'app.bsky.graph.getStarterPack': {
2310
+ params: AppBskyGraphGetStarterPack.Params;
2311
+ output: AppBskyGraphGetStarterPack.Output;
2312
+ };
2313
+ 'app.bsky.graph.getStarterPacks': {
2314
+ params: AppBskyGraphGetStarterPacks.Params;
2315
+ output: AppBskyGraphGetStarterPacks.Output;
2316
+ };
2317
+ 'app.bsky.graph.getSuggestedFollowsByActor': {
2318
+ params: AppBskyGraphGetSuggestedFollowsByActor.Params;
2319
+ output: AppBskyGraphGetSuggestedFollowsByActor.Output;
2320
+ };
2321
+ 'app.bsky.labeler.getServices': {
2322
+ params: AppBskyLabelerGetServices.Params;
2323
+ output: AppBskyLabelerGetServices.Output;
2324
+ };
2325
+ 'app.bsky.notification.getUnreadCount': {
2326
+ params: AppBskyNotificationGetUnreadCount.Params;
2327
+ output: AppBskyNotificationGetUnreadCount.Output;
2328
+ };
2329
+ 'app.bsky.notification.listNotifications': {
2330
+ params: AppBskyNotificationListNotifications.Params;
2331
+ output: AppBskyNotificationListNotifications.Output;
2332
+ };
2333
+ 'app.bsky.unspecced.getPopularFeedGenerators': {
2334
+ params: AppBskyUnspeccedGetPopularFeedGenerators.Params;
2335
+ output: AppBskyUnspeccedGetPopularFeedGenerators.Output;
2336
+ };
2337
+ 'app.bsky.unspecced.getSuggestionsSkeleton': {
2338
+ params: AppBskyUnspeccedGetSuggestionsSkeleton.Params;
2339
+ output: AppBskyUnspeccedGetSuggestionsSkeleton.Output;
2340
+ };
2341
+ 'app.bsky.unspecced.getTaggedSuggestions': {
2342
+ output: AppBskyUnspeccedGetTaggedSuggestions.Output;
2343
+ };
2344
+ 'app.bsky.unspecced.searchActorsSkeleton': {
2345
+ params: AppBskyUnspeccedSearchActorsSkeleton.Params;
2346
+ output: AppBskyUnspeccedSearchActorsSkeleton.Output;
2347
+ };
2348
+ 'app.bsky.unspecced.searchPostsSkeleton': {
2349
+ params: AppBskyUnspeccedSearchPostsSkeleton.Params;
2350
+ output: AppBskyUnspeccedSearchPostsSkeleton.Output;
2351
+ };
2352
+ 'chat.bsky.actor.exportAccountData': {
2353
+ output: ChatBskyActorExportAccountData.Output;
2354
+ };
2355
+ 'chat.bsky.convo.getConvo': {
2356
+ params: ChatBskyConvoGetConvo.Params;
2357
+ output: ChatBskyConvoGetConvo.Output;
2358
+ };
2359
+ 'chat.bsky.convo.getConvoForMembers': {
2360
+ params: ChatBskyConvoGetConvoForMembers.Params;
2361
+ output: ChatBskyConvoGetConvoForMembers.Output;
2362
+ };
2363
+ 'chat.bsky.convo.getLog': {
2364
+ params: ChatBskyConvoGetLog.Params;
2365
+ output: ChatBskyConvoGetLog.Output;
2366
+ };
2367
+ 'chat.bsky.convo.getMessages': {
2368
+ params: ChatBskyConvoGetMessages.Params;
2369
+ output: ChatBskyConvoGetMessages.Output;
2370
+ };
2371
+ 'chat.bsky.convo.listConvos': {
2372
+ params: ChatBskyConvoListConvos.Params;
2373
+ output: ChatBskyConvoListConvos.Output;
2374
+ };
2375
+ 'chat.bsky.moderation.getActorMetadata': {
2376
+ params: ChatBskyModerationGetActorMetadata.Params;
2377
+ output: ChatBskyModerationGetActorMetadata.Output;
2378
+ };
2379
+ 'chat.bsky.moderation.getMessageContext': {
2380
+ params: ChatBskyModerationGetMessageContext.Params;
2381
+ output: ChatBskyModerationGetMessageContext.Output;
2382
+ };
2383
+ }
2384
+ interface Procedures {
2385
+ 'app.bsky.actor.putPreferences': {
2386
+ input: AppBskyActorPutPreferences.Input;
2387
+ };
2388
+ 'app.bsky.feed.sendInteractions': {
2389
+ input: AppBskyFeedSendInteractions.Input;
2390
+ output: AppBskyFeedSendInteractions.Output;
2391
+ };
2392
+ 'app.bsky.graph.muteActor': {
2393
+ input: AppBskyGraphMuteActor.Input;
2394
+ };
2395
+ 'app.bsky.graph.muteActorList': {
2396
+ input: AppBskyGraphMuteActorList.Input;
2397
+ };
2398
+ 'app.bsky.graph.muteThread': {
2399
+ input: AppBskyGraphMuteThread.Input;
2400
+ };
2401
+ 'app.bsky.graph.unmuteActor': {
2402
+ input: AppBskyGraphUnmuteActor.Input;
2403
+ };
2404
+ 'app.bsky.graph.unmuteActorList': {
2405
+ input: AppBskyGraphUnmuteActorList.Input;
2406
+ };
2407
+ 'app.bsky.graph.unmuteThread': {
2408
+ input: AppBskyGraphUnmuteThread.Input;
2409
+ };
2410
+ 'app.bsky.notification.putPreferences': {
2411
+ input: AppBskyNotificationPutPreferences.Input;
2412
+ };
2413
+ 'app.bsky.notification.registerPush': {
2414
+ input: AppBskyNotificationRegisterPush.Input;
2415
+ };
2416
+ 'app.bsky.notification.updateSeen': {
2417
+ input: AppBskyNotificationUpdateSeen.Input;
2418
+ };
2419
+ 'chat.bsky.actor.deleteAccount': {
2420
+ output: ChatBskyActorDeleteAccount.Output;
2421
+ };
2422
+ 'chat.bsky.convo.deleteMessageForSelf': {
2423
+ input: ChatBskyConvoDeleteMessageForSelf.Input;
2424
+ output: ChatBskyConvoDeleteMessageForSelf.Output;
2425
+ };
2426
+ 'chat.bsky.convo.leaveConvo': {
2427
+ input: ChatBskyConvoLeaveConvo.Input;
2428
+ output: ChatBskyConvoLeaveConvo.Output;
2429
+ };
2430
+ 'chat.bsky.convo.muteConvo': {
2431
+ input: ChatBskyConvoMuteConvo.Input;
2432
+ output: ChatBskyConvoMuteConvo.Output;
2433
+ };
2434
+ 'chat.bsky.convo.sendMessage': {
2435
+ input: ChatBskyConvoSendMessage.Input;
2436
+ output: ChatBskyConvoSendMessage.Output;
2437
+ };
2438
+ 'chat.bsky.convo.sendMessageBatch': {
2439
+ input: ChatBskyConvoSendMessageBatch.Input;
2440
+ output: ChatBskyConvoSendMessageBatch.Output;
2441
+ };
2442
+ 'chat.bsky.convo.unmuteConvo': {
2443
+ input: ChatBskyConvoUnmuteConvo.Input;
2444
+ output: ChatBskyConvoUnmuteConvo.Output;
2445
+ };
2446
+ 'chat.bsky.convo.updateRead': {
2447
+ input: ChatBskyConvoUpdateRead.Input;
2448
+ output: ChatBskyConvoUpdateRead.Output;
2449
+ };
2450
+ 'chat.bsky.moderation.updateActorAccess': {
2451
+ input: ChatBskyModerationUpdateActorAccess.Input;
2452
+ };
2453
+ }
2454
+ }