@zeplin/sdk
Version:
Zeplin API client for JavaScript
91 lines (90 loc) • 2.16 kB
TypeScript
/**
* 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 { ProjectWebhookEventEnum } from './project-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 transformProjectWebhookToJSON: (value: ProjectWebhook) => any;
export declare const transformJSONToProjectWebhook: (value: any) => ProjectWebhook;
/**
*
* @export
* @interface ProjectWebhook
*/
export interface ProjectWebhook {
/**
* The unique id of the webhook
* @type {string}
* @memberof ProjectWebhook
*/
id: string;
/**
* The URL of the webhook
* @type {string}
* @memberof ProjectWebhook
*/
url: string;
/**
* The name of the webhook
* @type {string}
* @memberof ProjectWebhook
*/
name?: string;
/**
*
* @type {WebhookStatusEnum}
* @memberof ProjectWebhook
*/
status: WebhookStatusEnum;
/**
*
* @type {WebhookHealthEnum}
* @memberof ProjectWebhook
*/
urlHealth: WebhookHealthEnum;
/**
* The unix timestamp when the webhook was created
* @type {number}
* @memberof ProjectWebhook
*/
created: number;
/**
* The unix timestamp when the webhook was updated
* @type {number}
* @memberof ProjectWebhook
*/
updated: number;
/**
*
* @type {User}
* @memberof ProjectWebhook
*/
createdBy: User;
/**
*
* @type {User}
* @memberof ProjectWebhook
*/
updatedBy: User;
/**
*
* @type {ZeplinApplication}
* @memberof ProjectWebhook
*/
zeplinApp?: ZeplinApplication;
/**
* The events of the webhook
* @type {Set<ProjectWebhookEventEnum>}
* @memberof ProjectWebhook
*/
events: Set<ProjectWebhookEventEnum>;
}