@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,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,130 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of Treeunfe DFe.
|
|
3
|
+
*
|
|
4
|
+
* Treeunfe DFe is free software: you can redistribute it and/or modify
|
|
5
|
+
* it under the terms of the GNU General Public License as published by
|
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
* (at your option) any later version.
|
|
8
|
+
*
|
|
9
|
+
* Treeunfe DFe is distributed in the hope that it will be useful,
|
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
* GNU General Public License for more details.
|
|
13
|
+
*
|
|
14
|
+
* You should have received a copy of the GNU General Public License
|
|
15
|
+
* along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
import { XmlParser } from '@treeunfe/shared';
|
|
18
|
+
import pako from 'pako';
|
|
19
|
+
import xml2js from 'xml2js';
|
|
20
|
+
class DistribuicaoHandler {
|
|
21
|
+
constructor(environment, utility, metodo) {
|
|
22
|
+
this.utility = utility;
|
|
23
|
+
this.environment = environment;
|
|
24
|
+
this.metodo = metodo;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Métodos para tratativas do DistribuicaoDFe
|
|
28
|
+
*/
|
|
29
|
+
salvaArquivos(XMLDistribuicaoInJson, XMLDistribuicao, chNFe) {
|
|
30
|
+
const { pathXMLDistribuicao, baixarXMLDistribuicao, armazenarRetornoEmJSON } = this.environment.config;
|
|
31
|
+
if (baixarXMLDistribuicao) {
|
|
32
|
+
this.utility.salvaXML({
|
|
33
|
+
data: XMLDistribuicao,
|
|
34
|
+
fileName: chNFe,
|
|
35
|
+
metodo: this.metodo,
|
|
36
|
+
path: pathXMLDistribuicao,
|
|
37
|
+
});
|
|
38
|
+
if (armazenarRetornoEmJSON) {
|
|
39
|
+
this.utility.salvaJSON({
|
|
40
|
+
data: XMLDistribuicaoInJson,
|
|
41
|
+
fileName: chNFe,
|
|
42
|
+
metodo: this.metodo,
|
|
43
|
+
path: pathXMLDistribuicao,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
deCompressDFeXML(loteDistDFeInt, metodo, _xmlConsulta) {
|
|
49
|
+
try {
|
|
50
|
+
const json = new XmlParser();
|
|
51
|
+
const files = [];
|
|
52
|
+
xml2js.parseString(loteDistDFeInt, (err, result) => {
|
|
53
|
+
if (err) {
|
|
54
|
+
throw new Error(`Erro ao descomprimir o XML: ${err}`);
|
|
55
|
+
}
|
|
56
|
+
const docZips = this.utility.findInObj(result, 'docZip');
|
|
57
|
+
docZips.forEach((docZip) => {
|
|
58
|
+
const xmlString = this.decodeDocZip(docZip);
|
|
59
|
+
const cleanedXml = this.removeSignatureTag(xmlString);
|
|
60
|
+
const parsedResult = this.parseXml(cleanedXml);
|
|
61
|
+
if (!parsedResult)
|
|
62
|
+
return;
|
|
63
|
+
let chNFe = this.getChNFe(parsedResult);
|
|
64
|
+
let tipo = this.getTipo(parsedResult);
|
|
65
|
+
const nsu = docZip['$'].NSU;
|
|
66
|
+
if (parsedResult['procEventoNFe']) {
|
|
67
|
+
const tpEvento = this.utility.findInObj(parsedResult, 'tpEvento');
|
|
68
|
+
chNFe = `${chNFe}-event-${tpEvento}`;
|
|
69
|
+
tipo = 'event';
|
|
70
|
+
}
|
|
71
|
+
const xmlDistribuicaoInJson = json.convertXmlToJson(cleanedXml, `${metodo}_${tipo}`, nsu);
|
|
72
|
+
this.handleResponse(xmlDistribuicaoInJson, cleanedXml, chNFe);
|
|
73
|
+
files.push(chNFe);
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
return files;
|
|
77
|
+
}
|
|
78
|
+
catch (error) {
|
|
79
|
+
throw new Error(error.message);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
decodeDocZip(docZip) {
|
|
83
|
+
const base64String = docZip['_'];
|
|
84
|
+
let binaryString = atob(base64String);
|
|
85
|
+
let bytes = new Uint8Array(binaryString.length);
|
|
86
|
+
for (let i = 0; i < binaryString.length; i++) {
|
|
87
|
+
bytes[i] = binaryString.charCodeAt(i);
|
|
88
|
+
}
|
|
89
|
+
let decompressedData = pako.inflate(bytes);
|
|
90
|
+
return new TextDecoder("utf-8").decode(decompressedData);
|
|
91
|
+
}
|
|
92
|
+
removeSignatureTag(xmlString) {
|
|
93
|
+
return xmlString.replace(/<Signature.*?<\/Signature>/gs, '');
|
|
94
|
+
}
|
|
95
|
+
parseXml(xmlString) {
|
|
96
|
+
let parsedResult;
|
|
97
|
+
xml2js.parseString(xmlString, (err, result) => {
|
|
98
|
+
if (err) {
|
|
99
|
+
console.error('Erro ao parsear o XML decomprimido:', err);
|
|
100
|
+
parsedResult = null;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
parsedResult = result;
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
return parsedResult;
|
|
107
|
+
}
|
|
108
|
+
getChNFe(parsedResult) {
|
|
109
|
+
return this.utility.findInObj(parsedResult, 'chNFe');
|
|
110
|
+
}
|
|
111
|
+
getTipo(parsedResult) {
|
|
112
|
+
if (this.utility.findInObj(parsedResult, 'resNFe')) {
|
|
113
|
+
return 'res';
|
|
114
|
+
}
|
|
115
|
+
else if (parsedResult['procEventoNFe']) {
|
|
116
|
+
return 'event';
|
|
117
|
+
}
|
|
118
|
+
return 'proc';
|
|
119
|
+
}
|
|
120
|
+
handleResponse(XMLDistribuicaoInJson, XMLDistribuicao, chNFe) {
|
|
121
|
+
// Gera erro em caso de Rejeição
|
|
122
|
+
const xMotivo = this.utility.findInObj(XMLDistribuicaoInJson, 'xMotivo');
|
|
123
|
+
if (xMotivo && (xMotivo.includes('Rejeição') || xMotivo.includes('Rejeicao'))) {
|
|
124
|
+
throw new Error(XMLDistribuicaoInJson.xMotivo);
|
|
125
|
+
}
|
|
126
|
+
this.salvaArquivos(XMLDistribuicaoInJson, XMLDistribuicao, chNFe);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
export default DistribuicaoHandler;
|
|
130
|
+
//# sourceMappingURL=DistribuicaoHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DistribuicaoHandler.js","sourceRoot":"","sources":["../../../../../src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts"],"names":[],"mappings":"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"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFEInutilizacao {
|
|
2
|
+
constructor(nfeInutilizacaoService) {
|
|
3
|
+
this.nfeInutilizacaoService = nfeInutilizacaoService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeInutilizacaoService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEInutilizacao;
|
|
10
|
+
//# sourceMappingURL=NFEInutilizacao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEInutilizacao.js","sourceRoot":"","sources":["../../../../src/operations/NFEInutilizacao/NFEInutilizacao.ts"],"names":[],"mappings":"AAkBA,MAAM,eAAe;IAEjB,YAAY,sBAAkD;QAC1D,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;CAEJ;AACD,eAAe,eAAe,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFECancelamento {
|
|
2
|
+
constructor(nfeCancelamentoServiceService) {
|
|
3
|
+
this.nfeCancelamentoServiceService = nfeCancelamentoServiceService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeCancelamentoServiceService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFECancelamento;
|
|
10
|
+
//# sourceMappingURL=NFECancelamento.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFECancelamento.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFECancelamento.ts"],"names":[],"mappings":"AAkBA,MAAM,eAAe;IAEjB,YAAY,6BAA2D;QACnE,IAAI,CAAC,6BAA6B,GAAG,6BAA6B,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;CACJ;AAGD,eAAe,eAAe,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFECartaDeCorrecao {
|
|
2
|
+
constructor(nfeCartaDeCorrecaoServiceService) {
|
|
3
|
+
this.nfeCartaDeCorrecaoServiceService = nfeCartaDeCorrecaoServiceService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeCartaDeCorrecaoServiceService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFECartaDeCorrecao;
|
|
10
|
+
//# sourceMappingURL=NFECartaDeCorrecao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFECartaDeCorrecao.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.ts"],"names":[],"mappings":"AAmBA,MAAM,kBAAkB;IAEpB,YAAY,gCAA8D;QACtE,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;IAC7E,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,gCAAgC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;CACJ;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFECienciaDaOperacao {
|
|
2
|
+
constructor(nfeCienciaDaOperacaoServiceService) {
|
|
3
|
+
this.nfeCienciaDaOperacaoServiceService = nfeCienciaDaOperacaoServiceService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeCienciaDaOperacaoServiceService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFECienciaDaOperacao;
|
|
10
|
+
//# sourceMappingURL=NFECienciaDaOperacao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFECienciaDaOperacao.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.ts"],"names":[],"mappings":"AAkBA,MAAM,oBAAoB;IAEtB,YAAY,kCAAgE;QACxE,IAAI,CAAC,kCAAkC,GAAG,kCAAkC,CAAC;IACjF,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,kCAAkC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC;CACJ;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFEConfirmacaoDaOperacao {
|
|
2
|
+
constructor(nfeConfirmacaoDaOperacaoServiceService) {
|
|
3
|
+
this.nfeConfirmacaoDaOperacaoServiceService = nfeConfirmacaoDaOperacaoServiceService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeConfirmacaoDaOperacaoServiceService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEConfirmacaoDaOperacao;
|
|
10
|
+
//# sourceMappingURL=NFEConfirmacaoDaOperacao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEConfirmacaoDaOperacao.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.ts"],"names":[],"mappings":"AAkBA,MAAM,wBAAwB;IAE1B,YAAY,sCAAoE;QAC5E,IAAI,CAAC,sCAAsC,GAAG,sCAAsC,CAAC;IACzF,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,sCAAsC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxE,CAAC;CACJ;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFEDesconhecimentoDaOperacao {
|
|
2
|
+
constructor(nfeDesconhecimentoDaOperacaoServiceService) {
|
|
3
|
+
this.nfeDesconhecimentoDaOperacaoServiceService = nfeDesconhecimentoDaOperacaoServiceService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeDesconhecimentoDaOperacaoServiceService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEDesconhecimentoDaOperacao;
|
|
10
|
+
//# sourceMappingURL=NFEDesconhecimentoDaOperacao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEDesconhecimentoDaOperacao.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.ts"],"names":[],"mappings":"AAkBA,MAAM,4BAA4B;IAE9B,YAAY,0CAAwE;QAChF,IAAI,CAAC,0CAA0C,GAAG,0CAA0C,CAAC;IACjG,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,0CAA0C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC;CACJ;AAED,eAAe,4BAA4B,CAAC"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"NFEEpec.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFEEpec.ts"],"names":[],"mappings":"AAkBA,MAAM,OAAO;IAET,YAAY,qBAAmD;QAC3D,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACvD,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;CACJ;AACD,eAAe,OAAO,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFEOperacaoNaoRealizada {
|
|
2
|
+
constructor(nfeOperacaoNaoRealizadaServiceService) {
|
|
3
|
+
this.nfeOperacaoNaoRealizadaServiceService = nfeOperacaoNaoRealizadaServiceService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeOperacaoNaoRealizadaServiceService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEOperacaoNaoRealizada;
|
|
10
|
+
//# sourceMappingURL=NFEOperacaoNaoRealizada.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEOperacaoNaoRealizada.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.ts"],"names":[],"mappings":"AAkBA,MAAM,uBAAuB;IAEzB,YAAY,qCAAmE;QAC3E,IAAI,CAAC,qCAAqC,GAAG,qCAAqC,CAAC;IACvF,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,qCAAqC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;CACJ;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFERecepcaoEvento {
|
|
2
|
+
constructor(nfeRecepcaoEventoService) {
|
|
3
|
+
this.nfeRecepcaoEventoService = nfeRecepcaoEventoService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeRecepcaoEventoService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFERecepcaoEvento;
|
|
10
|
+
//# sourceMappingURL=NFERecepcaoEvento.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFERecepcaoEvento.js","sourceRoot":"","sources":["../../../../src/operations/NFERecepcaoEvento/NFERecepcaoEvento.ts"],"names":[],"mappings":"AAkBA,MAAM,iBAAiB;IAEnB,YAAY,wBAAsD;QAC9D,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;IAC7D,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;CACJ;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFERetornoAutorizacao {
|
|
2
|
+
constructor(nfeRetornoAutorizacaoService) {
|
|
3
|
+
this.nfeRetornoAutorizacaoService = nfeRetornoAutorizacaoService;
|
|
4
|
+
}
|
|
5
|
+
async getXmlRetorno(data) {
|
|
6
|
+
return await this.nfeRetornoAutorizacaoService.getXmlRetorno(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFERetornoAutorizacao;
|
|
10
|
+
//# sourceMappingURL=NFERetornoAutorizacao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFERetornoAutorizacao.js","sourceRoot":"","sources":["../../../../src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.ts"],"names":[],"mappings":"AAmBA,MAAM,qBAAqB;IAEvB,YAAY,4BAA8D;QACtE,IAAI,CAAC,4BAA4B,GAAG,4BAA4B,CAAC;IACrE,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,IAKnB;QAKG,OAAO,MAAM,IAAI,CAAC,4BAA4B,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IACvE,CAAC;CAEJ;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
class NFEStatusServico {
|
|
2
|
+
constructor(nfeStatusServicoService) {
|
|
3
|
+
this.nfeStatusServicoService = nfeStatusServicoService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeStatusServicoService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEStatusServico;
|
|
10
|
+
//# sourceMappingURL=NFEStatusServico.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEStatusServico.js","sourceRoot":"","sources":["../../../../src/operations/NFEStatusServico/NFEStatusServico.ts"],"names":[],"mappings":"AAkBA,MAAM,gBAAgB;IAElB,YAAY,uBAAoD;QAC5D,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;IAC3D,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;CAEJ;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -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,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of Treeunfe DFe.
|
|
3
|
+
*
|
|
4
|
+
* Treeunfe DFe is free software: you can redistribute it and/or modify
|
|
5
|
+
* it under the terms of the GNU General Public License as published by
|
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
* (at your option) any later version.
|
|
8
|
+
*
|
|
9
|
+
* Treeunfe DFe is distributed in the hope that it will be useful,
|
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
* GNU General Public License for more details.
|
|
13
|
+
*
|
|
14
|
+
* You should have received a copy of the GNU General Public License
|
|
15
|
+
* along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
|
|
16
|
+
*/
|
|
17
|
+
export { default as NFEAutorizacao } from './NFEAutorizacao/NFEAutorizacao';
|
|
18
|
+
export { default as NFEConsultaProtocolo } from './NFEConsultaProtocolo/NFEconsultaProtocolo';
|
|
19
|
+
export { default as NFEDistribuicaoDFe } from './NFEDistribuicaoDFe/NFEDistribuicaoDFe';
|
|
20
|
+
export { default as NFEDistribuicaoDFePorChave } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave';
|
|
21
|
+
export { default as NFEDistribuicaoDFePorNSU } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU';
|
|
22
|
+
export { default as NFEDistribuicaoDFePorUltNSU } from './NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU';
|
|
23
|
+
export { default as NFEInutilizacao } from './NFEInutilizacao/NFEInutilizacao';
|
|
24
|
+
export { default as NFERetornoAutorizacao } from './NFERetornoAutorizacao/NFERetornoAutorizacao';
|
|
25
|
+
export { default as NFEStatusServico } from './NFEStatusServico/NFEStatusServico';
|
|
26
|
+
export { default as NFERecepcaoEvento } from './NFERecepcaoEvento/NFERecepcaoEvento';
|
|
27
|
+
export { default as NFECancelamento } from './NFERecepcaoEvento/NFECancelamento';
|
|
28
|
+
export { default as NFECartaDeCorrecao } from './NFERecepcaoEvento/NFECartaDeCorrecao';
|
|
29
|
+
export { default as NFECienciaDaOperacao } from './NFERecepcaoEvento/NFECienciaDaOperacao';
|
|
30
|
+
export { default as NFEConfirmacaoDaOperacao } from './NFERecepcaoEvento/NFEConfirmacaoDaOperacao';
|
|
31
|
+
export { default as NFEDesconhecimentoDaOperacao } from './NFERecepcaoEvento/NFEDesconhecimentoDaOperacao';
|
|
32
|
+
export { default as NFEEpec } from './NFERecepcaoEvento/NFEEpec';
|
|
33
|
+
export { default as NFEOperacaoNaoRealizada } from './NFERecepcaoEvento/NFEOperacaoNaoRealizada';
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AACxG,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAC1G,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,6CAA6C,CAAC"}
|
|
@@ -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;
|