UNPKG

@atproto/api

Version:

Client library for atproto and Bluesky

1,080 lines 1.65 MB
/** * GENERATED CODE - DO NOT MODIFY */ import { Lexicons, type ValidationResult } from '@atproto/lexicon'; export declare const schemaDict: { readonly AppBskyActorDefs: { readonly lexicon: 1; readonly id: "app.bsky.actor.defs"; readonly defs: { readonly profileViewBasic: { readonly type: "object"; readonly required: ["did", "handle"]; readonly properties: { readonly did: { readonly type: "string"; readonly format: "did"; }; readonly handle: { readonly type: "string"; readonly format: "handle"; }; readonly displayName: { readonly type: "string"; readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly pronouns: { readonly type: "string"; }; readonly avatar: { readonly type: "string"; readonly format: "uri"; }; readonly associated: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileAssociated"; }; readonly viewer: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#viewerState"; }; readonly labels: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.atproto.label.defs#label"; }; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; }; readonly verification: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#verificationState"; }; readonly status: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#statusView"; }; readonly debug: { readonly type: "unknown"; readonly description: "Debug information for internal development"; }; }; }; readonly profileView: { readonly type: "object"; readonly required: ["did", "handle"]; readonly properties: { readonly did: { readonly type: "string"; readonly format: "did"; }; readonly handle: { readonly type: "string"; readonly format: "handle"; }; readonly displayName: { readonly type: "string"; readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly pronouns: { readonly type: "string"; }; readonly description: { readonly type: "string"; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly avatar: { readonly type: "string"; readonly format: "uri"; }; readonly associated: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileAssociated"; }; readonly indexedAt: { readonly type: "string"; readonly format: "datetime"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; }; readonly viewer: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#viewerState"; }; readonly labels: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.atproto.label.defs#label"; }; }; readonly verification: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#verificationState"; }; readonly status: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#statusView"; }; readonly debug: { readonly type: "unknown"; readonly description: "Debug information for internal development"; }; }; }; readonly profileViewDetailed: { readonly type: "object"; readonly required: ["did", "handle"]; readonly properties: { readonly did: { readonly type: "string"; readonly format: "did"; }; readonly handle: { readonly type: "string"; readonly format: "handle"; }; readonly displayName: { readonly type: "string"; readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly description: { readonly type: "string"; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly pronouns: { readonly type: "string"; }; readonly website: { readonly type: "string"; readonly format: "uri"; }; readonly avatar: { readonly type: "string"; readonly format: "uri"; }; readonly banner: { readonly type: "string"; readonly format: "uri"; }; readonly followersCount: { readonly type: "integer"; }; readonly followsCount: { readonly type: "integer"; }; readonly postsCount: { readonly type: "integer"; }; readonly associated: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileAssociated"; }; readonly joinedViaStarterPack: { readonly type: "ref"; readonly ref: "lex:app.bsky.graph.defs#starterPackViewBasic"; }; readonly indexedAt: { readonly type: "string"; readonly format: "datetime"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; }; readonly viewer: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#viewerState"; }; readonly labels: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.atproto.label.defs#label"; }; }; readonly pinnedPost: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly verification: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#verificationState"; }; readonly status: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#statusView"; }; readonly debug: { readonly type: "unknown"; readonly description: "Debug information for internal development"; }; }; }; readonly profileAssociated: { readonly type: "object"; readonly properties: { readonly lists: { readonly type: "integer"; }; readonly feedgens: { readonly type: "integer"; }; readonly starterPacks: { readonly type: "integer"; }; readonly labeler: { readonly type: "boolean"; }; readonly chat: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileAssociatedChat"; }; readonly activitySubscription: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription"; }; }; }; readonly profileAssociatedChat: { readonly type: "object"; readonly required: ["allowIncoming"]; readonly properties: { readonly allowIncoming: { readonly type: "string"; readonly knownValues: ["all", "none", "following"]; }; }; }; readonly profileAssociatedActivitySubscription: { readonly type: "object"; readonly required: ["allowSubscriptions"]; readonly properties: { readonly allowSubscriptions: { readonly type: "string"; readonly knownValues: ["followers", "mutuals", "none"]; }; }; }; readonly viewerState: { readonly type: "object"; readonly description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests."; readonly properties: { readonly muted: { readonly type: "boolean"; }; readonly mutedByList: { readonly type: "ref"; readonly ref: "lex:app.bsky.graph.defs#listViewBasic"; }; readonly blockedBy: { readonly type: "boolean"; }; readonly blocking: { readonly type: "string"; readonly format: "at-uri"; }; readonly blockingByList: { readonly type: "ref"; readonly ref: "lex:app.bsky.graph.defs#listViewBasic"; }; readonly following: { readonly type: "string"; readonly format: "at-uri"; }; readonly followedBy: { readonly type: "string"; readonly format: "at-uri"; }; readonly knownFollowers: { readonly description: "This property is present only in selected cases, as an optimization."; readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#knownFollowers"; }; readonly activitySubscription: { readonly description: "This property is present only in selected cases, as an optimization."; readonly type: "ref"; readonly ref: "lex:app.bsky.notification.defs#activitySubscription"; }; }; }; readonly knownFollowers: { readonly type: "object"; readonly description: "The subject's followers whom you also follow"; readonly required: ["count", "followers"]; readonly properties: { readonly count: { readonly type: "integer"; }; readonly followers: { readonly type: "array"; readonly minLength: 0; readonly maxLength: 5; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileViewBasic"; }; }; }; }; readonly verificationState: { readonly type: "object"; readonly description: "Represents the verification information about the user this object is attached to."; readonly required: ["verifications", "verifiedStatus", "trustedVerifierStatus"]; readonly properties: { readonly verifications: { readonly type: "array"; readonly description: "All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included."; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#verificationView"; }; }; readonly verifiedStatus: { readonly type: "string"; readonly description: "The user's status as a verified account."; readonly knownValues: ["valid", "invalid", "none"]; }; readonly trustedVerifierStatus: { readonly type: "string"; readonly description: "The user's status as a trusted verifier."; readonly knownValues: ["valid", "invalid", "none"]; }; }; }; readonly verificationView: { readonly type: "object"; readonly description: "An individual verification for an associated subject."; readonly required: ["issuer", "uri", "isValid", "createdAt"]; readonly properties: { readonly issuer: { readonly type: "string"; readonly description: "The user who issued this verification."; readonly format: "did"; }; readonly uri: { readonly type: "string"; readonly description: "The AT-URI of the verification record."; readonly format: "at-uri"; }; readonly isValid: { readonly type: "boolean"; readonly description: "True if the verification passes validation, otherwise false."; }; readonly createdAt: { readonly type: "string"; readonly description: "Timestamp when the verification was created."; readonly format: "datetime"; }; }; }; readonly preferences: { readonly type: "array"; readonly items: { readonly type: "union"; readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"]; }; }; readonly adultContentPref: { readonly type: "object"; readonly required: ["enabled"]; readonly properties: { readonly enabled: { readonly type: "boolean"; readonly default: false; }; }; }; readonly contentLabelPref: { readonly type: "object"; readonly required: ["label", "visibility"]; readonly properties: { readonly labelerDid: { readonly type: "string"; readonly description: "Which labeler does this preference apply to? If undefined, applies globally."; readonly format: "did"; }; readonly label: { readonly type: "string"; }; readonly visibility: { readonly type: "string"; readonly knownValues: ["ignore", "show", "warn", "hide"]; }; }; }; readonly savedFeed: { readonly type: "object"; readonly required: ["id", "type", "value", "pinned"]; readonly properties: { readonly id: { readonly type: "string"; }; readonly type: { readonly type: "string"; readonly knownValues: ["feed", "list", "timeline"]; }; readonly value: { readonly type: "string"; }; readonly pinned: { readonly type: "boolean"; }; }; }; readonly savedFeedsPrefV2: { readonly type: "object"; readonly required: ["items"]; readonly properties: { readonly items: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#savedFeed"; }; }; }; }; readonly savedFeedsPref: { readonly type: "object"; readonly required: ["pinned", "saved"]; readonly properties: { readonly pinned: { readonly type: "array"; readonly items: { readonly type: "string"; readonly format: "at-uri"; }; }; readonly saved: { readonly type: "array"; readonly items: { readonly type: "string"; readonly format: "at-uri"; }; }; readonly timelineIndex: { readonly type: "integer"; }; }; }; readonly personalDetailsPref: { readonly type: "object"; readonly properties: { readonly birthDate: { readonly type: "string"; readonly format: "datetime"; readonly description: "The birth date of account owner."; }; }; }; readonly declaredAgePref: { readonly type: "object"; readonly description: "Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration."; readonly properties: { readonly isOverAge13: { readonly type: "boolean"; readonly description: "Indicates if the user has declared that they are over 13 years of age."; }; readonly isOverAge16: { readonly type: "boolean"; readonly description: "Indicates if the user has declared that they are over 16 years of age."; }; readonly isOverAge18: { readonly type: "boolean"; readonly description: "Indicates if the user has declared that they are over 18 years of age."; }; }; }; readonly feedViewPref: { readonly type: "object"; readonly required: ["feed"]; readonly properties: { readonly feed: { readonly type: "string"; readonly description: "The URI of the feed, or an identifier which describes the feed."; }; readonly hideReplies: { readonly type: "boolean"; readonly description: "Hide replies in the feed."; }; readonly hideRepliesByUnfollowed: { readonly type: "boolean"; readonly description: "Hide replies in the feed if they are not by followed users."; readonly default: true; }; readonly hideRepliesByLikeCount: { readonly type: "integer"; readonly description: "Hide replies in the feed if they do not have this number of likes."; }; readonly hideReposts: { readonly type: "boolean"; readonly description: "Hide reposts in the feed."; }; readonly hideQuotePosts: { readonly type: "boolean"; readonly description: "Hide quote posts in the feed."; }; }; }; readonly threadViewPref: { readonly type: "object"; readonly properties: { readonly sort: { readonly type: "string"; readonly description: "Sorting mode for threads."; readonly knownValues: ["oldest", "newest", "most-likes", "random", "hotness"]; }; }; }; readonly interestsPref: { readonly type: "object"; readonly required: ["tags"]; readonly properties: { readonly tags: { readonly type: "array"; readonly maxLength: 100; readonly items: { readonly type: "string"; readonly maxLength: 640; readonly maxGraphemes: 64; }; readonly description: "A list of tags which describe the account owner's interests gathered during onboarding."; }; }; }; readonly mutedWordTarget: { readonly type: "string"; readonly knownValues: ["content", "tag"]; readonly maxLength: 640; readonly maxGraphemes: 64; }; readonly mutedWord: { readonly type: "object"; readonly description: "A word that the account owner has muted."; readonly required: ["value", "targets"]; readonly properties: { readonly id: { readonly type: "string"; }; readonly value: { readonly type: "string"; readonly description: "The muted word itself."; readonly maxLength: 10000; readonly maxGraphemes: 1000; }; readonly targets: { readonly type: "array"; readonly description: "The intended targets of the muted word."; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#mutedWordTarget"; }; }; readonly actorTarget: { readonly type: "string"; readonly description: "Groups of users to apply the muted word to. If undefined, applies to all users."; readonly knownValues: ["all", "exclude-following"]; readonly default: "all"; }; readonly expiresAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "The date and time at which the muted word will expire and no longer be applied."; }; }; }; readonly mutedWordsPref: { readonly type: "object"; readonly required: ["items"]; readonly properties: { readonly items: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#mutedWord"; }; readonly description: "A list of words the account owner has muted."; }; }; }; readonly hiddenPostsPref: { readonly type: "object"; readonly required: ["items"]; readonly properties: { readonly items: { readonly type: "array"; readonly items: { readonly type: "string"; readonly format: "at-uri"; }; readonly description: "A list of URIs of posts the account owner has hidden."; }; }; }; readonly labelersPref: { readonly type: "object"; readonly required: ["labelers"]; readonly properties: { readonly labelers: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#labelerPrefItem"; }; }; }; }; readonly labelerPrefItem: { readonly type: "object"; readonly required: ["did"]; readonly properties: { readonly did: { readonly type: "string"; readonly format: "did"; }; }; }; readonly bskyAppStatePref: { readonly description: "A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this."; readonly type: "object"; readonly properties: { readonly activeProgressGuide: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#bskyAppProgressGuide"; }; readonly queuedNudges: { readonly description: "An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user."; readonly type: "array"; readonly maxLength: 1000; readonly items: { readonly type: "string"; readonly maxLength: 100; }; }; readonly nuxs: { readonly description: "Storage for NUXs the user has encountered."; readonly type: "array"; readonly maxLength: 100; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#nux"; }; }; }; }; readonly bskyAppProgressGuide: { readonly description: "If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress."; readonly type: "object"; readonly required: ["guide"]; readonly properties: { readonly guide: { readonly type: "string"; readonly maxLength: 100; }; }; }; readonly nux: { readonly type: "object"; readonly description: "A new user experiences (NUX) storage object"; readonly required: ["id", "completed"]; readonly properties: { readonly id: { readonly type: "string"; readonly maxLength: 100; }; readonly completed: { readonly type: "boolean"; readonly default: false; }; readonly data: { readonly description: "Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters."; readonly type: "string"; readonly maxLength: 3000; readonly maxGraphemes: 300; }; readonly expiresAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "The date and time at which the NUX will expire and should be considered completed."; }; }; }; readonly verificationPrefs: { readonly type: "object"; readonly description: "Preferences for how verified accounts appear in the app."; readonly required: []; readonly properties: { readonly hideBadges: { readonly description: "Hide the blue check badges for verified accounts and trusted verifiers."; readonly type: "boolean"; readonly default: false; }; }; }; readonly postInteractionSettingsPref: { readonly type: "object"; readonly description: "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly."; readonly required: []; readonly properties: { readonly threadgateAllowRules: { readonly description: "Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply."; readonly type: "array"; readonly maxLength: 5; readonly items: { readonly type: "union"; readonly refs: ["lex:app.bsky.feed.threadgate#mentionRule", "lex:app.bsky.feed.threadgate#followerRule", "lex:app.bsky.feed.threadgate#followingRule", "lex:app.bsky.feed.threadgate#listRule"]; }; }; readonly postgateEmbeddingRules: { readonly description: "Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed."; readonly type: "array"; readonly maxLength: 5; readonly items: { readonly type: "union"; readonly refs: ["lex:app.bsky.feed.postgate#disableRule"]; }; }; }; }; readonly statusView: { readonly type: "object"; readonly required: ["status", "record"]; readonly properties: { readonly uri: { readonly type: "string"; readonly format: "at-uri"; }; readonly cid: { readonly type: "string"; readonly format: "cid"; }; readonly status: { readonly type: "string"; readonly description: "The status for the account."; readonly knownValues: ["app.bsky.actor.status#live"]; }; readonly record: { readonly type: "unknown"; }; readonly embed: { readonly type: "union"; readonly description: "An optional embed associated with the status."; readonly refs: ["lex:app.bsky.embed.external#view"]; }; readonly expiresAt: { readonly type: "string"; readonly description: "The date when this status will expire. The application might choose to no longer return the status after expiration."; readonly format: "datetime"; }; readonly isActive: { readonly type: "boolean"; readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set."; }; readonly isDisabled: { readonly type: "boolean"; readonly description: "True if the user's go-live access has been disabled by a moderator, false otherwise."; }; }; }; }; }; readonly AppBskyActorGetPreferences: { readonly lexicon: 1; readonly id: "app.bsky.actor.getPreferences"; readonly defs: { readonly main: { readonly type: "query"; readonly description: "Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth."; readonly parameters: { readonly type: "params"; readonly properties: {}; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["preferences"]; readonly properties: { readonly preferences: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#preferences"; }; }; }; }; }; }; }; readonly AppBskyActorGetProfile: { readonly lexicon: 1; readonly id: "app.bsky.actor.getProfile"; readonly defs: { readonly main: { readonly type: "query"; readonly description: "Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth."; readonly parameters: { readonly type: "params"; readonly required: ["actor"]; readonly properties: { readonly actor: { readonly type: "string"; readonly format: "at-identifier"; readonly description: "Handle or DID of account to fetch profile of."; }; }; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileViewDetailed"; }; }; }; }; }; readonly AppBskyActorGetProfiles: { readonly lexicon: 1; readonly id: "app.bsky.actor.getProfiles"; readonly defs: { readonly main: { readonly type: "query"; readonly description: "Get detailed profile views of multiple actors."; readonly parameters: { readonly type: "params"; readonly required: ["actors"]; readonly properties: { readonly actors: { readonly type: "array"; readonly items: { readonly type: "string"; readonly format: "at-identifier"; }; readonly maxLength: 25; }; }; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["profiles"]; readonly properties: { readonly profiles: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileViewDetailed"; }; }; }; }; }; }; }; }; readonly AppBskyActorGetSuggestions: { readonly lexicon: 1; readonly id: "app.bsky.actor.getSuggestions"; readonly defs: { readonly main: { readonly type: "query"; readonly description: "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding."; readonly parameters: { readonly type: "params"; readonly properties: { readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 100; readonly default: 50; }; readonly cursor: { readonly type: "string"; }; }; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["actors"]; readonly properties: { readonly cursor: { readonly type: "string"; }; readonly actors: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileView"; }; }; readonly recId: { readonly type: "integer"; readonly description: "Snowflake for this recommendation, use when submitting recommendation events."; }; }; }; }; }; }; }; readonly AppBskyActorProfile: { readonly lexicon: 1; readonly id: "app.bsky.actor.profile"; readonly defs: { readonly main: { readonly type: "record"; readonly description: "A declaration of a Bluesky account profile."; readonly key: "literal:self"; readonly record: { readonly type: "object"; readonly properties: { readonly displayName: { readonly type: "string"; readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly description: { readonly type: "string"; readonly description: "Free-form profile description text."; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly pronouns: { readonly type: "string"; readonly description: "Free-form pronouns text."; readonly maxGraphemes: 20; readonly maxLength: 200; }; readonly website: { readonly type: "string"; readonly format: "uri"; }; readonly avatar: { readonly type: "blob"; readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 1000000; }; readonly banner: { readonly type: "blob"; readonly description: "Larger horizontal image to display behind profile view."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 1000000; }; readonly labels: { readonly type: "union"; readonly description: "Self-label values, specific to the Bluesky application, on the overall account."; readonly refs: ["lex:com.atproto.label.defs#selfLabels"]; }; readonly joinedViaStarterPack: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly pinnedPost: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; }; }; }; }; }; }; readonly AppBskyActorPutPreferences: { readonly lexicon: 1; readonly id: "app.bsky.actor.putPreferences"; readonly defs: { readonly main: { readonly type: "procedure"; readonly description: "Set the private preferences attached to the account."; readonly input: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["preferences"]; readonly properties: { readonly preferences: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#preferences"; }; }; }; }; }; }; }; readonly AppBskyActorSearchActors: { readonly lexicon: 1; readonly id: "app.bsky.actor.searchActors"; readonly defs: { readonly main: { readonly type: "query"; readonly description: "Find actors (profiles) matching search criteria. Does not require auth."; readonly parameters: { readonly type: "params"; readonly properties: { readonly term: { readonly type: "string"; readonly description: "DEPRECATED: use 'q' instead."; }; readonly q: { readonly type: "string"; readonly description: "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."; }; readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 100; readonly default: 25; }; readonly cursor: { readonly type: "string"; }; }; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["actors"]; readonly properties: { readonly cursor: { readonly type: "string"; }; readonly actors: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:app.bsky.actor.defs#profileView"; }; }; }; }; }; }; }; }; readonly AppBskyActorSearchActorsTypeahead: { readonly lexicon: 1; readonly id: "app.bsky.actor.searchActorsTypeahead"; readonly defs: { readonly main: { readonly type: "query"; readonly description: "Find actor suggestions for a prefix search term. Expec