build
This commit is contained in:
parent
b91a45b224
commit
7a1a1a4a24
5 changed files with 60 additions and 54 deletions
53
dist-require/index.d.ts
vendored
53
dist-require/index.d.ts
vendored
|
|
@ -44,12 +44,14 @@ type tipoTokenQuipo = z.infer<typeof ztokenQuipo>;
|
|||
declare const zAmbiente: z.ZodEnum<["desenvolvimento", "producao"]>;
|
||||
|
||||
type tipoUsuarioExterno = {
|
||||
nome: string;
|
||||
email: string;
|
||||
telefone: string;
|
||||
_nome: string;
|
||||
_email: string;
|
||||
_telefone: string;
|
||||
vinculo: string;
|
||||
codigo_conta: string;
|
||||
chave_produto: string;
|
||||
codigo: string;
|
||||
_cpf: string;
|
||||
};
|
||||
|
||||
/** todas as rotas de comunicação com autenticador partem dessa variável */
|
||||
|
|
@ -67,9 +69,10 @@ declare const pAutenticacao: {
|
|||
site: string;
|
||||
};
|
||||
}) => Promise<p_respostas.tipoResposta<string>>;
|
||||
usuarios_quipo_governo: ({ token_produto, ambiente, }: {
|
||||
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, conta, vinculo, codigo_usuario, email, }: {
|
||||
ambiente: zod.TypeOf<typeof zAmbiente>;
|
||||
|
|
@ -208,23 +211,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, {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}, {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}>, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}[];
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}[];
|
||||
}>;
|
||||
declare const zp_enviar_registros: z.ZodObject<{
|
||||
|
|
@ -411,23 +414,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, {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}, {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}>, "many">;
|
||||
}, "strip", zod.ZodTypeAny, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}[];
|
||||
}, {
|
||||
tabela: string;
|
||||
colunas: {
|
||||
coluna: string;
|
||||
tipo: "texto" | "numero" | "confirmacao" | "lista_texto" | "lista_numero" | "lista_mes" | "lista_data" | "mes" | "data";
|
||||
coluna: string;
|
||||
}[];
|
||||
}>;
|
||||
z_tipos_dados_registro: zod.ZodEnum<["texto", "numero", "confirmacao", "lista_texto", "lista_numero", "lista_mes", "lista_data", "mes", "data"]>;
|
||||
|
|
@ -607,14 +610,14 @@ declare const zUsuarioSincronizar: z.ZodObject<{
|
|||
permicoes: z.ZodRecord<z.ZodString, z.ZodAny>;
|
||||
versao: z.ZodNumber;
|
||||
credenciais_sinir: z.ZodOptional<z.ZodObject<{
|
||||
login: z.ZodString;
|
||||
senha: z.ZodString;
|
||||
login: z.ZodOptional<z.ZodString>;
|
||||
senha: z.ZodOptional<z.ZodString>;
|
||||
}, "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;
|
||||
|
|
@ -624,8 +627,8 @@ declare const zUsuarioSincronizar: z.ZodObject<{
|
|||
permicoes: Record<string, any>;
|
||||
versao: number;
|
||||
credenciais_sinir?: {
|
||||
login: string;
|
||||
senha: string;
|
||||
login?: string | undefined;
|
||||
senha?: string | undefined;
|
||||
} | undefined;
|
||||
}, {
|
||||
codigo: string;
|
||||
|
|
@ -635,8 +638,8 @@ declare const zUsuarioSincronizar: z.ZodObject<{
|
|||
permicoes: Record<string, any>;
|
||||
versao: number;
|
||||
credenciais_sinir?: {
|
||||
login: string;
|
||||
senha: string;
|
||||
login?: string | undefined;
|
||||
senha?: string | undefined;
|
||||
} | undefined;
|
||||
}>;
|
||||
type tipo_zUsuarioSincronizar = z.infer<typeof zUsuarioSincronizar>;
|
||||
|
|
@ -667,7 +670,7 @@ declare const zEmpreendimentoSincronizar: z.ZodObject<{
|
|||
documento: z.ZodString;
|
||||
excluido: z.ZodBoolean;
|
||||
nome: z.ZodString;
|
||||
unidade_sinir: z.ZodString;
|
||||
unidade_sinir: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
||||
versao: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
codigo: string;
|
||||
|
|
@ -676,7 +679,7 @@ declare const zEmpreendimentoSincronizar: z.ZodObject<{
|
|||
nome: string;
|
||||
versao: number;
|
||||
codigo_empreendedor: string;
|
||||
unidade_sinir: string;
|
||||
unidade_sinir?: string | null | undefined;
|
||||
}, {
|
||||
codigo: string;
|
||||
documento: string;
|
||||
|
|
@ -684,7 +687,7 @@ declare const zEmpreendimentoSincronizar: z.ZodObject<{
|
|||
nome: string;
|
||||
versao: number;
|
||||
codigo_empreendedor: string;
|
||||
unidade_sinir: string;
|
||||
unidade_sinir?: string | null | undefined;
|
||||
}>;
|
||||
declare const nomesSincronizacoes: z.ZodEnum<["usuarios", "empreendedores", "empreendimentos"]>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue