@agility/management-sdk
Version:
Agility CMS Tyescript SDK for Management API.
13 lines (12 loc) • 545 B
TypeScript
import { Options } from "../models/options";
import { Webhook } from "../models/webhook";
import { ClientInstance } from "./clientInstance";
export declare class WebhookMethods {
_options: Options;
_cleintInstance: ClientInstance;
constructor(options: Options);
webhookList(guid: string, take?: number, token?: string): Promise<any>;
saveWebhook(guid: string, webhook: Webhook): Promise<any>;
getWebhook(guid: string, webhookID: string): Promise<any>;
deleteWebhook(guid: string, webhookID: string): Promise<void>;
}