@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
50 lines (49 loc) • 1.71 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.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.
*/
export interface GetCreditDrop200Response {
/**
* Timestamp at which the drop stops contributing to the effective CU limit. Stamped by the credit-drop job at insert time (default: created_at + 24h).
*/
'allowance_expires_at': string;
/**
* Whether the credit drop has been claimed
*/
'claimed': boolean;
/**
* When the credit drop was generated
*/
'created_at': string;
/**
* reward_amount - credits_used, clamped at 0. Spendable only until allowance_expires_at.
*/
'credits_remaining': number | null;
/**
* Portion of this drop already consumed against STUDIO CU usage (incremented by the CU sync). Forfeited at allowance_expires_at if unused.
*/
'credits_used': number;
/**
* Whether the credit drop\'s allowance window has closed (NOW() >= allowance_expires_at). Once true, the drop no longer contributes to the effective CU limit; any unused portion is forfeited.
*/
'expired': boolean;
/**
* Percentile rank within 7-day global distribution
*/
'percentile_score': number | null;
/**
* Raw quality score from 0 to 1
*/
'raw_score': number | null;
/**
* Credit reward amount
*/
'reward_amount': number | null;
}