@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
32 lines (31 loc) • 1.25 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 { HubEventMergeMessage } from './hub-event-merge-message';
import type { HubEventMergeOnChainEvent } from './hub-event-merge-on-chain-event';
import type { HubEventMergeUsernameProof } from './hub-event-merge-username-proof';
import type { HubEventPruneMessage } from './hub-event-prune-message';
import type { HubEventRevokeMessage } from './hub-event-revoke-message';
/**
* @type HubEvent
* @export
*/
export type HubEvent = {
type: 'HUB_EVENT_TYPE_MERGE_MESSAGE';
} & HubEventMergeMessage | {
type: 'HUB_EVENT_TYPE_MERGE_ON_CHAIN_EVENT';
} & HubEventMergeOnChainEvent | {
type: 'HUB_EVENT_TYPE_MERGE_USERNAME_PROOF';
} & HubEventMergeUsernameProof | {
type: 'HUB_EVENT_TYPE_PRUNE_MESSAGE';
} & HubEventPruneMessage | {
type: 'HUB_EVENT_TYPE_REVOKE_MESSAGE';
} & HubEventRevokeMessage;