@treeunfe/types 1.0.3
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/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/BaseConfig.d.ts +101 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/BaseConfig.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/BaseConfig.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/CTeConfig.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/CTeConfig.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/CTeConfig.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/LoadCertificate.d.ts +11 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/LoadCertificate.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/LoadCertificate.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFCeConfig.d.ts +25 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFCeConfig.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFCeConfig.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFSeConfig.d.ts +17 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFSeConfig.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFSeConfig.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFeConfig.d.ts +25 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFeConfig.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFeConfig.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/Utils.d.ts +29 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/Utils.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/Utils.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/index.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/index.js +24 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/CTEDistribuicaoDFe.d.ts +47 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/CTEDistribuicaoDFe.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/CTEDistribuicaoDFe.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/index.d.ts +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/index.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/index.d.ts +6 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/index.js +25 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/GerarConsultaImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/GerarConsultaImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/HttpClient.d.ts +9 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/HttpClient.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/HttpClient.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/SaveFilesImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/SaveFilesImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeImpl.d.ts +54 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +61 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/index.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/index.js +22 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/index.d.ts +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/index.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/index.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/index.js +23 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/index.d.ts +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/index.js +19 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/index.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/index.js +24 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.d.ts +7 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeEventosServiceImpl.js +2 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeEventosServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/index.d.ts +6 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/index.js +23 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfce/index.d.ts +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfce/index.js +19 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfce/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEAutorizacao.d.ts +5876 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEAutorizacao.js +30 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEAutorizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDanfeGenerator.d.ts +32 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDanfeGenerator.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDanfeGenerator.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDistribuicaoDFe.d.ts +70 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDistribuicaoDFe.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDistribuicaoDFe.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEInutilizacao.d.ts +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEInutilizacao.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEInutilizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFERecepcaoEvento.d.ts +575 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFERecepcaoEvento.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFERecepcaoEvento.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/index.d.ts +5 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/index.js +22 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutDPS.d.ts +424 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutDPS.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutDPS.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutPedRegEvento.d.ts +48 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutPedRegEvento.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutPedRegEvento.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeAutorizacao.d.ts +54 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeAutorizacao.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeAutorizacao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeConsulta.d.ts +32 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeConsulta.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeConsulta.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDanfeGenerator.d.ts +10 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDanfeGenerator.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDanfeGenerator.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDistribuicao.d.ts +37 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDistribuicao.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDistribuicao.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeEventos.d.ts +56 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeEventos.js +41 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeEventos.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeParametrosMunicipais.d.ts +152 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeParametrosMunicipais.js +18 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeParametrosMunicipais.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/index.d.ts +8 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/index.js +25 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/index.js.map +1 -0
- package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/tsconfig.tsbuildinfo +1 -0
- package/.turbo/turbo-build.log +71 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +19 -0
- package/LICENSE.txt +221 -0
- package/dist/common/index.cjs +3 -0
- package/dist/common/index.cjs.map +1 -0
- package/dist/common/index.mjs +2 -0
- package/dist/common/index.mjs.map +1 -0
- package/dist/cte/index.cjs +3 -0
- package/dist/cte/index.cjs.map +1 -0
- package/dist/cte/index.mjs +2 -0
- package/dist/cte/index.mjs.map +1 -0
- package/dist/index.cjs +43 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +43 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces/index.cjs +3 -0
- package/dist/interfaces/index.cjs.map +1 -0
- package/dist/interfaces/index.mjs +2 -0
- package/dist/interfaces/index.mjs.map +1 -0
- package/dist/nfce/index.cjs +3 -0
- package/dist/nfce/index.cjs.map +1 -0
- package/dist/nfce/index.mjs +2 -0
- package/dist/nfce/index.mjs.map +1 -0
- package/dist/nfe/index.cjs +3 -0
- package/dist/nfe/index.cjs.map +1 -0
- package/dist/nfe/index.mjs +2 -0
- package/dist/nfe/index.mjs.map +1 -0
- package/dist/nfse/index.cjs +43 -0
- package/dist/nfse/index.cjs.map +1 -0
- package/dist/nfse/index.mjs +43 -0
- package/dist/nfse/index.mjs.map +1 -0
- package/dist/src/common/BaseConfig.d.ts +101 -0
- package/dist/src/common/CTeConfig.d.ts +17 -0
- package/dist/src/common/LoadCertificate.d.ts +11 -0
- package/dist/src/common/NFCeConfig.d.ts +25 -0
- package/dist/src/common/NFSeConfig.d.ts +17 -0
- package/dist/src/common/NFeConfig.d.ts +25 -0
- package/dist/src/common/Utils.d.ts +29 -0
- package/dist/src/common/index.d.ts +7 -0
- package/dist/src/cte/CTEDistribuicaoDFe.d.ts +47 -0
- package/dist/src/cte/index.d.ts +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
- package/dist/src/interfaces/common/HttpClient.d.ts +9 -0
- package/dist/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
- package/dist/src/interfaces/common/TreeunfeDFeImpl.d.ts +54 -0
- package/dist/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +61 -0
- package/dist/src/interfaces/common/index.d.ts +5 -0
- package/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/dist/src/interfaces/cte/index.d.ts +1 -0
- package/dist/src/interfaces/index.d.ts +5 -0
- package/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
- package/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/dist/src/interfaces/nfce/index.d.ts +2 -0
- package/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
- package/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
- package/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
- package/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
- package/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
- package/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
- package/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
- package/dist/src/interfaces/nfe/index.d.ts +7 -0
- package/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
- package/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
- package/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.d.ts +7 -0
- package/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
- package/dist/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
- package/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
- package/dist/src/interfaces/nfse/index.d.ts +6 -0
- package/dist/src/nfce/index.d.ts +1 -0
- package/dist/src/nfe/NFEAutorizacao.d.ts +5876 -0
- package/dist/src/nfe/NFEDanfeGenerator.d.ts +32 -0
- package/dist/src/nfe/NFEDistribuicaoDFe.d.ts +70 -0
- package/dist/src/nfe/NFEInutilizacao.d.ts +10 -0
- package/dist/src/nfe/NFERecepcaoEvento.d.ts +575 -0
- package/dist/src/nfe/index.d.ts +5 -0
- package/dist/src/nfse/LayoutDPS.d.ts +424 -0
- package/dist/src/nfse/LayoutPedRegEvento.d.ts +48 -0
- package/dist/src/nfse/NFSeAutorizacao.d.ts +54 -0
- package/dist/src/nfse/NFSeConsulta.d.ts +32 -0
- package/dist/src/nfse/NFSeDanfeGenerator.d.ts +10 -0
- package/dist/src/nfse/NFSeDistribuicao.d.ts +37 -0
- package/dist/src/nfse/NFSeEventos.d.ts +56 -0
- package/dist/src/nfse/NFSeParametrosMunicipais.d.ts +152 -0
- package/dist/src/nfse/index.d.ts +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +83 -0
- package/rollup.config.js +88 -0
- package/src/common/BaseConfig.ts +118 -0
- package/src/common/CTeConfig.ts +35 -0
- package/src/common/LoadCertificate.ts +13 -0
- package/src/common/NFCeConfig.ts +43 -0
- package/src/common/NFSeConfig.ts +35 -0
- package/src/common/NFeConfig.ts +43 -0
- package/src/common/Utils.ts +51 -0
- package/src/common/index.ts +25 -0
- package/src/cte/CTEDistribuicaoDFe.ts +66 -0
- package/src/cte/index.ts +18 -0
- package/src/index.ts +26 -0
- package/src/interfaces/common/GerarConsultaImpl.ts +10 -0
- package/src/interfaces/common/HttpClient.ts +11 -0
- package/src/interfaces/common/SaveFilesImpl.ts +6 -0
- package/src/interfaces/common/TreeunfeDFeImpl.ts +81 -0
- package/src/interfaces/common/TreeunfeDFeServiceImpl.ts +95 -0
- package/src/interfaces/common/index.ts +23 -0
- package/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.ts +10 -0
- package/src/interfaces/cte/index.ts +18 -0
- package/src/interfaces/index.ts +23 -0
- package/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.ts +12 -0
- package/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.ts +14 -0
- package/src/interfaces/nfce/index.ts +20 -0
- package/src/interfaces/nfe/NFEAutorizacaoServiceImpl.ts +12 -0
- package/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.ts +10 -0
- package/src/interfaces/nfe/NFEInutilizacaoServiceImpl.ts +3 -0
- package/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.ts +10 -0
- package/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.ts +14 -0
- package/src/interfaces/nfe/NFEStatusServicoServiceImpl.ts +3 -0
- package/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.ts +3 -0
- package/src/interfaces/nfe/index.ts +25 -0
- package/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.ts +11 -0
- package/src/interfaces/nfse/NFSeConsultaServiceImpl.ts +6 -0
- package/src/interfaces/nfse/NFSeDanfeServiceImpl.ts +8 -0
- package/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.ts +6 -0
- package/src/interfaces/nfse/NFSeEventosServiceImpl.ts +6 -0
- package/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.ts +41 -0
- package/src/interfaces/nfse/index.ts +24 -0
- package/src/nfce/index.ts +19 -0
- package/src/nfe/NFEAutorizacao.ts +6025 -0
- package/src/nfe/NFEDanfeGenerator.ts +51 -0
- package/src/nfe/NFEDistribuicaoDFe.ts +91 -0
- package/src/nfe/NFEInutilizacao.ts +27 -0
- package/src/nfe/NFERecepcaoEvento.ts +602 -0
- package/src/nfe/index.ts +23 -0
- package/src/nfse/LayoutDPS.ts +458 -0
- package/src/nfse/LayoutPedRegEvento.ts +69 -0
- package/src/nfse/NFSeAutorizacao.ts +76 -0
- package/src/nfse/NFSeConsulta.ts +52 -0
- package/src/nfse/NFSeDanfeGenerator.ts +27 -0
- package/src/nfse/NFSeDistribuicao.ts +57 -0
- package/src/nfse/NFSeEventos.ts +77 -0
- package/src/nfse/NFSeParametrosMunicipais.ts +186 -0
- package/src/nfse/index.ts +26 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
|
|
18
|
+
import { BaseConfig } from './BaseConfig';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Configuração específica para o package NFCe
|
|
22
|
+
* Estende BaseConfig com propriedades específicas do NFCe (mesmas do NFe)
|
|
23
|
+
*/
|
|
24
|
+
export type NFCeConfig = BaseConfig & {
|
|
25
|
+
/**
|
|
26
|
+
* @param {number} ambiente - Define o ambiente que receberá os XML da NFC-e:
|
|
27
|
+
* 1 = Produção
|
|
28
|
+
* 2 = Homologação
|
|
29
|
+
*/
|
|
30
|
+
ambiente: number;
|
|
31
|
+
/**
|
|
32
|
+
* @param {string} versaoDF - Versão (testado apenas com 4.00)
|
|
33
|
+
*/
|
|
34
|
+
versaoDF: string;
|
|
35
|
+
/**
|
|
36
|
+
* @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
|
|
37
|
+
*/
|
|
38
|
+
tokenCSC?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @param {string} idCSRT - Identificador do CSRT utilizado para montar o hash do CSRT (Utilizado para NFe e NFCe, padrão: 2 dígitos, ex: "02")
|
|
41
|
+
*/
|
|
42
|
+
idCSRT?: string;
|
|
43
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
|
|
18
|
+
import { BaseConfig } from './BaseConfig';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Configuração específica para o package NFSe
|
|
22
|
+
* Estende BaseConfig com propriedades específicas do NFSe
|
|
23
|
+
*/
|
|
24
|
+
export type NFSeConfig = BaseConfig & {
|
|
25
|
+
/**
|
|
26
|
+
* @param {number} ambiente - Define o ambiente que receberá as requisições da NFSe:
|
|
27
|
+
* 1 = Produção
|
|
28
|
+
* 2 = Homologação (Produção Restrita)
|
|
29
|
+
*/
|
|
30
|
+
ambiente: number;
|
|
31
|
+
/**
|
|
32
|
+
* @param {string} versao - Versão da API NFSe (padrão: v1)
|
|
33
|
+
*/
|
|
34
|
+
versao?: string;
|
|
35
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
|
|
18
|
+
import { BaseConfig } from './BaseConfig';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Configuração específica para o package NFe
|
|
22
|
+
* Estende BaseConfig com propriedades específicas do NFe
|
|
23
|
+
*/
|
|
24
|
+
export type NFeConfig = BaseConfig & {
|
|
25
|
+
/**
|
|
26
|
+
* @param {number} ambiente - Define o ambiente que receberá os XML da NF-e:
|
|
27
|
+
* 1 = Produção
|
|
28
|
+
* 2 = Homologação
|
|
29
|
+
*/
|
|
30
|
+
ambiente: number;
|
|
31
|
+
/**
|
|
32
|
+
* @param {string} versaoDF - Versão (testado apenas com 4.00)
|
|
33
|
+
*/
|
|
34
|
+
versaoDF: string;
|
|
35
|
+
/**
|
|
36
|
+
* @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
|
|
37
|
+
*/
|
|
38
|
+
tokenCSC?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @param {string} idCSRT - Identificador do CSRT utilizado para montar o hash do CSRT (Utilizado para NFe e NFCe, padrão: 2 dígitos, ex: "02")
|
|
41
|
+
*/
|
|
42
|
+
idCSRT?: string;
|
|
43
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
|
|
18
|
+
export type GenericObject = Record<string, any>;
|
|
19
|
+
|
|
20
|
+
export interface SoapMethod {
|
|
21
|
+
[key: string]: {
|
|
22
|
+
method: string;
|
|
23
|
+
action: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export interface ServicesUrl {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
[key: string]: string
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface NFeServicosUrlType {
|
|
35
|
+
[estado: string]: {
|
|
36
|
+
[servico: string]: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface SaveXMLProps {
|
|
41
|
+
data: any;
|
|
42
|
+
fileName: string;
|
|
43
|
+
metodo: string;
|
|
44
|
+
path: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface SaveJSONProps {
|
|
47
|
+
data: any;
|
|
48
|
+
fileName: string;
|
|
49
|
+
metodo: string;
|
|
50
|
+
path: string | undefined;
|
|
51
|
+
}
|
|
@@ -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
|
+
|
|
18
|
+
export * from './BaseConfig';
|
|
19
|
+
export * from './CTeConfig';
|
|
20
|
+
export * from './LoadCertificate';
|
|
21
|
+
export * from './NFCeConfig';
|
|
22
|
+
export * from './NFeConfig';
|
|
23
|
+
export * from './NFSeConfig';
|
|
24
|
+
export * from './Utils';
|
|
25
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
|
|
18
|
+
export type ConsultaCTe = DFePorUltimoNSUCTe | DFePorNSUCTe
|
|
19
|
+
|
|
20
|
+
export interface DFePorUltimoNSUCTe {
|
|
21
|
+
/**
|
|
22
|
+
* @param {number} cUFAutor - Código da UF do Autor
|
|
23
|
+
*/
|
|
24
|
+
cUFAutor: number;
|
|
25
|
+
/**
|
|
26
|
+
* @param {string} CNPJ - CNPJ do interessado no DF-e
|
|
27
|
+
*/
|
|
28
|
+
CNPJ?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @param {string} CPF - CPF do interessado no DF-e
|
|
31
|
+
*/
|
|
32
|
+
CPF?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @param {any} distNSU - Grupo para distribuir DF-e de interesse
|
|
35
|
+
*/
|
|
36
|
+
distNSU: {
|
|
37
|
+
/**
|
|
38
|
+
* @param {number} ultNSU - Último NSU recebido pelo ator. Caso seja informado com zero, ou com um NSU muito antigo, a consulta retornará unicamente as informações resumidas e documentos fiscais eletrônicos que tenham sido recepcionados pelo Ambiente Nacional nos últimos 3 meses.
|
|
39
|
+
*/
|
|
40
|
+
ultNSU: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface DFePorNSUCTe {
|
|
45
|
+
/**
|
|
46
|
+
* @param {number} cUFAutor - Código da UF do Autor
|
|
47
|
+
*/
|
|
48
|
+
cUFAutor: number;
|
|
49
|
+
/**
|
|
50
|
+
* @param {string} CNPJ - CNPJ do interessado no DF-e
|
|
51
|
+
*/
|
|
52
|
+
CNPJ?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @param {string} CPF - CPF do interessado no DF-e
|
|
55
|
+
*/
|
|
56
|
+
CPF?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @param {any} consNSU - Grupo para consultar um DF-e a partir de um NSU específico
|
|
59
|
+
*/
|
|
60
|
+
consNSU: {
|
|
61
|
+
/**
|
|
62
|
+
* @param {string} NSU - Número Sequencial Único. Geralmente esta consulta será utilizada quando identificado que existe um documento a ser buscado através de consulta prévia.
|
|
63
|
+
*/
|
|
64
|
+
NSU: string;
|
|
65
|
+
};
|
|
66
|
+
}
|
package/src/cte/index.ts
ADDED
|
@@ -0,0 +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
|
+
|
|
18
|
+
export * from './CTEDistribuicaoDFe';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
|
|
18
|
+
// Export all types organized by scope
|
|
19
|
+
export * from './common';
|
|
20
|
+
export * from './cte';
|
|
21
|
+
export * from './nfce';
|
|
22
|
+
export * from './nfe';
|
|
23
|
+
export * from './nfse';
|
|
24
|
+
|
|
25
|
+
// Export all interfaces
|
|
26
|
+
export * from './interfaces';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Agent } from 'http';
|
|
2
|
+
|
|
3
|
+
export interface GerarConsultaImpl {
|
|
4
|
+
gerarConsulta(xmlConsulta: string, metodo: string, ambienteNacional?: boolean, versao?: string, mod?: string, rootTag?: boolean, tag?: string, dadosMsgTag?: string): Promise<{
|
|
5
|
+
xmlFormated: string;
|
|
6
|
+
agent: Agent;
|
|
7
|
+
webServiceUrl: string;
|
|
8
|
+
action: string;
|
|
9
|
+
}>
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenericObject } from '../../common';
|
|
2
|
+
import { AxiosResponse } from 'axios';
|
|
3
|
+
|
|
4
|
+
export interface SaveFilesImpl {
|
|
5
|
+
salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void
|
|
6
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Cancelamento,
|
|
3
|
+
CartaDeCorrecao,
|
|
4
|
+
CienciaDaOperacao,
|
|
5
|
+
ConfirmacaoDaOperacao,
|
|
6
|
+
ConsultaCTe,
|
|
7
|
+
ConsultaNFe,
|
|
8
|
+
DesconhecimentoDaOperacao,
|
|
9
|
+
DFePorChaveNFe,
|
|
10
|
+
DFePorNSU,
|
|
11
|
+
DFePorNSUCTe,
|
|
12
|
+
DFePorUltimoNSU,
|
|
13
|
+
DFePorUltimoNSUCTe,
|
|
14
|
+
DpsConsultaPorId,
|
|
15
|
+
EPEC,
|
|
16
|
+
EventoNFe,
|
|
17
|
+
GenericObject,
|
|
18
|
+
InutilizacaoData,
|
|
19
|
+
LayoutNFe,
|
|
20
|
+
NFe,
|
|
21
|
+
NFEGerarDanfeProps,
|
|
22
|
+
NFSe,
|
|
23
|
+
NFSeDistribuicaoPorNSU,
|
|
24
|
+
NFSeEventoConsulta,
|
|
25
|
+
NFSeEventoRequest,
|
|
26
|
+
NFSeEventosPorChave,
|
|
27
|
+
NFSeConsultaPorChave,
|
|
28
|
+
OperacaoNaoRealizada,
|
|
29
|
+
ProtNFe,
|
|
30
|
+
BaseConfig
|
|
31
|
+
} from '../..';
|
|
32
|
+
|
|
33
|
+
export interface TreeunfeDFeImpl {
|
|
34
|
+
NFE_LoadEnvironment({ config }: {
|
|
35
|
+
config: BaseConfig & { ambiente: number };
|
|
36
|
+
}): Promise<void>;
|
|
37
|
+
NFE_ConsultaStatusServico(): Promise<any>;
|
|
38
|
+
NFE_ConsultaProtocolo(chave: string): Promise<any>;
|
|
39
|
+
NFE_RecepcaoEvento(evento: EventoNFe): Promise<GenericObject[]>;
|
|
40
|
+
NFE_EventoPrevioDeEmissaoEmContingencia(evento: EPEC): Promise<GenericObject[]>;
|
|
41
|
+
NFE_Cancelamento(evento: Cancelamento): Promise<GenericObject[]>;
|
|
42
|
+
NFE_CienciaDaOperacao(evento: CienciaDaOperacao): Promise<GenericObject[]>;
|
|
43
|
+
NFE_ConfirmacaoDaOperacao(evento: ConfirmacaoDaOperacao): Promise<GenericObject[]>;
|
|
44
|
+
NFE_OperacaoNaoRealizada(evento: OperacaoNaoRealizada): Promise<GenericObject[]>;
|
|
45
|
+
NFE_CartaDeCorrecao(evento: CartaDeCorrecao): Promise<GenericObject[]>;
|
|
46
|
+
NFE_DesconhecimentoDaOperacao(evento: DesconhecimentoDaOperacao): Promise<GenericObject[]>;
|
|
47
|
+
NFE_DistribuicaoDFe(data: ConsultaNFe): Promise<GenericObject>;
|
|
48
|
+
NFE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSU): Promise<GenericObject>;
|
|
49
|
+
NFE_DistribuicaoDFePorNSU(data: DFePorNSU): Promise<GenericObject>;
|
|
50
|
+
NFE_DistribuicaoDFePorChave(data: DFePorChaveNFe): Promise<GenericObject>;
|
|
51
|
+
CTE_DistribuicaoDFe(data: ConsultaCTe): Promise<GenericObject>;
|
|
52
|
+
CTE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSUCTe): Promise<GenericObject>;
|
|
53
|
+
CTE_DistribuicaoDFePorNSU(data: DFePorNSUCTe): Promise<GenericObject>;
|
|
54
|
+
NFE_Autorizacao(data: NFe): Promise<{
|
|
55
|
+
NFe: LayoutNFe;
|
|
56
|
+
protNFe: ProtNFe;
|
|
57
|
+
}[]>;
|
|
58
|
+
NFCE_Autorizacao(data: NFe): Promise<{
|
|
59
|
+
NFe: LayoutNFe;
|
|
60
|
+
protNFe: ProtNFe;
|
|
61
|
+
}[]>;
|
|
62
|
+
NFE_Inutilizacao(data: InutilizacaoData): Promise<any>;
|
|
63
|
+
NFE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
|
|
64
|
+
message: string;
|
|
65
|
+
success: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
NFCE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
|
|
68
|
+
message: string;
|
|
69
|
+
success: boolean;
|
|
70
|
+
}>;
|
|
71
|
+
NFSE_LoadEnvironment({ config }: {
|
|
72
|
+
config: BaseConfig & { ambiente: number };
|
|
73
|
+
}): Promise<void>;
|
|
74
|
+
NFSE_Autorizacao(data: NFSe): Promise<any>;
|
|
75
|
+
NFSE_Consulta(data: NFSeConsultaPorChave): Promise<any>;
|
|
76
|
+
NFSE_ConsultaDPS(data: DpsConsultaPorId): Promise<any>;
|
|
77
|
+
NFSE_RegistrarEvento(data: NFSeEventoRequest): Promise<any>;
|
|
78
|
+
NFSE_ConsultarEvento(data: NFSeEventoConsulta): Promise<any>;
|
|
79
|
+
NFSE_DistribuicaoPorNSU(data: NFSeDistribuicaoPorNSU): Promise<any>;
|
|
80
|
+
NFSE_EventosPorChave(data: NFSeEventosPorChave): Promise<any>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Cancelamento,
|
|
3
|
+
CartaDeCorrecao,
|
|
4
|
+
CienciaDaOperacao,
|
|
5
|
+
ConfirmacaoDaOperacao,
|
|
6
|
+
ConsultaCTe,
|
|
7
|
+
ConsultaNFe,
|
|
8
|
+
DesconhecimentoDaOperacao,
|
|
9
|
+
DFePorChaveNFe,
|
|
10
|
+
DFePorNSU,
|
|
11
|
+
DFePorNSUCTe,
|
|
12
|
+
DFePorUltimoNSU,
|
|
13
|
+
DFePorUltimoNSUCTe,
|
|
14
|
+
DpsConsultaPorId,
|
|
15
|
+
EPEC,
|
|
16
|
+
EventoNFe,
|
|
17
|
+
GenericObject,
|
|
18
|
+
InutilizacaoData,
|
|
19
|
+
LayoutNFe,
|
|
20
|
+
NFe,
|
|
21
|
+
NFEGerarDanfeProps,
|
|
22
|
+
NFSe,
|
|
23
|
+
NFSeDistribuicaoPorNSU,
|
|
24
|
+
NFSeEventoConsulta,
|
|
25
|
+
NFSeEventoRequest,
|
|
26
|
+
NFSeEventosPorChave,
|
|
27
|
+
NFSeConsultaPorChave,
|
|
28
|
+
NFSeConsultaAliquota,
|
|
29
|
+
NFSeConsultaHistoricoAliquotas,
|
|
30
|
+
NFSeConsultaBeneficio,
|
|
31
|
+
NFSeConsultaConvenio,
|
|
32
|
+
NFSeConsultaRegimesEspeciais,
|
|
33
|
+
NFSeAlteracaoBeneficioMunicipal,
|
|
34
|
+
NFSeAlteracaoRetencoes,
|
|
35
|
+
OperacaoNaoRealizada,
|
|
36
|
+
ProtNFe,
|
|
37
|
+
BaseConfig
|
|
38
|
+
} from '../..';
|
|
39
|
+
|
|
40
|
+
export interface TreeunfeDFeServiceImpl {
|
|
41
|
+
NFE_LoadEnvironment({ config }: {
|
|
42
|
+
config: BaseConfig & { ambiente: number };
|
|
43
|
+
}): Promise<void>;
|
|
44
|
+
NFE_ConsultaStatusServico(): Promise<any>;
|
|
45
|
+
NFE_ConsultaProtocolo(chave: string): Promise<any>;
|
|
46
|
+
NFE_RecepcaoEvento(evento: EventoNFe): Promise<GenericObject[]>;
|
|
47
|
+
NFE_EventoPrevioDeEmissaoEmContingencia(evento: EPEC): Promise<GenericObject[]>;
|
|
48
|
+
NFE_Cancelamento(evento: Cancelamento): Promise<GenericObject[]>;
|
|
49
|
+
NFE_CienciaDaOperacao(evento: CienciaDaOperacao): Promise<GenericObject[]>;
|
|
50
|
+
NFE_ConfirmacaoDaOperacao(evento: ConfirmacaoDaOperacao): Promise<GenericObject[]>;
|
|
51
|
+
NFE_OperacaoNaoRealizada(evento: OperacaoNaoRealizada): Promise<GenericObject[]>;
|
|
52
|
+
NFE_CartaDeCorrecao(evento: CartaDeCorrecao): Promise<GenericObject[]>;
|
|
53
|
+
NFE_DesconhecimentoDaOperacao(evento: DesconhecimentoDaOperacao): Promise<GenericObject[]>;
|
|
54
|
+
NFE_DistribuicaoDFe(data: ConsultaNFe): Promise<GenericObject>;
|
|
55
|
+
NFE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSU): Promise<GenericObject>;
|
|
56
|
+
NFE_DistribuicaoDFePorNSU(data: DFePorNSU): Promise<GenericObject>;
|
|
57
|
+
NFE_DistribuicaoDFePorChave(data: DFePorChaveNFe): Promise<GenericObject>;
|
|
58
|
+
CTE_DistribuicaoDFe(data: ConsultaCTe): Promise<GenericObject>;
|
|
59
|
+
CTE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSUCTe): Promise<GenericObject>;
|
|
60
|
+
CTE_DistribuicaoDFePorNSU(data: DFePorNSUCTe): Promise<GenericObject>;
|
|
61
|
+
NFE_Autorizacao(data: NFe): Promise<{
|
|
62
|
+
NFe: LayoutNFe;
|
|
63
|
+
protNFe: ProtNFe;
|
|
64
|
+
}[]>;
|
|
65
|
+
NFCE_Autorizacao(data: NFe): Promise<{
|
|
66
|
+
NFe: LayoutNFe;
|
|
67
|
+
protNFe: ProtNFe;
|
|
68
|
+
}[]>;
|
|
69
|
+
NFE_Inutilizacao(data: InutilizacaoData): Promise<any>;
|
|
70
|
+
NFE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
|
|
71
|
+
message: string;
|
|
72
|
+
success: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
NFCE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
|
|
75
|
+
message: string;
|
|
76
|
+
success: boolean;
|
|
77
|
+
}>;
|
|
78
|
+
NFSE_LoadEnvironment({ config }: {
|
|
79
|
+
config: BaseConfig & { ambiente: number };
|
|
80
|
+
}): Promise<void>;
|
|
81
|
+
NFSE_Autorizacao(data: NFSe): Promise<any>;
|
|
82
|
+
NFSE_Consulta(data: NFSeConsultaPorChave): Promise<any>;
|
|
83
|
+
NFSE_ConsultaDPS(data: DpsConsultaPorId): Promise<any>;
|
|
84
|
+
NFSE_RegistrarEvento(data: NFSeEventoRequest): Promise<any>;
|
|
85
|
+
NFSE_ConsultarEvento(data: NFSeEventoConsulta): Promise<any>;
|
|
86
|
+
NFSE_DistribuicaoPorNSU(data: NFSeDistribuicaoPorNSU): Promise<any>;
|
|
87
|
+
NFSE_EventosPorChave(data: NFSeEventosPorChave): Promise<any>;
|
|
88
|
+
NFSE_ConsultarAliquota(data: NFSeConsultaAliquota): Promise<any>;
|
|
89
|
+
NFSE_ConsultarHistoricoAliquotas(data: NFSeConsultaHistoricoAliquotas): Promise<any>;
|
|
90
|
+
NFSE_ConsultarBeneficio(data: NFSeConsultaBeneficio): Promise<any>;
|
|
91
|
+
NFSE_ConsultarConvenio(data: NFSeConsultaConvenio): Promise<any>;
|
|
92
|
+
NFSE_ConsultarRegimesEspeciais(data: NFSeConsultaRegimesEspeciais): Promise<any>;
|
|
93
|
+
NFSE_AlterarBeneficioMunicipal(data: NFSeAlteracaoBeneficioMunicipal): Promise<any>;
|
|
94
|
+
NFSE_AlterarRetencoes(data: NFSeAlteracaoRetencoes): Promise<any>;
|
|
95
|
+
}
|
|
@@ -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
|
+
|
|
18
|
+
export * from './GerarConsultaImpl';
|
|
19
|
+
export * from './HttpClient';
|
|
20
|
+
export * from './SaveFilesImpl';
|
|
21
|
+
export * from './TreeunfeDFeImpl';
|
|
22
|
+
export * from './TreeunfeDFeServiceImpl';
|
|
23
|
+
|
|
@@ -0,0 +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
|
+
|
|
18
|
+
export * from './CTEDistribuicaoDFeServiceImpl';
|
|
@@ -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
|
+
|
|
18
|
+
// Export all interfaces organized by scope
|
|
19
|
+
export * from './common';
|
|
20
|
+
export * from './cte';
|
|
21
|
+
export * from './nfce';
|
|
22
|
+
export * from './nfe';
|
|
23
|
+
export * from './nfse';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ProtNFe } from '../..';
|
|
2
|
+
|
|
3
|
+
export interface NFCERetornoAutorizacaoServiceImpl {
|
|
4
|
+
getXmlRetorno({ tipoEmissao, nRec, protNFe, xmlNFe }: {
|
|
5
|
+
tipoEmissao: number;
|
|
6
|
+
nRec?: string;
|
|
7
|
+
protNFe?: ProtNFe[];
|
|
8
|
+
xmlNFe: string[];
|
|
9
|
+
}): Promise<{
|
|
10
|
+
success: boolean;
|
|
11
|
+
message: any;
|
|
12
|
+
data: string[];
|
|
13
|
+
}>
|
|
14
|
+
}
|
|
@@ -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
|
+
|
|
18
|
+
export * from './NFCEAutorizacaoServiceImpl';
|
|
19
|
+
export * from './NFCERetornoAutorizacaoServiceImpl';
|
|
20
|
+
|