UNPKG

@zeplin/sdk

Version:
64 lines (63 loc) 1.84 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 transformOrganizationWebhookUpdateBodyToJSON: (value: OrganizationWebhookUpdateBody) => any; export declare const transformJSONToOrganizationWebhookUpdateBody: (value: any) => OrganizationWebhookUpdateBody; /** * * @export * @interface OrganizationWebhookUpdateBody */ export interface OrganizationWebhookUpdateBody { /** * The URL of the webhook * @type {string} * @memberof OrganizationWebhookUpdateBody */ url?: string; /** * The name of the webhook * @type {string} * @memberof OrganizationWebhookUpdateBody */ name?: string; /** * The secret to be used to generate signatures for webhook requests * @type {string} * @memberof OrganizationWebhookUpdateBody */ secret?: string; /** * * @type {WebhookStatusEnum} * @memberof OrganizationWebhookUpdateBody */ status?: WebhookStatusEnum; /** * The project ids of the webhook * @type {Set<string>} * @memberof OrganizationWebhookUpdateBody */ projectIds?: Set<string>; /** * The styleguide ids of the webhook * @type {Set<string>} * @memberof OrganizationWebhookUpdateBody */ styleguideIds?: Set<string>; /** * The events of the webhook * @type {Set<OrganizationWebhookEventEnum>} * @memberof OrganizationWebhookUpdateBody */ events?: Set<OrganizationWebhookEventEnum>; }