build
This commit is contained in:
parent
ccc6e94e8c
commit
36310749b8
7 changed files with 13 additions and 118 deletions
|
|
@ -1,46 +1,7 @@
|
||||||
import { chaves_produto } from 'autenticacao-drive';
|
|
||||||
import * as zod from 'zod';
|
|
||||||
import { z } from 'zod';
|
|
||||||
import * as p_respostas from 'p-respostas';
|
import * as p_respostas from 'p-respostas';
|
||||||
import { tipoResposta } from 'p-respostas';
|
import { tipoResposta } from 'p-respostas';
|
||||||
|
import * as zod from 'zod';
|
||||||
declare const tipos_acesso_quipo: z.ZodEnum<["publico", "governo", "sociedade"]>;
|
import { z } from 'zod';
|
||||||
declare const ztokenQuipo: z.ZodObject<{
|
|
||||||
provedor: z.ZodString;
|
|
||||||
codigo_usuario: z.ZodString;
|
|
||||||
nome_usuario: z.ZodString;
|
|
||||||
$cliente: z.ZodString;
|
|
||||||
nome_conta: z.ZodString;
|
|
||||||
codigo_acesso_produto: z.ZodString;
|
|
||||||
codigo_autenticacao: z.ZodString;
|
|
||||||
chave_produto: z.ZodEnum<[(typeof chaves_produto)["betha-meio-ambiente"], (typeof chaves_produto)["e-licencie-gov"]]>;
|
|
||||||
tipo_de_acesso: z.ZodEnum<["publico", "governo", "sociedade"]>;
|
|
||||||
exp: z.ZodOptional<z.ZodNumber>;
|
|
||||||
}, "strip", z.ZodTypeAny, {
|
|
||||||
provedor: string;
|
|
||||||
codigo_usuario: string;
|
|
||||||
nome_usuario: string;
|
|
||||||
$cliente: string;
|
|
||||||
nome_conta: string;
|
|
||||||
codigo_acesso_produto: string;
|
|
||||||
codigo_autenticacao: string;
|
|
||||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
|
||||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
|
||||||
exp?: number | undefined;
|
|
||||||
}, {
|
|
||||||
provedor: string;
|
|
||||||
codigo_usuario: string;
|
|
||||||
nome_usuario: string;
|
|
||||||
$cliente: string;
|
|
||||||
nome_conta: string;
|
|
||||||
codigo_acesso_produto: string;
|
|
||||||
codigo_autenticacao: string;
|
|
||||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
|
||||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
|
||||||
exp?: number | undefined;
|
|
||||||
}>;
|
|
||||||
type tipos_de_acesso_quipo = z.infer<typeof ztokenQuipo>["tipo_de_acesso"];
|
|
||||||
type tipoTokenQuipo = z.infer<typeof ztokenQuipo>;
|
|
||||||
|
|
||||||
/** aplica a todas as consultas */
|
/** aplica a todas as consultas */
|
||||||
declare const z_padroes: z.ZodObject<{
|
declare const z_padroes: z.ZodObject<{
|
||||||
|
|
@ -959,9 +920,9 @@ declare const zAuntenticacaoResiduosSolicitar: z.ZodObject<{
|
||||||
}, "strip", z.ZodTypeAny, {
|
}, "strip", z.ZodTypeAny, {
|
||||||
codigo_usuario: string;
|
codigo_usuario: string;
|
||||||
nome_usuario: string;
|
nome_usuario: string;
|
||||||
$cliente: string;
|
|
||||||
email_usuario: string;
|
email_usuario: string;
|
||||||
documento_usuario: string;
|
documento_usuario: string;
|
||||||
|
$cliente: string;
|
||||||
rotas: {};
|
rotas: {};
|
||||||
url_usuarios: string;
|
url_usuarios: string;
|
||||||
url_empreendedores: string;
|
url_empreendedores: string;
|
||||||
|
|
@ -975,9 +936,9 @@ declare const zAuntenticacaoResiduosSolicitar: z.ZodObject<{
|
||||||
}, {
|
}, {
|
||||||
codigo_usuario: string;
|
codigo_usuario: string;
|
||||||
nome_usuario: string;
|
nome_usuario: string;
|
||||||
$cliente: string;
|
|
||||||
email_usuario: string;
|
email_usuario: string;
|
||||||
documento_usuario: string;
|
documento_usuario: string;
|
||||||
|
$cliente: string;
|
||||||
rotas: {};
|
rotas: {};
|
||||||
url_usuarios: string;
|
url_usuarios: string;
|
||||||
url_empreendedores: string;
|
url_empreendedores: string;
|
||||||
|
|
@ -1097,4 +1058,4 @@ declare const abrirNps: (emDesenvolvimento: boolean) => (parametros: tipo_proxim
|
||||||
declare const $clienteStatus: z.ZodEnum<["ativo", "inativo"]>;
|
declare const $clienteStatus: z.ZodEnum<["ativo", "inativo"]>;
|
||||||
declare const status$cliente: z.ZodEnum<["ativo", "inativo"]>;
|
declare const status$cliente: z.ZodEnum<["ativo", "inativo"]>;
|
||||||
|
|
||||||
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 };
|
export { $clienteStatus, ClassPilao, PREFIXO_PILAO, Pilao, abrirNps, nomesSincronizacoes, type nomesVisoes, pPilao, pilao_enderecos, type retornoSerieConsultar, status$cliente, type tipoConstrutorPilao, type tipoRetornoSerieconsulta, type tipo_pilao_api, type tipo_proxima_avaliacao, type tipo_zUsuarioSincronizar, urlPilao, zAuntenticacaoResiduosSolicitar, zEmpreendedorSincronizar, zEmpreendimentoSincronizar, zUsuarioSincronizar, type z_tipagem_registros };
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
49
dist-require/index.d.ts
vendored
49
dist-require/index.d.ts
vendored
|
|
@ -1,46 +1,7 @@
|
||||||
import { chaves_produto } from 'autenticacao-drive';
|
|
||||||
import * as zod from 'zod';
|
|
||||||
import { z } from 'zod';
|
|
||||||
import * as p_respostas from 'p-respostas';
|
import * as p_respostas from 'p-respostas';
|
||||||
import { tipoResposta } from 'p-respostas';
|
import { tipoResposta } from 'p-respostas';
|
||||||
|
import * as zod from 'zod';
|
||||||
declare const tipos_acesso_quipo: z.ZodEnum<["publico", "governo", "sociedade"]>;
|
import { z } from 'zod';
|
||||||
declare const ztokenQuipo: z.ZodObject<{
|
|
||||||
provedor: z.ZodString;
|
|
||||||
codigo_usuario: z.ZodString;
|
|
||||||
nome_usuario: z.ZodString;
|
|
||||||
$cliente: z.ZodString;
|
|
||||||
nome_conta: z.ZodString;
|
|
||||||
codigo_acesso_produto: z.ZodString;
|
|
||||||
codigo_autenticacao: z.ZodString;
|
|
||||||
chave_produto: z.ZodEnum<[(typeof chaves_produto)["betha-meio-ambiente"], (typeof chaves_produto)["e-licencie-gov"]]>;
|
|
||||||
tipo_de_acesso: z.ZodEnum<["publico", "governo", "sociedade"]>;
|
|
||||||
exp: z.ZodOptional<z.ZodNumber>;
|
|
||||||
}, "strip", z.ZodTypeAny, {
|
|
||||||
provedor: string;
|
|
||||||
codigo_usuario: string;
|
|
||||||
nome_usuario: string;
|
|
||||||
$cliente: string;
|
|
||||||
nome_conta: string;
|
|
||||||
codigo_acesso_produto: string;
|
|
||||||
codigo_autenticacao: string;
|
|
||||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
|
||||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
|
||||||
exp?: number | undefined;
|
|
||||||
}, {
|
|
||||||
provedor: string;
|
|
||||||
codigo_usuario: string;
|
|
||||||
nome_usuario: string;
|
|
||||||
$cliente: string;
|
|
||||||
nome_conta: string;
|
|
||||||
codigo_acesso_produto: string;
|
|
||||||
codigo_autenticacao: string;
|
|
||||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
|
||||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
|
||||||
exp?: number | undefined;
|
|
||||||
}>;
|
|
||||||
type tipos_de_acesso_quipo = z.infer<typeof ztokenQuipo>["tipo_de_acesso"];
|
|
||||||
type tipoTokenQuipo = z.infer<typeof ztokenQuipo>;
|
|
||||||
|
|
||||||
/** aplica a todas as consultas */
|
/** aplica a todas as consultas */
|
||||||
declare const z_padroes: z.ZodObject<{
|
declare const z_padroes: z.ZodObject<{
|
||||||
|
|
@ -959,9 +920,9 @@ declare const zAuntenticacaoResiduosSolicitar: z.ZodObject<{
|
||||||
}, "strip", z.ZodTypeAny, {
|
}, "strip", z.ZodTypeAny, {
|
||||||
codigo_usuario: string;
|
codigo_usuario: string;
|
||||||
nome_usuario: string;
|
nome_usuario: string;
|
||||||
$cliente: string;
|
|
||||||
email_usuario: string;
|
email_usuario: string;
|
||||||
documento_usuario: string;
|
documento_usuario: string;
|
||||||
|
$cliente: string;
|
||||||
rotas: {};
|
rotas: {};
|
||||||
url_usuarios: string;
|
url_usuarios: string;
|
||||||
url_empreendedores: string;
|
url_empreendedores: string;
|
||||||
|
|
@ -975,9 +936,9 @@ declare const zAuntenticacaoResiduosSolicitar: z.ZodObject<{
|
||||||
}, {
|
}, {
|
||||||
codigo_usuario: string;
|
codigo_usuario: string;
|
||||||
nome_usuario: string;
|
nome_usuario: string;
|
||||||
$cliente: string;
|
|
||||||
email_usuario: string;
|
email_usuario: string;
|
||||||
documento_usuario: string;
|
documento_usuario: string;
|
||||||
|
$cliente: string;
|
||||||
rotas: {};
|
rotas: {};
|
||||||
url_usuarios: string;
|
url_usuarios: string;
|
||||||
url_empreendedores: string;
|
url_empreendedores: string;
|
||||||
|
|
@ -1097,4 +1058,4 @@ declare const abrirNps: (emDesenvolvimento: boolean) => (parametros: tipo_proxim
|
||||||
declare const $clienteStatus: z.ZodEnum<["ativo", "inativo"]>;
|
declare const $clienteStatus: z.ZodEnum<["ativo", "inativo"]>;
|
||||||
declare const status$cliente: z.ZodEnum<["ativo", "inativo"]>;
|
declare const status$cliente: z.ZodEnum<["ativo", "inativo"]>;
|
||||||
|
|
||||||
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 };
|
export { $clienteStatus, ClassPilao, PREFIXO_PILAO, Pilao, abrirNps, nomesSincronizacoes, type nomesVisoes, pPilao, pilao_enderecos, type retornoSerieConsultar, status$cliente, type tipoConstrutorPilao, type tipoRetornoSerieconsulta, type tipo_pilao_api, type tipo_proxima_avaliacao, type tipo_zUsuarioSincronizar, urlPilao, zAuntenticacaoResiduosSolicitar, zEmpreendedorSincronizar, zEmpreendimentoSincronizar, zUsuarioSincronizar, type z_tipagem_registros };
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-drives",
|
"name": "p-drives",
|
||||||
"version": "0.225.0",
|
"version": "0.226.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
export * from "./tokenQuipo"
|
|
||||||
export * from "./pilao-de-dados"
|
export * from "./pilao-de-dados"
|
||||||
export * from "./residuos"
|
export * from "./residuos"
|
||||||
export * from "./NPS"
|
export * from "./NPS"
|
||||||
|
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
import { chaves_produto } from "autenticacao-drive"
|
|
||||||
import { z } from "zod"
|
|
||||||
|
|
||||||
export const tipos_acesso_quipo = z.enum(["publico", "governo", "sociedade"])
|
|
||||||
|
|
||||||
export const ztokenQuipo = z.object({
|
|
||||||
provedor: z.string(),
|
|
||||||
codigo_usuario: z.string(),
|
|
||||||
nome_usuario: z.string(),
|
|
||||||
$cliente: z.string(),
|
|
||||||
nome_conta: z.string(),
|
|
||||||
codigo_acesso_produto: z.string(),
|
|
||||||
codigo_autenticacao: z.string(),
|
|
||||||
chave_produto: z.enum([
|
|
||||||
chaves_produto["betha-meio-ambiente"],
|
|
||||||
chaves_produto["e-licencie-gov"],
|
|
||||||
]),
|
|
||||||
tipo_de_acesso: tipos_acesso_quipo,
|
|
||||||
exp: z.number().optional(),
|
|
||||||
})
|
|
||||||
|
|
||||||
export type tipos_de_acesso_quipo = z.infer<
|
|
||||||
typeof ztokenQuipo
|
|
||||||
>["tipo_de_acesso"]
|
|
||||||
|
|
||||||
export type tipoTokenQuipo = z.infer<typeof ztokenQuipo>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue