@treeunfe/nfe 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.d.ts +12 -0
  2. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.js +18 -0
  3. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTe.js.map +1 -0
  4. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.d.ts +12 -0
  5. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.js +18 -0
  6. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/adapters/CTeHandler.js.map +1 -0
  7. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.d.ts +3 -0
  8. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js +23 -0
  9. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/index.js.map +1 -0
  10. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.d.ts +7 -0
  11. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.js +10 -0
  12. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFe.js.map +1 -0
  13. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.d.ts +8 -0
  14. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js +8 -0
  15. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js.map +1 -0
  16. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.d.ts +8 -0
  17. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js +8 -0
  18. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js.map +1 -0
  19. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.d.ts +3 -0
  20. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.js +20 -0
  21. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/operations/index.js.map +1 -0
  22. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.d.ts +8 -0
  23. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js +8 -0
  24. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorNSU.js.map +1 -0
  25. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.d.ts +8 -0
  26. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js +8 -0
  27. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFePorUltNSU.js.map +1 -0
  28. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.d.ts +18 -0
  29. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js +115 -0
  30. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/CTEDistribuicaoDFeService.js.map +1 -0
  31. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
  32. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.js +131 -0
  33. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/CTEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
  34. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.d.ts +3 -0
  35. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.js +20 -0
  36. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/cte/src/services/index.js.map +1 -0
  37. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.d.ts +2 -0
  38. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.js +19 -0
  39. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/danfe/src/index.js.map +1 -0
  40. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.d.ts +20 -0
  41. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.js +18 -0
  42. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCe.js.map +1 -0
  43. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.d.ts +20 -0
  44. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.js +18 -0
  45. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/adapters/NFCeHandler.js.map +1 -0
  46. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.d.ts +3 -0
  47. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.js +23 -0
  48. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/index.js.map +1 -0
  49. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.d.ts +7 -0
  50. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.js +10 -0
  51. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCEAutorizacao/NFCEAutorizacao.js.map +1 -0
  52. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.d.ts +17 -0
  53. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.js +10 -0
  54. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/NFCERetornoAutorizacao/NFCERetornoAutorizacao.js.map +1 -0
  55. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.d.ts +2 -0
  56. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.js +19 -0
  57. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/operations/index.js.map +1 -0
  58. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.d.ts +32 -0
  59. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.js +421 -0
  60. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/NFCEAutorizacaoService.js.map +1 -0
  61. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.d.ts +3 -0
  62. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.js +38 -0
  63. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCEAutorizacao/util/NFCEQRCode.js.map +1 -0
  64. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.d.ts +52 -0
  65. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.js +141 -0
  66. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/NFCERetornoAutorizacao/NFCERetornoAutorizacaoService.js.map +1 -0
  67. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.d.ts +2 -0
  68. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.js +19 -0
  69. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfce/src/services/index.js.map +1 -0
  70. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.d.ts +65 -0
  71. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.js +93 -0
  72. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSe.js.map +1 -0
  73. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.d.ts +65 -0
  74. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.js +93 -0
  75. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/adapters/NFSeHandler.js.map +1 -0
  76. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.d.ts +3 -0
  77. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.js +23 -0
  78. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/index.js.map +1 -0
  79. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.d.ts +14 -0
  80. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.js +10 -0
  81. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeAutorizacao/NFSeAutorizacao.js.map +1 -0
  82. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.d.ts +9 -0
  83. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.js +13 -0
  84. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeConsulta/NFSeConsulta.js.map +1 -0
  85. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.d.ts +9 -0
  86. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.js +13 -0
  87. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeDistribuicao/NFSeDistribuicao.js.map +1 -0
  88. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.d.ts +9 -0
  89. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.js +13 -0
  90. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeEventos/NFSeEventos.js.map +1 -0
  91. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.d.ts +14 -0
  92. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.js +28 -0
  93. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/NFSeParametrosMunicipais/NFSeParametrosMunicipais.js.map +1 -0
  94. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.d.ts +5 -0
  95. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.js +22 -0
  96. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/operations/index.js.map +1 -0
  97. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.d.ts +35 -0
  98. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.js +261 -0
  99. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeAutorizacao/NFSeAutorizacaoService.js.map +1 -0
  100. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.d.ts +16 -0
  101. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.js +38 -0
  102. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeConsulta/NFSeConsultaService.js.map +1 -0
  103. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.d.ts +16 -0
  104. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.js +251 -0
  105. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeDistribuicao/NFSeDistribuicaoService.js.map +1 -0
  106. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.d.ts +36 -0
  107. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.js +374 -0
  108. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeEventos/NFSeEventosService.js.map +1 -0
  109. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.d.ts +20 -0
  110. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.js +104 -0
  111. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/NFSeParametrosMunicipais/NFSeParametrosMunicipaisService.js.map +1 -0
  112. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.d.ts +5 -0
  113. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.js +22 -0
  114. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/nfse/src/services/index.js.map +1 -0
  115. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
  116. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.js +2 -0
  117. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/GerarConsultaImpl.js.map +1 -0
  118. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.d.ts +9 -0
  119. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.js +2 -0
  120. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/HttpClient.js.map +1 -0
  121. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
  122. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.js +2 -0
  123. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/SaveFilesImpl.js.map +1 -0
  124. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.d.ts +50 -0
  125. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.js +2 -0
  126. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeImpl.js.map +1 -0
  127. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +57 -0
  128. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.js +2 -0
  129. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/TreeunfeDFeServiceImpl.js.map +1 -0
  130. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.d.ts +5 -0
  131. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.js +22 -0
  132. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/common/index.js.map +1 -0
  133. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
  134. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js +2 -0
  135. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js.map +1 -0
  136. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.d.ts +1 -0
  137. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.js +18 -0
  138. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/cte/index.js.map +1 -0
  139. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.d.ts +5 -0
  140. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.js +23 -0
  141. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/index.js.map +1 -0
  142. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
  143. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js +2 -0
  144. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js.map +1 -0
  145. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
  146. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js +2 -0
  147. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js.map +1 -0
  148. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.d.ts +2 -0
  149. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.js +19 -0
  150. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfce/index.js.map +1 -0
  151. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
  152. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js +2 -0
  153. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js.map +1 -0
  154. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
  155. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js +2 -0
  156. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js.map +1 -0
  157. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
  158. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js +2 -0
  159. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js.map +1 -0
  160. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
  161. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js +2 -0
  162. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js.map +1 -0
  163. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
  164. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js +2 -0
  165. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js.map +1 -0
  166. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
  167. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.js +2 -0
  168. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEStatusServicoServiceImpl.js.map +1 -0
  169. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
  170. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js +2 -0
  171. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js.map +1 -0
  172. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.d.ts +7 -0
  173. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.js +24 -0
  174. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfe/index.js.map +1 -0
  175. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
  176. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js +2 -0
  177. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js.map +1 -0
  178. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
  179. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.js +2 -0
  180. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeConsultaServiceImpl.js.map +1 -0
  181. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
  182. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js +2 -0
  183. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js.map +1 -0
  184. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
  185. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.js +2 -0
  186. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeEventosServiceImpl.js.map +1 -0
  187. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
  188. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js +18 -0
  189. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js.map +1 -0
  190. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.d.ts +5 -0
  191. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.js +22 -0
  192. package/.rollup.cache/home/juniortrojilio/github.com/treeunfe/treeunfe-dfe/packages/treeunfe-dfe/src/interfaces/nfse/index.js.map +1 -0
  193. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.d.ts +52 -0
  194. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.js +340 -0
  195. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/NFe.js.map +1 -0
  196. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.d.ts +1 -0
  197. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.js +18 -0
  198. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/adapters/index.js.map +1 -0
  199. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.d.ts +4 -0
  200. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js +25 -0
  201. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/index.js.map +1 -0
  202. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.d.ts +7 -0
  203. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.js +10 -0
  204. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEAutorizacao/NFEAutorizacao.js.map +1 -0
  205. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.d.ts +7 -0
  206. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.js +10 -0
  207. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.js.map +1 -0
  208. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.d.ts +7 -0
  209. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.js +10 -0
  210. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.js.map +1 -0
  211. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +7 -0
  212. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js +10 -0
  213. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js.map +1 -0
  214. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +7 -0
  215. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js +10 -0
  216. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js.map +1 -0
  217. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +7 -0
  218. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js +10 -0
  219. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js.map +1 -0
  220. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
  221. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.js +130 -0
  222. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
  223. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.d.ts +7 -0
  224. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.js +10 -0
  225. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEInutilizacao/NFEInutilizacao.js.map +1 -0
  226. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.d.ts +7 -0
  227. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.js +10 -0
  228. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECancelamento.js.map +1 -0
  229. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.d.ts +7 -0
  230. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.js +10 -0
  231. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.js.map +1 -0
  232. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.d.ts +7 -0
  233. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.js +10 -0
  234. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.js.map +1 -0
  235. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.d.ts +7 -0
  236. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.js +10 -0
  237. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.js.map +1 -0
  238. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.d.ts +7 -0
  239. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.js +10 -0
  240. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.js.map +1 -0
  241. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.d.ts +7 -0
  242. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.js +10 -0
  243. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEEpec.js.map +1 -0
  244. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.d.ts +7 -0
  245. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.js +10 -0
  246. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.js.map +1 -0
  247. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.d.ts +7 -0
  248. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.js +10 -0
  249. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.js.map +1 -0
  250. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.d.ts +17 -0
  251. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.js +10 -0
  252. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.js.map +1 -0
  253. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.d.ts +7 -0
  254. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.js +10 -0
  255. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/NFEStatusServico/NFEStatusServico.js.map +1 -0
  256. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.d.ts +17 -0
  257. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.js +34 -0
  258. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/operations/index.js.map +1 -0
  259. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.d.ts +30 -0
  260. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.js +373 -0
  261. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.js.map +1 -0
  262. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.d.ts +8 -0
  263. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.js +40 -0
  264. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.js.map +1 -0
  265. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +8 -0
  266. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js +8 -0
  267. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.js.map +1 -0
  268. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +8 -0
  269. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js +8 -0
  270. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.js.map +1 -0
  271. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +8 -0
  272. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js +8 -0
  273. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.js.map +1 -0
  274. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +17 -0
  275. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.js +116 -0
  276. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.js.map +1 -0
  277. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
  278. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.js +115 -0
  279. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.js.map +1 -0
  280. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.d.ts +21 -0
  281. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.js +87 -0
  282. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.js.map +1 -0
  283. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.d.ts +8 -0
  284. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.js +8 -0
  285. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.js.map +1 -0
  286. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.d.ts +8 -0
  287. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.js +8 -0
  288. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.js.map +1 -0
  289. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.d.ts +8 -0
  290. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.js +8 -0
  291. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.js.map +1 -0
  292. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.d.ts +8 -0
  293. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.js +8 -0
  294. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.js.map +1 -0
  295. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.d.ts +8 -0
  296. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.js +8 -0
  297. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.js.map +1 -0
  298. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.d.ts +8 -0
  299. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.js +8 -0
  300. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEEpecService.js.map +1 -0
  301. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.d.ts +8 -0
  302. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.js +8 -0
  303. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.js.map +1 -0
  304. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.d.ts +39 -0
  305. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.js +282 -0
  306. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.js.map +1 -0
  307. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.d.ts +48 -0
  308. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.js +150 -0
  309. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.js.map +1 -0
  310. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.d.ts +8 -0
  311. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.js +44 -0
  312. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/NFEStatusServico/NFEStatusServicoService.js.map +1 -0
  313. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.d.ts +17 -0
  314. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.js +34 -0
  315. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/src/services/index.js.map +1 -0
  316. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/nfe/dist/tsconfig.tsbuildinfo +1 -0
  317. package/.turbo/turbo-build.log +15 -0
  318. package/CHANGELOG.md +36 -0
  319. package/LICENSE.txt +221 -0
  320. package/dist/index.cjs +10795 -0
  321. package/dist/index.cjs.map +1 -0
  322. package/dist/index.mjs +10753 -0
  323. package/dist/index.mjs.map +1 -0
  324. package/dist/src/adapters/NFe.d.ts +52 -0
  325. package/dist/src/adapters/index.d.ts +1 -0
  326. package/dist/src/index.d.ts +4 -0
  327. package/dist/src/operations/NFEAutorizacao/NFEAutorizacao.d.ts +7 -0
  328. package/dist/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.d.ts +7 -0
  329. package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.d.ts +7 -0
  330. package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +7 -0
  331. package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +7 -0
  332. package/dist/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +7 -0
  333. package/dist/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
  334. package/dist/src/operations/NFEInutilizacao/NFEInutilizacao.d.ts +7 -0
  335. package/dist/src/operations/NFERecepcaoEvento/NFECancelamento.d.ts +7 -0
  336. package/dist/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.d.ts +7 -0
  337. package/dist/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.d.ts +7 -0
  338. package/dist/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.d.ts +7 -0
  339. package/dist/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.d.ts +7 -0
  340. package/dist/src/operations/NFERecepcaoEvento/NFEEpec.d.ts +7 -0
  341. package/dist/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.d.ts +7 -0
  342. package/dist/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.d.ts +7 -0
  343. package/dist/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.d.ts +17 -0
  344. package/dist/src/operations/NFEStatusServico/NFEStatusServico.d.ts +7 -0
  345. package/dist/src/operations/index.d.ts +17 -0
  346. package/dist/src/services/NFEAutorizacao/NFEAutorizacaoService.d.ts +30 -0
  347. package/dist/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.d.ts +8 -0
  348. package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.d.ts +8 -0
  349. package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.d.ts +8 -0
  350. package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.d.ts +8 -0
  351. package/dist/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +17 -0
  352. package/dist/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.d.ts +21 -0
  353. package/dist/src/services/NFEInutilizacao/NFEInutilizacaoService.d.ts +21 -0
  354. package/dist/src/services/NFERecepcaoEvento/NFECancelamentoService.d.ts +8 -0
  355. package/dist/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.d.ts +8 -0
  356. package/dist/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.d.ts +8 -0
  357. package/dist/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.d.ts +8 -0
  358. package/dist/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.d.ts +8 -0
  359. package/dist/src/services/NFERecepcaoEvento/NFEEpecService.d.ts +8 -0
  360. package/dist/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.d.ts +8 -0
  361. package/dist/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.d.ts +39 -0
  362. package/dist/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.d.ts +48 -0
  363. package/dist/src/services/NFEStatusServico/NFEStatusServicoService.d.ts +8 -0
  364. package/dist/src/services/index.d.ts +17 -0
  365. package/dist/tsconfig.tsbuildinfo +1 -0
  366. package/package.json +61 -0
  367. package/rollup.config.js +231 -0
  368. package/src/adapters/NFe.ts +402 -0
  369. package/src/adapters/index.ts +18 -0
  370. package/src/index.ts +28 -0
  371. package/src/operations/NFEAutorizacao/NFEAutorizacao.ts +31 -0
  372. package/src/operations/NFEConsultaProtocolo/NFEconsultaProtocolo.ts +30 -0
  373. package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFe.ts +30 -0
  374. package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts +29 -0
  375. package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts +30 -0
  376. package/src/operations/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts +29 -0
  377. package/src/operations/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts +150 -0
  378. package/src/operations/NFEInutilizacao/NFEInutilizacao.ts +30 -0
  379. package/src/operations/NFERecepcaoEvento/NFECancelamento.ts +31 -0
  380. package/src/operations/NFERecepcaoEvento/NFECartaDeCorrecao.ts +31 -0
  381. package/src/operations/NFERecepcaoEvento/NFECienciaDaOperacao.ts +30 -0
  382. package/src/operations/NFERecepcaoEvento/NFEConfirmacaoDaOperacao.ts +30 -0
  383. package/src/operations/NFERecepcaoEvento/NFEDesconhecimentoDaOperacao.ts +30 -0
  384. package/src/operations/NFERecepcaoEvento/NFEEpec.ts +29 -0
  385. package/src/operations/NFERecepcaoEvento/NFEOperacaoNaoRealizada.ts +30 -0
  386. package/src/operations/NFERecepcaoEvento/NFERecepcaoEvento.ts +30 -0
  387. package/src/operations/NFERetornoAutorizacao/NFERetornoAutorizacao.ts +41 -0
  388. package/src/operations/NFEStatusServico/NFEStatusServico.ts +31 -0
  389. package/src/operations/index.ts +34 -0
  390. package/src/services/NFEAutorizacao/NFEAutorizacaoService.ts +475 -0
  391. package/src/services/NFEConsultaProtocolo/NFEconsultaProtocoloService.ts +46 -0
  392. package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorChave.ts +28 -0
  393. package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorNSU.ts +29 -0
  394. package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFePorUltNSU.ts +29 -0
  395. package/src/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.ts +142 -0
  396. package/src/services/NFEDistribuicaoDFe/util/DistribuicaoHandler.ts +153 -0
  397. package/src/services/NFEInutilizacao/NFEInutilizacaoService.ts +113 -0
  398. package/src/services/NFERecepcaoEvento/NFECancelamentoService.ts +28 -0
  399. package/src/services/NFERecepcaoEvento/NFECartaDeCorrecaoService.ts +29 -0
  400. package/src/services/NFERecepcaoEvento/NFECienciaDaOperacaoService.ts +28 -0
  401. package/src/services/NFERecepcaoEvento/NFEConfirmacaoDaOperacaoService.ts +28 -0
  402. package/src/services/NFERecepcaoEvento/NFEDesconhecimentoDaOperacaoService.ts +28 -0
  403. package/src/services/NFERecepcaoEvento/NFEEpecService.ts +28 -0
  404. package/src/services/NFERecepcaoEvento/NFEOperacaoNaoRealizadaService.ts +28 -0
  405. package/src/services/NFERecepcaoEvento/NFERecepcaoEventoService.ts +353 -0
  406. package/src/services/NFERetornoAutorizacao/NFERetornoAutorizacaoService.ts +196 -0
  407. package/src/services/NFEStatusServico/NFEStatusServicoService.ts +52 -0
  408. package/src/services/index.ts +34 -0
  409. package/tsconfig.json +17 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFCEAutorizacaoService.js","sourceRoot":"","sources":["NFCEAutorizacaoService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAc,MAAM,EAAE,OAAO,EAAwB,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIjJ,OAAO,EAAE,MAAM,EA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AC;aACjD,CAAC,CAAC,CAAC;YAEJ,MAAM,CAAC,IAAI,CAAC,8BAA8B,EAAE;gBACxC,OAAO,EAAE,wBAAwB;aACpC,CAAC,CAAC;YAEH,OAAO;gBACH,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,QAAQ,CAAC,OAAO;gBACzB,IAAI,EAAE,QAAQ,CAAC,QAAQ;aAC1B,CAAA;QAEL,CAAC;gBAAS,CAAC;YACP,wBAAwB;YACxB,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE,eAAe,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAEtE,uBAAuB;YACvB,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5E,CAAC;IACL,CAAC;CAEJ;AAED,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Utility } from '@treeunfe/shared';
2
+ export declare function generateQRCodeURLOnline(chaveAcesso: string, versaoQRCode: string, tipoAmbiente: number, identificadorCSC: number, csc: string, utility: Utility): string;
3
+ export declare function generateQRCodeURLOffline(chaveAcesso: string, versaoQRCode: string, tipoAmbiente: number, diaDataEmissao: string, valorTotalNfce: string, digVal: string, identificadorCSC: number, csc: string, utility: Utility): string;
@@ -0,0 +1,38 @@
1
+ import { createHash } from 'crypto';
2
+ import sha1 from 'sha1';
3
+ // Função para gerar o hash SHA-1 em formato hexadecimal
4
+ function generateSHA1Hash(input) {
5
+ return createHash('sha1').update(input).digest('hex');
6
+ }
7
+ function calcularDigestValueHex(digVal) {
8
+ return Buffer.from(digVal).toString('hex');
9
+ }
10
+ // Função para gerar a URL do QR Code para emissão ONLINE
11
+ export function generateQRCodeURLOnline(chaveAcesso, versaoQRCode, tipoAmbiente, identificadorCSC, csc, utility) {
12
+ const urlQRCodeNFCe = utility.getUrlNFCe('URL-QRCode', false, '');
13
+ chaveAcesso = chaveAcesso.replace('NFe', '');
14
+ // Passo 1: Concatenar parâmetros
15
+ const baseString = `${chaveAcesso}|${versaoQRCode}|${tipoAmbiente}|${identificadorCSC}`;
16
+ // Passo 2: Adicionar o CSC
17
+ const stringToHash = `${baseString}${csc}`;
18
+ // Passo 3: Gerar o hash
19
+ const codigoHash = generateSHA1Hash(stringToHash);
20
+ // Montar a URL final
21
+ return `${urlQRCodeNFCe}?p=${baseString}|${codigoHash}`;
22
+ }
23
+ // Função para gerar a URL do QR Code para emissão OFFLINE
24
+ export function generateQRCodeURLOffline(chaveAcesso, versaoQRCode, tipoAmbiente, diaDataEmissao, valorTotalNfce, digVal, identificadorCSC, csc, utility) {
25
+ const urlQRCodeNFCe = utility.getUrlNFCe('URL-QRCode', false, '');
26
+ chaveAcesso = chaveAcesso.replace('NFe', '');
27
+ // Passo 1: Converter DigestValue para HEXA
28
+ const digestValueHex = calcularDigestValueHex(digVal);
29
+ // Passo 2: Concatenar parâmetros
30
+ const baseString = `${chaveAcesso}|${versaoQRCode}|${tipoAmbiente}|${diaDataEmissao}|${valorTotalNfce}|${digestValueHex}|${identificadorCSC}`;
31
+ // Passo 3: Adicionar o CSC
32
+ const stringToHash = `${baseString}${csc}`;
33
+ // Passo 4: Gerar o hash
34
+ const hash = sha1(stringToHash).toUpperCase();
35
+ // Montar URL
36
+ return `${urlQRCodeNFCe}?p=${baseString}|${hash}`;
37
+ }
38
+ //# sourceMappingURL=NFCEQRCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFCEQRCode.js","sourceRoot":"","sources":["NFCEQRCode.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,wDAAwD;AACxD,SAAS,gBAAgB,CAAC,KAAa;IACnC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC1D,CAAC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IAAI,cAAc,IAAI,cAAc,IAAI,gBAAgB,EAAE,CAAC;IAE9I,2BAA2B;IAC3B,MAAM,YAAY,GAAG,GAAG,UAAU,GAAG,GAAG,EAAE,CAAC;IAE3C,wBAAwB;IACxB,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE,CAAC;IAE9C,aAAa;IACb,OAAO,GAAG,aAAa,MAAM,UAAU,IAAI,IAAI,EAAE,CAAC;AACtD,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { XmlBuilder, BaseNFe, Environment, Utility } from '@treeunfe/shared';
2
+ import { GerarConsultaImpl, NFCERetornoAutorizacaoServiceImpl, SaveFilesImpl } from '@treeunfe/types/interfaces';
3
+ import { ProtNFe } from '@treeunfe/types';
4
+ import { AxiosInstance } from 'axios';
5
+ declare class NFCERetornoAutorizacaoService extends BaseNFe implements NFCERetornoAutorizacaoServiceImpl {
6
+ constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
7
+ protected gerarXml(data: string): string;
8
+ /**
9
+ * Busca o retorno da Autorização pelo número do recibo (nRec)
10
+ *
11
+ * @param {string} nRec - Número do recibo retornado pela SEFAZ ao emitir uma NFe em modo assíncrono.
12
+ * @param {any} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
13
+ * @returns {Promise<string>} XML completo da NFe (já com protocolo de autorização).
14
+ */
15
+ getRetornoRecibo(nRec: string, xmlNFe: string[]): Promise<{
16
+ success: boolean;
17
+ message: any;
18
+ data: string[];
19
+ }>;
20
+ /**
21
+ * Agrega o protNFe ao restante da NFe gerada na emissão.
22
+ *
23
+ * @param {string} protNFe - Tag protNFe do XML em formato JSON.
24
+ * @param {any} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
25
+ * @returns {} XML completo da NFe (já com protocolo de autorização).
26
+ */
27
+ getXmlRetornoAutorizacao(protNFe: ProtNFe[], xmlNFe: string[]): {
28
+ success: boolean;
29
+ message: any;
30
+ data: string[];
31
+ };
32
+ /**
33
+ * Retorna o XML completo da Autorização (já com o protocolo de autorização)
34
+ *
35
+ * @param {number} tipoEmissao - Informa se o tipo emissão foi síncrona ou assíncrona (0- Não / 1 - Sim).
36
+ * @param {string | undefined} nRec - Número do recibo retornado pela SEFAZ ao emitir uma NFe em modo assíncrono.
37
+ * @param {ProtNFe | undefined} protNFe - Tag protNFe do XML em formato JSON.
38
+ * @param {string[]} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
39
+ * @returns {Promise<string>} XML completo da NFe (já com protocolo de autorização).
40
+ */
41
+ getXmlRetorno({ tipoEmissao, nRec, protNFe, xmlNFe }: {
42
+ tipoEmissao: number;
43
+ nRec?: string;
44
+ protNFe?: ProtNFe[];
45
+ xmlNFe: string[];
46
+ }): Promise<{
47
+ success: boolean;
48
+ message: any;
49
+ data: string[];
50
+ }>;
51
+ }
52
+ export default NFCERetornoAutorizacaoService;
@@ -0,0 +1,141 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ import { BaseNFe, logger } from '@treeunfe/shared';
18
+ class NFCERetornoAutorizacaoService extends BaseNFe {
19
+ constructor(environment, utility, xmlBuilder, axios, saveFiles, gerarConsulta) {
20
+ super(environment, utility, xmlBuilder, 'NFERetAutorizacao', axios, saveFiles, gerarConsulta);
21
+ }
22
+ gerarXml(data) {
23
+ logger.info('Montando estrutuda do XML em JSON', {
24
+ context: 'NFCEAutorizacaoService',
25
+ });
26
+ const { nfe: { ambiente } } = this.environment.getConfig();
27
+ const xmlObject = {
28
+ $: {
29
+ xmlns: 'http://www.portalfiscal.inf.br/nfe',
30
+ versao: "4.00",
31
+ },
32
+ tpAmb: ambiente,
33
+ nRec: data
34
+ };
35
+ return this.xmlBuilder.gerarXml(xmlObject, 'consReciNFe', this.metodo);
36
+ }
37
+ /**
38
+ * Busca o retorno da Autorização pelo número do recibo (nRec)
39
+ *
40
+ * @param {string} nRec - Número do recibo retornado pela SEFAZ ao emitir uma NFe em modo assíncrono.
41
+ * @param {any} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
42
+ * @returns {Promise<string>} XML completo da NFe (já com protocolo de autorização).
43
+ */
44
+ async getRetornoRecibo(nRec, xmlNFe) {
45
+ /**
46
+ * Gera o XML para consulta de acordo com o número do recibo da emissão (nRec)
47
+ */
48
+ const xmlConsulta = this.gerarXml(nRec);
49
+ const { xmlFormated, agent, webServiceUrl, action } = await this.gerarConsulta.gerarConsulta(xmlConsulta, this.metodo);
50
+ // Salva XML de Consulta
51
+ this.utility.salvaConsulta(xmlConsulta, xmlFormated, this.metodo);
52
+ // Efetua requisição para o webservice NFEStatusServico
53
+ const xmlRetorno = await this.axios.post(webServiceUrl, xmlFormated, {
54
+ headers: {
55
+ 'Content-Type': this.setContentType(),
56
+ 'SOAPAction': action,
57
+ },
58
+ httpsAgent: agent
59
+ });
60
+ const responseInJson = this.utility.verificaRejeicao(xmlRetorno.data, this.metodo);
61
+ // Salva XML de Retorno
62
+ this.utility.salvaRetorno(xmlRetorno.data, responseInJson, this.metodo);
63
+ const { protNFe } = this.utility.getProtNFe(xmlRetorno.data);
64
+ if (!protNFe) {
65
+ throw new Error(`Não foi possível encontrar a tag 'protNFe'. Talvez a NFe ainda não tenha sido processada.`);
66
+ }
67
+ return this.getXmlRetornoAutorizacao(protNFe, xmlNFe);
68
+ }
69
+ /**
70
+ * Agrega o protNFe ao restante da NFe gerada na emissão.
71
+ *
72
+ * @param {string} protNFe - Tag protNFe do XML em formato JSON.
73
+ * @param {any} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
74
+ * @returns {} XML completo da NFe (já com protocolo de autorização).
75
+ */
76
+ getXmlRetornoAutorizacao(protNFe, xmlNFe) {
77
+ /**
78
+ * Cria o Obj base da NFe já processada (nfeProc)
79
+ */
80
+ const XMLs = [];
81
+ for (let i = 0; i < protNFe.length; i++) {
82
+ const baseXML = {
83
+ $: {
84
+ versao: "4.00",
85
+ xmlns: 'http://www.portalfiscal.inf.br/nfe'
86
+ },
87
+ _: '[XML]'
88
+ };
89
+ let xml = this.xmlBuilder.gerarXml(baseXML, 'nfeProc', this.metodo);
90
+ /**
91
+ * Converte a tag protNFe do formato JSON para XML e armazena na string protTag.
92
+ * Adiciona a tag protNFe (armazenada na string protTag) ao array contendo os dados das NFe.
93
+ */
94
+ // Expressão regular para capturar o valor do atributo Id
95
+ const formatedProtNFe = protNFe;
96
+ const xmlCompleto = xmlNFe.find((item) => item.indexOf(formatedProtNFe[i].infProt[0].chNFe[0]) !== -1);
97
+ if (xmlCompleto) {
98
+ const protTag = this.xmlBuilder.gerarXml(protNFe[i], 'protNFe', this.metodo);
99
+ const xmlFinal = [xmlCompleto];
100
+ xmlFinal.push(protTag);
101
+ /**
102
+ * Substitui o "[XML]" com as tags NFe e a tag protNFe
103
+ */
104
+ xml = xml.replace('[XML]', xmlFinal.join(''));
105
+ xml = `<?xml version="1.0" encoding="UTF-8"?>${xml}`;
106
+ XMLs.push(xml);
107
+ }
108
+ }
109
+ return {
110
+ success: true,
111
+ message: 'xMotivo',
112
+ data: XMLs
113
+ };
114
+ }
115
+ /**
116
+ * Retorna o XML completo da Autorização (já com o protocolo de autorização)
117
+ *
118
+ * @param {number} tipoEmissao - Informa se o tipo emissão foi síncrona ou assíncrona (0- Não / 1 - Sim).
119
+ * @param {string | undefined} nRec - Número do recibo retornado pela SEFAZ ao emitir uma NFe em modo assíncrono.
120
+ * @param {ProtNFe | undefined} protNFe - Tag protNFe do XML em formato JSON.
121
+ * @param {string[]} xmlNFe - Array contendo as NFe do lote enviado à SEFAZ.
122
+ * @returns {Promise<string>} XML completo da NFe (já com protocolo de autorização).
123
+ */
124
+ async getXmlRetorno({ tipoEmissao, nRec, protNFe, xmlNFe }) {
125
+ /**
126
+ * Trata retorno Síncrono
127
+ */
128
+ if (tipoEmissao === 1 && protNFe) {
129
+ return this.getXmlRetornoAutorizacao(protNFe, xmlNFe);
130
+ }
131
+ /**
132
+ * Trata retorno Assíncrono
133
+ */
134
+ if (tipoEmissao === 0 && nRec) {
135
+ return this.getRetornoRecibo(nRec, xmlNFe);
136
+ }
137
+ throw new Error('Não foi possível buscar o retorno da autorização.');
138
+ }
139
+ }
140
+ export default NFCERetornoAutorizacaoService;
141
+ //# sourceMappingURL=NFCERetornoAutorizacaoService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFCERetornoAutorizacaoService.js","sourceRoot":"","sources":["NFCERetornoAutorizacaoService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAc,OAAO,EAAwB,MAAM,EAAwF,MAAM,kBAAkB,CAAC;AAK3K,MAAM,6BAA8B,SAAQ,OAAO;IAC/C,YAAY,WAAwB,EAAE,OAAgB,EAAE,UAAsB,EAAE,KAAoB,EAAE,SAAwB,EAAE,aAAgC;QAC5J,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAClG,CAAC;IAES,QAAQ,CAAC,IAAY;QAC3B,MAAM,CAAC,IAAI,CAAC,mCAAmC,EAAE;YAC7C,OAAO,EAAE,wBAAwB;SACpC,CAAC,CAAC;QACH,MAAM,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,SA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AO,CAAC,CAAA;gBAEtB;;mBAEG;gBACH,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;gBAC9C,GAAG,GAAG,yCAAyC,GAAG,EAAE,CAAC;gBAErD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YAClB,CAAC;QACL,CAAC;QACD,OAAO;YACH,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,IAAI;SACb,CAAA;IAEL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,aAAa,CAAC,EAChB,WAAW,EACX,IAAI,EACJ,OAAO,EACP,MAAM,EAMT;QAMG;;WAEG;QACH,IAAI,WAAW,KAAK,CAAC,IAAI,OAAO,EAAE,CAAC;YAC/B,OAAO,IAAI,CAAC,wBAAwB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC1D,CAAC;QAED;;WAEG;QACH,IAAI,WAAW,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/C,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;IAEzE,CAAC;CAEJ;AAED,eAAe,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as NFCEAutorizacaoService } from './NFCEAutorizacao/NFCEAutorizacaoService';
2
+ export { default as NFCERetornoAutorizacaoService } from './NFCERetornoAutorizacao/NFCERetornoAutorizacaoService';
@@ -0,0 +1,19 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export { default as NFCEAutorizacaoService } from './NFCEAutorizacao/NFCEAutorizacaoService';
18
+ export { default as NFCERetornoAutorizacaoService } from './NFCERetornoAutorizacao/NFCERetornoAutorizacaoService';
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,wDAAwD,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { DpsConsultaPorId, NFSeAlteracaoBeneficioMunicipal, NFSeAlteracaoRetencoes, NFSeConsultaAliquota, NFSeConsultaBeneficio, NFSeConsultaConvenio, NFSeConsultaHistoricoAliquotas, NFSeConsultaPorChave, NFSeConsultaRegimesEspeciais, NFSeDistribuicaoPorNSU, NFSeEventoConsulta, NFSeEventoRequest, NFSeEventosPorChave, NFSe as NFSeType, TreeunfeDFeProps } from '@treeunfe/types';
2
+ import { TreeunfeDFeServiceImpl } from '@treeunfe/types/interfaces';
3
+ export default class NFSe {
4
+ private treeunfeDFeService;
5
+ constructor(treeunfeDFeService: TreeunfeDFeServiceImpl);
6
+ LoadEnvironment({ config }: {
7
+ config: TreeunfeDFeProps;
8
+ }): Promise<void>;
9
+ /**
10
+ * Autorização de NFSe
11
+ */
12
+ Autorizacao(data: NFSeType): Promise<any>;
13
+ /**
14
+ * Consulta NFSe por chave de acesso
15
+ */
16
+ Consulta(data: NFSeConsultaPorChave): Promise<any>;
17
+ /**
18
+ * Consulta DPS por ID
19
+ */
20
+ ConsultaDPS(data: DpsConsultaPorId): Promise<any>;
21
+ /**
22
+ * Registro de Eventos
23
+ */
24
+ RegistrarEvento(data: NFSeEventoRequest): Promise<any>;
25
+ /**
26
+ * Consulta de Eventos
27
+ */
28
+ ConsultarEvento(data: NFSeEventoConsulta): Promise<any>;
29
+ /**
30
+ * Distribuição por NSU
31
+ */
32
+ DistribuicaoPorNSU(data: NFSeDistribuicaoPorNSU): Promise<any>;
33
+ /**
34
+ * Eventos por chave de acesso
35
+ */
36
+ EventosPorChave(data: NFSeEventosPorChave): Promise<any>;
37
+ /**
38
+ * Consulta Alíquota
39
+ */
40
+ ConsultarAliquota(data: NFSeConsultaAliquota): Promise<any>;
41
+ /**
42
+ * Consulta Histórico de Alíquotas
43
+ */
44
+ ConsultarHistoricoAliquotas(data: NFSeConsultaHistoricoAliquotas): Promise<any>;
45
+ /**
46
+ * Consulta Benefício Municipal
47
+ */
48
+ ConsultarBeneficio(data: NFSeConsultaBeneficio): Promise<any>;
49
+ /**
50
+ * Consulta Convênio Municipal
51
+ */
52
+ ConsultarConvenio(data: NFSeConsultaConvenio): Promise<any>;
53
+ /**
54
+ * Consulta Regimes Especiais
55
+ */
56
+ ConsultarRegimesEspeciais(data: NFSeConsultaRegimesEspeciais): Promise<any>;
57
+ /**
58
+ * Alterar Benefício Municipal
59
+ */
60
+ AlterarBeneficioMunicipal(data: NFSeAlteracaoBeneficioMunicipal): Promise<any>;
61
+ /**
62
+ * Alterar Retenções
63
+ */
64
+ AlterarRetencoes(data: NFSeAlteracaoRetencoes): Promise<any>;
65
+ }
@@ -0,0 +1,93 @@
1
+ export default class NFSe {
2
+ constructor(treeunfeDFeService) {
3
+ this.treeunfeDFeService = treeunfeDFeService;
4
+ }
5
+ async LoadEnvironment({ config }) {
6
+ await this.treeunfeDFeService.NFSE_LoadEnvironment({ config });
7
+ }
8
+ /**
9
+ * Autorização de NFSe
10
+ */
11
+ async Autorizacao(data) {
12
+ return await this.treeunfeDFeService.NFSE_Autorizacao(data);
13
+ }
14
+ /**
15
+ * Consulta NFSe por chave de acesso
16
+ */
17
+ async Consulta(data) {
18
+ return await this.treeunfeDFeService.NFSE_Consulta(data);
19
+ }
20
+ /**
21
+ * Consulta DPS por ID
22
+ */
23
+ async ConsultaDPS(data) {
24
+ return await this.treeunfeDFeService.NFSE_ConsultaDPS(data);
25
+ }
26
+ /**
27
+ * Registro de Eventos
28
+ */
29
+ async RegistrarEvento(data) {
30
+ return await this.treeunfeDFeService.NFSE_RegistrarEvento(data);
31
+ }
32
+ /**
33
+ * Consulta de Eventos
34
+ */
35
+ async ConsultarEvento(data) {
36
+ return await this.treeunfeDFeService.NFSE_ConsultarEvento(data);
37
+ }
38
+ /**
39
+ * Distribuição por NSU
40
+ */
41
+ async DistribuicaoPorNSU(data) {
42
+ return await this.treeunfeDFeService.NFSE_DistribuicaoPorNSU(data);
43
+ }
44
+ /**
45
+ * Eventos por chave de acesso
46
+ */
47
+ async EventosPorChave(data) {
48
+ return await this.treeunfeDFeService.NFSE_EventosPorChave(data);
49
+ }
50
+ /**
51
+ * Consulta Alíquota
52
+ */
53
+ async ConsultarAliquota(data) {
54
+ return await this.treeunfeDFeService.NFSE_ConsultarAliquota(data);
55
+ }
56
+ /**
57
+ * Consulta Histórico de Alíquotas
58
+ */
59
+ async ConsultarHistoricoAliquotas(data) {
60
+ return await this.treeunfeDFeService.NFSE_ConsultarHistoricoAliquotas(data);
61
+ }
62
+ /**
63
+ * Consulta Benefício Municipal
64
+ */
65
+ async ConsultarBeneficio(data) {
66
+ return await this.treeunfeDFeService.NFSE_ConsultarBeneficio(data);
67
+ }
68
+ /**
69
+ * Consulta Convênio Municipal
70
+ */
71
+ async ConsultarConvenio(data) {
72
+ return await this.treeunfeDFeService.NFSE_ConsultarConvenio(data);
73
+ }
74
+ /**
75
+ * Consulta Regimes Especiais
76
+ */
77
+ async ConsultarRegimesEspeciais(data) {
78
+ return await this.treeunfeDFeService.NFSE_ConsultarRegimesEspeciais(data);
79
+ }
80
+ /**
81
+ * Alterar Benefício Municipal
82
+ */
83
+ async AlterarBeneficioMunicipal(data) {
84
+ return await this.treeunfeDFeService.NFSE_AlterarBeneficioMunicipal(data);
85
+ }
86
+ /**
87
+ * Alterar Retenções
88
+ */
89
+ async AlterarRetencoes(data) {
90
+ return await this.treeunfeDFeService.NFSE_AlterarRetencoes(data);
91
+ }
92
+ }
93
+ //# sourceMappingURL=NFSe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFSe.js","sourceRoot":"","sources":["NFSe.ts"],"names":[],"mappings":"AAmCA,MAAM,CAAC,OAAO,OAAO,IAAI;IAGvB,YAAY,kBAA0C;QACpD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,EAAE,MAAM,EAAgC;QAC5D,MAAM,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,IAAc;QAC9B,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,QAAQ,CAAC,IAA0B;QACvC,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,IAAsB;QACtC,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,IAAuB;QAC3C,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,IAAwB;QAC5C,OAAO,MAA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AC,IAA4B;QACjD,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -0,0 +1,65 @@
1
+ import { TreeunfeDFeServiceImpl } from '@treeunfe/types/interfaces';
2
+ import { DpsConsultaPorId, NFSe, NFSeAlteracaoBeneficioMunicipal, NFSeAlteracaoRetencoes, NFSeConsultaAliquota, NFSeConsultaBeneficio, NFSeConsultaConvenio, NFSeConsultaHistoricoAliquotas, NFSeConsultaPorChave, NFSeConsultaRegimesEspeciais, NFSeDistribuicaoPorNSU, NFSeEventoConsulta, NFSeEventoRequest, NFSeEventosPorChave, TreeunfeDFeProps } from '@treeunfe/types';
3
+ export default class NFSeHandler {
4
+ private treeunfeDFeService;
5
+ constructor(treeunfeDFeService: TreeunfeDFeServiceImpl);
6
+ LoadEnvironment({ config }: {
7
+ config: TreeunfeDFeProps;
8
+ }): Promise<void>;
9
+ /**
10
+ * Autorização de NFSe
11
+ */
12
+ Autorizacao(data: NFSe): Promise<any>;
13
+ /**
14
+ * Consulta NFSe por chave de acesso
15
+ */
16
+ Consulta(data: NFSeConsultaPorChave): Promise<any>;
17
+ /**
18
+ * Consulta DPS por ID
19
+ */
20
+ ConsultaDPS(data: DpsConsultaPorId): Promise<any>;
21
+ /**
22
+ * Registro de Eventos
23
+ */
24
+ RegistrarEvento(data: NFSeEventoRequest): Promise<any>;
25
+ /**
26
+ * Consulta de Eventos
27
+ */
28
+ ConsultarEvento(data: NFSeEventoConsulta): Promise<any>;
29
+ /**
30
+ * Distribuição por NSU
31
+ */
32
+ DistribuicaoPorNSU(data: NFSeDistribuicaoPorNSU): Promise<any>;
33
+ /**
34
+ * Eventos por chave de acesso
35
+ */
36
+ EventosPorChave(data: NFSeEventosPorChave): Promise<any>;
37
+ /**
38
+ * Consulta Alíquota
39
+ */
40
+ ConsultarAliquota(data: NFSeConsultaAliquota): Promise<any>;
41
+ /**
42
+ * Consulta Histórico de Alíquotas
43
+ */
44
+ ConsultarHistoricoAliquotas(data: NFSeConsultaHistoricoAliquotas): Promise<any>;
45
+ /**
46
+ * Consulta Benefício Municipal
47
+ */
48
+ ConsultarBeneficio(data: NFSeConsultaBeneficio): Promise<any>;
49
+ /**
50
+ * Consulta Convênio Municipal
51
+ */
52
+ ConsultarConvenio(data: NFSeConsultaConvenio): Promise<any>;
53
+ /**
54
+ * Consulta Regimes Especiais
55
+ */
56
+ ConsultarRegimesEspeciais(data: NFSeConsultaRegimesEspeciais): Promise<any>;
57
+ /**
58
+ * Alterar Benefício Municipal
59
+ */
60
+ AlterarBeneficioMunicipal(data: NFSeAlteracaoBeneficioMunicipal): Promise<any>;
61
+ /**
62
+ * Alterar Retenções
63
+ */
64
+ AlterarRetencoes(data: NFSeAlteracaoRetencoes): Promise<any>;
65
+ }
@@ -0,0 +1,93 @@
1
+ export default class NFSeHandler {
2
+ constructor(treeunfeDFeService) {
3
+ this.treeunfeDFeService = treeunfeDFeService;
4
+ }
5
+ async LoadEnvironment({ config }) {
6
+ await this.treeunfeDFeService.NFSE_LoadEnvironment({ config });
7
+ }
8
+ /**
9
+ * Autorização de NFSe
10
+ */
11
+ async Autorizacao(data) {
12
+ return await this.treeunfeDFeService.NFSE_Autorizacao(data);
13
+ }
14
+ /**
15
+ * Consulta NFSe por chave de acesso
16
+ */
17
+ async Consulta(data) {
18
+ return await this.treeunfeDFeService.NFSE_Consulta(data);
19
+ }
20
+ /**
21
+ * Consulta DPS por ID
22
+ */
23
+ async ConsultaDPS(data) {
24
+ return await this.treeunfeDFeService.NFSE_ConsultaDPS(data);
25
+ }
26
+ /**
27
+ * Registro de Eventos
28
+ */
29
+ async RegistrarEvento(data) {
30
+ return await this.treeunfeDFeService.NFSE_RegistrarEvento(data);
31
+ }
32
+ /**
33
+ * Consulta de Eventos
34
+ */
35
+ async ConsultarEvento(data) {
36
+ return await this.treeunfeDFeService.NFSE_ConsultarEvento(data);
37
+ }
38
+ /**
39
+ * Distribuição por NSU
40
+ */
41
+ async DistribuicaoPorNSU(data) {
42
+ return await this.treeunfeDFeService.NFSE_DistribuicaoPorNSU(data);
43
+ }
44
+ /**
45
+ * Eventos por chave de acesso
46
+ */
47
+ async EventosPorChave(data) {
48
+ return await this.treeunfeDFeService.NFSE_EventosPorChave(data);
49
+ }
50
+ /**
51
+ * Consulta Alíquota
52
+ */
53
+ async ConsultarAliquota(data) {
54
+ return await this.treeunfeDFeService.NFSE_ConsultarAliquota(data);
55
+ }
56
+ /**
57
+ * Consulta Histórico de Alíquotas
58
+ */
59
+ async ConsultarHistoricoAliquotas(data) {
60
+ return await this.treeunfeDFeService.NFSE_ConsultarHistoricoAliquotas(data);
61
+ }
62
+ /**
63
+ * Consulta Benefício Municipal
64
+ */
65
+ async ConsultarBeneficio(data) {
66
+ return await this.treeunfeDFeService.NFSE_ConsultarBeneficio(data);
67
+ }
68
+ /**
69
+ * Consulta Convênio Municipal
70
+ */
71
+ async ConsultarConvenio(data) {
72
+ return await this.treeunfeDFeService.NFSE_ConsultarConvenio(data);
73
+ }
74
+ /**
75
+ * Consulta Regimes Especiais
76
+ */
77
+ async ConsultarRegimesEspeciais(data) {
78
+ return await this.treeunfeDFeService.NFSE_ConsultarRegimesEspeciais(data);
79
+ }
80
+ /**
81
+ * Alterar Benefício Municipal
82
+ */
83
+ async AlterarBeneficioMunicipal(data) {
84
+ return await this.treeunfeDFeService.NFSE_AlterarBeneficioMunicipal(data);
85
+ }
86
+ /**
87
+ * Alterar Retenções
88
+ */
89
+ async AlterarRetencoes(data) {
90
+ return await this.treeunfeDFeService.NFSE_AlterarRetencoes(data);
91
+ }
92
+ }
93
+ //# sourceMappingURL=NFSeHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFSeHandler.js","sourceRoot":"","sources":["NFSeHandler.ts"],"names":[],"mappings":"AAmCA,MAAM,CAAC,OAAO,OAAO,WAAW;IAG9B,YAAY,kBAA0C;QACpD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CA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,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,2BAA2B,CAAC,IAAoC;QACpE,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kBAAkB,CAAC,IAA2B;QAClD,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,iBAAiB,CAAC,IAA0B;QAChD,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,yBAAyB,CAAC,IAAkC;QAChE,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,yBAAyB,CAAC,IAAqC;QACnE,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CAAC,IAA4B;QACjD,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { default as NFSe } from './adapters/NFSe';
2
+ export * from './operations/index';
3
+ export * from './services/index';