UNPKG

@nekofar/warpcast

Version:

TypeScript client for interacting with Warpcast APIs

1,489 lines (1,488 loc) 102 kB
declare const ProfilePictureSchema: { readonly type: "object"; readonly properties: { readonly url: { readonly type: "string"; readonly format: "uri"; }; readonly verified: { readonly type: "boolean"; }; }; }; declare const BioSchema: { readonly type: "object"; readonly properties: { readonly text: { readonly type: "string"; }; readonly mentions: { readonly type: "array"; readonly items: {}; }; readonly channelMentions: { readonly type: "array"; readonly items: {}; }; }; }; declare const LocationSchema: { readonly type: "object"; readonly properties: { readonly placeId: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; }; }; declare const ProfileSchema: { readonly type: "object"; readonly properties: { readonly bio: { readonly $ref: "#/components/schemas/Bio"; }; readonly location: { readonly $ref: "#/components/schemas/Location"; }; }; }; declare const ViewerContextSchema: { readonly type: "object"; readonly properties: { readonly following: { readonly type: "boolean"; }; readonly followedBy: { readonly type: "boolean"; }; readonly enableNotifications: { readonly type: "boolean"; }; readonly canSendDirectCasts: { readonly type: "boolean"; }; readonly hasUploadedInboxKeys: { readonly type: "boolean"; }; }; }; declare const UserSchema: { readonly type: "object"; readonly required: readonly ["fid", "displayName", "username"]; readonly properties: { readonly fid: { readonly type: "integer"; }; readonly username: { readonly type: "string"; }; readonly displayName: { readonly type: "string"; }; readonly pfp: { readonly $ref: "#/components/schemas/ProfilePicture"; }; readonly profile: { readonly $ref: "#/components/schemas/Profile"; }; readonly followerCount: { readonly type: "integer"; }; readonly followingCount: { readonly type: "integer"; }; readonly viewerContext: { readonly $ref: "#/components/schemas/ViewerContext"; }; }; }; declare const OnboardingStateSchema: { readonly type: "object"; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly email: { readonly type: "string"; readonly format: "email"; }; readonly user: { readonly $ref: "#/components/schemas/User"; }; readonly hasOnboarding: { readonly type: "boolean"; }; readonly hasConfirmedEmail: { readonly type: "boolean"; }; readonly handledConnectAddress: { readonly type: "boolean"; }; readonly canRegisterUsername: { readonly type: "boolean"; }; readonly needsRegistrationPayment: { readonly type: "boolean"; }; readonly hasFid: { readonly type: "boolean"; }; readonly hasFname: { readonly type: "boolean"; }; readonly hasDelegatedSigner: { readonly type: "boolean"; }; readonly hasSetupProfile: { readonly type: "boolean"; }; readonly hasCompletedRegistration: { readonly type: "boolean"; }; readonly hasStorage: { readonly type: "boolean"; }; readonly handledPushNotificationsNudge: { readonly type: "boolean"; }; readonly handledContactsNudge: { readonly type: "boolean"; }; readonly handledInterestsNudge: { readonly type: "boolean"; }; readonly hasValidPaidInvite: { readonly type: "boolean"; }; readonly hasWarpcastWalletAddress: { readonly type: "boolean"; }; readonly hasPhone: { readonly type: "boolean"; }; readonly needsPhone: { readonly type: "boolean"; }; readonly sponsoredRegisterEligible: { readonly type: "boolean"; }; readonly geoRestricted: { readonly type: "boolean"; }; }; }; declare const OnboardingStateResponseSchema: { readonly type: "object"; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly state: { readonly $ref: "#/components/schemas/OnboardingState"; }; }; }; }; }; declare const ErrorResponseSchema: { readonly type: "object"; readonly properties: { readonly errors: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly message: { readonly type: "string"; readonly description: "Error message describing the issue"; }; }; }; }; }; }; declare const UserWithExtrasSchema: { readonly allOf: readonly [{ readonly $ref: "#/components/schemas/User"; }, { readonly type: "object"; readonly properties: { readonly connectedAccounts: { readonly type: "array"; readonly items: {}; }; }; }]; }; declare const UserExtrasSchema: { readonly type: "object"; readonly properties: { readonly fid: { readonly type: "integer"; }; readonly custodyAddress: { readonly type: "string"; }; readonly ethWallets: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly solanaWallets: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly walletLabels: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly address: { readonly type: "string"; }; readonly labels: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; }; }; readonly v2: { readonly type: "boolean"; }; readonly publicSpamLabel: { readonly type: "string"; }; }; }; declare const UserByFidResponseSchema: { readonly type: "object"; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly user: { readonly $ref: "#/components/schemas/UserWithExtras"; }; readonly collectionsOwned: { readonly type: "array"; readonly items: {}; }; readonly extras: { readonly $ref: "#/components/schemas/UserExtras"; }; }; }; }; }; declare const ValidationErrorSchema: { readonly type: "object"; readonly description: "Represents a single validation error"; readonly properties: { readonly instancePath: { readonly type: "string"; readonly description: "JSON Pointer to the part of the request that failed validation"; readonly example: "/fid"; }; readonly schemaPath: { readonly type: "string"; readonly description: "JSON Schema path that was violated"; readonly example: "ApiFid/type"; }; readonly keyword: { readonly type: "string"; readonly description: "The JSON Schema keyword that failed"; readonly example: "type"; }; readonly params: { readonly type: "object"; readonly description: "Additional parameters describing the validation error"; readonly additionalProperties: true; readonly example: { readonly type: "integer"; }; }; readonly message: { readonly type: "string"; readonly description: "Human-readable error description"; readonly example: "must be integer"; }; }; readonly required: readonly ["instancePath", "schemaPath", "keyword", "message"]; }; declare const BadRequestErrorSchema: { readonly type: "object"; readonly description: "Standard 400 Bad Request error response"; readonly properties: { readonly errors: { readonly type: "array"; readonly description: "Array of validation errors"; readonly items: { readonly $ref: "#/components/schemas/ValidationError"; }; }; }; readonly required: readonly ["errors"]; }; declare const DirectCastMessageReactionSchema: { readonly type: "object"; readonly required: readonly ["reaction", "count"]; readonly properties: { readonly reaction: { readonly type: "string"; readonly description: "Emoji used for the reaction"; readonly example: "🔥"; }; readonly count: { readonly type: "integer"; readonly minimum: 1; readonly description: "Number of users who reacted with this emoji"; readonly example: 3; }; readonly emoji: { readonly type: "string"; readonly description: "Emoji used for the reaction (legacy field)"; }; readonly userFids: { readonly type: "array"; readonly items: { readonly type: "integer"; }; readonly description: "List of Farcaster IDs who reacted"; }; }; }; declare const DirectCastMessageViewerContextSchema: { readonly type: "object"; readonly properties: { readonly isLastReadMessage: { readonly type: "boolean"; readonly description: "Whether this is the last read message"; readonly example: false; }; readonly focused: { readonly type: "boolean"; readonly description: "Whether the message is focused"; readonly example: false; }; readonly reactions: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "User's reactions to this message"; }; }; }; declare const DirectCastMessageSchema: { readonly type: "object"; readonly required: readonly ["conversationId", "senderFid", "messageId", "serverTimestamp", "type", "message", "hasMention", "reactions", "isPinned", "isDeleted", "senderContext"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly description: "ID of the conversation this message belongs to"; }; readonly senderFid: { readonly type: "integer"; readonly description: "Farcaster ID of the message sender"; }; readonly messageId: { readonly type: "string"; readonly description: "Unique identifier for the message"; }; readonly serverTimestamp: { readonly type: "integer"; readonly format: "int64"; readonly description: "Server timestamp when message was sent (Unix milliseconds)"; readonly example: 1753112479748; }; readonly type: { readonly type: "string"; readonly enum: readonly ["text", "image", "reaction", "link", "group_membership_addition", "pin_message", "message_ttl_change"]; readonly description: "Type of the message"; readonly example: "text"; }; readonly message: { readonly type: "string"; readonly description: "Content of the message"; }; readonly hasMention: { readonly type: "boolean"; readonly description: "Whether the message contains mentions"; readonly example: false; }; readonly reactions: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/DirectCastMessageReaction"; }; readonly description: "List of reactions to the message"; }; readonly isPinned: { readonly type: "boolean"; readonly description: "Whether the message is pinned"; readonly example: false; }; readonly isDeleted: { readonly type: "boolean"; readonly description: "Whether the message is deleted"; readonly example: false; }; readonly senderContext: { readonly $ref: "#/components/schemas/User"; }; readonly viewerContext: { readonly $ref: "#/components/schemas/DirectCastMessageViewerContext"; }; readonly inReplyTo: { readonly $ref: "#/components/schemas/DirectCastMessage"; }; readonly metadata: { readonly $ref: "#/components/schemas/DirectCastMessageMetadata"; }; readonly actionTargetUserContext: { readonly $ref: "#/components/schemas/User"; }; readonly isProgrammatic: { readonly type: "boolean"; readonly description: "Whether the message was sent programmatically"; readonly example: false; }; readonly mentions: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/DirectCastMessageMention"; }; readonly description: "List of mentions in the message"; }; }; }; declare const DirectCastMessageMetadataSchema: { readonly type: "object"; readonly properties: { readonly casts: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: true; }; readonly description: "Cast metadata if message contains cast references"; }; readonly urls: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: true; }; readonly description: "URL metadata if message contains links"; }; readonly medias: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: true; }; readonly description: "Media metadata if message contains media"; }; }; }; declare const DirectCastMessageMentionSchema: { readonly type: "object"; readonly required: readonly ["user", "textIndex", "length"]; readonly properties: { readonly user: { readonly $ref: "#/components/schemas/User"; }; readonly textIndex: { readonly type: "integer"; readonly description: "Starting index of the mention in the message text"; readonly example: 19; }; readonly length: { readonly type: "integer"; readonly description: "Length of the mention text"; readonly example: 8; }; }; }; declare const DirectCastConversationViewerContextSchema: { readonly type: "object"; readonly properties: { readonly access: { readonly type: "string"; readonly enum: readonly ["read-write", "read-only"]; readonly description: "Access level for the conversation"; readonly example: "read-write"; }; readonly category: { readonly type: "string"; readonly description: "Category of the conversation"; readonly example: "default"; }; readonly archived: { readonly type: "boolean"; readonly description: "Whether the conversation is archived"; readonly example: false; }; readonly lastReadAt: { readonly type: "integer"; readonly format: "int64"; readonly description: "Timestamp of last read (Unix milliseconds)"; readonly example: 1753650746109; }; readonly muted: { readonly type: "boolean"; readonly description: "Whether the conversation is muted"; readonly example: false; }; readonly manuallyMarkedUnread: { readonly type: "boolean"; readonly description: "Whether the conversation is manually marked as unread"; readonly example: false; }; readonly pinned: { readonly type: "boolean"; readonly description: "Whether the conversation is pinned"; readonly example: false; }; readonly unreadCount: { readonly type: "integer"; readonly minimum: 0; readonly description: "Number of unread messages"; readonly example: 0; }; readonly unreadMentionsCount: { readonly type: "integer"; readonly minimum: 0; readonly description: "Number of unread mentions"; readonly example: 0; }; readonly counterParty: { readonly $ref: "#/components/schemas/User"; readonly description: "The other participant in a 1:1 conversation"; }; readonly tag: { readonly type: "string"; readonly description: "Tag associated with the conversation"; readonly example: "automated"; }; }; }; declare const DirectCastConversationSchema: { readonly type: "object"; readonly required: readonly ["conversationId", "isGroup", "createdAt", "viewerContext", "adminFids", "lastReadTime"]; readonly properties: { readonly conversationId: { readonly type: "string"; readonly description: "Unique identifier for the conversation"; }; readonly name: { readonly type: "string"; readonly description: "Name of the conversation (for group conversations)"; }; readonly description: { readonly type: "string"; readonly description: "Description of the conversation"; }; readonly photoUrl: { readonly type: "string"; readonly format: "uri"; readonly description: "URL of the conversation photo"; }; readonly adminFids: { readonly type: "array"; readonly items: { readonly type: "integer"; }; readonly description: "List of admin Farcaster IDs"; }; readonly removedFids: { readonly type: "array"; readonly items: { readonly type: "integer"; }; readonly description: "List of removed Farcaster IDs"; }; readonly participants: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/User"; }; readonly description: "List of conversation participants"; }; readonly lastReadTime: { readonly type: "integer"; readonly format: "int64"; readonly description: "Timestamp of last read time (Unix milliseconds)"; readonly example: 1741871452933; }; readonly selfLastReadTime: { readonly type: "integer"; readonly format: "int64"; readonly description: "Timestamp of viewer's last read time (Unix milliseconds)"; readonly example: 1753650746109; }; readonly pinnedMessages: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/DirectCastMessage"; }; readonly description: "List of pinned messages in the conversation"; }; readonly hasPinnedMessages: { readonly type: "boolean"; readonly description: "Whether the conversation has pinned messages"; readonly example: false; }; readonly isGroup: { readonly type: "boolean"; readonly description: "Whether this is a group conversation"; readonly example: true; }; readonly isCollectionTokenGated: { readonly type: "boolean"; readonly description: "Whether the conversation is collection token gated"; readonly example: false; }; readonly activeParticipantsCount: { readonly type: "integer"; readonly minimum: 0; readonly description: "Number of active participants in the conversation"; readonly example: 2; }; readonly messageTTLDays: { readonly oneOf: readonly [{ readonly type: "integer"; readonly minimum: 0; readonly description: "Number of days until message expires"; }, { readonly type: "string"; readonly enum: readonly ["Infinity"]; readonly description: "Messages never expire"; }]; readonly description: "Message time-to-live in days, or \"Infinity\" for no expiration"; readonly examples: readonly [365, "Infinity"]; }; readonly createdAt: { readonly type: "integer"; readonly format: "int64"; readonly description: "Timestamp when conversation was created (Unix milliseconds)"; readonly example: 1709952982363; }; readonly unreadCount: { readonly type: "integer"; readonly minimum: 0; readonly description: "Number of unread messages"; readonly example: 0; }; readonly muted: { readonly type: "boolean"; readonly description: "Whether the conversation is muted"; readonly example: false; }; readonly hasMention: { readonly type: "boolean"; readonly description: "Whether the conversation has mentions"; readonly example: false; }; readonly lastMessage: { readonly $ref: "#/components/schemas/DirectCastMessage"; }; readonly viewerContext: { readonly $ref: "#/components/schemas/DirectCastConversationViewerContext"; }; }; }; declare const DirectCastInboxResultSchema: { readonly type: "object"; readonly required: readonly ["hasArchived", "hasUnreadRequests", "requestsCount", "conversations"]; readonly properties: { readonly hasArchived: { readonly type: "boolean"; readonly description: "Whether user has archived conversations"; readonly example: false; }; readonly hasUnreadRequests: { readonly type: "boolean"; readonly description: "Whether user has unread conversation requests"; readonly example: false; }; readonly requestsCount: { readonly type: "integer"; readonly minimum: 0; readonly description: "Total number of conversation requests"; readonly example: 12; }; readonly conversations: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/DirectCastConversation"; }; }; }; }; declare const PaginationCursorSchema: { readonly type: "object"; readonly properties: { readonly cursor: { readonly type: "string"; readonly description: "Base64 encoded cursor for pagination"; }; }; readonly additionalProperties: true; }; declare const DirectCastInboxResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly $ref: "#/components/schemas/DirectCastInboxResult"; }; readonly next: { readonly $ref: "#/components/schemas/PaginationCursor"; }; }; }; declare const CastActionSchema: { readonly type: "object"; readonly properties: { readonly id: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; readonly octicon: { readonly type: "string"; }; readonly actionUrl: { readonly type: "string"; }; readonly action: { readonly type: "object"; readonly properties: { readonly actionType: { readonly type: "string"; }; readonly postUrl: { readonly type: "string"; }; }; }; }; }; declare const UserAppContextResponseSchema: { readonly type: "object"; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly context: { readonly type: "object"; readonly properties: { readonly canAddLinks: { readonly type: "boolean"; }; readonly showConnectedApps: { readonly type: "boolean"; }; readonly signerRequestsEnabled: { readonly type: "boolean"; }; readonly prompts: { readonly type: "array"; readonly items: {}; }; readonly adminForChannelKeys: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly modOfChannelKeys: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly memberOfChannelKeys: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly canEditAllChannels: { readonly type: "boolean"; }; readonly canUploadVideo: { readonly type: "boolean"; }; readonly statsigEnabled: { readonly type: "boolean"; }; readonly shouldPromptForPushNotifications: { readonly type: "boolean"; }; readonly shouldPromptForUserFollowsSyncContacts: { readonly type: "boolean"; }; readonly castActions: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/CastAction"; }; }; readonly canAddCastAction: { readonly type: "boolean"; }; readonly enabledCastAction: { readonly $ref: "#/components/schemas/CastAction"; }; readonly notificationTabsV2: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly id: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; }; }; }; readonly enabledVideoAutoplay: { readonly type: "boolean"; }; readonly regularCastByteLimit: { readonly type: "integer"; }; readonly longCastByteLimit: { readonly type: "integer"; }; readonly newUserStatus: { readonly type: "object"; }; readonly country: { readonly type: "string"; }; readonly higherClientEventSamplingRateEnabled: { readonly type: "boolean"; }; }; }; }; }; }; }; declare const UserPreferencesResponseSchema: { readonly type: "object"; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly preferences: { readonly type: "object"; readonly additionalProperties: true; }; }; }; }; }; declare const ChannelSchema: { readonly type: "object"; readonly properties: { readonly type: { readonly type: "string"; }; readonly key: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; readonly imageUrl: { readonly type: "string"; }; readonly fastImageUrl: { readonly type: "string"; }; readonly feeds: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly name: { readonly type: "string"; }; readonly type: { readonly type: "string"; }; }; }; }; readonly description: { readonly type: "string"; }; readonly followerCount: { readonly type: "integer"; }; readonly memberCount: { readonly type: "integer"; }; readonly showCastSourceLabels: { readonly type: "boolean"; }; readonly showCastTags: { readonly type: "boolean"; }; readonly sectionRank: { readonly type: "integer"; }; readonly subscribable: { readonly type: "boolean"; }; readonly publicCasting: { readonly type: "boolean"; }; readonly inviteCode: { readonly type: "string"; }; readonly headerImageUrl: { readonly type: "string"; }; readonly headerAction: { readonly type: "object"; readonly properties: { readonly title: { readonly type: "string"; }; readonly target: { readonly type: "string"; }; }; }; readonly headerActionMetadata: { readonly type: "object"; readonly additionalProperties: true; }; readonly viewerContext: { readonly type: "object"; readonly properties: { readonly following: { readonly type: "boolean"; }; readonly isMember: { readonly type: "boolean"; }; readonly hasUnseenItems: { readonly type: "boolean"; }; readonly favoritePosition: { readonly type: "integer"; }; readonly activityRank: { readonly type: "integer"; }; readonly canCast: { readonly type: "boolean"; }; }; }; }; }; declare const HighlightedChannelsResponseSchema: { readonly type: "object"; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly channels: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/Channel"; }; }; readonly viewerContext: { readonly type: "object"; readonly properties: { readonly defaultFeed: { readonly type: "string"; }; }; }; }; }; }; }; declare const ImageEmbedSchema: { readonly type: "object"; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["image"]; }; readonly url: { readonly type: "string"; }; readonly sourceUrl: { readonly type: "string"; }; readonly media: { readonly type: "object"; readonly properties: { readonly version: { readonly type: "string"; }; readonly width: { readonly type: "integer"; }; readonly height: { readonly type: "integer"; }; readonly staticRaster: { readonly type: "string"; }; readonly mimeType: { readonly type: "string"; }; }; }; readonly alt: { readonly type: "string"; }; }; }; declare const UrlEmbedSchema: { readonly type: "object"; readonly required: readonly ["type", "openGraph"]; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["url"]; }; readonly openGraph: { readonly type: "object"; readonly required: readonly ["url"]; readonly properties: { readonly url: { readonly type: "string"; }; readonly sourceUrl: { readonly type: "string"; }; readonly title: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly domain: { readonly type: "string"; }; readonly image: { readonly type: "string"; }; readonly useLargeImage: { readonly type: "boolean"; }; }; }; }; }; declare const VideoEmbedSchema: { readonly type: "object"; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["video"]; }; }; }; declare const RecasterSchema: { readonly type: "object"; readonly properties: { readonly fid: { readonly type: "integer"; }; readonly username: { readonly type: "string"; }; readonly displayName: { readonly type: "string"; }; readonly recastHash: { readonly type: "string"; }; }; }; declare const CastSchema: { readonly type: "object"; readonly required: readonly ["hash", "author", "text", "timestamp", "replies", "reactions", "recasts", "watches", "processedCastText"]; readonly properties: { readonly hash: { readonly type: "string"; readonly description: "Unique hash identifier for the cast"; }; readonly threadHash: { readonly type: "string"; readonly description: "Hash identifier for the thread this cast belongs to"; }; readonly parentHash: { readonly type: "string"; readonly description: "Hash identifier of the parent cast (if this is a reply)"; }; readonly parentSource: { readonly type: "object"; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["url"]; }; readonly url: { readonly type: "string"; }; }; }; readonly author: { readonly $ref: "#/components/schemas/User"; }; readonly text: { readonly type: "string"; readonly description: "The text content of the cast"; }; readonly timestamp: { readonly type: "integer"; readonly format: "int64"; readonly description: "Unix timestamp in milliseconds"; }; readonly mentions: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/User"; }; }; readonly embeds: { readonly type: "object"; readonly properties: { readonly images: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/ImageEmbed"; }; }; readonly urls: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/UrlEmbed"; }; }; readonly videos: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/VideoEmbed"; }; }; readonly unknowns: { readonly type: "array"; readonly items: { readonly type: "object"; }; }; readonly processedCastText: { readonly type: "string"; }; readonly groupInvites: { readonly type: "array"; readonly items: { readonly type: "object"; }; }; }; }; readonly replies: { readonly type: "object"; readonly required: readonly ["count"]; readonly properties: { readonly count: { readonly type: "integer"; }; }; }; readonly reactions: { readonly type: "object"; readonly required: readonly ["count"]; readonly properties: { readonly count: { readonly type: "integer"; }; }; }; readonly recasts: { readonly type: "object"; readonly required: readonly ["count"]; readonly properties: { readonly count: { readonly type: "integer"; }; readonly recasters: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/Recaster"; }; }; }; }; readonly watches: { readonly type: "object"; readonly required: readonly ["count"]; readonly properties: { readonly count: { readonly type: "integer"; }; }; }; readonly recast: { readonly type: "boolean"; }; readonly tags: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly type: { readonly type: "string"; }; readonly id: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; readonly imageUrl: { readonly type: "string"; }; }; }; }; readonly quoteCount: { readonly type: "integer"; }; readonly combinedRecastCount: { readonly type: "integer"; }; readonly channel: { readonly type: "object"; readonly properties: { readonly key: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; readonly imageUrl: { readonly type: "string"; }; readonly authorContext: { readonly type: "object"; readonly properties: { readonly role: { readonly type: "string"; }; readonly restricted: { readonly type: "boolean"; }; readonly banned: { readonly type: "boolean"; }; }; }; readonly authorRole: { readonly type: "string"; }; }; }; readonly viewerContext: { readonly type: "object"; readonly properties: { readonly reacted: { readonly type: "boolean"; }; readonly recast: { readonly type: "boolean"; }; readonly bookmarked: { readonly type: "boolean"; }; }; }; }; }; declare const FeedItemsResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly required: readonly ["items", "replaceFeed"]; readonly properties: { readonly items: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["id", "timestamp", "cast"]; readonly properties: { readonly id: { readonly type: "string"; }; readonly timestamp: { readonly type: "integer"; }; readonly cast: { readonly $ref: "#/components/schemas/Cast"; }; readonly otherParticipants: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/User"; }; }; }; }; }; readonly latestMainCastTimestamp: { readonly type: "integer"; }; readonly feedTopSeenAtTimestamp: { readonly type: "integer"; }; readonly replaceFeed: { readonly type: "boolean"; }; }; }; }; }; declare const GenericResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly additionalProperties: true; }; }; }; declare const UserResponseSchema: { readonly allOf: readonly [{ readonly $ref: "#/components/schemas/GenericResponse"; }, { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly user: { readonly $ref: "#/components/schemas/UserWithExtras"; }; readonly collectionsOwned: { readonly type: "array"; readonly items: { readonly type: "object"; }; }; readonly extras: { readonly $ref: "#/components/schemas/UserExtras"; }; }; }; }; }]; }; declare const PaginatedResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly additionalProperties: true; }; readonly next: { readonly $ref: "#/components/schemas/PaginationCursor"; }; }; }; declare const SuggestedUsersResponseSchema: { readonly allOf: readonly [{ readonly $ref: "#/components/schemas/PaginatedResponse"; }, { readonly type: "object"; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly users: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: true; }; }; }; }; }; }]; }; declare const FavoriteFramesResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly required: readonly ["frames"]; readonly properties: { readonly frames: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: true; }; }; }; }; }; }; declare const ChannelStreaksResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly additionalProperties: true; }; }; }; declare const UnseenCountsResponseSchema: { readonly type: "object"; readonly required: readonly ["result"]; readonly properties: { readonly result: { readonly type: "object"; readonly properties: { readonly notificationsCount: { readonly type: "integer"; }; readonly notificationTabs: { readonly type: "array"; readonly items: { readonly type: "object";