UNPKG

@neynar/nodejs-sdk

Version:

SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)

94 lines (93 loc) 3.06 kB
/** * Farcaster API V2 * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details. * * The version of the OpenAPI document: 2.46.0 * Contact: team@neynar.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CastViewerContext } from './cast-viewer-context'; import type { CastWithInteractionsReactions } from './cast-with-interactions-reactions'; import type { CastWithInteractionsReplies } from './cast-with-interactions-replies'; import type { ChannelDehydrated } from './channel-dehydrated'; import type { ChannelOrChannelDehydrated } from './channel-or-channel-dehydrated'; import type { ChannelUserContext } from './channel-user-context'; import type { Frame } from './frame'; import type { TextRange } from './text-range'; import type { User } from './user'; /** * * @export * @interface CastWithInteractionsAllOf */ export interface CastWithInteractionsAllOf { /** * * @type {Array<Frame>} * @memberof CastWithInteractionsAllOf */ 'frames'?: Array<Frame>; /** * * @type {CastWithInteractionsReactions} * @memberof CastWithInteractionsAllOf */ 'reactions': CastWithInteractionsReactions; /** * * @type {CastWithInteractionsReplies} * @memberof CastWithInteractionsAllOf */ 'replies': CastWithInteractionsReplies; /** * * @type {string} * @memberof CastWithInteractionsAllOf */ 'thread_hash': string | null; /** * * @type {Array<User>} * @memberof CastWithInteractionsAllOf */ 'mentioned_profiles': Array<User>; /** * Positions within the text (inclusive start, exclusive end) where each mention occurs. Each index within this list corresponds to the same-numbered index in the mentioned_profiles list. * @type {Array<TextRange>} * @memberof CastWithInteractionsAllOf */ 'mentioned_profiles_ranges': Array<TextRange>; /** * * @type {Array<ChannelDehydrated>} * @memberof CastWithInteractionsAllOf */ 'mentioned_channels': Array<ChannelDehydrated>; /** * Positions within the text (inclusive start, exclusive end) where each mention occurs. Each index within this list corresponds to the same-numbered index in the mentioned_channels list. * @type {Array<TextRange>} * @memberof CastWithInteractionsAllOf */ 'mentioned_channels_ranges': Array<TextRange>; /** * * @type {ChannelOrChannelDehydrated} * @memberof CastWithInteractionsAllOf */ 'channel': ChannelOrChannelDehydrated | null; /** * * @type {CastViewerContext} * @memberof CastWithInteractionsAllOf */ 'viewer_context'?: CastViewerContext; /** * * @type {ChannelUserContext} * @memberof CastWithInteractionsAllOf */ 'author_channel_context'?: ChannelUserContext; }