export interface MainEntity { _id?: string; } export interface TriggerAutomationRequest { /** hookId is the id of the hook to trigger */ hookId?: string; /** payload is the payload to send to the hook */ payload?: Record | null; } export interface TriggerAutomationResponse { } /** * TriggerAutomation triggers an automation with webhook trigger by its hookId * @public * @documentationMaturity preview * @permissionId AUTOMATIONS.TRIGGER_WEBHOOK */ export declare function triggerAutomation(options?: TriggerAutomationOptions): Promise; export interface TriggerAutomationOptions { /** hookId is the id of the hook to trigger */ hookId?: string; /** payload is the payload to send to the hook */ payload?: Record | null; }