/** * 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 { WebhookSource } from './WebhookSource'; /** * * @export * @interface CreateWebhookRequest */ export interface CreateWebhookRequest { /** * * @type {string} * @memberof CreateWebhookRequest */ 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 CreateWebhookRequest */ linkId?: string; /** * * @type {string} * @memberof CreateWebhookRequest */ name: string; /** * * @type {WebhookSource} * @memberof CreateWebhookRequest */ source?: WebhookSource; /** * 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 CreateWebhookRequest */ triggers?: Array; } /** * @export */ export declare const CreateWebhookRequestTriggersEnum: { readonly KindUnspecified: "KIND_UNSPECIFIED"; readonly KindEntry: "KIND_ENTRY"; readonly KindExit: "KIND_EXIT"; readonly KindInteraction: "KIND_INTERACTION"; readonly KindCondition: "KIND_CONDITION"; }; export type CreateWebhookRequestTriggersEnum = typeof CreateWebhookRequestTriggersEnum[keyof typeof CreateWebhookRequestTriggersEnum]; /** * Check if a given object implements the CreateWebhookRequest interface. */ export declare function instanceOfCreateWebhookRequest(value: object): value is CreateWebhookRequest; export declare function CreateWebhookRequestFromJSON(json: any): CreateWebhookRequest; export declare function CreateWebhookRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWebhookRequest; export declare function CreateWebhookRequestToJSON(json: any): CreateWebhookRequest; export declare function CreateWebhookRequestToJSONTyped(value?: CreateWebhookRequest | null, ignoreDiscriminator?: boolean): any;