import {z} from 'zod'
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 Review = {comment?: string | undefined, date?: string | undefined, links: Array, name?: string | undefined, user?: Record | undefined};
export type ExceptionScope = {id?: number | undefined, key?: string | undefined, links: Array, port?: number | undefined, type?: string | undefined, vulnerability?: Record | undefined};
export type Submission = {comment?: string | undefined, date?: string | undefined, links: Array, name?: string | undefined, reason?: string | undefined, user?: Record | undefined};
export type VulnerabilityException = {expires?: string | undefined, id?: Record | undefined, links: Array, review?: Review | undefined, scope?: ExceptionScope | undefined, state?: string | undefined, submit?: Submission | undefined};
export type CreateApiApi3VulnerabilityExceptionsArgs = {body: VulnerabilityException};
export type CreateApiApi3VulnerabilityExceptionsOptions = {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 referenceResourceVulnerabilityExceptionIDLink = z.object({id: z.object({}).optional(), links: z.array(link)});
export const validateResponse = async