UNPKG

@neynar/nodejs-sdk

Version:

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

50 lines (49 loc) 1.67 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.115.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 */ export interface ReactionReqBody { /** * UUID of the signer. `signer_uuid` is paired with API key, can\'t use a `uuid` made with a different API key. * @type {string} * @memberof ReactionReqBody */ 'signer_uuid': string; /** * * @type {ReactionType} * @memberof ReactionReqBody */ 'reaction_type': ReactionType; /** * Target cast hash (hex string starting with 0x) OR a valid URL. * @type {string} * @memberof ReactionReqBody */ 'target': string; /** * The unique identifier of a farcaster user or app (unsigned integer) * @type {number} * @memberof ReactionReqBody */ 'target_author_fid'?: number; /** * 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. * @type {string} * @memberof ReactionReqBody */ 'idem'?: string; }