@treeunfe/nfe 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.d.ts +12 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.d.ts +12 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.d.ts +7 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.js +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js +8 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.d.ts +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js +115 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.js +131 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.js +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.d.ts +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.d.ts +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.d.ts +7 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.d.ts +17 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.d.ts +32 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.js +421 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.js +38 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.d.ts +52 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.js +141 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.d.ts +65 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.js +93 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.d.ts +65 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.js +93 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.d.ts +14 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.js +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.js +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.js +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.js +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.d.ts +14 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.js +28 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.d.ts +35 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.js +261 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.d.ts +16 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.js +38 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.d.ts +16 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.js +251 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.d.ts +36 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.js +374 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.d.ts +20 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.js +104 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.d.ts +50 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +57 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.d.ts +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.js +23 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.d.ts +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.js +19 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.d.ts +7 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.js +24 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.js +2 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js +18 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js.map +1 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.d.ts +5 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.js +22 -0
- package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.d.ts +52 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.js +340 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.d.ts +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.d.ts +4 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js +25 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.js +130 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.js +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.js +34 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.d.ts +30 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.js +373 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.js +40 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.js +116 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.js +115 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.d.ts +21 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.js +87 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.js +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.d.ts +39 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.js +282 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.d.ts +48 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.js +150 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.js +44 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.js +34 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/tsconfig.tsbuildinfo +1 -0
- package/.turbo/turbo-build.log +15 -0
- package/CHANGELOG.md +36 -0
- package/LICENSE.txt +221 -0
- package/dist/index.cjs +10795 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +10753 -0
- package/dist/index.mjs.map +1 -0
- package/dist/src/adapters/NFe.d.ts +52 -0
- package/dist/src/adapters/index.d.ts +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/operations/NFEAutorizacao/NFEAutorizacao.d.ts +7 -0
- package/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +7 -0
- package/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/dist/src/operations/NFEInutilizacao/NFEInutilizacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFECancelamento.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEEpec.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.d.ts +7 -0
- package/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.d.ts +7 -0
- package/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.d.ts +17 -0
- package/dist/src/operations/NFEStatusServico/NFEStatusServico.d.ts +7 -0
- package/dist/src/operations/index.d.ts +17 -0
- package/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.d.ts +30 -0
- package/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +8 -0
- package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +17 -0
- package/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
- package/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.d.ts +21 -0
- package/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEEpecService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.d.ts +8 -0
- package/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.d.ts +39 -0
- package/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.d.ts +48 -0
- package/dist/src/services/NFEStatusServico/NFEStatusServicoService.d.ts +8 -0
- package/dist/src/services/index.d.ts +17 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +61 -0
- package/rollup.config.js +231 -0
- package/src/adapters/NFe.ts +402 -0
- package/src/adapters/index.ts +18 -0
- package/src/index.ts +28 -0
- package/src/operations/NFEAutorizacao/NFEAutorizacao.ts +31 -0
- package/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.ts +30 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.ts +30 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts +29 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts +30 -0
- package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts +29 -0
- package/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts +150 -0
- package/src/operations/NFEInutilizacao/NFEInutilizacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFECancelamento.ts +31 -0
- package/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.ts +31 -0
- package/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFEEpec.ts +29 -0
- package/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.ts +30 -0
- package/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.ts +30 -0
- package/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.ts +41 -0
- package/src/operations/NFEStatusServico/NFEStatusServico.ts +31 -0
- package/src/operations/index.ts +34 -0
- package/src/services/NFEAutorizacao/NFEAutorizacaoService.ts +475 -0
- package/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.ts +46 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts +28 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts +29 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts +29 -0
- package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.ts +142 -0
- package/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts +153 -0
- package/src/services/NFEInutilizacao/NFEInutilizacaoService.ts +113 -0
- package/src/services/NFERecepcaoEvento/NFECancelamentoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.ts +29 -0
- package/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEEpecService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.ts +28 -0
- package/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.ts +353 -0
- package/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.ts +196 -0
- package/src/services/NFEStatusServico/NFEStatusServicoService.ts +52 -0
- package/src/services/index.ts +34 -0
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Cancelamento, CartaDeCorrecao, CienciaDaOperacao, ConfirmacaoDaOperacao, ConsultaNFe, DesconhecimentoDaOperacao, DFePorChaveNFe, DFePorNSU, DFePorUltimoNSU, EPEC, EventoNFe, InutilizacaoData, NFeConfig, NFEGerarDanfeProps, NFe as NFeType, OperacaoNaoRealizada } from '@treeunfe/types';
|
|
2
|
+
export default class NFe {
|
|
3
|
+
private environment;
|
|
4
|
+
private axios;
|
|
5
|
+
private utility;
|
|
6
|
+
private xmlBuilder;
|
|
7
|
+
private saveFiles;
|
|
8
|
+
private gerarConsulta;
|
|
9
|
+
private loadEnvironmentPromise;
|
|
10
|
+
constructor(config: NFeConfig);
|
|
11
|
+
/**
|
|
12
|
+
* Status Serviço
|
|
13
|
+
*/
|
|
14
|
+
ConsultaStatusServico(): Promise<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Consulta Protocolo
|
|
17
|
+
*/
|
|
18
|
+
ConsultaProtocolo(chave: string): Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Recepção de Eventos
|
|
21
|
+
*/
|
|
22
|
+
RecepcaoEvento(evento: EventoNFe): Promise<any>;
|
|
23
|
+
EventoPrevioDeEmissaoEmContingencia(evento: EPEC): Promise<any>;
|
|
24
|
+
Cancelamento(evento: Cancelamento): Promise<any>;
|
|
25
|
+
CienciaDaOperacao(evento: CienciaDaOperacao): Promise<any>;
|
|
26
|
+
ConfirmacaoDaOperacao(evento: ConfirmacaoDaOperacao): Promise<any>;
|
|
27
|
+
OperacaoNaoRealizada(evento: OperacaoNaoRealizada): Promise<any>;
|
|
28
|
+
CartaDeCorrecao(evento: CartaDeCorrecao): Promise<any>;
|
|
29
|
+
DesconhecimentoDaOperacao(evento: DesconhecimentoDaOperacao): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* Distribuição DFe
|
|
32
|
+
*/
|
|
33
|
+
DistribuicaoDFe(data: ConsultaNFe): Promise<any>;
|
|
34
|
+
DistribuicaoDFePorUltNSU(data: DFePorUltimoNSU): Promise<any>;
|
|
35
|
+
DistribuicaoDFePorNSU(data: DFePorNSU): Promise<any>;
|
|
36
|
+
DistribuicaoDFePorChave(data: DFePorChaveNFe): Promise<any>;
|
|
37
|
+
/**
|
|
38
|
+
* Autorização
|
|
39
|
+
*/
|
|
40
|
+
Autorizacao(data: NFeType): Promise<any>;
|
|
41
|
+
/**
|
|
42
|
+
* Inutilização
|
|
43
|
+
*/
|
|
44
|
+
Inutilizacao(data: InutilizacaoData): Promise<any>;
|
|
45
|
+
/**
|
|
46
|
+
* DANFE
|
|
47
|
+
*/
|
|
48
|
+
GerarDanfe(data: NFEGerarDanfeProps): Promise<{
|
|
49
|
+
message: string;
|
|
50
|
+
success: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
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 { NFEGerarDanfe } from '@treeunfe/danfe';
|
|
18
|
+
import { Environment, GerarConsulta, logger, SaveFiles, Utility, XmlBuilder } from '@treeunfe/shared';
|
|
19
|
+
import { NFEAutorizacao, NFECancelamento, NFECartaDeCorrecao, NFECienciaDaOperacao, NFEConfirmacaoDaOperacao, NFEConsultaProtocolo, NFEDesconhecimentoDaOperacao, NFEDistribuicaoDFe, NFEDistribuicaoDFePorChave, NFEDistribuicaoDFePorNSU, NFEDistribuicaoDFePorUltNSU, NFEEpec, NFEInutilizacao, NFEOperacaoNaoRealizada, NFERecepcaoEvento, NFEStatusServico, } from '../operations';
|
|
20
|
+
import { NFEAutorizacaoService, NFECancelamentoService, NFECartaDeCorrecaoService, NFECienciaDaOperacaoService, NFEConfirmacaoDaOperacaoService, NFEconsultaProtocoloService, NFEDesconhecimentoDaOperacaoService, NFEDistribuicaoDFePorChaveService, NFEDistribuicaoDFePorNSUService, NFEDistribuicaoDFePorUltNSUService, NFEDistribuicaoDFeService, NFEEpecService, NFEInutilizacaoService, NFEOperacaoNaoRealizadaService, NFERecepcaoEventoService, NFEStatusServicoService, } from '../services';
|
|
21
|
+
export default class NFe {
|
|
22
|
+
constructor(config) {
|
|
23
|
+
// Valida se a configuração obrigatória foi fornecida
|
|
24
|
+
if (!config.ambiente || !config.versaoDF) {
|
|
25
|
+
throw new Error('Configuração NFe incompleta. Por favor, forneça "ambiente" e "versaoDF".');
|
|
26
|
+
}
|
|
27
|
+
// Cria o environment próprio - passa a config diretamente
|
|
28
|
+
const environment = new Environment(config);
|
|
29
|
+
this.environment = environment;
|
|
30
|
+
// Carrega o environment automaticamente
|
|
31
|
+
this.loadEnvironmentPromise = (async () => {
|
|
32
|
+
try {
|
|
33
|
+
const { axios: axiosInstance } = await environment.loadEnvironment();
|
|
34
|
+
this.axios = axiosInstance;
|
|
35
|
+
this.utility = new Utility(environment);
|
|
36
|
+
this.saveFiles = new SaveFiles(environment, this.utility);
|
|
37
|
+
this.xmlBuilder = new XmlBuilder(environment);
|
|
38
|
+
this.gerarConsulta = new GerarConsulta(environment, this.utility, this.xmlBuilder);
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
logger.error(``, error, { context: 'NFe_LoadEnvironment' });
|
|
42
|
+
throw new Error(`Erro ao inicializar a lib: ${error}`);
|
|
43
|
+
}
|
|
44
|
+
})();
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Status Serviço
|
|
48
|
+
*/
|
|
49
|
+
async ConsultaStatusServico() {
|
|
50
|
+
await this.loadEnvironmentPromise;
|
|
51
|
+
try {
|
|
52
|
+
const service = new NFEStatusServicoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
53
|
+
const operation = new NFEStatusServico(service);
|
|
54
|
+
const response = await operation.Exec();
|
|
55
|
+
console.log('Retorno NFE_ConsultaStatusServico');
|
|
56
|
+
console.log(` ${response.xMotivo}`);
|
|
57
|
+
console.log('===================================');
|
|
58
|
+
return response;
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
logger.error(``, error, { context: 'NFE_ConsultaStatusServico' });
|
|
62
|
+
throw new Error(`NFE_ConsultaStatusServico: ${error.message}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Consulta Protocolo
|
|
67
|
+
*/
|
|
68
|
+
async ConsultaProtocolo(chave) {
|
|
69
|
+
await this.loadEnvironmentPromise;
|
|
70
|
+
try {
|
|
71
|
+
const service = new NFEconsultaProtocoloService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
72
|
+
const operation = new NFEConsultaProtocolo(service);
|
|
73
|
+
const response = await operation.Exec(chave);
|
|
74
|
+
console.log('Retorno NFE_ConsultaProtocolo');
|
|
75
|
+
console.log(` ${response.xMotivo}`);
|
|
76
|
+
console.log('===================================');
|
|
77
|
+
return response;
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
logger.error(``, error, { context: 'NFE_ConsultaProtocolo' });
|
|
81
|
+
throw new Error(`NFE_ConsultaProtocolo: ${error.message}`);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Recepção de Eventos
|
|
86
|
+
*/
|
|
87
|
+
async RecepcaoEvento(evento) {
|
|
88
|
+
await this.loadEnvironmentPromise;
|
|
89
|
+
try {
|
|
90
|
+
const service = new NFERecepcaoEventoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
91
|
+
const operation = new NFERecepcaoEvento(service);
|
|
92
|
+
const response = await operation.Exec(evento);
|
|
93
|
+
console.log('Retorno NFE_RecepcaoEvento');
|
|
94
|
+
console.table(response.xMotivos);
|
|
95
|
+
console.log('===================================');
|
|
96
|
+
return response.response;
|
|
97
|
+
}
|
|
98
|
+
catch (error) {
|
|
99
|
+
logger.error(``, error, { context: 'NFE_RecepcaoEvento' });
|
|
100
|
+
throw new Error(`NFE_RecepcaoEvento: ${error.message}`);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
async EventoPrevioDeEmissaoEmContingencia(evento) {
|
|
104
|
+
await this.loadEnvironmentPromise;
|
|
105
|
+
try {
|
|
106
|
+
const service = new NFEEpecService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
107
|
+
const operation = new NFEEpec(service);
|
|
108
|
+
const response = await operation.Exec(evento);
|
|
109
|
+
console.log('Retorno NFEEpec');
|
|
110
|
+
console.table(response.xMotivos);
|
|
111
|
+
console.log('===================================');
|
|
112
|
+
return response.response;
|
|
113
|
+
}
|
|
114
|
+
catch (error) {
|
|
115
|
+
logger.error(``, error, { context: 'NFE_EventoPrevioDeEmissaoEmContingencia' });
|
|
116
|
+
throw new Error(`NFEEpec: ${error.message}`);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
async Cancelamento(evento) {
|
|
120
|
+
await this.loadEnvironmentPromise;
|
|
121
|
+
try {
|
|
122
|
+
const service = new NFECancelamentoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
123
|
+
const operation = new NFECancelamento(service);
|
|
124
|
+
const response = await operation.Exec(evento);
|
|
125
|
+
console.log('Retorno NFE_Cancelamento');
|
|
126
|
+
console.table(response.xMotivos);
|
|
127
|
+
console.log('===================================');
|
|
128
|
+
return response.response;
|
|
129
|
+
}
|
|
130
|
+
catch (error) {
|
|
131
|
+
logger.error(``, error, { context: 'NFE_Cancelamento' });
|
|
132
|
+
throw new Error(`NFE_Cancelamento: ${error.message}`);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
async CienciaDaOperacao(evento) {
|
|
136
|
+
await this.loadEnvironmentPromise;
|
|
137
|
+
try {
|
|
138
|
+
const service = new NFECienciaDaOperacaoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
139
|
+
const operation = new NFECienciaDaOperacao(service);
|
|
140
|
+
const response = await operation.Exec(evento);
|
|
141
|
+
console.log('Retorno NFE_CienciaDaOperacao');
|
|
142
|
+
console.table(response.xMotivos);
|
|
143
|
+
console.log('===================================');
|
|
144
|
+
return response.response;
|
|
145
|
+
}
|
|
146
|
+
catch (error) {
|
|
147
|
+
logger.error(``, error, { context: 'NFE_CienciaDaOperacao' });
|
|
148
|
+
throw new Error(`NFE_CienciaDaOperacao: ${error.message}`);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
async ConfirmacaoDaOperacao(evento) {
|
|
152
|
+
await this.loadEnvironmentPromise;
|
|
153
|
+
try {
|
|
154
|
+
const service = new NFEConfirmacaoDaOperacaoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
155
|
+
const operation = new NFEConfirmacaoDaOperacao(service);
|
|
156
|
+
const response = await operation.Exec(evento);
|
|
157
|
+
console.log('Retorno NFE_ConfirmacaoDaOperacao');
|
|
158
|
+
console.table(response.xMotivos);
|
|
159
|
+
console.log('===================================');
|
|
160
|
+
return response.response;
|
|
161
|
+
}
|
|
162
|
+
catch (error) {
|
|
163
|
+
logger.error(``, error, { context: 'NFE_ConfirmacaoDaOperacao' });
|
|
164
|
+
throw new Error(`NFE_ConfirmacaoDaOperacao: ${error.message}`);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
async OperacaoNaoRealizada(evento) {
|
|
168
|
+
await this.loadEnvironmentPromise;
|
|
169
|
+
try {
|
|
170
|
+
const service = new NFEOperacaoNaoRealizadaService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
171
|
+
const operation = new NFEOperacaoNaoRealizada(service);
|
|
172
|
+
const response = await operation.Exec(evento);
|
|
173
|
+
console.log('Retorno NFE_OperacaoNaoRealizada');
|
|
174
|
+
console.table(response.xMotivos);
|
|
175
|
+
console.log('===================================');
|
|
176
|
+
return response.response;
|
|
177
|
+
}
|
|
178
|
+
catch (error) {
|
|
179
|
+
logger.error(``, error, { context: 'NFE_OperacaoNaoRealizada' });
|
|
180
|
+
throw new Error(`NFE_OperacaoNaoRealizada: ${error.message}`);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
async CartaDeCorrecao(evento) {
|
|
184
|
+
await this.loadEnvironmentPromise;
|
|
185
|
+
try {
|
|
186
|
+
const service = new NFECartaDeCorrecaoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
187
|
+
const operation = new NFECartaDeCorrecao(service);
|
|
188
|
+
const response = await operation.Exec(evento);
|
|
189
|
+
console.log('Retorno NFE_CartaDeCorrecao');
|
|
190
|
+
console.table(response.xMotivos);
|
|
191
|
+
console.log('===================================');
|
|
192
|
+
return response.response;
|
|
193
|
+
}
|
|
194
|
+
catch (error) {
|
|
195
|
+
logger.error(``, error, { context: 'NFE_CartaDeCorrecao' });
|
|
196
|
+
throw new Error(`NFE_CartaDeCorrecao: ${error.message}`);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
async DesconhecimentoDaOperacao(evento) {
|
|
200
|
+
await this.loadEnvironmentPromise;
|
|
201
|
+
try {
|
|
202
|
+
const service = new NFEDesconhecimentoDaOperacaoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
203
|
+
const operation = new NFEDesconhecimentoDaOperacao(service);
|
|
204
|
+
const response = await operation.Exec(evento);
|
|
205
|
+
console.log('Retorno NFE_DesconhecimentoDaOperacao');
|
|
206
|
+
console.table(response.xMotivos);
|
|
207
|
+
console.log('===================================');
|
|
208
|
+
return response.response;
|
|
209
|
+
}
|
|
210
|
+
catch (error) {
|
|
211
|
+
logger.error(``, error, { context: 'NFE_DesconhecimentoDaOperacao' });
|
|
212
|
+
throw new Error(`NFE_DesconhecimentoDaOperacao: ${error.message}`);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Distribuição DFe
|
|
217
|
+
*/
|
|
218
|
+
async DistribuicaoDFe(data) {
|
|
219
|
+
await this.loadEnvironmentPromise;
|
|
220
|
+
try {
|
|
221
|
+
const service = new NFEDistribuicaoDFeService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
222
|
+
const operation = new NFEDistribuicaoDFe(service);
|
|
223
|
+
const response = await operation.Exec(data);
|
|
224
|
+
console.log('Retorno NFE_DistribuicaoDFe');
|
|
225
|
+
console.log(` ${response.xMotivo}`);
|
|
226
|
+
console.log('===================================');
|
|
227
|
+
return response.data;
|
|
228
|
+
}
|
|
229
|
+
catch (error) {
|
|
230
|
+
logger.error(``, error, { context: 'NFE_DistribuicaoDFe' });
|
|
231
|
+
throw new Error(`NFE_DistribuicaoDFe: ${error.message}`);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
async DistribuicaoDFePorUltNSU(data) {
|
|
235
|
+
await this.loadEnvironmentPromise;
|
|
236
|
+
try {
|
|
237
|
+
const service = new NFEDistribuicaoDFePorUltNSUService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
238
|
+
const operation = new NFEDistribuicaoDFePorUltNSU(service);
|
|
239
|
+
const response = await operation.Exec(data);
|
|
240
|
+
console.log('Retorno NFE_DistribuicaoDFePorUltNSU');
|
|
241
|
+
console.log(` ${response.xMotivo}`);
|
|
242
|
+
console.log('===================================');
|
|
243
|
+
return response.data;
|
|
244
|
+
}
|
|
245
|
+
catch (error) {
|
|
246
|
+
logger.error(``, error, { context: 'NFE_DistribuicaoDFePorUltNSU' });
|
|
247
|
+
throw new Error(`NFE_DistribuicaoDFePorUltNSU: ${error.message}`);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
async DistribuicaoDFePorNSU(data) {
|
|
251
|
+
await this.loadEnvironmentPromise;
|
|
252
|
+
try {
|
|
253
|
+
const service = new NFEDistribuicaoDFePorNSUService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
254
|
+
const operation = new NFEDistribuicaoDFePorNSU(service);
|
|
255
|
+
const response = await operation.Exec(data);
|
|
256
|
+
console.log('Retorno NFE_DistribuicaoDFePorNSU');
|
|
257
|
+
console.log(` ${response.xMotivo}`);
|
|
258
|
+
console.log('===================================');
|
|
259
|
+
return response.data;
|
|
260
|
+
}
|
|
261
|
+
catch (error) {
|
|
262
|
+
logger.error(``, error, { context: 'NFE_DistribuicaoDFePorNSU' });
|
|
263
|
+
throw new Error(`NFE_DistribuicaoDFePorNSU: ${error.message}`);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
async DistribuicaoDFePorChave(data) {
|
|
267
|
+
await this.loadEnvironmentPromise;
|
|
268
|
+
try {
|
|
269
|
+
const service = new NFEDistribuicaoDFePorChaveService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
270
|
+
const operation = new NFEDistribuicaoDFePorChave(service);
|
|
271
|
+
const response = await operation.Exec(data);
|
|
272
|
+
console.log('Retorno NFE_DistribuicaoDFePorChave');
|
|
273
|
+
console.log(` ${response.xMotivo}`);
|
|
274
|
+
console.log('===================================');
|
|
275
|
+
return response.data;
|
|
276
|
+
}
|
|
277
|
+
catch (error) {
|
|
278
|
+
logger.error(``, error, { context: 'NFE_DistribuicaoDFePorChave' });
|
|
279
|
+
throw new Error(`NFE_DistribuicaoDFePorChave: ${error.message}`);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Autorização
|
|
284
|
+
*/
|
|
285
|
+
async Autorizacao(data) {
|
|
286
|
+
await this.loadEnvironmentPromise;
|
|
287
|
+
try {
|
|
288
|
+
const service = new NFEAutorizacaoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
289
|
+
const operation = new NFEAutorizacao(service);
|
|
290
|
+
const response = await operation.Exec(data);
|
|
291
|
+
console.log('Retorno NFE_Autorizacao');
|
|
292
|
+
console.table(response.xMotivo);
|
|
293
|
+
console.log('===================================');
|
|
294
|
+
return response.xmls;
|
|
295
|
+
}
|
|
296
|
+
catch (error) {
|
|
297
|
+
logger.error(``, error, { context: 'NFE_Autorizacao' });
|
|
298
|
+
throw new Error(`NFE_Autorizacao: ${error.message}`);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Inutilização
|
|
303
|
+
*/
|
|
304
|
+
async Inutilizacao(data) {
|
|
305
|
+
await this.loadEnvironmentPromise;
|
|
306
|
+
try {
|
|
307
|
+
const service = new NFEInutilizacaoService(this.environment, this.utility, this.xmlBuilder, this.axios, this.saveFiles, this.gerarConsulta);
|
|
308
|
+
const operation = new NFEInutilizacao(service);
|
|
309
|
+
const response = await operation.Exec(data);
|
|
310
|
+
console.log('Retorno NFE_Inutilizacao');
|
|
311
|
+
console.log(` ${response.xMotivo}`);
|
|
312
|
+
console.log('===================================');
|
|
313
|
+
return response;
|
|
314
|
+
}
|
|
315
|
+
catch (error) {
|
|
316
|
+
logger.error(``, error, { context: 'NFE_Inutilizacao' });
|
|
317
|
+
throw new Error(`NFE_Inutilizacao: ${error.message}`);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* DANFE
|
|
322
|
+
*/
|
|
323
|
+
async GerarDanfe(data) {
|
|
324
|
+
await this.loadEnvironmentPromise;
|
|
325
|
+
try {
|
|
326
|
+
const { exibirMarcaDaguaDanfe } = this.environment.getConfig();
|
|
327
|
+
const danfe = new NFEGerarDanfe(data);
|
|
328
|
+
const response = await danfe.generatePDF(exibirMarcaDaguaDanfe);
|
|
329
|
+
console.log('Retorno NFE_GerarDanfe');
|
|
330
|
+
console.log(response.message);
|
|
331
|
+
console.log('===================================');
|
|
332
|
+
return response;
|
|
333
|
+
}
|
|
334
|
+
catch (error) {
|
|
335
|
+
logger.error(``, error, { context: 'NFE_GerarDanfe' });
|
|
336
|
+
throw new Error(`NFE_GerarDanfe: ${error.message}`);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
//# sourceMappingURL=NFe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFe.js","sourceRoot":"","sources":["../../../src/adapters/NFe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAoBtG,OAAO,EACL,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC5B,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,2BAA2B,EAC3B,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAC/B,2BAA2B,EAC3B,mCAAmC,EACnC,iCAAiC,EACjC,+BAA+B,EAC/B,kCAAkC,EAClC,yBAAyB,EACzB,cAAc,EACd,s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1,18 @@
|
|
|
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 NFe } from './NFe';
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapters/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC"}
|
package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
// Re-export all types from @treeunfe/types
|
|
18
|
+
export * from '@treeunfe/types';
|
|
19
|
+
// Export handlers
|
|
20
|
+
export { default as NFe } from './adapters/NFe';
|
|
21
|
+
// Export operations
|
|
22
|
+
export * from './operations/index';
|
|
23
|
+
// Export services
|
|
24
|
+
export * from './services/index';
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,2CAA2C;AAC3C,cAAc,iBAAiB,CAAC;AAEhC,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 { NFEAutorizacaoServiceImpl } from '@treeunfe/types/interfaces/nfe';
|
|
2
|
+
declare class NFEAutorizacao {
|
|
3
|
+
nfeAutorizacaoService: NFEAutorizacaoServiceImpl;
|
|
4
|
+
constructor(nfeAutorizacaoService: NFEAutorizacaoServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEAutorizacao;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class NFEAutorizacao {
|
|
2
|
+
constructor(nfeAutorizacaoService) {
|
|
3
|
+
this.nfeAutorizacaoService = nfeAutorizacaoService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeAutorizacaoService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEAutorizacao;
|
|
10
|
+
//# sourceMappingURL=NFEAutorizacao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEAutorizacao.js","sourceRoot":"","sources":["../../../../src/operations/NFEAutorizacao/NFEAutorizacao.ts"],"names":[],"mappings":"AAkBA,MAAM,cAAc;IAEhB,YAAY,qBAAgD;QACxD,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;CAEJ;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEconsultaProtocoloServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEConsultaProtocolo implements NFEconsultaProtocoloServiceImpl {
|
|
3
|
+
nfeConsultaProtocoloService: NFEconsultaProtocoloServiceImpl;
|
|
4
|
+
constructor(nfeConsultaProtocoloService: NFEconsultaProtocoloServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEConsultaProtocolo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class NFEConsultaProtocolo {
|
|
2
|
+
constructor(nfeConsultaProtocoloService) {
|
|
3
|
+
this.nfeConsultaProtocoloService = nfeConsultaProtocoloService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeConsultaProtocoloService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEConsultaProtocolo;
|
|
10
|
+
//# sourceMappingURL=NFEconsultaProtocolo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEconsultaProtocolo.js","sourceRoot":"","sources":["../../../../src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.ts"],"names":[],"mappings":"AAkBA,MAAM,oBAAoB;IAEtB,YAAY,2BAA4D;QACpE,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;CACJ;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFERecepcaoEvento implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFeService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFeService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFERecepcaoEvento;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class NFERecepcaoEvento {
|
|
2
|
+
constructor(nfeDistribuicaoDFeService) {
|
|
3
|
+
this.nfeDistribuicaoDFeService = nfeDistribuicaoDFeService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeDistribuicaoDFeService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFERecepcaoEvento;
|
|
10
|
+
//# sourceMappingURL=NFEDistribuicaoDFe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEDistribuicaoDFe.js","sourceRoot":"","sources":["../../../../src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.ts"],"names":[],"mappings":"AAkBA,MAAM,iBAAiB;IAEnB,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,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDistribuicaoDFePorChave implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFePorChaveService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFePorChaveService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDistribuicaoDFePorChave;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class NFEDistribuicaoDFePorChave {
|
|
2
|
+
constructor(nfeDistribuicaoDFePorChaveService) {
|
|
3
|
+
this.nfeDistribuicaoDFePorChaveService = nfeDistribuicaoDFePorChaveService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeDistribuicaoDFePorChaveService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEDistribuicaoDFePorChave;
|
|
10
|
+
//# sourceMappingURL=NFEDistribuicaoDFePorChave.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEDistribuicaoDFePorChave.js","sourceRoot":"","sources":["../../../../src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts"],"names":[],"mappings":"AAkBA,MAAM,0BAA0B;IAE5B,YAAY,iCAAgE;QACxE,IAAI,CAAC,iCAAiC,GAAG,iCAAiC,CAAC;IAC/E,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,iCAAiC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;CACJ;AACD,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDistribuicaoDFePorNSU implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFePorNSUService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFePorNSUService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDistribuicaoDFePorNSU;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class NFEDistribuicaoDFePorNSU {
|
|
2
|
+
constructor(nfeDistribuicaoDFePorNSUService) {
|
|
3
|
+
this.nfeDistribuicaoDFePorNSUService = nfeDistribuicaoDFePorNSUService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeDistribuicaoDFePorNSUService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEDistribuicaoDFePorNSU;
|
|
10
|
+
//# sourceMappingURL=NFEDistribuicaoDFePorNSU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEDistribuicaoDFePorNSU.js","sourceRoot":"","sources":["../../../../src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts"],"names":[],"mappings":"AAkBA,MAAM,wBAAwB;IAE1B,YAAY,+BAA8D;QACtE,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,IAAU;QACjB,OAAO,MAAM,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjE,CAAC;CACJ;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NFEDistribuicaoDFeServiceImpl } from '@treeunfe/types/interfaces';
|
|
2
|
+
declare class NFEDistribuicaoDFePorUltNSU implements NFEDistribuicaoDFeServiceImpl {
|
|
3
|
+
nfeDistribuicaoDFePorUltNSUService: NFEDistribuicaoDFeServiceImpl;
|
|
4
|
+
constructor(nfeDistribuicaoDFePorUltNSUService: NFEDistribuicaoDFeServiceImpl);
|
|
5
|
+
Exec(data?: any): Promise<any>;
|
|
6
|
+
}
|
|
7
|
+
export default NFEDistribuicaoDFePorUltNSU;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
class NFEDistribuicaoDFePorUltNSU {
|
|
2
|
+
constructor(nfeDistribuicaoDFePorUltNSUService) {
|
|
3
|
+
this.nfeDistribuicaoDFePorUltNSUService = nfeDistribuicaoDFePorUltNSUService;
|
|
4
|
+
}
|
|
5
|
+
async Exec(data) {
|
|
6
|
+
return await this.nfeDistribuicaoDFePorUltNSUService.Exec(data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export default NFEDistribuicaoDFePorUltNSU;
|
|
10
|
+
//# sourceMappingURL=NFEDistribuicaoDFePorUltNSU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFEDistribuicaoDFePorUltNSU.js","sourceRoot":"","sources":["../../../../src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts"],"names":[],"mappings":"AAkBA,MAAM,2BAA2B;IAE7B,YAAY,kCAAiE;QACzE,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;AACD,eAAe,2BAA2B,CAAC"}
|