@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
32 lines (31 loc) • 1.24 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.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';
export interface Subscription {
'chain': number;
'contract_address': string;
'metadata': SubscribedToMetadata;
'object': SubscriptionObjectEnum;
'owner_address': string;
'price': SubscribedToPrice;
'protocol_version': number;
'provider_name'?: string;
'tiers'?: Array<SubscriptionTier>;
'token': SubscribedToToken;
}
export declare const SubscriptionObjectEnum: {
readonly Subscription: "subscription";
};
export type SubscriptionObjectEnum = typeof SubscriptionObjectEnum[keyof typeof SubscriptionObjectEnum];