UNPKG

@zeplin/sdk

Version:
64 lines (63 loc) 1.7 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 { UserWebhookEventEnum } from './user-webhook-event-enum'; import { WebhookStatusEnum } from './webhook-status-enum'; export declare const transformUserWebhookCreateBodyToJSON: (value: UserWebhookCreateBody) => any; export declare const transformJSONToUserWebhookCreateBody: (value: any) => UserWebhookCreateBody; /** * * @export * @interface UserWebhookCreateBody */ export interface UserWebhookCreateBody { /** * The URL of the webhook * @type {string} * @memberof UserWebhookCreateBody */ url: string; /** * The name of the webhook * @type {string} * @memberof UserWebhookCreateBody */ name?: string; /** * The secret to be used to generate signatures for webhook requests * @type {string} * @memberof UserWebhookCreateBody */ secret: string; /** * * @type {WebhookStatusEnum} * @memberof UserWebhookCreateBody */ status?: WebhookStatusEnum; /** * The project ids of the webhook * @type {Set<string>} * @memberof UserWebhookCreateBody */ projectIds: Set<string>; /** * The styleguide ids of the webhook * @type {Set<string>} * @memberof UserWebhookCreateBody */ styleguideIds: Set<string>; /** * The events of the webhook * @type {Set<UserWebhookEventEnum>} * @memberof UserWebhookCreateBody */ events: Set<UserWebhookEventEnum>; }