@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
96 lines (95 loc) • 2.56 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 { Cast } from './cast';
import type { FrameInput } from './frame-input';
import type { FrameState } from './frame-state';
import type { FrameTransaction } from './frame-transaction';
import type { User } from './user';
import type { ValidatedFrameActionSigner } from './validated-frame-action-signer';
import type { ValidatedFrameActionTappedButton } from './validated-frame-action-tapped-button';
/**
*
* @export
* @interface ValidatedFrameAction
*/
export interface ValidatedFrameAction {
/**
*
* @type {string}
* @memberof ValidatedFrameAction
*/
'object': ValidatedFrameActionObjectEnum;
/**
*
* @type {string}
* @memberof ValidatedFrameAction
*/
'url': string;
/**
*
* @type {User}
* @memberof ValidatedFrameAction
*/
'interactor': User;
/**
*
* @type {ValidatedFrameActionTappedButton}
* @memberof ValidatedFrameAction
*/
'tapped_button': ValidatedFrameActionTappedButton;
/**
*
* @type {FrameInput}
* @memberof ValidatedFrameAction
*/
'input'?: FrameInput;
/**
*
* @type {FrameState}
* @memberof ValidatedFrameAction
*/
'state': FrameState;
/**
*
* @type {Cast}
* @memberof ValidatedFrameAction
*/
'cast': Cast;
/**
*
* @type {string}
* @memberof ValidatedFrameAction
*/
'timestamp': string;
/**
*
* @type {ValidatedFrameActionSigner}
* @memberof ValidatedFrameAction
*/
'signer'?: ValidatedFrameActionSigner;
/**
*
* @type {FrameTransaction}
* @memberof ValidatedFrameAction
*/
'transaction'?: FrameTransaction;
/**
* The connected wallet address of the interacting user.
* @type {string}
* @memberof ValidatedFrameAction
*/
'address'?: string;
}
export declare const ValidatedFrameActionObjectEnum: {
readonly ValidatedFrameAction: "validated_frame_action";
};
export type ValidatedFrameActionObjectEnum = typeof ValidatedFrameActionObjectEnum[keyof typeof ValidatedFrameActionObjectEnum];