interface MainEntity { _id?: string; } 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; } interface TriggerAutomationResponse { } /** * TriggerAutomation triggers an automation with webhook trigger by its hookId * @public * @documentationMaturity preview * @permissionId AUTOMATIONS.TRIGGER_WEBHOOK */ declare function triggerAutomation(options?: TriggerAutomationOptions): Promise; 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; } export { type MainEntity, type TriggerAutomationOptions, type TriggerAutomationRequest, type TriggerAutomationResponse, triggerAutomation };