UNPKG

@neynar/nodejs-sdk

Version:

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

32 lines (31 loc) 1.31 kB
/** * Neynar API * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details. * * The version of the OpenAPI document: 3.175.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 { ReactionType } from './reaction-type'; export interface ReactionReqBody { /** * An Idempotency key is a unique identifier for the request. **Note:** 1) This is used to prevent duplicate requests. Use the same idem key on retry attempts. 2) This should be a unique identifier for each request. 3) Recommended format is a 16-character string generated by the developer at the time of making this request. */ 'idem'?: string; 'reaction_type': ReactionType; /** * UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key. */ 'signer_uuid': string; /** * Target cast hash (hex string starting with 0x) OR a valid URL. */ 'target': string; /** * The unique identifier of a farcaster user or app (unsigned integer) */ 'target_author_fid'?: number; }