// @ts-ignore /* eslint-disable */ import request from '@repo/api-client' /** Generate an audit Generate a security audit for your n8n instance. POST /audit */ export async function postAudit( body: { additionalOptions?: { daysAbandonedWorkflow?: number categories?: ('credentials' | 'database' | 'nodes' | 'filesystem' | 'instance')[] } }, options?: { [key: string]: any } ) { return request('/audit', { method: 'POST', headers: { 'Content-Type': 'application/json' }, data: body, ...(options || {}) }) }