UNPKG

@neynar/nodejs-sdk

Version:

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

54 lines (53 loc) 1.72 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. */ /** * * @export * @interface NotificationDelivery */ export interface NotificationDelivery { /** * * @type {string} * @memberof NotificationDelivery */ 'object': NotificationDeliveryObjectEnum; /** * The unique identifier of a farcaster user or app (unsigned integer) * @type {number} * @memberof NotificationDelivery */ 'fid': number; /** * * @type {string} * @memberof NotificationDelivery */ 'status': NotificationDeliveryStatusEnum; /** * The unique identifier of a farcaster user or app (unsigned integer) * @type {number} * @memberof NotificationDelivery */ 'app_fid'?: number; } export declare const NotificationDeliveryObjectEnum: { readonly NotificationDelivery: "notification_delivery"; }; export type NotificationDeliveryObjectEnum = typeof NotificationDeliveryObjectEnum[keyof typeof NotificationDeliveryObjectEnum]; export declare const NotificationDeliveryStatusEnum: { readonly Success: "success"; readonly TokenNotFound: "token_not_found"; readonly TokenDisabled: "token_disabled"; readonly Failed: "failed"; }; export type NotificationDeliveryStatusEnum = typeof NotificationDeliveryStatusEnum[keyof typeof NotificationDeliveryStatusEnum];