UNPKG

@neynar/nodejs-sdk

Version:

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

51 lines (50 loc) 1.52 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.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 { NeynarPageButtonNextPage } from './neynar-page-button-next-page'; /** * * @export * @interface NeynarPageButton */ export interface NeynarPageButton { /** * The title of the button. * @type {string} * @memberof NeynarPageButton */ 'title': string; /** * The index of the button, first button should have index 1 and so on. * @type {number} * @memberof NeynarPageButton */ 'index': number; /** * The type of action that the button performs. * @type {string} * @memberof NeynarPageButton */ 'action_type': NeynarPageButtonActionTypeEnum; /** * * @type {NeynarPageButtonNextPage} * @memberof NeynarPageButton */ 'next_page'?: NeynarPageButtonNextPage; } export declare const NeynarPageButtonActionTypeEnum: { readonly Post: "post"; readonly PostRedirect: "post_redirect"; readonly Mint: "mint"; readonly Link: "link"; }; export type NeynarPageButtonActionTypeEnum = typeof NeynarPageButtonActionTypeEnum[keyof typeof NeynarPageButtonActionTypeEnum];