import {z} from 'zod'
export type Link = {rel?: string | undefined, href?: string | undefined, hreflang?: string | undefined, media?: string | undefined, title?: string | undefined, type?: string | undefined, deprecation?: string | undefined, profile?: string | undefined, name?: string | undefined};
export type CustomFieldsCategoryResource = {categoryId?: string | undefined, categoryName?: string | undefined, links?: Array | undefined};
export type CreateApiCompaniesCompanyIdCustomfieldscategoriesArgs = {companyId: string, body: CustomFieldsCategoryResource};
export type CreateApiCompaniesCompanyIdCustomfieldscategoriesOptions = {baseUrl?: string | undefined, fetch?: typeof fetch | undefined};
export const link = z.object({rel: z.string().optional(), href: z.string().optional(), hreflang: z.string().optional(), media: z.string().optional(), title: z.string().optional(), type: z.string().optional(), deprecation: z.string().optional(), profile: z.string().optional(), name: z.string().optional()});
export const customFieldsCategoryResource = z.object({categoryId: z.string().optional(), categoryName: z.string().optional(), links: z.array(link).optional()});
export const createApiCompaniesCompanyIdCustomfieldscategoriesResponse = z.object({content: customFieldsCategoryResource.optional(), links: z.array(link).optional()});
export const validateResponse = async