diff --git a/dist-import/residuos/index.d.ts b/dist-import/residuos/index.d.ts index ac2da2d..5f43245 100644 --- a/dist-import/residuos/index.d.ts +++ b/dist-import/residuos/index.d.ts @@ -118,7 +118,7 @@ export declare const zEmpreendimentoSincronizar: z.ZodObject<{ documento: z.ZodString; excluido: z.ZodBoolean; nome: z.ZodString; - unidade_sinir: z.ZodString; + unidade_sinir: z.ZodOptional>; versao: z.ZodNumber; }, "strip", z.ZodTypeAny, { codigo: string; @@ -127,7 +127,7 @@ export declare const zEmpreendimentoSincronizar: z.ZodObject<{ nome: string; versao: number; codigo_empreendedor: string; - unidade_sinir: string; + unidade_sinir?: string | null | undefined; }, { codigo: string; documento: string; @@ -135,6 +135,6 @@ export declare const zEmpreendimentoSincronizar: z.ZodObject<{ nome: string; versao: number; codigo_empreendedor: string; - unidade_sinir: string; + unidade_sinir?: string | null | undefined; }>; export declare const nomesSincronizacoes: z.ZodEnum<["usuarios", "empreendedores", "empreendimentos"]>; diff --git a/dist-import/residuos/index.js b/dist-import/residuos/index.js index 5332155..f97a208 100644 --- a/dist-import/residuos/index.js +++ b/dist-import/residuos/index.js @@ -62,7 +62,7 @@ export const zEmpreendimentoSincronizar = z.object({ documento: z.string(), excluido: z.boolean(), nome: z.string(), - unidade_sinir: z.string(), + unidade_sinir: z.string().nullable().optional(), versao: z.number().int(), }); export const nomesSincronizacoes = z.enum([ diff --git a/dist-require/residuos/index.d.ts b/dist-require/residuos/index.d.ts index ac2da2d..5f43245 100644 --- a/dist-require/residuos/index.d.ts +++ b/dist-require/residuos/index.d.ts @@ -118,7 +118,7 @@ export declare const zEmpreendimentoSincronizar: z.ZodObject<{ documento: z.ZodString; excluido: z.ZodBoolean; nome: z.ZodString; - unidade_sinir: z.ZodString; + unidade_sinir: z.ZodOptional>; versao: z.ZodNumber; }, "strip", z.ZodTypeAny, { codigo: string; @@ -127,7 +127,7 @@ export declare const zEmpreendimentoSincronizar: z.ZodObject<{ nome: string; versao: number; codigo_empreendedor: string; - unidade_sinir: string; + unidade_sinir?: string | null | undefined; }, { codigo: string; documento: string; @@ -135,6 +135,6 @@ export declare const zEmpreendimentoSincronizar: z.ZodObject<{ nome: string; versao: number; codigo_empreendedor: string; - unidade_sinir: string; + unidade_sinir?: string | null | undefined; }>; export declare const nomesSincronizacoes: z.ZodEnum<["usuarios", "empreendedores", "empreendimentos"]>; diff --git a/dist-require/residuos/index.js b/dist-require/residuos/index.js index 1f0a745..38a5f76 100644 --- a/dist-require/residuos/index.js +++ b/dist-require/residuos/index.js @@ -65,7 +65,7 @@ exports.zEmpreendimentoSincronizar = zod_1.z.object({ documento: zod_1.z.string(), excluido: zod_1.z.boolean(), nome: zod_1.z.string(), - unidade_sinir: zod_1.z.string(), + unidade_sinir: zod_1.z.string().nullable().optional(), versao: zod_1.z.number().int(), }); exports.nomesSincronizacoes = zod_1.z.enum([ diff --git a/package.json b/package.json index 405e64e..1676551 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-drives", - "version": "0.192.0", + "version": "0.193.0", "description": "", "main": "src/index.ts", "exports": { diff --git a/src/residuos/index.ts b/src/residuos/index.ts index bc4eb7b..cf30b01 100644 --- a/src/residuos/index.ts +++ b/src/residuos/index.ts @@ -82,7 +82,7 @@ export const zEmpreendimentoSincronizar = z.object({ documento: z.string(), excluido: z.boolean(), nome: z.string(), - unidade_sinir: z.string(), + unidade_sinir: z.string().nullable().optional(), versao: z.number().int(), })