UNPKG

woodwing-assets

Version:

TypeScript client for interacting with the WoodWing Assets Server API

15 lines (14 loc) 747 B
import { AssetsServerBase } from './AssetsServerBase'; import { WebhookCreateRequest } from './interfaces/Request/Admin'; import { WebhookCreateResponse } from './interfaces/Response/Admin'; export declare class AssetsServerAdmin { private base; constructor(base: AssetsServerBase); currentState(): Promise<unknown>; activeUsers(): Promise<unknown>; createWebhook(payload: WebhookCreateRequest): Promise<WebhookCreateResponse>; updateWebhook(webhookId: string, payload: WebhookCreateRequest): Promise<WebhookCreateResponse>; disabledWebhook(webhookId: string): Promise<WebhookCreateResponse>; enabledWebhook(webhookId: string): Promise<WebhookCreateResponse>; deleteWebhook(webhookId: string): Promise<void>; }