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 transformUserWebhookUpdateBodyToJSON: (value: UserWebhookUpdateBody) => any; export declare const transformJSONToUserWebhookUpdateBody: (value: any) => UserWebhookUpdateBody; /** * * @export * @interface UserWebhookUpdateBody */ export interface UserWebhookUpdateBody { /** * The URL of the webhook * @type {string} * @memberof UserWebhookUpdateBody */ url?: string; /** * The name of the webhook * @type {string} * @memberof UserWebhookUpdateBody */ name?: string; /** * The secret to be used to generate signatures for webhook requests * @type {string} * @memberof UserWebhookUpdateBody */ secret?: string; /** * * @type {WebhookStatusEnum} * @memberof UserWebhookUpdateBody */ status?: WebhookStatusEnum; /** * The project ids of the webhook * @type {Set<string>} * @memberof UserWebhookUpdateBody */ projectIds?: Set<string>; /** * The styleguide ids of the webhook * @type {Set<string>} * @memberof UserWebhookUpdateBody */ styleguideIds?: Set<string>; /** * The events of the webhook * @type {Set<UserWebhookEventEnum>} * @memberof UserWebhookUpdateBody */ events?: Set<UserWebhookEventEnum>; }