@zeplin/sdk
Version:
Zeplin API client for JavaScript
52 lines (51 loc) • 1.44 kB
TypeScript
/**
* Zeplin API
* Access your resources in Zeplin
*
* Contact: support@zeplin.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { ProjectWebhookEventEnum } from './project-webhook-event-enum';
import { WebhookStatusEnum } from './webhook-status-enum';
export declare const transformProjectWebhookCreateBodyToJSON: (value: ProjectWebhookCreateBody) => any;
export declare const transformJSONToProjectWebhookCreateBody: (value: any) => ProjectWebhookCreateBody;
/**
*
* @export
* @interface ProjectWebhookCreateBody
*/
export interface ProjectWebhookCreateBody {
/**
* The URL of the webhook
* @type {string}
* @memberof ProjectWebhookCreateBody
*/
url: string;
/**
* The name of the webhook
* @type {string}
* @memberof ProjectWebhookCreateBody
*/
name?: string;
/**
* The secret to be used to generate signatures for webhook requests
* @type {string}
* @memberof ProjectWebhookCreateBody
*/
secret: string;
/**
*
* @type {WebhookStatusEnum}
* @memberof ProjectWebhookCreateBody
*/
status?: WebhookStatusEnum;
/**
* The events of the webhook
* @type {Set<ProjectWebhookEventEnum>}
* @memberof ProjectWebhookCreateBody
*/
events: Set<ProjectWebhookEventEnum>;
}