@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
100 lines (99 loc) • 2.13 kB
TypeScript
/**
* 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 { CastEmbeddedParentAuthor } from './cast-embedded-parent-author';
import type { CastNotificationType } from './cast-notification-type';
import type { Embed } from './embed';
import type { User } from './user';
import type { UserDehydrated } from './user-dehydrated';
/**
*
* @export
* @interface Cast
*/
export interface Cast {
/**
*
* @type {string}
* @memberof Cast
*/
'object': CastObjectEnum;
/**
*
* @type {string}
* @memberof Cast
*/
'hash': string;
/**
*
* @type {string}
* @memberof Cast
*/
'parent_hash': string | null;
/**
*
* @type {string}
* @memberof Cast
*/
'parent_url': string | null;
/**
*
* @type {string}
* @memberof Cast
*/
'root_parent_url': string | null;
/**
*
* @type {CastEmbeddedParentAuthor}
* @memberof Cast
*/
'parent_author': CastEmbeddedParentAuthor;
/**
*
* @type {User}
* @memberof Cast
*/
'author': User;
/**
*
* @type {UserDehydrated}
* @memberof Cast
*/
'app'?: UserDehydrated | null;
/**
*
* @type {string}
* @memberof Cast
*/
'text': string;
/**
*
* @type {string}
* @memberof Cast
*/
'timestamp': string;
/**
*
* @type {Array<Embed>}
* @memberof Cast
*/
'embeds': Array<Embed>;
/**
*
* @type {CastNotificationType}
* @memberof Cast
*/
'type'?: CastNotificationType;
}
export declare const CastObjectEnum: {
readonly Cast: "cast";
};
export type CastObjectEnum = typeof CastObjectEnum[keyof typeof CastObjectEnum];