UNPKG

@neynar/nodejs-sdk

Version:

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

54 lines (53 loc) 1.82 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 { NotificationCampaignStatsErrorBreakdown } from './notification-campaign-stats-error-breakdown'; export interface NotificationCampaignStats { 'error_breakdown': NotificationCampaignStatsErrorBreakdown; /** * An array of Farcaster FIDs of intended recipient applications. */ 'intended_recipient_app_fids': Array<number>; /** * The total number of notification tokens for intended recipients. */ 'intended_recipient_notification_token_count': number; /** * The number of notifications successfully sent. */ 'successful_sends': number; /** * A record mapping app FIDs (as strings) to the number of successful sends for that app. */ 'successful_sends_by_app_fid': { [key: string]: number; }; /** * The total number of times notifications from this campaign have been opened. */ 'total_opens': number; /** * A record mapping app FIDs (as strings) to the number of opens for that app. */ 'total_opens_by_app_fid': { [key: string]: number; }; /** * The number of unique recipients who opened a notification from this campaign. */ 'unique_opens': number; /** * A record mapping app FIDs (as strings) to the number of unique opens for that app. */ 'unique_opens_by_app_fid': { [key: string]: number; }; }