UNPKG

@zeplin/sdk

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