This commit is contained in:
Luiz H. R. Silva 2024-06-06 19:49:57 -03:00
parent 681141a8d8
commit a1e543cfb8
12 changed files with 87 additions and 46 deletions

View file

@ -1,4 +1,5 @@
export type { tipoUsuarioExterno } from "./_consultaUsuariosexterno";
import { type tipoUsuarioExterno } from "./_usuarios_quipo_governo";
export type { tipoUsuarioExterno };
/** todas as rotas de comunicação com autenticador partem dessa variável */
export declare const pAutenticacao: {
validarToken: ({ ambiente, post, buscar, }: {
@ -20,8 +21,11 @@ export declare const pAutenticacao: {
site: string;
}) => Promise<import("p-respostas").tipoResposta<string>>;
}) => Promise<import("p-respostas").tipoResposta<string>>;
consultaUsuariosexterno: ({ token_produto, ambiente, }: {
usuarios_quipo_governo: ({ token_produto, ambiente, buscar, }: {
ambiente: "desenvolvimento" | "producao";
token_produto: string;
}) => Promise<import("p-respostas").tipoResposta<import("./_consultaUsuariosexterno").tipoUsuarioExterno[]>>;
buscar: (url: string, headers: {
[k: string]: string;
}) => Promise<import("p-respostas").tipoResposta<tipoUsuarioExterno[]>>;
}) => Promise<import("p-respostas").tipoResposta<tipoUsuarioExterno[]>>;
};