/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { WebhookStatus } from './WebhookStatus'; import type { WebhookSource } from './WebhookSource'; /** * * @export * @interface WebhooksServiceUpdateBody */ export interface WebhooksServiceUpdateBody { /** * * @type {string} * @memberof WebhooksServiceUpdateBody */ endpointUrl?: string; /** * Filter webhook notifications by a specific link ID. * Only events from this link will trigger webhook notifications. * If empty, all links in the workspace will trigger notifications. * @type {string} * @memberof WebhooksServiceUpdateBody */ linkId?: string; /** * * @type {string} * @memberof WebhooksServiceUpdateBody */ name?: string; /** * * @type {WebhookSource} * @memberof WebhooksServiceUpdateBody */ source?: WebhookSource; /** * * @type {WebhookStatus} * @memberof WebhooksServiceUpdateBody */ status?: WebhookStatus; /** * Filter webhook notifications by workflow step kinds. * Only workflow steps matching these kinds will trigger webhook notifications. * If empty, all workflow step kinds will trigger notifications. * @type {Array} * @memberof WebhooksServiceUpdateBody */ triggers?: Array; } /** * @export */ export declare const WebhooksServiceUpdateBodyTriggersEnum: { readonly KindUnspecified: "KIND_UNSPECIFIED"; readonly KindEntry: "KIND_ENTRY"; readonly KindExit: "KIND_EXIT"; readonly KindInteraction: "KIND_INTERACTION"; readonly KindCondition: "KIND_CONDITION"; }; export type WebhooksServiceUpdateBodyTriggersEnum = typeof WebhooksServiceUpdateBodyTriggersEnum[keyof typeof WebhooksServiceUpdateBodyTriggersEnum]; /** * Check if a given object implements the WebhooksServiceUpdateBody interface. */ export declare function instanceOfWebhooksServiceUpdateBody(value: object): value is WebhooksServiceUpdateBody; export declare function WebhooksServiceUpdateBodyFromJSON(json: any): WebhooksServiceUpdateBody; export declare function WebhooksServiceUpdateBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhooksServiceUpdateBody; export declare function WebhooksServiceUpdateBodyToJSON(json: any): WebhooksServiceUpdateBody; export declare function WebhooksServiceUpdateBodyToJSONTyped(value?: WebhooksServiceUpdateBody | null, ignoreDiscriminator?: boolean): any;