fix: nome variavel usuario externo

This commit is contained in:
andreLMpena 2024-12-03 10:40:52 -03:00
parent 4933d74846
commit 195c9f3ab9
4 changed files with 14 additions and 14 deletions

View file

@ -3,14 +3,14 @@ import type { z } from "zod";
import type { tipos_de_acesso_quipo } from "../tokenQuipo"; import type { tipos_de_acesso_quipo } from "../tokenQuipo";
import type { zAmbiente } from "../ts/ambiente"; import type { zAmbiente } from "../ts/ambiente";
export type tipoUsuarioExterno = { export type tipoUsuarioExterno = {
nome: string; _nome: string;
email: string; _email: string;
telefone: string; _telefone: string;
vinculo: string; vinculo: string;
codigo_conta: string; codigo_conta: string;
chave_produto: string; chave_produto: string;
codigo: string; codigo: string;
cpf: string; _cpf: string;
}; };
export declare const usuarios_quipo: ({ token_produto, ambiente, tipo, }: { export declare const usuarios_quipo: ({ token_produto, ambiente, tipo, }: {
ambiente: z.infer<typeof zAmbiente>; ambiente: z.infer<typeof zAmbiente>;

View file

@ -3,14 +3,14 @@ import type { z } from "zod";
import type { tipos_de_acesso_quipo } from "../tokenQuipo"; import type { tipos_de_acesso_quipo } from "../tokenQuipo";
import type { zAmbiente } from "../ts/ambiente"; import type { zAmbiente } from "../ts/ambiente";
export type tipoUsuarioExterno = { export type tipoUsuarioExterno = {
nome: string; _nome: string;
email: string; _email: string;
telefone: string; _telefone: string;
vinculo: string; vinculo: string;
codigo_conta: string; codigo_conta: string;
chave_produto: string; chave_produto: string;
codigo: string; codigo: string;
cpf: string; _cpf: string;
}; };
export declare const usuarios_quipo: ({ token_produto, ambiente, tipo, }: { export declare const usuarios_quipo: ({ token_produto, ambiente, tipo, }: {
ambiente: z.infer<typeof zAmbiente>; ambiente: z.infer<typeof zAmbiente>;

View file

@ -1,6 +1,6 @@
{ {
"name": "p-drives", "name": "p-drives",
"version": "0.191.0", "version": "0.192.0",
"description": "", "description": "",
"main": "src/index.ts", "main": "src/index.ts",
"exports": { "exports": {
@ -37,4 +37,4 @@
"cross-fetch": "^4.0.0", "cross-fetch": "^4.0.0",
"zod": "3.23.8" "zod": "3.23.8"
} }
} }

View file

@ -6,14 +6,14 @@ import type { zAmbiente } from "../ts/ambiente"
import { urlAutenticacao } from "./_urlAutenticacao" import { urlAutenticacao } from "./_urlAutenticacao"
export type tipoUsuarioExterno = { export type tipoUsuarioExterno = {
nome: string _nome: string
email: string _email: string
telefone: string _telefone: string
vinculo: string vinculo: string
codigo_conta: string codigo_conta: string
chave_produto: string chave_produto: string
codigo: string codigo: string
cpf: string _cpf: string
} }
export const usuarios_quipo = async ({ export const usuarios_quipo = async ({