alteração de pacote
This commit is contained in:
parent
6d21f02dde
commit
7c01cd197c
9 changed files with 26 additions and 27 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { chaves_produto } from 'autenticacao-drive';
|
||||
import * as zod from 'zod';
|
||||
import { z } from 'zod';
|
||||
import * as p_respostas from 'p-respostas';
|
||||
|
|
@ -12,7 +13,7 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
nome_conta: z.ZodString;
|
||||
codigo_acesso_produto: z.ZodString;
|
||||
codigo_autenticacao: z.ZodString;
|
||||
chave_produto: z.ZodEnum<["betha-meio-ambiente", "e-licencie-gov"]>;
|
||||
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, {
|
||||
|
|
@ -23,7 +24,7 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
nome_conta: string;
|
||||
codigo_acesso_produto: string;
|
||||
codigo_autenticacao: string;
|
||||
chave_produto: "betha-meio-ambiente" | "e-licencie-gov";
|
||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
||||
exp?: number | undefined;
|
||||
}, {
|
||||
|
|
@ -34,7 +35,7 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
nome_conta: string;
|
||||
codigo_acesso_produto: string;
|
||||
codigo_autenticacao: string;
|
||||
chave_produto: "betha-meio-ambiente" | "e-licencie-gov";
|
||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
||||
exp?: number | undefined;
|
||||
}>;
|
||||
|
|
@ -84,8 +85,6 @@ declare const pAutenticacao: {
|
|||
}) => Promise<p_respostas.tipoResposta<string>>;
|
||||
};
|
||||
|
||||
declare const chaves_produto: z.ZodEnum<["suporte", "betha-meio-ambiente", "e-licencie-gov", "e-licencie"]>;
|
||||
|
||||
/** aplica a todas as consultas */
|
||||
declare const z_padroes: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
|
|
@ -1141,4 +1140,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, chaves_produto, 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, 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 };
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
11
dist-require/index.d.ts
vendored
11
dist-require/index.d.ts
vendored
|
|
@ -1,3 +1,4 @@
|
|||
import { chaves_produto } from 'autenticacao-drive';
|
||||
import * as zod from 'zod';
|
||||
import { z } from 'zod';
|
||||
import * as p_respostas from 'p-respostas';
|
||||
|
|
@ -12,7 +13,7 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
nome_conta: z.ZodString;
|
||||
codigo_acesso_produto: z.ZodString;
|
||||
codigo_autenticacao: z.ZodString;
|
||||
chave_produto: z.ZodEnum<["betha-meio-ambiente", "e-licencie-gov"]>;
|
||||
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, {
|
||||
|
|
@ -23,7 +24,7 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
nome_conta: string;
|
||||
codigo_acesso_produto: string;
|
||||
codigo_autenticacao: string;
|
||||
chave_produto: "betha-meio-ambiente" | "e-licencie-gov";
|
||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
||||
exp?: number | undefined;
|
||||
}, {
|
||||
|
|
@ -34,7 +35,7 @@ declare const ztokenQuipo: z.ZodObject<{
|
|||
nome_conta: string;
|
||||
codigo_acesso_produto: string;
|
||||
codigo_autenticacao: string;
|
||||
chave_produto: "betha-meio-ambiente" | "e-licencie-gov";
|
||||
chave_produto: (typeof chaves_produto)["betha-meio-ambiente"] | (typeof chaves_produto)["e-licencie-gov"];
|
||||
tipo_de_acesso: "publico" | "governo" | "sociedade";
|
||||
exp?: number | undefined;
|
||||
}>;
|
||||
|
|
@ -84,8 +85,6 @@ declare const pAutenticacao: {
|
|||
}) => Promise<p_respostas.tipoResposta<string>>;
|
||||
};
|
||||
|
||||
declare const chaves_produto: z.ZodEnum<["suporte", "betha-meio-ambiente", "e-licencie-gov", "e-licencie"]>;
|
||||
|
||||
/** aplica a todas as consultas */
|
||||
declare const z_padroes: z.ZodObject<{
|
||||
tabela: z.ZodString;
|
||||
|
|
@ -1141,4 +1140,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, chaves_produto, 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, 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 };
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "p-drives",
|
||||
"version": "0.219.0",
|
||||
"version": "0.221.0",
|
||||
"description": "",
|
||||
"main": "src/index.ts",
|
||||
"exports": {
|
||||
|
|
@ -35,6 +35,7 @@
|
|||
},
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"autenticacao-drive": "https://e-licencie.com.br/pacotes/autenticacao-drive-0.7.0.tgz",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"zod": "3.24.1"
|
||||
}
|
||||
|
|
|
|||
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
|
|
@ -8,6 +8,9 @@ importers:
|
|||
|
||||
.:
|
||||
dependencies:
|
||||
autenticacao-drive:
|
||||
specifier: https://e-licencie.com.br/pacotes/autenticacao-drive-0.7.0.tgz
|
||||
version: https://e-licencie.com.br/pacotes/autenticacao-drive-0.7.0.tgz
|
||||
cross-fetch:
|
||||
specifier: ^4.0.0
|
||||
version: 4.0.0
|
||||
|
|
@ -388,6 +391,10 @@ packages:
|
|||
any-promise@1.3.0:
|
||||
resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
|
||||
|
||||
autenticacao-drive@https://e-licencie.com.br/pacotes/autenticacao-drive-0.7.0.tgz:
|
||||
resolution: {tarball: https://e-licencie.com.br/pacotes/autenticacao-drive-0.7.0.tgz}
|
||||
version: 0.7.0
|
||||
|
||||
balanced-match@1.0.2:
|
||||
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
|
||||
|
||||
|
|
@ -973,6 +980,8 @@ snapshots:
|
|||
|
||||
any-promise@1.3.0: {}
|
||||
|
||||
autenticacao-drive@https://e-licencie.com.br/pacotes/autenticacao-drive-0.7.0.tgz: {}
|
||||
|
||||
balanced-match@1.0.2: {}
|
||||
|
||||
brace-expansion@2.0.1:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
export * from "./tokenQuipo"
|
||||
export * from "./autenticacao"
|
||||
export * from "./produtos"
|
||||
export * from "./pilao-de-dados"
|
||||
export * from "./residuos"
|
||||
export * from "./NPS"
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
import { z } from "zod"
|
||||
|
||||
export const chaves_produto = z.enum([
|
||||
"suporte",
|
||||
"betha-meio-ambiente",
|
||||
"e-licencie-gov",
|
||||
"e-licencie",
|
||||
])
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import { chaves_produto } from "autenticacao-drive"
|
||||
import { z } from "zod"
|
||||
import { chaves_produto } from "./produtos"
|
||||
|
||||
export const tipos_acesso_quipo = z.enum(["publico", "governo", "sociedade"])
|
||||
|
||||
|
|
@ -12,8 +12,8 @@ export const ztokenQuipo = z.object({
|
|||
codigo_acesso_produto: z.string(),
|
||||
codigo_autenticacao: z.string(),
|
||||
chave_produto: z.enum([
|
||||
chaves_produto.enum["betha-meio-ambiente"],
|
||||
chaves_produto.enum["e-licencie-gov"],
|
||||
chaves_produto["betha-meio-ambiente"],
|
||||
chaves_produto["e-licencie-gov"],
|
||||
]),
|
||||
tipo_de_acesso: tipos_acesso_quipo,
|
||||
exp: z.number().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue