UNPKG

@zeplin/sdk

Version:
91 lines (90 loc) 2.23 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 { User } from './user'; import { WebhookHealthEnum } from './webhook-health-enum'; import { WebhookStatusEnum } from './webhook-status-enum'; import { ZeplinApplication } from './zeplin-application'; export declare const transformStyleguideWebhookToJSON: (value: StyleguideWebhook) => any; export declare const transformJSONToStyleguideWebhook: (value: any) => StyleguideWebhook; /** * * @export * @interface StyleguideWebhook */ export interface StyleguideWebhook { /** * The unique id of the webhook * @type {string} * @memberof StyleguideWebhook */ id: string; /** * The URL of the webhook * @type {string} * @memberof StyleguideWebhook */ url: string; /** * The name of the webhook * @type {string} * @memberof StyleguideWebhook */ name?: string; /** * * @type {WebhookStatusEnum} * @memberof StyleguideWebhook */ status: WebhookStatusEnum; /** * * @type {WebhookHealthEnum} * @memberof StyleguideWebhook */ urlHealth: WebhookHealthEnum; /** * The unix timestamp when the webhook was created * @type {number} * @memberof StyleguideWebhook */ created: number; /** * The unix timestamp when the webhook was updated * @type {number} * @memberof StyleguideWebhook */ updated: number; /** * * @type {User} * @memberof StyleguideWebhook */ createdBy: User; /** * * @type {User} * @memberof StyleguideWebhook */ updatedBy: User; /** * * @type {ZeplinApplication} * @memberof StyleguideWebhook */ zeplinApp?: ZeplinApplication; /** * The events of the webhook * @type {Set<StyleguideWebhookEventEnum>} * @memberof StyleguideWebhook */ events: Set<StyleguideWebhookEventEnum>; }