From 94d2989c60de079af93c7a64f24f826988dfbaa7 Mon Sep 17 00:00:00 2001 From: MarcioJRGodoi Date: Wed, 6 Nov 2024 14:13:11 -0300 Subject: [PATCH] build --- dist-import/residuos/index.d.ts | 20 ++++++++++---------- dist-import/residuos/index.js | 4 ++-- dist-require/residuos/index.d.ts | 20 ++++++++++---------- dist-require/residuos/index.js | 4 ++-- package.json | 2 +- src/residuos/index.ts | 4 ++-- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/dist-import/residuos/index.d.ts b/dist-import/residuos/index.d.ts index 1bc44e1..ac2da2d 100644 --- a/dist-import/residuos/index.d.ts +++ b/dist-import/residuos/index.d.ts @@ -58,14 +58,14 @@ export declare const zUsuarioSincronizar: z.ZodObject<{ permicoes: z.ZodRecord; versao: z.ZodNumber; credenciais_sinir: z.ZodOptional; + senha: z.ZodOptional; }, "strip", z.ZodTypeAny, { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; }, { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { codigo: string; @@ -75,8 +75,8 @@ export declare const zUsuarioSincronizar: z.ZodObject<{ permicoes: Record; versao: number; credenciais_sinir?: { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; } | undefined; }, { codigo: string; @@ -86,8 +86,8 @@ export declare const zUsuarioSincronizar: z.ZodObject<{ permicoes: Record; versao: number; credenciais_sinir?: { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; } | undefined; }>; export type tipo_zUsuarioSincronizar = z.infer; diff --git a/dist-import/residuos/index.js b/dist-import/residuos/index.js index db3dda7..5332155 100644 --- a/dist-import/residuos/index.js +++ b/dist-import/residuos/index.js @@ -42,8 +42,8 @@ export const zUsuarioSincronizar = z.object({ versao: z.number().int(), credenciais_sinir: z .object({ - login: z.string(), - senha: z.string(), + login: z.string().optional(), + senha: z.string().optional(), }) .optional(), }); diff --git a/dist-require/residuos/index.d.ts b/dist-require/residuos/index.d.ts index 1bc44e1..ac2da2d 100644 --- a/dist-require/residuos/index.d.ts +++ b/dist-require/residuos/index.d.ts @@ -58,14 +58,14 @@ export declare const zUsuarioSincronizar: z.ZodObject<{ permicoes: z.ZodRecord; versao: z.ZodNumber; credenciais_sinir: z.ZodOptional; + senha: z.ZodOptional; }, "strip", z.ZodTypeAny, { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; }, { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { codigo: string; @@ -75,8 +75,8 @@ export declare const zUsuarioSincronizar: z.ZodObject<{ permicoes: Record; versao: number; credenciais_sinir?: { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; } | undefined; }, { codigo: string; @@ -86,8 +86,8 @@ export declare const zUsuarioSincronizar: z.ZodObject<{ permicoes: Record; versao: number; credenciais_sinir?: { - login: string; - senha: string; + login?: string | undefined; + senha?: string | undefined; } | undefined; }>; export type tipo_zUsuarioSincronizar = z.infer; diff --git a/dist-require/residuos/index.js b/dist-require/residuos/index.js index dc99822..1f0a745 100644 --- a/dist-require/residuos/index.js +++ b/dist-require/residuos/index.js @@ -45,8 +45,8 @@ exports.zUsuarioSincronizar = zod_1.z.object({ versao: zod_1.z.number().int(), credenciais_sinir: zod_1.z .object({ - login: zod_1.z.string(), - senha: zod_1.z.string(), + login: zod_1.z.string().optional(), + senha: zod_1.z.string().optional(), }) .optional(), }); diff --git a/package.json b/package.json index 25ef033..bb2c70a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-drives", - "version": "0.186.0", + "version": "0.187.0", "description": "", "main": "src/index.ts", "exports": { diff --git a/src/residuos/index.ts b/src/residuos/index.ts index fedcee8..bc4eb7b 100644 --- a/src/residuos/index.ts +++ b/src/residuos/index.ts @@ -58,8 +58,8 @@ export const zUsuarioSincronizar = z.object({ versao: z.number().int(), credenciais_sinir: z .object({ - login: z.string(), - senha: z.string(), + login: z.string().optional(), + senha: z.string().optional(), }) .optional(), })