@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
48 lines (47 loc) • 1.95 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 { MessageDataCastAdd } from './message-data-cast-add';
import type { MessageDataCastRemove } from './message-data-cast-remove';
import type { MessageDataFrameAction } from './message-data-frame-action';
import type { MessageDataLink } from './message-data-link';
import type { MessageDataReaction } from './message-data-reaction';
import type { MessageDataUserDataAdd } from './message-data-user-data-add';
import type { MessageDataUsernameProof } from './message-data-username-proof';
import type { MessageDataVerificationAdd } from './message-data-verification-add';
import type { MessageDataVerificationRemove } from './message-data-verification-remove';
/**
* @type MessageAllOfData
* @export
*/
export type MessageAllOfData = {
type: 'MESSAGE_TYPE_CAST_ADD';
} & MessageDataCastAdd | {
type: 'MESSAGE_TYPE_CAST_REMOVE';
} & MessageDataCastRemove | {
type: 'MESSAGE_TYPE_FRAME_ACTION';
} & MessageDataFrameAction | {
type: 'MESSAGE_TYPE_LINK_ADD';
} & MessageDataLink | {
type: 'MESSAGE_TYPE_LINK_REMOVE';
} & MessageDataLink | {
type: 'MESSAGE_TYPE_REACTION_ADD';
} & MessageDataReaction | {
type: 'MESSAGE_TYPE_REACTION_REMOVE';
} & MessageDataReaction | {
type: 'MESSAGE_TYPE_USERNAME_PROOF';
} & MessageDataUsernameProof | {
type: 'MESSAGE_TYPE_USER_DATA_ADD';
} & MessageDataUserDataAdd | {
type: 'MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS';
} & MessageDataVerificationAdd | {
type: 'MESSAGE_TYPE_VERIFICATION_REMOVE';
} & MessageDataVerificationRemove;