@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
63 lines (62 loc) • 1.36 kB
TypeScript
/**
* Farcaster Hub API
* Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 2.35.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 { CastId } from './cast-id';
import type { Embed } from './embed';
/**
* Adds a new Cast
* @export
* @interface CastAddBody
*/
export interface CastAddBody {
/**
*
* @type {Array<string>}
* @memberof CastAddBody
*/
'embedsDeprecated': Array<string>;
/**
*
* @type {Array<number>}
* @memberof CastAddBody
*/
'mentions': Array<number>;
/**
*
* @type {CastId}
* @memberof CastAddBody
*/
'parentCastId'?: CastId;
/**
*
* @type {string}
* @memberof CastAddBody
*/
'parentUrl'?: string;
/**
*
* @type {string}
* @memberof CastAddBody
*/
'text': string;
/**
*
* @type {Array<number>}
* @memberof CastAddBody
*/
'mentionsPositions': Array<number>;
/**
*
* @type {Array<Embed>}
* @memberof CastAddBody
*/
'embeds': Array<Embed>;
}