UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

42 lines (41 loc) 976 B
import BitmovinResource from './BitmovinResource'; import WebhookHttpMethod from './WebhookHttpMethod'; import WebhookSignature from './WebhookSignature'; /** * @export * @class Webhook */ export declare class Webhook extends BitmovinResource { /** * Webhook URL (required) * @type {string} * @memberof Webhook */ url?: string; /** * HTTP method used for the webhook * @type {WebhookHttpMethod} * @memberof Webhook */ method?: WebhookHttpMethod; /** * Skip verification of the SSL certificate * @type {boolean} * @memberof Webhook */ insecureSsl?: boolean; /** * Signature used for the webhook * @type {WebhookSignature} * @memberof Webhook */ signature?: WebhookSignature; /** * JSON schema of the webhook payload * @type {any} * @memberof Webhook */ schema?: any; constructor(obj?: Partial<Webhook>); } export default Webhook;