UNPKG

@neynar/nodejs-sdk

Version:

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

73 lines (72 loc) 2.75 kB
/** * Farcaster API V2 * The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details. * * The version of the OpenAPI document: 2.46.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 GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ export interface GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats { /** * The total number of notification tokens for intended recipients. * @type {number} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'intended_recipient_notification_token_count'?: number; /** * An array of Farcaster FIDs of intended recipient applications. * @type {Array<number>} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'intended_recipient_app_fids'?: Array<number>; /** * The number of notifications successfully sent. * @type {number} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'successful_sends'?: number; /** * A record mapping app FIDs (as strings) to the number of successful sends for that app. * @type {{ [key: string]: number; }} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'successful_sends_by_app_fid'?: { [key: string]: number; }; /** * The total number of times notifications from this campaign have been opened. * @type {number} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'total_opens'?: number; /** * A record mapping app FIDs (as strings) to the number of opens for that app. * @type {{ [key: string]: number; }} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'total_opens_by_app_fid'?: { [key: string]: number; }; /** * The number of unique recipients who opened a notification from this campaign. * @type {number} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'unique_opens'?: number; /** * A record mapping app FIDs (as strings) to the number of unique opens for that app. * @type {{ [key: string]: number; }} * @memberof GetNotificationCampaignStats200ResponseNotificationCampaignsInnerStats */ 'unique_opens_by_app_fid'?: { [key: string]: number; }; }