UNPKG

@zeplin/sdk

Version:
52 lines (51 loc) 1.49 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 { StyleguideWebhookEventEnum } from './styleguide-webhook-event-enum'; import { WebhookStatusEnum } from './webhook-status-enum'; export declare const transformStyleguideWebhookUpdateBodyToJSON: (value: StyleguideWebhookUpdateBody) => any; export declare const transformJSONToStyleguideWebhookUpdateBody: (value: any) => StyleguideWebhookUpdateBody; /** * * @export * @interface StyleguideWebhookUpdateBody */ export interface StyleguideWebhookUpdateBody { /** * The URL of the webhook * @type {string} * @memberof StyleguideWebhookUpdateBody */ url?: string; /** * The name of the webhook * @type {string} * @memberof StyleguideWebhookUpdateBody */ name?: string; /** * The secret to be used to generate signatures for webhook requests * @type {string} * @memberof StyleguideWebhookUpdateBody */ secret?: string; /** * * @type {WebhookStatusEnum} * @memberof StyleguideWebhookUpdateBody */ status?: WebhookStatusEnum; /** * The events of the webhook * @type {Set<StyleguideWebhookEventEnum>} * @memberof StyleguideWebhookUpdateBody */ events?: Set<StyleguideWebhookEventEnum>; }