@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
87 lines (86 loc) • 2.09 kB
TypeScript
/**
* 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.34.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 { SubscriptionMetadata } from './subscription-metadata';
import type { SubscriptionPrice } from './subscription-price';
import type { SubscriptionTier } from './subscription-tier';
import type { SubscriptionToken } from './subscription-token';
/**
*
* @export
* @interface Subscription
*/
export interface Subscription {
/**
*
* @type {string}
* @memberof Subscription
*/
'object': SubscriptionObjectEnum;
/**
*
* @type {string}
* @memberof Subscription
*/
'provider_name'?: string;
/**
*
* @type {string}
* @memberof Subscription
*/
'contract_address': string;
/**
*
* @type {number}
* @memberof Subscription
*/
'chain': number;
/**
*
* @type {SubscriptionMetadata}
* @memberof Subscription
*/
'metadata': SubscriptionMetadata;
/**
*
* @type {string}
* @memberof Subscription
*/
'owner_address': string;
/**
*
* @type {SubscriptionPrice}
* @memberof Subscription
*/
'price': SubscriptionPrice;
/**
*
* @type {Array<SubscriptionTier>}
* @memberof Subscription
*/
'tiers'?: Array<SubscriptionTier>;
/**
*
* @type {number}
* @memberof Subscription
*/
'protocol_version': number;
/**
*
* @type {SubscriptionToken}
* @memberof Subscription
*/
'token': SubscriptionToken;
}
export declare const SubscriptionObjectEnum: {
readonly Subscription: "subscription";
};
export type SubscriptionObjectEnum = typeof SubscriptionObjectEnum[keyof typeof SubscriptionObjectEnum];