UNPKG

@neynar/nodejs-sdk

Version:

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

35 lines (34 loc) 1.83 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageType = void 0; /** * Type of the MessageBody. - MESSAGE_TYPE_CAST_ADD: Add a new Cast - MESSAGE_TYPE_CAST_REMOVE: Remove an existing Cast - MESSAGE_TYPE_REACTION_ADD: Add a Reaction to a Cast - MESSAGE_TYPE_REACTION_REMOVE: Remove a Reaction from a Cast - MESSAGE_TYPE_LINK_ADD: Add a new Link - MESSAGE_TYPE_LINK_REMOVE: Remove an existing Link - MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS: Add a Verification of an Ethereum Address - MESSAGE_TYPE_VERIFICATION_REMOVE: Remove a Verification - MESSAGE_TYPE_USER_DATA_ADD: Add metadata about a user - MESSAGE_TYPE_USERNAME_PROOF: Add or replace a username proof - MESSAGE_TYPE_FRAME_ACTION: A Farcaster Frame action * @export * @enum {string} */ exports.MessageType = { CastAdd: 'MESSAGE_TYPE_CAST_ADD', CastRemove: 'MESSAGE_TYPE_CAST_REMOVE', ReactionAdd: 'MESSAGE_TYPE_REACTION_ADD', ReactionRemove: 'MESSAGE_TYPE_REACTION_REMOVE', LinkAdd: 'MESSAGE_TYPE_LINK_ADD', LinkRemove: 'MESSAGE_TYPE_LINK_REMOVE', VerificationAddEthAddress: 'MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS', VerificationRemove: 'MESSAGE_TYPE_VERIFICATION_REMOVE', UserDataAdd: 'MESSAGE_TYPE_USER_DATA_ADD', UsernameProof: 'MESSAGE_TYPE_USERNAME_PROOF', FrameAction: 'MESSAGE_TYPE_FRAME_ACTION' };