@idfy/sdk
Version:
Node.js SDK for Idfy REST API
24 lines (23 loc) • 544 B
TypeScript
import { WebhookCreateConfig } from './WebhookCreateConfig';
export interface WebhookCreateOptions {
/**
* Display name of the webhook.
*/
name: string;
/**
* Determines whether the webhook is active or not.
*/
active: boolean;
/**
* A list of events that the webhook triggers for.
*/
events: string[];
/**
* Webhook configuration.
*/
config: WebhookCreateConfig;
/**
* An optional list of event tags that the webhook triggers for.
*/
tags?: string[];
}