import {z} from 'zod'
export type ScanEvents = {failed: boolean, paused: boolean, resumed?: boolean | undefined, started: boolean, stopped: boolean};
export type VulnerabilityEvents = {confirmedVulnerabilities: boolean, potentialVulnerabilities: boolean, unconfirmedVulnerabilities: boolean, vulnerabilitySeverity: 'any_severity' | 'severe_and_critical' | 'only_critical'};
export type Link = {deprecation?: string | undefined, href?: string | undefined, hreflang?: string | undefined, media?: string | undefined, rel?: string | undefined, title?: string | undefined, type?: string | undefined};
export type SyslogAlert = {enabled: boolean, enabledScanEvents?: ScanEvents | undefined, enabledVulnerabilityEvents?: VulnerabilityEvents | undefined, id?: number | undefined, links: Array, maximumAlerts?: number | undefined, name: string, notification: 'SMTP' | 'SNMP' | 'Syslog', server: string};
export type UpdateApiApi3SitesIdAlertsSyslogArgs = {id: number, body: Array};
export type UpdateApiApi3SitesIdAlertsSyslogOptions = {baseUrl?: string | undefined, fetch?: typeof fetch | undefined};
export const link = z.object({deprecation: z.string().optional(), href: z.string().optional(), hreflang: z.string().optional(), media: z.string().optional(), rel: z.string().optional(), title: z.string().optional(), type: z.string().optional()});
export const links = z.object({links: z.array(link).optional()});
export const validateResponse = async