UNPKG

@neynar/nodejs-sdk

Version:

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

41 lines (40 loc) 1.98 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. */ export interface WebhookSubscriptionFiltersCast { 'author_fids'?: Array<number>; /** * Filter for casts that contain embedded casts authored by these FIDs */ 'embedded_cast_author_fids'?: Array<number>; /** * Filter for casts that quote/embed these specific cast hashes */ 'embedded_cast_hashes'?: Array<string>; /** * Regex pattern to match the embeded_url (key embeds) of the cast. **Note:** 1) Regex must be parsed by Go\'s RE2 engine (Test your expression here: https://www.lddgo.net/en/string/golangregex) 2) Use backslashes to escape special characters. For example: \\\\b(farcaster|neynar)\\\\b should be written as \\\\\\\\b(farcaster|neynar)\\\\\\\\b */ 'embeds'?: string; /** * Exclude casts that matches these authors. **Note:** This is applied as an AND operation against rest of the filters. Rest of the filters are bundled as an OR operation. */ 'exclude_author_fids'?: Array<number>; 'mentioned_fids'?: Array<number>; 'minimum_author_score'?: number; 'parent_author_fids'?: Array<number>; 'parent_hashes'?: Array<string>; 'parent_urls'?: Array<string>; 'root_parent_urls'?: Array<string>; /** * Regex pattern to match the text key of the cast. **Note:** 1) Regex must be parsed by Go\'s RE2 engine (Test your expression here: https://www.lddgo.net/en/string/golangregex) 2) Use backslashes to escape special characters. For example: (?i)\\\\$degen should be written as (?i)\\\\\\\\$degen */ 'text'?: string; }