add consultaUsuariosexterno
This commit is contained in:
parent
07a656a2b4
commit
9491278d6c
62 changed files with 489 additions and 200 deletions
30
dist-require/autenticacao/index.d.ts
vendored
Normal file
30
dist-require/autenticacao/index.d.ts
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
export type { tipoUsuarioExterno } from "./_consultaUsuariosexterno";
|
||||
/** todas as rotas de comunicação com autenticador partem dessa variável */
|
||||
export declare const pAutenticacao: {
|
||||
validarToken: ({ ambiente, post, buscar, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
post: {
|
||||
token: string;
|
||||
};
|
||||
buscar: (url: string, post: {
|
||||
token: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<any>>;
|
||||
}) => Promise<"valido" | "erro">;
|
||||
urlAutenticacao: (ambiente: "desenvolvimento" | "producao") => string;
|
||||
codigoContaSite: ({ ambiente, post, buscar, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
post: {
|
||||
site: string;
|
||||
};
|
||||
buscar: (url: string, post: {
|
||||
site: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<string>>;
|
||||
}) => Promise<import("p-respostas").tipoResposta<string>>;
|
||||
consultaUsuariosexterno: ({ token_produto, ambiente, codigo_produto, chave_produto, }: {
|
||||
ambiente: "desenvolvimento" | "producao";
|
||||
token_produto: string;
|
||||
codigo_produto: string;
|
||||
chave_produto: string;
|
||||
}) => Promise<import("p-respostas").tipoResposta<import("./_consultaUsuariosexterno").tipoUsuarioExterno[]>>;
|
||||
};
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue