UNPKG

@neynar/nodejs-sdk

Version:

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

94 lines (93 loc) 3.09 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.26.1 * 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 { CastTextRange } from './cast-text-range'; 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 { ChannelOrDehydratedChannel } from './channel-or-dehydrated-channel'; import type { ChannelUserContext } from './channel-user-context'; import type { DehydratedChannel } from './dehydrated-channel'; import type { Frame } from './frame'; 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<CastTextRange>} * @memberof CastWithInteractionsAllOf */ 'mentioned_profiles_ranges': Array<CastTextRange>; /** * * @type {Array<DehydratedChannel>} * @memberof CastWithInteractionsAllOf */ 'mentioned_channels': Array<DehydratedChannel>; /** * 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<CastTextRange>} * @memberof CastWithInteractionsAllOf */ 'mentioned_channels_ranges': Array<CastTextRange>; /** * * @type {ChannelOrDehydratedChannel} * @memberof CastWithInteractionsAllOf */ 'channel': ChannelOrDehydratedChannel | null; /** * * @type {CastViewerContext} * @memberof CastWithInteractionsAllOf */ 'viewer_context'?: CastViewerContext; /** * * @type {ChannelUserContext} * @memberof CastWithInteractionsAllOf */ 'author_channel_context'?: ChannelUserContext; }