UNPKG

@neynar/nodejs-sdk

Version:

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

41 lines (40 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.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 { Cast } from './cast'; import type { Follower } from './follower'; import type { ReactionWithUserInfo } from './reaction-with-user-info'; export interface Notification { 'cast'?: Cast; /** * The number of notifications of this(follows, likes, recast) type bundled in a single notification. */ 'count'?: number; 'follows'?: Array<Follower>; 'most_recent_timestamp': string; 'object': NotificationObjectEnum; 'reactions'?: Array<ReactionWithUserInfo>; 'seen': boolean; 'type': NotificationTypeEnum; } export declare const NotificationObjectEnum: { readonly Notification: "notification"; }; export type NotificationObjectEnum = typeof NotificationObjectEnum[keyof typeof NotificationObjectEnum]; export declare const NotificationTypeEnum: { readonly Follows: "follows"; readonly Recasts: "recasts"; readonly Likes: "likes"; readonly Mention: "mention"; readonly Reply: "reply"; readonly Quote: "quote"; }; export type NotificationTypeEnum = typeof NotificationTypeEnum[keyof typeof NotificationTypeEnum];