@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,12 @@
|
|
|
1
|
+
import { TreeunfeDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
import { ConsultaCTe, DFePorNSUCTe, DFePorUltimoNSUCTe } from '@treeunfe/types';
|
|
3
|
+
export default class CTe {
|
|
4
|
+
private treeunfeDFeService;
|
|
5
|
+
constructor(treeunfeDFeService: TreeunfeDFeServiceImpl);
|
|
6
|
+
/**
|
|
7
|
+
* Distribuição DFe CTe
|
|
8
|
+
*/
|
|
9
|
+
DistribuicaoDFe(data: ConsultaCTe): Promise<import("@treeunfe/types").GenericObject>;
|
|
10
|
+
DistribuicaoDFePorUltNSU(data: DFePorUltimoNSUCTe): Promise<import("@treeunfe/types").GenericObject>;
|
|
11
|
+
DistribuicaoDFePorNSU(data: DFePorNSUCTe): Promise<import("@treeunfe/types").GenericObject>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default class CTe {
|
|
2
|
+
constructor(treeunfeDFeService) {
|
|
3
|
+
this.treeunfeDFeService = treeunfeDFeService;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Distribuição DFe CTe
|
|
7
|
+
*/
|
|
8
|
+
async DistribuicaoDFe(data) {
|
|
9
|
+
return await this.treeunfeDFeService.CTE_DistribuicaoDFe(data);
|
|
10
|
+
}
|
|
11
|
+
async DistribuicaoDFePorUltNSU(data) {
|
|
12
|
+
return await this.treeunfeDFeService.CTE_DistribuicaoDFePorUltNSU(data);
|
|
13
|
+
}
|
|
14
|
+
async DistribuicaoDFePorNSU(data) {
|
|
15
|
+
return await this.treeunfeDFeService.CTE_DistribuicaoDFePorNSU(data);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=CTe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTe.js","sourceRoot":"","sources":["CTe.ts"],"names":[],"mappings":"AAuBA,MAAM,CAAC,OAAO,OAAO,GAAG;IAGpB,YAAY,kBAA0C;QAClD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,IAAiB;QACnC,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,KAAK,CAAC,wBAAwB,CAAC,IAAwB;QACnD,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC;IACD,KAAK,CAAC,qBAAqB,CAAC,IAAkB;QAC1C,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACzE,CAAC;CACJ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TreeunfeDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
import { ConsultaCTe, DFePorNSUCTe, DFePorUltimoNSUCTe } from '@treeunfe/types';
|
|
3
|
+
export default class CTeHandler {
|
|
4
|
+
private treeunfeDFeService;
|
|
5
|
+
constructor(treeunfeDFeService: TreeunfeDFeServiceImpl);
|
|
6
|
+
/**
|
|
7
|
+
* Distribuição DFe CTe
|
|
8
|
+
*/
|
|
9
|
+
DistribuicaoDFe(data: ConsultaCTe): Promise<import("@treeunfe/types").GenericObject>;
|
|
10
|
+
DistribuicaoDFePorUltNSU(data: DFePorUltimoNSUCTe): Promise<import("@treeunfe/types").GenericObject>;
|
|
11
|
+
DistribuicaoDFePorNSU(data: DFePorNSUCTe): Promise<import("@treeunfe/types").GenericObject>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default class CTeHandler {
|
|
2
|
+
constructor(treeunfeDFeService) {
|
|
3
|
+
this.treeunfeDFeService = treeunfeDFeService;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Distribuição DFe CTe
|
|
7
|
+
*/
|
|
8
|
+
async DistribuicaoDFe(data) {
|
|
9
|
+
return await this.treeunfeDFeService.CTE_DistribuicaoDFe(data);
|
|
10
|
+
}
|
|
11
|
+
async DistribuicaoDFePorUltNSU(data) {
|
|
12
|
+
return await this.treeunfeDFeService.CTE_DistribuicaoDFePorUltNSU(data);
|
|
13
|
+
}
|
|
14
|
+
async DistribuicaoDFePorNSU(data) {
|
|
15
|
+
return await this.treeunfeDFeService.CTE_DistribuicaoDFePorNSU(data);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=CTeHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTeHandler.js","sourceRoot":"","sources":["CTeHandler.ts"],"names":[],"mappings":"AAuBA,MAAM,CAAC,OAAO,OAAO,UAAU;IAG3B,YAAY,kBAA0C;QAClD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,IAAiB;QACnC,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IACD,KAAK,CAAC,wBAAwB,CAAC,IAAwB;QACnD,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC;IACD,KAAK,CAAC,qBAAqB,CAAC,IAAkB;QAC1C,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACzE,CAAC;CACJ"}
|
package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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 handlers
|
|
18
|
+
export { default as CTe } from './adapters/CTe';
|
|
19
|
+
// Export operations
|
|
20
|
+
export * from './operations/index';
|
|
21
|
+
// Export services
|
|
22
|
+
export * from './services/index';
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,kBAAkB;AAClB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAEhD,oBAAoB;AACpB,cAAc,oBAAoB,CAAC;AAEnC,kBAAkB;AAClB,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CTEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class CTEDistribuicaoDFe implements CTEDistribuicaoDFeServiceImpl {
|
|
3
|
+
cteDistribuicaoDFeService: CTEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(cteDistribuicaoDFeService: CTEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default CTEDistribuicaoDFe;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class CTEDistribuicaoDFe {
|
|
2
|
+
constructor(cteDistribuicaoDFeService) {
|
|
3
|
+
this.cteDistribuicaoDFeService = cteDistribuicaoDFeService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.cteDistribuicaoDFeService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default CTEDistribuicaoDFe;
|
|
10
|
+
//# sourceMappingURL=CTEDistribuicaoDFe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFe.js","sourceRoot":"","sources":["CTEDistribuicaoDFe.ts"],"names":[],"mappings":"AAkBA,MAAM,kBAAkB;IAEpB,YAAY,yBAAwD;QAChE,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CACJ;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -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 CTEDistribuicaoDFeService from '../../services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js';
|
|
5
|
+
declare class CTEDistribuicaoDFePorNSU extends CTEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default CTEDistribuicaoDFePorNSU;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import CTEDistribuicaoDFeService from '../../services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js';
|
|
2
|
+
class CTEDistribuicaoDFePorNSU extends CTEDistribuicaoDFeService {
|
|
3
|
+
constructor(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta) {
|
|
4
|
+
super(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export default CTEDistribuicaoDFePorNSU;
|
|
8
|
+
//# sourceMappingURL=CTEDistribuicaoDFePorNSU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFePorNSU.js","sourceRoot":"","sources":["CTEDistribuicaoDFePorNSU.ts"],"names":[],"mappings":"AAmBA,OAAO,yBAAyB,MAAM,gEAAgE,CAAC;AAEvG,MAAM,wBAAyB,SAAQ,yBAAyB;IAC5D,YAAY,WAAwB,EAAE,OAAgB,EAAE,UAAsB,EAAE,KAAoB,EAAE,SAAwB,EAAE,aAAgC;QAC5J,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC7E,CAAC;CACJ;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -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 CTEDistribuicaoDFeService from '../../services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js';
|
|
5
|
+
declare class CTEDistribuicaoDFePorUltNSU extends CTEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default CTEDistribuicaoDFePorUltNSU;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import CTEDistribuicaoDFeService from '../../services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js';
|
|
2
|
+
class CTEDistribuicaoDFePorUltNSU extends CTEDistribuicaoDFeService {
|
|
3
|
+
constructor(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta) {
|
|
4
|
+
super(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export default CTEDistribuicaoDFePorUltNSU;
|
|
8
|
+
//# sourceMappingURL=CTEDistribuicaoDFePorUltNSU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFePorUltNSU.js","sourceRoot":"","sources":["CTEDistribuicaoDFePorUltNSU.ts"],"names":[],"mappings":"AAmBA,OAAO,yBAAyB,MAAM,gEAAgE,CAAC;AAEvG,MAAM,2BAA4B,SAAQ,yBAAyB;IAC/D,YAAY,WAAwB,EAAE,OAAgB,EAAE,UAAsB,EAAE,KAAoB,EAAE,SAAwB,EAAE,aAAgC;QAC5J,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC7E,CAAC;CACJ;AAED,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as CTEDistribuicaoDFe } from './CTEDistribuicaoDFe/CTEDistribuicaoDFe';
|
|
2
|
+
export { default as CTEDistribuicaoDFePorNSU } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU';
|
|
3
|
+
export { default as CTEDistribuicaoDFePorUltNSU } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU';
|
|
@@ -0,0 +1,20 @@
|
|
|
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 CTEDistribuicaoDFe } from './CTEDistribuicaoDFe/CTEDistribuicaoDFe';
|
|
18
|
+
export { default as CTEDistribuicaoDFePorNSU } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU';
|
|
19
|
+
export { default as CTEDistribuicaoDFePorUltNSU } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU';
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kDAAkD,CAAC"}
|
|
@@ -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 CTEDistribuicaoDFeService from './CTEDistribuicaoDFeService.js';
|
|
5
|
+
declare class CTEDistribuicaoDFePorNSUService extends CTEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default CTEDistribuicaoDFePorNSUService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import CTEDistribuicaoDFeService from './CTEDistribuicaoDFeService.js';
|
|
2
|
+
class CTEDistribuicaoDFePorNSUService extends CTEDistribuicaoDFeService {
|
|
3
|
+
constructor(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta) {
|
|
4
|
+
super(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export default CTEDistribuicaoDFePorNSUService;
|
|
8
|
+
//# sourceMappingURL=CTEDistribuicaoDFePorNSU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFePorNSU.js","sourceRoot":"","sources":["CTEDistribuicaoDFePorNSU.ts"],"names":[],"mappings":"AAmBA,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AAEvE,MAAM,+BAAgC,SAAQ,yBAAyB;IACnE,YAAY,WAAwB,EAAE,OAAgB,EAAE,UAAsB,EAAE,KAAoB,EAAE,SAAwB,EAAE,aAAgC;QAC5J,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC7E,CAAC;CACJ;AAED,eAAe,+BAA+B,CAAC"}
|
|
@@ -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 CTEDistribuicaoDFeService from './CTEDistribuicaoDFeService.js';
|
|
5
|
+
declare class CTEDistribuicaoDFePorUltNSUService extends CTEDistribuicaoDFeService {
|
|
6
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
7
|
+
}
|
|
8
|
+
export default CTEDistribuicaoDFePorUltNSUService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import CTEDistribuicaoDFeService from './CTEDistribuicaoDFeService.js';
|
|
2
|
+
class CTEDistribuicaoDFePorUltNSUService extends CTEDistribuicaoDFeService {
|
|
3
|
+
constructor(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta) {
|
|
4
|
+
super(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export default CTEDistribuicaoDFePorUltNSUService;
|
|
8
|
+
//# sourceMappingURL=CTEDistribuicaoDFePorUltNSU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFePorUltNSU.js","sourceRoot":"","sources":["CTEDistribuicaoDFePorUltNSU.ts"],"names":[],"mappings":"AAmBA,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AAEvE,MAAM,kCAAmC,SAAQ,yBAAyB;IACtE,YAAY,WAAwB,EAAE,OAAgB,EAAE,UAAsB,EAAE,KAAoB,EAAE,SAAwB,EAAE,aAAgC;QAC5J,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC7E,CAAC;CACJ;AAED,eAAe,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
|
|
2
|
+
import { GerarConsultaImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
|
|
3
|
+
import { GenericObject } from '@treeunfe/types/common';
|
|
4
|
+
import { ConsultaCTe } from '@treeunfe/types/cte';
|
|
5
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
6
|
+
import { Agent } from 'http';
|
|
7
|
+
declare class CTEDistribuicaoDFeService extends BaseNFe {
|
|
8
|
+
constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
|
|
9
|
+
protected gerarXml(data: ConsultaCTe): string;
|
|
10
|
+
gerarXmlCTeDistribuicaoDFe(data: ConsultaCTe): string;
|
|
11
|
+
protected callWebService(xmlConsulta: string, webServiceUrl: string, ContentType: string, action: string, agent: Agent): Promise<AxiosResponse<any, any>>;
|
|
12
|
+
Exec(data: ConsultaCTe): Promise<{
|
|
13
|
+
data: GenericObject;
|
|
14
|
+
xMotivo: any;
|
|
15
|
+
filesList: string[];
|
|
16
|
+
}>;
|
|
17
|
+
}
|
|
18
|
+
export default CTEDistribuicaoDFeService;
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { BaseNFe, logger } from '@treeunfe/shared';
|
|
18
|
+
import DistribuicaoHandler from './util/DistribuicaoHandler.js';
|
|
19
|
+
class CTEDistribuicaoDFeService extends BaseNFe {
|
|
20
|
+
constructor(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta) {
|
|
21
|
+
super(environment, utility, xmlBuilder, 'CTeDistribuicaoDFe', axios, saveFiles, gerarConsulta);
|
|
22
|
+
}
|
|
23
|
+
gerarXml(data) {
|
|
24
|
+
return this.gerarXmlCTeDistribuicaoDFe(data);
|
|
25
|
+
}
|
|
26
|
+
gerarXmlCTeDistribuicaoDFe(data) {
|
|
27
|
+
logger.info('Montando estrutura do XML em JSON', {
|
|
28
|
+
context: 'CTEDistribuicaoDFeService',
|
|
29
|
+
});
|
|
30
|
+
const { nfe: { ambiente } } = this.environment.getConfig();
|
|
31
|
+
// XML para CTe - versão 1.00
|
|
32
|
+
const xmlObject = {
|
|
33
|
+
$: {
|
|
34
|
+
versao: "1.00",
|
|
35
|
+
xmlns: 'http://www.portalfiscal.inf.br/cte'
|
|
36
|
+
},
|
|
37
|
+
tpAmb: ambiente,
|
|
38
|
+
...data,
|
|
39
|
+
};
|
|
40
|
+
return this.xmlBuilder.gerarXml(xmlObject, 'distDFeInt', this.metodo);
|
|
41
|
+
}
|
|
42
|
+
async callWebService(xmlConsulta, webServiceUrl, ContentType, action, agent) {
|
|
43
|
+
const startTime = Date.now();
|
|
44
|
+
const headers = {
|
|
45
|
+
'Content-Type': ContentType,
|
|
46
|
+
};
|
|
47
|
+
logger.http('Iniciando comunicação com o webservice', {
|
|
48
|
+
context: `CTEDistribuicaoDFeService`,
|
|
49
|
+
method: this.metodo,
|
|
50
|
+
url: webServiceUrl,
|
|
51
|
+
action,
|
|
52
|
+
headers,
|
|
53
|
+
});
|
|
54
|
+
const response = await this.axios.post(webServiceUrl, xmlConsulta, {
|
|
55
|
+
headers,
|
|
56
|
+
httpsAgent: agent
|
|
57
|
+
});
|
|
58
|
+
const duration = Date.now() - startTime;
|
|
59
|
+
logger.http('Comunicação concluída com sucesso', {
|
|
60
|
+
context: `CTEDistribuicaoDFeService`,
|
|
61
|
+
method: this.metodo,
|
|
62
|
+
duration: `${duration}ms`,
|
|
63
|
+
responseSize: response.data ? JSON.stringify(response.data).length : 0
|
|
64
|
+
});
|
|
65
|
+
return response;
|
|
66
|
+
}
|
|
67
|
+
async Exec(data) {
|
|
68
|
+
let xmlConsulta = '';
|
|
69
|
+
let xmlConsultaSoap = '';
|
|
70
|
+
let webServiceUrlTmp = '';
|
|
71
|
+
let responseInJson = undefined;
|
|
72
|
+
let xmlRetorno = {};
|
|
73
|
+
const ContentType = this.setContentType();
|
|
74
|
+
try {
|
|
75
|
+
// Gerando XML para consulta de Distribuição DFe do CTe
|
|
76
|
+
xmlConsulta = this.gerarXmlCTeDistribuicaoDFe(data);
|
|
77
|
+
console.log({ xmlConsulta });
|
|
78
|
+
const { xmlFormated, agent, webServiceUrl, action } = await this.gerarConsulta.gerarConsulta(xmlConsulta, this.metodo, true, '1.00', 'CTe', true, 'cteDistDFeInteresse', 'cteDadosMsg');
|
|
79
|
+
xmlConsultaSoap = xmlFormated;
|
|
80
|
+
webServiceUrlTmp = webServiceUrl;
|
|
81
|
+
const xmlRetorno = await this.callWebService(xmlFormated, webServiceUrl, ContentType, action, agent);
|
|
82
|
+
// Verifica se houve rejeição
|
|
83
|
+
responseInJson = this.utility.verificaRejeicao(xmlRetorno.data, this.metodo);
|
|
84
|
+
if (responseInJson.retDistDFeInt.cStat === '137') {
|
|
85
|
+
return {
|
|
86
|
+
data: {},
|
|
87
|
+
xMotivo: responseInJson.retDistDFeInt.xMotivo,
|
|
88
|
+
filesList: [],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Descompacta XML
|
|
93
|
+
* Converte XML para Json
|
|
94
|
+
* Salva XML
|
|
95
|
+
* Gera erro em caso de rejeição
|
|
96
|
+
*/
|
|
97
|
+
const handlerDistribuicao = new DistribuicaoHandler(this.environment, this.utility, this.metodo);
|
|
98
|
+
const filesList = handlerDistribuicao.deCompressDFeXML(xmlRetorno.data, this.metodo, xmlConsulta);
|
|
99
|
+
const xMotivo = this.utility.findInObj(responseInJson, 'xMotivo');
|
|
100
|
+
return {
|
|
101
|
+
data: responseInJson,
|
|
102
|
+
xMotivo,
|
|
103
|
+
filesList,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
finally {
|
|
107
|
+
// Salva XML de Consulta
|
|
108
|
+
this.utility.salvaConsulta(xmlConsulta, xmlConsultaSoap, this.metodo);
|
|
109
|
+
// Salva XML de Retorno
|
|
110
|
+
this.utility.salvaRetorno(xmlRetorno.data, responseInJson, this.metodo);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export default CTEDistribuicaoDFeService;
|
|
115
|
+
//# sourceMappingURL=CTEDistribuicaoDFeService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFeService.js","sourceRoot":"","sources":["CTEDistribuicaoDFeService.ts"],"names":[],"mappings":"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"}
|
|
@@ -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 do CTe
|
|
11
|
+
*/
|
|
12
|
+
protected salvaArquivos(XMLDistribuicaoInJson: GenericObject, XMLDistribuicao: string, chCTe: 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
|
+
getChCTe(parsedResult: GenericObject): any;
|
|
18
|
+
getTipo(parsedResult: GenericObject): "res" | "event" | "proc";
|
|
19
|
+
handleResponse(XMLDistribuicaoInJson: GenericObject, XMLDistribuicao: string, chCTe: string): void;
|
|
20
|
+
}
|
|
21
|
+
export default DistribuicaoHandler;
|
|
@@ -0,0 +1,131 @@
|
|
|
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 { logger, 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 do CTe
|
|
28
|
+
*/
|
|
29
|
+
salvaArquivos(XMLDistribuicaoInJson, XMLDistribuicao, chCTe) {
|
|
30
|
+
const { pathXMLDistribuicao, baixarXMLDistribuicao, armazenarRetornoEmJSON } = this.environment.config.dfe;
|
|
31
|
+
if (baixarXMLDistribuicao) {
|
|
32
|
+
this.utility.salvaXML({
|
|
33
|
+
data: XMLDistribuicao,
|
|
34
|
+
fileName: chCTe,
|
|
35
|
+
metodo: this.metodo,
|
|
36
|
+
path: pathXMLDistribuicao,
|
|
37
|
+
});
|
|
38
|
+
if (armazenarRetornoEmJSON) {
|
|
39
|
+
this.utility.salvaJSON({
|
|
40
|
+
data: XMLDistribuicaoInJson,
|
|
41
|
+
fileName: chCTe,
|
|
42
|
+
metodo: this.metodo,
|
|
43
|
+
path: pathXMLDistribuicao,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
deCompressDFeXML(loteDistDFeInt, metodo, xmlConsulta) {
|
|
49
|
+
logger.info('Descomprimindo XML', {
|
|
50
|
+
context: 'DistribuicaoHandler',
|
|
51
|
+
});
|
|
52
|
+
const json = new XmlParser();
|
|
53
|
+
const files = [];
|
|
54
|
+
xml2js.parseString(loteDistDFeInt, (err, result) => {
|
|
55
|
+
if (err) {
|
|
56
|
+
throw new Error(`Erro ao descomprimir o XML: ${err}`);
|
|
57
|
+
}
|
|
58
|
+
const docZips = this.utility.findInObj(result, 'docZip');
|
|
59
|
+
docZips.forEach((docZip) => {
|
|
60
|
+
const xmlString = this.decodeDocZip(docZip);
|
|
61
|
+
const cleanedXml = this.removeSignatureTag(xmlString);
|
|
62
|
+
const parsedResult = this.parseXml(cleanedXml);
|
|
63
|
+
if (!parsedResult)
|
|
64
|
+
return;
|
|
65
|
+
let chCTe = this.getChCTe(parsedResult);
|
|
66
|
+
let tipo = this.getTipo(parsedResult);
|
|
67
|
+
const nsu = docZip['$'].NSU;
|
|
68
|
+
if (parsedResult['procEventoCTe']) {
|
|
69
|
+
const tpEvento = this.utility.findInObj(parsedResult, 'tpEvento');
|
|
70
|
+
chCTe = `${chCTe}-event-${tpEvento}`;
|
|
71
|
+
tipo = 'event';
|
|
72
|
+
}
|
|
73
|
+
const xmlDistribuicaoInJson = json.convertXmlToJson(cleanedXml, `${metodo}_${tipo}`, nsu);
|
|
74
|
+
this.handleResponse(xmlDistribuicaoInJson, cleanedXml, chCTe);
|
|
75
|
+
files.push(chCTe);
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
return files;
|
|
79
|
+
}
|
|
80
|
+
decodeDocZip(docZip) {
|
|
81
|
+
logger.info('Decodificando DocZip', {
|
|
82
|
+
context: 'DistribuicaoHandler',
|
|
83
|
+
});
|
|
84
|
+
const base64String = docZip['_'];
|
|
85
|
+
let binaryString = atob(base64String);
|
|
86
|
+
let bytes = new Uint8Array(binaryString.length);
|
|
87
|
+
for (let i = 0; i < binaryString.length; i++) {
|
|
88
|
+
bytes[i] = binaryString.charCodeAt(i);
|
|
89
|
+
}
|
|
90
|
+
let decompressedData = pako.inflate(bytes);
|
|
91
|
+
return new TextDecoder("utf-8").decode(decompressedData);
|
|
92
|
+
}
|
|
93
|
+
removeSignatureTag(xmlString) {
|
|
94
|
+
return xmlString.replace(/<Signature.*?<\/Signature>/gs, '');
|
|
95
|
+
}
|
|
96
|
+
parseXml(xmlString) {
|
|
97
|
+
let parsedResult;
|
|
98
|
+
xml2js.parseString(xmlString, (err, result) => {
|
|
99
|
+
if (err) {
|
|
100
|
+
console.error('Erro ao parsear o XML decomprimido:', err);
|
|
101
|
+
parsedResult = null;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
parsedResult = result;
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
return parsedResult;
|
|
108
|
+
}
|
|
109
|
+
getChCTe(parsedResult) {
|
|
110
|
+
return this.utility.findInObj(parsedResult, 'chCTe');
|
|
111
|
+
}
|
|
112
|
+
getTipo(parsedResult) {
|
|
113
|
+
if (this.utility.findInObj(parsedResult, 'resCTe')) {
|
|
114
|
+
return 'res';
|
|
115
|
+
}
|
|
116
|
+
else if (parsedResult['procEventoCTe']) {
|
|
117
|
+
return 'event';
|
|
118
|
+
}
|
|
119
|
+
return 'proc';
|
|
120
|
+
}
|
|
121
|
+
handleResponse(XMLDistribuicaoInJson, XMLDistribuicao, chCTe) {
|
|
122
|
+
this.salvaArquivos(XMLDistribuicaoInJson, XMLDistribuicao, chCTe);
|
|
123
|
+
// Gera erro em caso de Rejeição
|
|
124
|
+
const xMotivo = this.utility.findInObj(XMLDistribuicaoInJson, 'xMotivo');
|
|
125
|
+
if (xMotivo && (xMotivo.includes('Rejeição') || xMotivo.includes('Rejeicao'))) {
|
|
126
|
+
throw new Error(XMLDistribuicaoInJson.xMotivo);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export default DistribuicaoHandler;
|
|
131
|
+
//# sourceMappingURL=DistribuicaoHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DistribuicaoHandler.js","sourceRoot":"","sources":["DistribuicaoHandler.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as CTEDistribuicaoDFeService } from './CTEDistribuicaoDFe/CTEDistribuicaoDFeService';
|
|
2
|
+
export { default as CTEDistribuicaoDFePorNSUService } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU';
|
|
3
|
+
export { default as CTEDistribuicaoDFePorUltNSUService } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU';
|
|
@@ -0,0 +1,20 @@
|
|
|
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 CTEDistribuicaoDFeService } from './CTEDistribuicaoDFe/CTEDistribuicaoDFeService';
|
|
18
|
+
export { default as CTEDistribuicaoDFePorNSUService } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU';
|
|
19
|
+
export { default as CTEDistribuicaoDFePorUltNSUService } from './CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU';
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AACtG,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,OAAO,IAAI,kCAAkC,EAAE,MAAM,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 NFEGerarDanfe } from './NFEGerarDanfe/NFEGerarDanfe';
|
|
18
|
+
export { default as NFCEGerarDanfe } from './NFCEGerarDanfe/NFCEGerarDanfe';
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAC"}
|