UNPKG

@zeplin/sdk

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