@apideck/node
Version:
Apideck Node.js SDK
55 lines (54 loc) • 1.65 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Status } from './Status';
import { UnifiedApiId } from './UnifiedApiId';
import { WebhookEventType } from './WebhookEventType';
/**
*
* @export
* @interface CreateWebhookRequest
*/
export interface CreateWebhookRequest {
/**
*
* @type {UnifiedApiId}
* @memberof CreateWebhookRequest
*/
unified_api: UnifiedApiId;
/**
*
* @type {Status}
* @memberof CreateWebhookRequest
*/
status: Status;
/**
* The delivery url of the webhook endpoint.
* @type {string}
* @memberof CreateWebhookRequest
*/
delivery_url: string;
/**
* The list of subscribed events for this webhook. [`*`] indicates that all events are enabled.
* @type {Array<WebhookEventType>}
* @memberof CreateWebhookRequest
*/
events: Array<WebhookEventType>;
/**
* A description of the object.
* @type {string}
* @memberof CreateWebhookRequest
*/
description?: string | null;
}
export declare function CreateWebhookRequestFromJSON(json: any): CreateWebhookRequest;
export declare function CreateWebhookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWebhookRequest;
export declare function CreateWebhookRequestToJSON(value?: CreateWebhookRequest | null): any;