@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
61 lines (60 loc) • 2.07 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 { UserAuthAddressesInner } from './user-auth-addresses-inner';
import type { UserExperimental } from './user-experimental';
import type { UserPro } from './user-pro';
import type { UserProfile } from './user-profile';
import type { UserVerifiedAccountsInner } from './user-verified-accounts-inner';
import type { UserVerifiedAddresses } from './user-verified-addresses';
import type { UserViewerContext } from './user-viewer-context';
export interface User {
'auth_addresses': Array<UserAuthAddressesInner>;
/**
* Ethereum address
*/
'custody_address': string;
'display_name'?: string | null;
'experimental'?: UserExperimental;
/**
* The unique identifier of a farcaster user or app (unsigned integer)
*/
'fid': number;
/**
* The number of followers the user has.
*/
'follower_count': number;
/**
* The number of users the user is following.
*/
'following_count': number;
'object': UserObjectEnum;
/**
* The URL of the user\'s profile picture
*/
'pfp_url'?: string | null;
'pro'?: UserPro;
'profile': UserProfile;
'registered_at': string;
/**
* Score that represents the probability that the account is not spam.
*/
'score'?: number;
'username': string;
'verifications': Array<string>;
'verified_accounts': Array<UserVerifiedAccountsInner>;
'verified_addresses': UserVerifiedAddresses;
'viewer_context'?: UserViewerContext;
}
export declare const UserObjectEnum: {
readonly User: "user";
};
export type UserObjectEnum = typeof UserObjectEnum[keyof typeof UserObjectEnum];