UNPKG

@neynar/nodejs-sdk

Version:

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

37 lines (36 loc) 1.39 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 { SubscribedToMetadata } from './subscribed-to-metadata'; import type { SubscribedToPrice } from './subscribed-to-price'; import type { SubscribedToToken } from './subscribed-to-token'; import type { SubscriptionTier } from './subscription-tier'; import type { User } from './user'; export interface SubscribedTo { 'chain': number; 'contract_address': string; 'creator': User; 'expires_at': string; 'metadata': SubscribedToMetadata; 'object': SubscribedToObjectEnum; 'owner_address': string; 'price': SubscribedToPrice; 'protocol_version': number; 'provider_name'?: string; 'subscribed_at': string; 'tier': SubscriptionTier; 'tiers'?: Array<SubscriptionTier>; 'token': SubscribedToToken; } export declare const SubscribedToObjectEnum: { readonly Subscription: "subscription"; }; export type SubscribedToObjectEnum = typeof SubscribedToObjectEnum[keyof typeof SubscribedToObjectEnum];