import{z as a}from"./dVzHJMF1.js";import{w as o,aa as i,u as t,v as s,y as m,x as u,ab as p,a8 as r}from"./Byi2WFzI.js";import{a as b}from"./C3JtJyG7.js";import{E as e,a as n}from"./D4oUL8iA.js";const y=e.extend({tipoAcesso:a.enum(Object.keys(t)).optional().nullable(),ambiente:a.enum(Object.keys(i)).optional().nullable(),tipoProprietario:a.enum(Object.keys(o)).optional().nullable()}),F=n.extend({tipoAcesso:a.enum(Object.keys(t)),tipoProprietario:a.enum(Object.keys(o))}),j=e.extend({codigo:a.string().nullable().optional(),codigoCerca:a.string(),cercaExistente:a.enum(Object.keys(b)).optional().nullable(),idJustificativa:a.number().min(1).optional().nullable(),ambiente:a.enum(Object.keys(i)).optional().nullable()}),S=e.extend({areaOcupada:a.enum(Object.keys(u)).optional().nullable(),idTipoOcupacao:a.number().min(1).optional().nullable(),classificacaoOcupacao:a.enum(Object.keys(m)).optional().nullable(),ambiente:a.enum(Object.keys(i)).optional().nullable(),titularOcupacao:a.enum(Object.keys(o)).optional().nullable(),caracteristica:a.enum(Object.keys(s)).optional().nullable(),extensaoOcupacao:a.number().optional().nullable(),nomeRazaoSocial:a.string().optional().nullable()}).superRefine((l,c)=>{l.titularOcupacao==="PAR"&&!l.nomeRazaoSocial&&c.addIssue({code:a.ZodIssueCode.invalid_type,expected:"string",received:"undefined",path:["nomeRazaoSocial"]})}),f=n.extend({idTipoOcupacao:a.number().int().optional().nullable()}),E=e.extend({codigo:a.string().min(1).max(50).optional().nullable(),sentido:a.enum(Object.keys(r)).optional().nullable(),direcao:a.enum(Object.keys(p)).optional().nullable(),kmInicial:a.number().optional().nullable(),kmFinal:a.number().optional().nullable(),larguraFaixaDominio:a.number().optional().nullable(),larguraFaixaNaoEdificavel:a.number().optional().nullable()}),g=n.extend({kmReferencial:a.string()});export{j as E,y as a,F as b,S as c,f as d,E as e,g as f};
