@treeunfe/nfe 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.d.ts +12 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.d.ts +12 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.d.ts +7 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.js +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.d.ts +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js +115 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.js +131 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.js +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.d.ts +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.d.ts +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.d.ts +7 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.d.ts +17 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.d.ts +32 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.js +421 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.js +38 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.d.ts +52 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.js +141 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.d.ts +65 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.js +93 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.d.ts +65 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.js +93 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.d.ts +14 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.js +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.js +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.js +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.d.ts +14 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.js +28 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.d.ts +35 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.js +261 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.d.ts +16 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.js +38 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.d.ts +16 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.js +251 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.d.ts +36 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.js +374 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.d.ts +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.js +104 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.d.ts +50 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +57 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.d.ts +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.d.ts +7 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.js +24 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.d.ts +52 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.js +340 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.d.ts +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.d.ts +4 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js +25 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.js +130 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.js +34 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.d.ts +30 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.js +373 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.js +40 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.js +116 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.js +115 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.d.ts +21 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.js +87 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.d.ts +39 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.js +282 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.d.ts +48 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.js +150 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.js +44 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.js +34 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/tsconfig.tsbuildinfo +1 -0
- package/.turbo/turbo-build.log +15 -0
- package/CHANGELOG.md +36 -0
- package/LICENSE.txt +221 -0
- package/dist/index.cjs +10795 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +10753 -0
- package/dist/index.mjs.map +1 -0
- package/dist/src/adapters/NFe.d.ts +52 -0
- package/dist/src/adapters/index.d.ts +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/operations/NFEAutorizacao/NFEAutorizacao.d.ts +7 -0
- package/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/dist/src/operations/NFEInutilizacao/NFEInutilizacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFECancelamento.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEEpec.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.d.ts +7 -0
- package/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.d.ts +17 -0
- package/dist/src/operations/NFEStatusServico/NFEStatusServico.d.ts +7 -0
- package/dist/src/operations/index.d.ts +17 -0
- package/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.d.ts +30 -0
- package/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +17 -0
- package/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.d.ts +21 -0
- package/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEEpecService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.d.ts +39 -0
- package/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.d.ts +48 -0
- package/dist/src/services/NFEStatusServico/NFEStatusServicoService.d.ts +8 -0
- package/dist/src/services/index.d.ts +17 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +61 -0
- package/rollup.config.js +231 -0
- package/src/adapters/NFe.ts +402 -0
- package/src/adapters/index.ts +18 -0
- package/src/index.ts +28 -0
- package/src/operations/NFEAutorizacao/NFEAutorizacao.ts +31 -0
- package/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.ts +30 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.ts +30 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts +29 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts +30 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts +29 -0
- package/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts +150 -0
- package/src/operations/NFEInutilizacao/NFEInutilizacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFECancelamento.ts +31 -0
- package/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.ts +31 -0
- package/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFEEpec.ts +29 -0
- package/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.ts +30 -0
- package/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.ts +41 -0
- package/src/operations/NFEStatusServico/NFEStatusServico.ts +31 -0
- package/src/operations/index.ts +34 -0
- package/src/services/NFEAutorizacao/NFEAutorizacaoService.ts +475 -0
- package/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.ts +46 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts +28 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts +29 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts +29 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.ts +142 -0
- package/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts +153 -0
- package/src/services/NFEInutilizacao/NFEInutilizacaoService.ts +113 -0
- package/src/services/NFERecepcaoEvento/NFECancelamentoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.ts +29 -0
- package/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEEpecService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.ts +353 -0
- package/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.ts +196 -0
- package/src/services/NFEStatusServico/NFEStatusServicoService.ts +52 -0
- package/src/services/index.ts +34 -0
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Cancelamento, CartaDeCorrecao, CienciaDaOperacao, ConfirmacaoDaOperacao, ConsultaNFe, DesconhecimentoDaOperacao, DFePorChaveNFe, DFePorNSU, DFePorUltimoNSU, EPEC, EventoNFe, InutilizacaoData, NFeConfig, NFEGerarDanfeProps, NFe as NFeType, OperacaoNaoRealizada } from '@treeunfe/types';
|
|
2
|
+
export default class NFe {
|
|
3
|
+
private environment;
|
|
4
|
+
private axios;
|
|
5
|
+
private utility;
|
|
6
|
+
private xmlBuilder;
|
|
7
|
+
private saveFiles;
|
|
8
|
+
private gerarConsulta;
|
|
9
|
+
private loadEnvironmentPromise;
|
|
10
|
+
constructor(config: NFeConfig);
|
|
11
|
+
/**
|
|
12
|
+
* Status Serviço
|
|
13
|
+
*/
|
|
14
|
+
ConsultaStatusServico(): Promise<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Consulta Protocolo
|
|
17
|
+
*/
|
|
18
|
+
ConsultaProtocolo(chave: string): Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Recepção de Eventos
|
|
21
|
+
*/
|
|
22
|
+
RecepcaoEvento(evento: EventoNFe): Promise<any>;
|
|
23
|
+
EventoPrevioDeEmissaoEmContingencia(evento: EPEC): Promise<any>;
|
|
24
|
+
Cancelamento(evento: Cancelamento): Promise<any>;
|
|
25
|
+
CienciaDaOperacao(evento: CienciaDaOperacao): Promise<any>;
|
|
26
|
+
ConfirmacaoDaOperacao(evento: ConfirmacaoDaOperacao): Promise<any>;
|
|
27
|
+
OperacaoNaoRealizada(evento: OperacaoNaoRealizada): Promise<any>;
|
|
28
|
+
CartaDeCorrecao(evento: CartaDeCorrecao): Promise<any>;
|
|
29
|
+
DesconhecimentoDaOperacao(evento: DesconhecimentoDaOperacao): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* Distribuição DFe
|
|
32
|
+
*/
|
|
33
|
+
DistribuicaoDFe(data: ConsultaNFe): Promise<any>;
|
|
34
|
+
DistribuicaoDFePorUltNSU(data: DFePorUltimoNSU): Promise<any>;
|
|
35
|
+
DistribuicaoDFePorNSU(data: DFePorNSU): Promise<any>;
|
|
36
|
+
DistribuicaoDFePorChave(data: DFePorChaveNFe): Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* Autorização
|
|
39
|
+
*/
|
|
40
|
+
Autorizacao(data: NFeType): Promise<any>;
|
|
41
|
+
/**
|
|
42
|
+
* Inutilização
|
|
43
|
+
*/
|
|
44
|
+
Inutilizacao(data: InutilizacaoData): Promise<any>;
|
|
45
|
+
/**
|
|
46
|
+
* DANFE
|
|
47
|
+
*/
|
|
48
|
+
GerarDanfe(data: NFEGerarDanfeProps): Promise<{
|
|
49
|
+
message: string;
|
|
50
|
+
success: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NFe } from './NFe';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEAutorizacaoServiceImpl } from '@treeunfe/types/interfaces/nfe';
|
|
2
|
+
declare class NFEAutorizacao {
|
|
3
|
+
nfeAutorizacaoService: NFEAutorizacaoServiceImpl;
|
|
4
|
+
constructor(nfeAutorizacaoService: NFEAutorizacaoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEAutorizacao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEconsultaProtocoloServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEConsultaProtocolo implements NFEconsultaProtocoloServiceImpl {
|
|
3
|
+
nfeConsultaProtocoloService: NFEconsultaProtocoloServiceImpl;
|
|
4
|
+
constructor(nfeConsultaProtocoloService: NFEconsultaProtocoloServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEConsultaProtocolo;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFERecepcaoEvento implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFeService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFeService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFERecepcaoEvento;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDistribuicaoDFePorChave implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFePorChaveService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFePorChaveService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDistribuicaoDFePorChave;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDistribuicaoDFePorNSU implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFePorNSUService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFePorNSUService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDistribuicaoDFePorNSU;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDistribuicaoDFePorUltNSU implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFePorUltNSUService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFePorUltNSUService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDistribuicaoDFePorUltNSU;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GenericObject } from '@treeunfe/types';
|
|
3
|
+
import { AxiosResponse } from 'axios';
|
|
4
|
+
declare class DistribuicaoHandler {
|
|
5
|
+
environment: Environment;
|
|
6
|
+
utility: Utility;
|
|
7
|
+
metodo: string;
|
|
8
|
+
constructor(environment: Environment, utility: Utility, metodo: string);
|
|
9
|
+
/**
|
|
10
|
+
* Métodos para tratativas do DistribuicaoDFe
|
|
11
|
+
*/
|
|
12
|
+
protected salvaArquivos(XMLDistribuicaoInJson: GenericObject, XMLDistribuicao: string, chNFe: string): void;
|
|
13
|
+
deCompressDFeXML(loteDistDFeInt: AxiosResponse<any, any>, metodo: string, _xmlConsulta: string): string[];
|
|
14
|
+
decodeDocZip(docZip: any): string;
|
|
15
|
+
removeSignatureTag(xmlString: string): string;
|
|
16
|
+
parseXml(xmlString: string): undefined;
|
|
17
|
+
getChNFe(parsedResult: GenericObject): any;
|
|
18
|
+
getTipo(parsedResult: GenericObject): "res" | "event" | "proc";
|
|
19
|
+
handleResponse(XMLDistribuicaoInJson: GenericObject, XMLDistribuicao: string, chNFe: string): void;
|
|
20
|
+
}
|
|
21
|
+
export default DistribuicaoHandler;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEInutilizacaoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEInutilizacao implements NFEInutilizacaoServiceImpl {
|
|
3
|
+
nfeInutilizacaoService: NFEInutilizacaoServiceImpl;
|
|
4
|
+
constructor(nfeInutilizacaoService: NFEInutilizacaoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEInutilizacao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFECancelamento implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeCancelamentoServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeCancelamentoServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFECancelamento;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces/nfe';
|
|
2
|
+
declare class NFECartaDeCorrecao implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeCartaDeCorrecaoServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeCartaDeCorrecaoServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFECartaDeCorrecao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFECienciaDaOperacao implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeCienciaDaOperacaoServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeCienciaDaOperacaoServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFECienciaDaOperacao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces/nfe';
|
|
2
|
+
declare class NFEConfirmacaoDaOperacao implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeConfirmacaoDaOperacaoServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeConfirmacaoDaOperacaoServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEConfirmacaoDaOperacao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDesconhecimentoDaOperacao implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeDesconhecimentoDaOperacaoServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeDesconhecimentoDaOperacaoServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDesconhecimentoDaOperacao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEEpec implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeEpecServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeEpecServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEEpec;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEOperacaoNaoRealizada implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeOperacaoNaoRealizadaServiceService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeOperacaoNaoRealizadaServiceService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEOperacaoNaoRealizada;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFERecepcaoEventoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFERecepcaoEvento implements NFERecepcaoEventoServiceImpl {
|
|
3
|
+
nfeRecepcaoEventoService: NFERecepcaoEventoServiceImpl;
|
|
4
|
+
constructor(nfeRecepcaoEventoService: NFERecepcaoEventoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFERecepcaoEvento;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NFERetornoAutorizacaoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
import { ProtNFe } from '@treeunfe/types/nfe';
|
|
3
|
+
declare class NFERetornoAutorizacao implements NFERetornoAutorizacaoServiceImpl {
|
|
4
|
+
nfeRetornoAutorizacaoService: NFERetornoAutorizacaoServiceImpl;
|
|
5
|
+
constructor(nfeRetornoAutorizacaoService: NFERetornoAutorizacaoServiceImpl);
|
|
6
|
+
getXmlRetorno(data: {
|
|
7
|
+
tipoEmissao: number;
|
|
8
|
+
nRec?: string;
|
|
9
|
+
protNFe?: ProtNFe[];
|
|
10
|
+
xmlNFe: string[];
|
|
11
|
+
}): Promise<{
|
|
12
|
+
success: boolean;
|
|
13
|
+
message: any;
|
|
14
|
+
data: string[];
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
export default NFERetornoAutorizacao;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEStatusServicoServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEStatusServico implements NFEStatusServicoServiceImpl {
|
|
3
|
+
nfeStatusServicoService: NFEStatusServicoServiceImpl;
|
|
4
|
+
constructor(nfeStatusServicoService: NFEStatusServicoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEStatusServico;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as NFEAutorizacao } from './NFEAutorizacao/NFEAutorizacao';
|
|
2
|
+
export { default as NFEConsultaProtocolo } from './NFEConsultaProtocolo/NFEconsultaProtocolo';
|
|
3
|
+
export { default as NFEDistribuicaoDFe } from './NFEDistribuicaoDFe/NFEDistribuicaoDFe';
|
|
4
|
+
export { default as NFEDistribuicaoDFePorChave } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave';
|
|
5
|
+
export { default as NFEDistribuicaoDFePorNSU } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU';
|
|
6
|
+
export { default as NFEDistribuicaoDFePorUltNSU } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU';
|
|
7
|
+
export { default as NFEInutilizacao } from './NFEInutilizacao/NFEInutilizacao';
|
|
8
|
+
export { default as NFERetornoAutorizacao } from './NFERetornoAutorizacao/NFERetornoAutorizacao';
|
|
9
|
+
export { default as NFEStatusServico } from './NFEStatusServico/NFEStatusServico';
|
|
10
|
+
export { default as NFERecepcaoEvento } from './NFERecepcaoEvento/NFERecepcaoEvento';
|
|
11
|
+
export { default as NFECancelamento } from './NFERecepcaoEvento/NFECancelamento';
|
|
12
|
+
export { default as NFECartaDeCorrecao } from './NFERecepcaoEvento/NFECartaDeCorrecao';
|
|
13
|
+
export { default as NFECienciaDaOperacao } from './NFERecepcaoEvento/NFECienciaDaOperacao';
|
|
14
|
+
export { default as NFEConfirmacaoDaOperacao } from './NFERecepcaoEvento/NFEConfirmacaoDaOperacao';
|
|
15
|
+
export { default as NFEDesconhecimentoDaOperacao } from './NFERecepcaoEvento/NFEDesconhecimentoDaOperacao';
|
|
16
|
+
export { default as NFEEpec } from './NFERecepcaoEvento/NFEEpec';
|
|
17
|
+
export { default as NFEOperacaoNaoRealizada } from './NFERecepcaoEvento/NFEOperacaoNaoRealizada';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseNFe, Environment, Utility, XmlBuilder } from '@treeunfe/shared';
|
|
2
|
+
import { GenericObject, LayoutNFe, NFe, ProtNFe } from '@treeunfe/types';
|
|
3
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
4
|
+
import { Agent } from 'http';
|
|
5
|
+
import { GerarConsultaImpl, NFEAutorizacaoServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
6
|
+
declare class NFEAutorizacaoService extends BaseNFe implements NFEAutorizacaoServiceImpl {
|
|
7
|
+
xmlNFe: string[];
|
|
8
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
9
|
+
protected gerarXml(data: NFe): string;
|
|
10
|
+
protected salvaArquivos(_xmlConsulta: string, responseInJson: GenericObject, _xmlRetorno: AxiosResponse<any, any>, _options?: Record<string, any>): GenericObject;
|
|
11
|
+
private trataRetorno;
|
|
12
|
+
/**
|
|
13
|
+
* Método utilitário para criação do XML a partir de um Objeto
|
|
14
|
+
*/
|
|
15
|
+
private anoMesEmissao;
|
|
16
|
+
private calcularModulo11;
|
|
17
|
+
private calcularDigitoVerificador;
|
|
18
|
+
private validaDocumento;
|
|
19
|
+
private gerarXmlNFeAutorizacao;
|
|
20
|
+
protected callWebService(xmlConsulta: string, webServiceUrl: string, ContentType: string, action: string, agent: Agent): Promise<AxiosResponse<any, any>>;
|
|
21
|
+
Exec(data: NFe): Promise<{
|
|
22
|
+
success: boolean;
|
|
23
|
+
xMotivo: GenericObject;
|
|
24
|
+
xmls: {
|
|
25
|
+
NFe: LayoutNFe;
|
|
26
|
+
protNFe: ProtNFe;
|
|
27
|
+
}[];
|
|
28
|
+
}>;
|
|
29
|
+
}
|
|
30
|
+
export default NFEAutorizacaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, NFEconsultaProtocoloServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
declare class NFEconsultaProtocoloService extends BaseNFe implements NFEconsultaProtocoloServiceImpl {
|
|
5
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
6
|
+
protected gerarXml(chave: string): string;
|
|
7
|
+
}
|
|
8
|
+
export default NFEconsultaProtocoloService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFEDistribuicaoDFeService from './NFEDistribuicaoDFeService.js';
|
|
5
|
+
declare class NFEDistribuicaoDFePorChaveService extends NFEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEDistribuicaoDFePorChaveService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
4
|
+
import NFEDistribuicaoDFeService from './NFEDistribuicaoDFeService.js';
|
|
5
|
+
declare class NFEDistribuicaoDFePorNSUService extends NFEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEDistribuicaoDFePorNSUService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
4
|
+
import NFEDistribuicaoDFeService from './NFEDistribuicaoDFeService.js';
|
|
5
|
+
declare class NFEDistribuicaoDFePorUltNSUService extends NFEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEDistribuicaoDFePorUltNSUService;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { ConsultaNFe, GenericObject } from '@treeunfe/types';
|
|
4
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
5
|
+
import { Agent } from 'http';
|
|
6
|
+
declare class NFEDistribuicaoDFeService extends BaseNFe {
|
|
7
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
8
|
+
protected gerarXml(data: ConsultaNFe): string;
|
|
9
|
+
gerarXmlNFeDistribuicaoDFe(data: ConsultaNFe): string;
|
|
10
|
+
protected callWebService(xmlConsulta: string, webServiceUrl: string, ContentType: string, action: string, agent: Agent): Promise<AxiosResponse<any, any>>;
|
|
11
|
+
Exec(data: ConsultaNFe): Promise<{
|
|
12
|
+
data: GenericObject;
|
|
13
|
+
xMotivo: any;
|
|
14
|
+
filesList: string[];
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
export default NFEDistribuicaoDFeService;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GenericObject } from '@treeunfe/types';
|
|
2
|
+
import { Environment, Utility } from '@treeunfe/shared';
|
|
3
|
+
import { AxiosResponse } from 'axios';
|
|
4
|
+
declare class DistribuicaoHandler {
|
|
5
|
+
environment: Environment;
|
|
6
|
+
utility: Utility;
|
|
7
|
+
metodo: string;
|
|
8
|
+
constructor(environment: Environment, utility: Utility, metodo: string);
|
|
9
|
+
/**
|
|
10
|
+
* Métodos para tratativas do DistribuicaoDFe
|
|
11
|
+
*/
|
|
12
|
+
protected salvaArquivos(XMLDistribuicaoInJson: GenericObject, XMLDistribuicao: string, chNFe: string): void;
|
|
13
|
+
deCompressDFeXML(loteDistDFeInt: AxiosResponse<any, any>, metodo: string, _xmlConsulta: string): string[];
|
|
14
|
+
decodeDocZip(docZip: any): string;
|
|
15
|
+
removeSignatureTag(xmlString: string): string;
|
|
16
|
+
parseXml(xmlString: string): undefined;
|
|
17
|
+
getChNFe(parsedResult: GenericObject): any;
|
|
18
|
+
getTipo(parsedResult: GenericObject): "res" | "event" | "proc";
|
|
19
|
+
handleResponse(XMLDistribuicaoInJson: GenericObject, XMLDistribuicao: string, chNFe: string): void;
|
|
20
|
+
}
|
|
21
|
+
export default DistribuicaoHandler;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, NFEInutilizacaoServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { InutilizacaoData } from '@treeunfe/types';
|
|
4
|
+
import { AxiosInstance } from 'axios';
|
|
5
|
+
declare class NFEInutilizacaoService extends BaseNFe implements NFEInutilizacaoServiceImpl {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
protected gerarXml(chave: InutilizacaoData): string;
|
|
8
|
+
/**
|
|
9
|
+
* Método para criação do ID de Inutilização
|
|
10
|
+
*/
|
|
11
|
+
private criarId;
|
|
12
|
+
/**
|
|
13
|
+
* Sobrescreve o método pai para determinar o modelo baseado nos dados de inutilização
|
|
14
|
+
*/
|
|
15
|
+
protected getModelo(data?: InutilizacaoData): string;
|
|
16
|
+
/**
|
|
17
|
+
* Método utilitário para criação do XML a partir de um Objeto
|
|
18
|
+
*/
|
|
19
|
+
gerarXmlNFeInutilizacao(data: InutilizacaoData): string;
|
|
20
|
+
}
|
|
21
|
+
export default NFEInutilizacaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService';
|
|
5
|
+
declare class NFECancelamentoService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFECancelamentoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService.js';
|
|
5
|
+
declare class NFECartaDeCorrecaoService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFECartaDeCorrecaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService';
|
|
5
|
+
declare class NFECienciaDaOperacaoService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFECienciaDaOperacaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService';
|
|
5
|
+
declare class NFEConfirmacaoDaOperacaoService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEConfirmacaoDaOperacaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService';
|
|
5
|
+
declare class NFEDesconhecimentoDaOperacaoService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEDesconhecimentoDaOperacaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService';
|
|
5
|
+
declare class NFEEpecService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEEpecService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
import NFERecepcaoEventoService from './NFERecepcaoEventoService';
|
|
5
|
+
declare class NFEOperacaoNaoRealizadaService extends NFERecepcaoEventoService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default NFEOperacaoNaoRealizadaService;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { XmlBuilder, Environment, Utility, BaseNFe } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, NFERecepcaoEventoServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { EventoNFe, GenericObject, TipoEvento } from '@treeunfe/types';
|
|
4
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
5
|
+
import { Agent } from 'http';
|
|
6
|
+
declare class NFERecepcaoEventoService extends BaseNFe implements NFERecepcaoEventoServiceImpl {
|
|
7
|
+
tpEvento: string;
|
|
8
|
+
modelo?: string;
|
|
9
|
+
xmlEventosNacionais: string[];
|
|
10
|
+
xmlEventosRegionais: string[];
|
|
11
|
+
xMotivoPorEvento: any[];
|
|
12
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
13
|
+
/**
|
|
14
|
+
* Método para gerar o Id do evento
|
|
15
|
+
*/
|
|
16
|
+
private getID;
|
|
17
|
+
/**
|
|
18
|
+
* Verifica se o evento será disparado para o ambiente nacional ou para o estado pré-definido
|
|
19
|
+
*/
|
|
20
|
+
private isAmbienteNacional;
|
|
21
|
+
/**
|
|
22
|
+
* Retorna o nome do Evento
|
|
23
|
+
*/
|
|
24
|
+
private getTipoEventoName;
|
|
25
|
+
private separaEventosPorAmbiente;
|
|
26
|
+
/**
|
|
27
|
+
* Criação do XML
|
|
28
|
+
*/
|
|
29
|
+
private gerarXmlRecepcaoEvento;
|
|
30
|
+
private trataRetorno;
|
|
31
|
+
protected callWebService(xmlConsulta: string, webServiceUrl: string, ContentType: string, action: string, agent: Agent): Promise<AxiosResponse<any, any>>;
|
|
32
|
+
protected enviaEvento(evento: TipoEvento[], idLote: number, tipoAmbiente: number): Promise<any>;
|
|
33
|
+
Exec(data: EventoNFe): Promise<{
|
|
34
|
+
success: boolean;
|
|
35
|
+
xMotivos: any[];
|
|
36
|
+
response: GenericObject[];
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
39
|
+
export default NFERecepcaoEventoService;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, NFERetornoAutorizacaoServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { ProtNFe } from '@treeunfe/types';
|
|
4
|
+
import { AxiosInstance } from 'axios';
|
|
5
|
+
declare class NFERetornoAutorizacaoService extends BaseNFe implements NFERetornoAutorizacaoServiceImpl {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
protected gerarXml(data: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* Busca o retorno da Autorização pelo número do recibo (nRec)
|
|
10
|
+
*
|
|
11
|
+
* @param {string} nRec - Número do recibo retornado pela SEFAZ ao emitir uma NFe em modo assíncrono.
|
|
12
|
+
* @param {any} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
|
|
13
|
+
* @returns {Promise<string>} XML completo da NFe (já com protocolo de autorização).
|
|
14
|
+
*/
|
|
15
|
+
getRetornoRecibo(nRec: string, xmlNFe: string[]): Promise<{
|
|
16
|
+
success: boolean;
|
|
17
|
+
message: any;
|
|
18
|
+
data: string[];
|
|
19
|
+
}>;
|
|
20
|
+
/**
|
|
21
|
+
* Agrega o protNFe ao restante da NFe gerada na emissão.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} protNFe - Tag protNFe do XML em formato JSON.
|
|
24
|
+
* @param {any} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
|
|
25
|
+
* @returns {} XML completo da NFe (já com protocolo de autorização).
|
|
26
|
+
*/
|
|
27
|
+
private getXmlRetornoAutorizacao;
|
|
28
|
+
/**
|
|
29
|
+
* Retorna o XML completo da Autorização (já com o protocolo de autorização)
|
|
30
|
+
*
|
|
31
|
+
* @param {number} tipoEmissao - Informa se o tipo emissão foi síncrona ou assíncrona (0- Não / 1 - Sim).
|
|
32
|
+
* @param {string | undefined} nRec - Número do recibo retornado pela SEFAZ ao emitir uma NFe em modo assíncrono.
|
|
33
|
+
* @param {ProtNFe | undefined} protNFe - Tag protNFe do XML em formato JSON.
|
|
34
|
+
* @param {string[]} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
|
|
35
|
+
* @returns {Promise<string>} XML completo da NFe (já com protocolo de autorização).
|
|
36
|
+
*/
|
|
37
|
+
getXmlRetorno({ tipoEmissao, nRec, protNFe, xmlNFe }: {
|
|
38
|
+
tipoEmissao: number;
|
|
39
|
+
nRec?: string;
|
|
40
|
+
protNFe?: ProtNFe[];
|
|
41
|
+
xmlNFe: string[];
|
|
42
|
+
}): Promise<{
|
|
43
|
+
success: boolean;
|
|
44
|
+
message: any;
|
|
45
|
+
data: string[];
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
48
|
+
export default NFERetornoAutorizacaoService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, NFEStatusServicoServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { AxiosInstance } from 'axios';
|
|
4
|
+
declare class NFEStatusServicoService extends BaseNFe implements NFEStatusServicoServiceImpl {
|
|
5
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
6
|
+
protected gerarXml(): string;
|
|
7
|
+
}
|
|
8
|
+
export default NFEStatusServicoService;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as NFEAutorizacaoService } from './NFEAutorizacao/NFEAutorizacaoService';
|
|
2
|
+
export { default as NFEconsultaProtocoloService } from './NFEConsultaProtocolo/NFEconsultaProtocoloService';
|
|
3
|
+
export { default as NFEDistribuicaoDFeService } from './NFEDistribuicaoDFe/NFEDistribuicaoDFeService';
|
|
4
|
+
export { default as NFEDistribuicaoDFePorChaveService } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave';
|
|
5
|
+
export { default as NFEDistribuicaoDFePorNSUService } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU';
|
|
6
|
+
export { default as NFEDistribuicaoDFePorUltNSUService } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU';
|
|
7
|
+
export { default as NFEInutilizacaoService } from './NFEInutilizacao/NFEInutilizacaoService';
|
|
8
|
+
export { default as NFERetornoAutorizacaoService } from './NFERetornoAutorizacao/NFERetornoAutorizacaoService';
|
|
9
|
+
export { default as NFEStatusServicoService } from './NFEStatusServico/NFEStatusServicoService';
|
|
10
|
+
export { default as NFERecepcaoEventoService } from './NFERecepcaoEvento/NFERecepcaoEventoService';
|
|
11
|
+
export { default as NFECancelamentoService } from './NFERecepcaoEvento/NFECancelamentoService';
|
|
12
|
+
export { default as NFECartaDeCorrecaoService } from './NFERecepcaoEvento/NFECartaDeCorrecaoService';
|
|
13
|
+
export { default as NFECienciaDaOperacaoService } from './NFERecepcaoEvento/NFECienciaDaOperacaoService';
|
|
14
|
+
export { default as NFEDesconhecimentoDaOperacaoService } from './NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService';
|
|
15
|
+
export { default as NFEEpecService } from './NFERecepcaoEvento/NFEEpecService';
|
|
16
|
+
export { default as NFEOperacaoNaoRealizadaService } from './NFERecepcaoEvento/NFEOperacaoNaoRealizadaService';
|
|
17
|
+
export { default as NFEConfirmacaoDaOperacaoService } from './NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService';
|