build
This commit is contained in:
parent
20fb47126d
commit
ccc6e94e8c
12 changed files with 21 additions and 291 deletions
|
|
@ -42,49 +42,6 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
type tipos_de_acesso_quipo = z.infer<typeof ztokenQuipo>["tipo_de_acesso"];
|
||||
type tipoTokenQuipo = z.infer<typeof ztokenQuipo>;
|
||||
|
||||
declare const zAmbiente: z.ZodEnum<["desenvolvimento", "producao"]>;
|
||||
|
||||
type tipoUsuarioExterno = {
|
||||
_nome: string;
|
||||
_email: string;
|
||||
_telefone: string;
|
||||
vinculo: string;
|
||||
$cliente: string;
|
||||
chave_produto: string;
|
||||
codigo: string;
|
||||
_cpf: string;
|
||||
};
|
||||
|
||||
/** todas as rotas de comunicação com autenticador partem dessa variável */
|
||||
declare const pAutenticacao: {
|
||||
validarToken: ({ ambiente, post, }: {
|
||||
ambiente: zod.TypeOf<typeof zAmbiente>;
|
||||
post: {
|
||||
token: string;
|
||||
};
|
||||
}) => Promise<"valido" | "erro">;
|
||||
urlAutenticacao: (ambiente: zod.TypeOf<typeof zAmbiente>) => string;
|
||||
codigoContaSite: ({ ambiente, post, }: {
|
||||
ambiente: zod.TypeOf<typeof zAmbiente>;
|
||||
post: {
|
||||
site: string;
|
||||
};
|
||||
}) => Promise<p_respostas.tipoResposta<string>>;
|
||||
usuarios_quipo: ({ token_produto, ambiente, tipo, }: {
|
||||
ambiente: zod.TypeOf<typeof zAmbiente>;
|
||||
token_produto: string;
|
||||
tipo: tipos_de_acesso_quipo;
|
||||
}) => Promise<p_respostas.tipoResposta<tipoUsuarioExterno[]>>;
|
||||
usuarios_quipo_vincular: ({ token_produto, ambiente, $cliente, vinculo, codigo_usuario, email, }: {
|
||||
ambiente: zod.TypeOf<typeof zAmbiente>;
|
||||
token_produto: string;
|
||||
$cliente: string;
|
||||
vinculo: string;
|
||||
codigo_usuario?: string;
|
||||
email: string;
|
||||
}) => Promise<p_respostas.tipoResposta<string>>;
|
||||
};
|
||||
|
||||
/** aplica a todas as consultas */
|
||||
declare const z_padroes: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
|
|
@ -333,23 +290,23 @@ declare const zp_registrar_base_dados: z.ZodObject<{
|
|||
coluna: z.ZodString;
|
||||
tipo: z.ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero", "lista_mes", "lista_data", "mes", "data"]>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}, {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}>, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}[];
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}[];
|
||||
}>;
|
||||
declare const zp_enviar_registros: z.ZodObject<{
|
||||
|
|
@ -722,23 +679,23 @@ declare const pPilao: {
|
|||
coluna: zod.ZodString;
|
||||
tipo: zod.ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero", "lista_mes", "lista_data", "mes", "data"]>;
|
||||
}, "strip", zod.ZodTypeAny, {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}, {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}>, "many">;
|
||||
}, "strip", zod.ZodTypeAny, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}[];
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
}[];
|
||||
}>;
|
||||
z_tipos_dados_registro: zod.ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero", "lista_mes", "lista_data", "mes", "data"]>;
|
||||
|
|
@ -1140,4 +1097,4 @@ declare const abrirNps: (emDesenvolvimento: boolean) => (parametros: tipo_proxim
|
|||
declare const $clienteStatus: z.ZodEnum<["ativo", "inativo"]>;
|
||||
declare const status$cliente: z.ZodEnum<["ativo", "inativo"]>;
|
||||
|
||||
export { $clienteStatus, ClassPilao, PREFIXO_PILAO, Pilao, abrirNps, nomesSincronizacoes, type nomesVisoes, pAutenticacao, pPilao, pilao_enderecos, type retornoSerieConsultar, status$cliente, type tipoConstrutorPilao, type tipoRetornoSerieconsulta, type tipoTokenQuipo, type tipoUsuarioExterno, type tipo_pilao_api, type tipo_proxima_avaliacao, type tipo_zUsuarioSincronizar, tipos_acesso_quipo, type tipos_de_acesso_quipo, urlPilao, zAuntenticacaoResiduosSolicitar, zEmpreendedorSincronizar, zEmpreendimentoSincronizar, zUsuarioSincronizar, type z_tipagem_registros, ztokenQuipo };
|
||||
export { $clienteStatus, ClassPilao, PREFIXO_PILAO, Pilao, abrirNps, nomesSincronizacoes, type nomesVisoes, pPilao, pilao_enderecos, type retornoSerieConsultar, status$cliente, type tipoConstrutorPilao, type tipoRetornoSerieconsulta, type tipoTokenQuipo, type tipo_pilao_api, type tipo_proxima_avaliacao, type tipo_zUsuarioSincronizar, tipos_acesso_quipo, type tipos_de_acesso_quipo, urlPilao, zAuntenticacaoResiduosSolicitar, zEmpreendedorSincronizar, zEmpreendimentoSincronizar, zUsuarioSincronizar, type z_tipagem_registros, ztokenQuipo };
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue