import { WebhooksIds } from '../../Enums'; import { WebhookList, WebhookResult, WebhooksQuery, WebhookValidationResponse } from '../../Types/Webhooks'; export interface IWebHooksClient { list(domain: string, query: WebhooksQuery): Promise; get(domain: string, id: WebhooksIds): Promise; create(domain: string, id: string, url: string, test: boolean): Promise; update(domain: string, id: string, url: string | string[]): Promise; destroy(domain: string, id: string): Promise; }