UNPKG

@zeplin/sdk

Version:
52 lines (51 loc) 1.44 kB
/** * 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 transformProjectWebhookUpdateBodyToJSON: (value: ProjectWebhookUpdateBody) => any; export declare const transformJSONToProjectWebhookUpdateBody: (value: any) => ProjectWebhookUpdateBody; /** * * @export * @interface ProjectWebhookUpdateBody */ export interface ProjectWebhookUpdateBody { /** * The URL of the webhook * @type {string} * @memberof ProjectWebhookUpdateBody */ url?: string; /** * The name of the webhook * @type {string} * @memberof ProjectWebhookUpdateBody */ name?: string; /** * The secret to be used to generate signatures for webhook requests * @type {string} * @memberof ProjectWebhookUpdateBody */ secret?: string; /** * * @type {WebhookStatusEnum} * @memberof ProjectWebhookUpdateBody */ status?: WebhookStatusEnum; /** * The events of the webhook * @type {Set<ProjectWebhookEventEnum>} * @memberof ProjectWebhookUpdateBody */ events?: Set<ProjectWebhookEventEnum>; }