@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
58 lines (57 loc) • 1.9 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.115.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 Failed: "failed";
readonly InvalidToken: "invalid_token";
readonly RateLimited: "rate_limited";
readonly TokenNotFound: "token_not_found";
readonly TokenDisabled: "token_disabled";
readonly HttpError: "http_error";
readonly InvalidTargetUrl: "invalid_target_url";
};
export type NotificationDeliveryStatusEnum = typeof NotificationDeliveryStatusEnum[keyof typeof NotificationDeliveryStatusEnum];