@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,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configurações base comuns a todos os packages
|
|
3
|
+
*/
|
|
4
|
+
export type BaseConfig = {
|
|
5
|
+
/**
|
|
6
|
+
* @param {boolean} baixarXMLDistribuicao - Define se os XMLs retornados pelo método de distribuição serão salvos
|
|
7
|
+
*/
|
|
8
|
+
baixarXMLDistribuicao?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @param {string} pathXMLDistribuicao - Define onde os XMLs retornados pelo método de distribuição serão salvos
|
|
11
|
+
*/
|
|
12
|
+
pathXMLDistribuicao?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @param {boolean} armazenarXMLAutorizacao - Define se o XML gerado na emissão deve ser salvo
|
|
15
|
+
*/
|
|
16
|
+
armazenarXMLAutorizacao?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @param {string} pathXMLAutorizacao - Define onde o XML gerado na emissão sera salvo
|
|
19
|
+
*/
|
|
20
|
+
pathXMLAutorizacao?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @param {boolean} armazenarXMLConsulta - Define se os XMLs de consulta (gerados pela lib) e Retorno (retornados pela SEFAZ) serão salvos
|
|
23
|
+
*/
|
|
24
|
+
armazenarXMLConsulta?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @param {string} pathXMLConsulta - Define onde os XMLs de consulta (gerados pela lib) e os XML de retorno (retornados pela SEFAZ) serão salvos
|
|
27
|
+
*/
|
|
28
|
+
pathXMLConsulta?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @param {boolean} armazenarXMLConsultaComTagSoap - Define se os XMLs de consulta (gerados pela lib) devem ser armazenados com a tag soap
|
|
31
|
+
*/
|
|
32
|
+
armazenarXMLConsultaComTagSoap?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @param {boolean} armazenarXMLRetorno - Define se os XMLs de consulta (gerados pela lib) e Retorno (retornados pela SEFAZ) serão salvos
|
|
35
|
+
*/
|
|
36
|
+
armazenarXMLRetorno?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @param {string} pathXMLRetorno - Define onde os XMLs de consulta (gerados pela lib) e os XML de retorno (retornados pela SEFAZ) serão salvos
|
|
39
|
+
*/
|
|
40
|
+
pathXMLRetorno?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @param {boolean} armazenarRetornoEmJSON - Define se o retorno da SEFAZ deverá ser salvo em json
|
|
43
|
+
*/
|
|
44
|
+
armazenarRetornoEmJSON?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* @param {string} pathRetornoEmJSON - Define onde o arquivo JSON gerado a partir do retorno da SEFAZ será salvo
|
|
47
|
+
*/
|
|
48
|
+
pathRetornoEmJSON?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @param {boolean} incluirTimestampNoNomeDosArquivos - Define se deverão ser incluidos data e hora no fim do nome dos arquivos
|
|
51
|
+
* (Aplicados apenas nos arquivos do XMLRetorno e XMLConsulta)
|
|
52
|
+
*/
|
|
53
|
+
incluirTimestampNoNomeDosArquivos?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @param {boolean} exibirMarcaDaguaDanfe - Define se a marca d'água de ver ser exibida ou não na DANFE
|
|
56
|
+
*/
|
|
57
|
+
exibirMarcaDaguaDanfe?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @param {string} pathCertificado - Define de onde o certificado digital será importado
|
|
60
|
+
*/
|
|
61
|
+
pathCertificado: string;
|
|
62
|
+
/**
|
|
63
|
+
* @param {string} senhaCertificado - Senha do certificado digital
|
|
64
|
+
*/
|
|
65
|
+
senhaCertificado: string;
|
|
66
|
+
/**
|
|
67
|
+
* @param {string} UF - UF da pessoa vinculada ao certificado digital
|
|
68
|
+
*/
|
|
69
|
+
UF: string;
|
|
70
|
+
/**
|
|
71
|
+
* @param {string} CPFCNPJ - CPF/CNPJ da pessoa vinculada ao certificado digital
|
|
72
|
+
*/
|
|
73
|
+
CPFCNPJ: string;
|
|
74
|
+
/**
|
|
75
|
+
* @param {obj} connection - Define opções de conexão aos webservices da SEFAZ
|
|
76
|
+
*/
|
|
77
|
+
connection?: {
|
|
78
|
+
/**
|
|
79
|
+
* @param {number} timeout - Define o tempo de espera por um retorno da SEFAZ
|
|
80
|
+
*/
|
|
81
|
+
timeout?: number;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @param {obj} log - Define opções de log
|
|
85
|
+
*/
|
|
86
|
+
log?: {
|
|
87
|
+
exibirLogNoConsole?: boolean;
|
|
88
|
+
armazenarLogs?: boolean;
|
|
89
|
+
pathLogs?: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @param {boolean} useOpenSSL - Define se a lib deve utilizar métodos que fazem uso do OpenSSL ou não
|
|
93
|
+
*/
|
|
94
|
+
useOpenSSL?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* @param {validateSchemaJavaBased | validateSchemaJsBased} useForSchemaValidation - Define se a lib deve utilizar um método de validação de schema
|
|
97
|
+
* baseado em JAVA ou em JS puro.
|
|
98
|
+
* Útil para utilização em ambientes sem JAVA (Ex: Lambda)
|
|
99
|
+
*/
|
|
100
|
+
useForSchemaValidation?: 'validateSchemaJavaBased' | 'validateSchemaJsBased';
|
|
101
|
+
};
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=BaseConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseConfig.js","sourceRoot":"","sources":["../../../src/common/BaseConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseConfig } from './BaseConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Configuração específica para o package CTe
|
|
4
|
+
* Estende BaseConfig com propriedades específicas do CTe
|
|
5
|
+
*/
|
|
6
|
+
export type CTeConfig = BaseConfig & {
|
|
7
|
+
/**
|
|
8
|
+
* @param {number} ambiente - Define o ambiente que receberá as requisições do CTe:
|
|
9
|
+
* 1 = Produção
|
|
10
|
+
* 2 = Homologação
|
|
11
|
+
*/
|
|
12
|
+
ambiente: number;
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} versaoDF - Versão do CTe
|
|
15
|
+
*/
|
|
16
|
+
versaoDF?: string;
|
|
17
|
+
};
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=CTeConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTeConfig.js","sourceRoot":"","sources":["../../../src/common/CTeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadCertificate.js","sourceRoot":"","sources":["../../../src/common/LoadCertificate.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseConfig } from './BaseConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Configuração específica para o package NFCe
|
|
4
|
+
* Estende BaseConfig com propriedades específicas do NFCe (mesmas do NFe)
|
|
5
|
+
*/
|
|
6
|
+
export type NFCeConfig = BaseConfig & {
|
|
7
|
+
/**
|
|
8
|
+
* @param {number} ambiente - Define o ambiente que receberá os XML da NFC-e:
|
|
9
|
+
* 1 = Produção
|
|
10
|
+
* 2 = Homologação
|
|
11
|
+
*/
|
|
12
|
+
ambiente: number;
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} versaoDF - Versão (testado apenas com 4.00)
|
|
15
|
+
*/
|
|
16
|
+
versaoDF: string;
|
|
17
|
+
/**
|
|
18
|
+
* @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
|
|
19
|
+
*/
|
|
20
|
+
tokenCSC?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @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")
|
|
23
|
+
*/
|
|
24
|
+
idCSRT?: string;
|
|
25
|
+
};
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=NFCeConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFCeConfig.js","sourceRoot":"","sources":["../../../src/common/NFCeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseConfig } from './BaseConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Configuração específica para o package NFSe
|
|
4
|
+
* Estende BaseConfig com propriedades específicas do NFSe
|
|
5
|
+
*/
|
|
6
|
+
export type NFSeConfig = BaseConfig & {
|
|
7
|
+
/**
|
|
8
|
+
* @param {number} ambiente - Define o ambiente que receberá as requisições da NFSe:
|
|
9
|
+
* 1 = Produção
|
|
10
|
+
* 2 = Homologação (Produção Restrita)
|
|
11
|
+
*/
|
|
12
|
+
ambiente: number;
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} versao - Versão da API NFSe (padrão: v1)
|
|
15
|
+
*/
|
|
16
|
+
versao?: string;
|
|
17
|
+
};
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=NFSeConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFSeConfig.js","sourceRoot":"","sources":["../../../src/common/NFSeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseConfig } from './BaseConfig';
|
|
2
|
+
/**
|
|
3
|
+
* Configuração específica para o package NFe
|
|
4
|
+
* Estende BaseConfig com propriedades específicas do NFe
|
|
5
|
+
*/
|
|
6
|
+
export type NFeConfig = BaseConfig & {
|
|
7
|
+
/**
|
|
8
|
+
* @param {number} ambiente - Define o ambiente que receberá os XML da NF-e:
|
|
9
|
+
* 1 = Produção
|
|
10
|
+
* 2 = Homologação
|
|
11
|
+
*/
|
|
12
|
+
ambiente: number;
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} versaoDF - Versão (testado apenas com 4.00)
|
|
15
|
+
*/
|
|
16
|
+
versaoDF: string;
|
|
17
|
+
/**
|
|
18
|
+
* @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
|
|
19
|
+
*/
|
|
20
|
+
tokenCSC?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @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")
|
|
23
|
+
*/
|
|
24
|
+
idCSRT?: string;
|
|
25
|
+
};
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=NFeConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NFeConfig.js","sourceRoot":"","sources":["../../../src/common/NFeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type GenericObject = Record<string, any>;
|
|
2
|
+
export interface SoapMethod {
|
|
3
|
+
[key: string]: {
|
|
4
|
+
method: string;
|
|
5
|
+
action: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface ServicesUrl {
|
|
9
|
+
[key: string]: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface NFeServicosUrlType {
|
|
14
|
+
[estado: string]: {
|
|
15
|
+
[servico: string]: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface SaveXMLProps {
|
|
19
|
+
data: any;
|
|
20
|
+
fileName: string;
|
|
21
|
+
metodo: string;
|
|
22
|
+
path: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface SaveJSONProps {
|
|
25
|
+
data: any;
|
|
26
|
+
fileName: string;
|
|
27
|
+
metodo: string;
|
|
28
|
+
path: string | undefined;
|
|
29
|
+
}
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../src/common/Utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 * from './BaseConfig';
|
|
18
|
+
export * from './CTeConfig';
|
|
19
|
+
export * from './LoadCertificate';
|
|
20
|
+
export * from './NFCeConfig';
|
|
21
|
+
export * from './NFeConfig';
|
|
22
|
+
export * from './NFSeConfig';
|
|
23
|
+
export * from './Utils';
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export type ConsultaCTe = DFePorUltimoNSUCTe | DFePorNSUCTe;
|
|
2
|
+
export interface DFePorUltimoNSUCTe {
|
|
3
|
+
/**
|
|
4
|
+
* @param {number} cUFAutor - Código da UF do Autor
|
|
5
|
+
*/
|
|
6
|
+
cUFAutor: number;
|
|
7
|
+
/**
|
|
8
|
+
* @param {string} CNPJ - CNPJ do interessado no DF-e
|
|
9
|
+
*/
|
|
10
|
+
CNPJ?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @param {string} CPF - CPF do interessado no DF-e
|
|
13
|
+
*/
|
|
14
|
+
CPF?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @param {any} distNSU - Grupo para distribuir DF-e de interesse
|
|
17
|
+
*/
|
|
18
|
+
distNSU: {
|
|
19
|
+
/**
|
|
20
|
+
* @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.
|
|
21
|
+
*/
|
|
22
|
+
ultNSU: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface DFePorNSUCTe {
|
|
26
|
+
/**
|
|
27
|
+
* @param {number} cUFAutor - Código da UF do Autor
|
|
28
|
+
*/
|
|
29
|
+
cUFAutor: number;
|
|
30
|
+
/**
|
|
31
|
+
* @param {string} CNPJ - CNPJ do interessado no DF-e
|
|
32
|
+
*/
|
|
33
|
+
CNPJ?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @param {string} CPF - CPF do interessado no DF-e
|
|
36
|
+
*/
|
|
37
|
+
CPF?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @param {any} consNSU - Grupo para consultar um DF-e a partir de um NSU específico
|
|
40
|
+
*/
|
|
41
|
+
consNSU: {
|
|
42
|
+
/**
|
|
43
|
+
* @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.
|
|
44
|
+
*/
|
|
45
|
+
NSU: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=CTEDistribuicaoDFe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTEDistribuicaoDFe.js","sourceRoot":"","sources":["../../../src/cte/CTEDistribuicaoDFe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CTEDistribuicaoDFe';
|
|
@@ -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
|
+
export * from './CTEDistribuicaoDFe';
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cte/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,sBAAsB,CAAC"}
|
package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/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
|
+
// Export all types organized by scope
|
|
18
|
+
export * from './common';
|
|
19
|
+
export * from './cte';
|
|
20
|
+
export * from './nfce';
|
|
21
|
+
export * from './nfe';
|
|
22
|
+
export * from './nfse';
|
|
23
|
+
// Export all interfaces
|
|
24
|
+
export * from './interfaces';
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sCAAsC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AAEvB,wBAAwB;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Agent } from 'http';
|
|
2
|
+
export interface GerarConsultaImpl {
|
|
3
|
+
gerarConsulta(xmlConsulta: string, metodo: string, ambienteNacional?: boolean, versao?: string, mod?: string, rootTag?: boolean, tag?: string, dadosMsgTag?: string): Promise<{
|
|
4
|
+
xmlFormated: string;
|
|
5
|
+
agent: Agent;
|
|
6
|
+
webServiceUrl: string;
|
|
7
|
+
action: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GerarConsultaImpl.js","sourceRoot":"","sources":["../../../../src/interfaces/common/GerarConsultaImpl.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpClient.js","sourceRoot":"","sources":["../../../../src/interfaces/common/HttpClient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GenericObject } from '../../common';
|
|
2
|
+
import { AxiosResponse } from 'axios';
|
|
3
|
+
export interface SaveFilesImpl {
|
|
4
|
+
salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaveFilesImpl.js","sourceRoot":"","sources":["../../../../src/interfaces/common/SaveFilesImpl.ts"],"names":[],"mappings":""}
|