UNPKG

@neynar/nodejs-sdk

Version:

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

115 lines (114 loc) 2.3 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.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. */ import type { WebhookSecret } from './webhook-secret'; import type { WebhookSubscription } from './webhook-subscription'; /** * * @export * @interface Webhook */ export interface Webhook { /** * * @type {string} * @memberof Webhook */ 'object': WebhookObjectEnum; /** * * @type {string} * @memberof Webhook */ 'webhook_id': string; /** * * @type {string} * @memberof Webhook */ 'developer_uuid': string; /** * * @type {string} * @memberof Webhook */ 'target_url': string; /** * * @type {string} * @memberof Webhook */ 'title': string; /** * * @type {Array<WebhookSecret>} * @memberof Webhook */ 'secrets': Array<WebhookSecret>; /** * * @type {string} * @memberof Webhook */ 'description': string; /** * * @type {string} * @memberof Webhook */ 'http_timeout': string; /** * * @type {number} * @memberof Webhook */ 'rate_limit': number; /** * * @type {boolean} * @memberof Webhook */ 'active': boolean; /** * * @type {string} * @memberof Webhook */ 'rate_limit_duration': string; /** * * @type {string} * @memberof Webhook */ 'created_at': string; /** * * @type {string} * @memberof Webhook */ 'updated_at': string; /** * * @type {string} * @memberof Webhook */ 'deleted_at': string; /** * * @type {WebhookSubscription} * @memberof Webhook */ 'subscription'?: WebhookSubscription; } export declare const WebhookObjectEnum: { readonly Webhook: "webhook"; }; export type WebhookObjectEnum = typeof WebhookObjectEnum[keyof typeof WebhookObjectEnum];