@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.
Files changed (307) hide show
  1. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/BaseConfig.d.ts +101 -0
  2. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/BaseConfig.js +18 -0
  3. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/BaseConfig.js.map +1 -0
  4. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/CTeConfig.d.ts +17 -0
  5. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/CTeConfig.js +18 -0
  6. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/CTeConfig.js.map +1 -0
  7. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/LoadCertificate.d.ts +11 -0
  8. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/LoadCertificate.js +2 -0
  9. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/LoadCertificate.js.map +1 -0
  10. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFCeConfig.d.ts +25 -0
  11. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFCeConfig.js +18 -0
  12. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFCeConfig.js.map +1 -0
  13. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFSeConfig.d.ts +17 -0
  14. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFSeConfig.js +18 -0
  15. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFSeConfig.js.map +1 -0
  16. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFeConfig.d.ts +25 -0
  17. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFeConfig.js +18 -0
  18. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/NFeConfig.js.map +1 -0
  19. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/Utils.d.ts +29 -0
  20. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/Utils.js +18 -0
  21. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/Utils.js.map +1 -0
  22. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/index.d.ts +7 -0
  23. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/index.js +24 -0
  24. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/common/index.js.map +1 -0
  25. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/CTEDistribuicaoDFe.d.ts +47 -0
  26. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/CTEDistribuicaoDFe.js +18 -0
  27. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/CTEDistribuicaoDFe.js.map +1 -0
  28. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/index.d.ts +1 -0
  29. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/index.js +18 -0
  30. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/cte/index.js.map +1 -0
  31. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/index.d.ts +6 -0
  32. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/index.js +25 -0
  33. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/index.js.map +1 -0
  34. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
  35. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/GerarConsultaImpl.js +2 -0
  36. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/GerarConsultaImpl.js.map +1 -0
  37. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/HttpClient.d.ts +9 -0
  38. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/HttpClient.js +2 -0
  39. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/HttpClient.js.map +1 -0
  40. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
  41. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/SaveFilesImpl.js +2 -0
  42. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/SaveFilesImpl.js.map +1 -0
  43. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeImpl.d.ts +54 -0
  44. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeImpl.js +2 -0
  45. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeImpl.js.map +1 -0
  46. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +61 -0
  47. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeServiceImpl.js +2 -0
  48. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/TreeunfeDFeServiceImpl.js.map +1 -0
  49. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/index.d.ts +5 -0
  50. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/index.js +22 -0
  51. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/common/index.js.map +1 -0
  52. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
  53. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js +2 -0
  54. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.js.map +1 -0
  55. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/index.d.ts +1 -0
  56. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/index.js +18 -0
  57. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/cte/index.js.map +1 -0
  58. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/index.d.ts +5 -0
  59. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/index.js +23 -0
  60. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/index.js.map +1 -0
  61. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
  62. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js +2 -0
  63. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.js.map +1 -0
  64. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
  65. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js +2 -0
  66. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.js.map +1 -0
  67. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/index.d.ts +2 -0
  68. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/index.js +19 -0
  69. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfce/index.js.map +1 -0
  70. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
  71. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js +2 -0
  72. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.js.map +1 -0
  73. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
  74. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js +2 -0
  75. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.js.map +1 -0
  76. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
  77. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js +2 -0
  78. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.js.map +1 -0
  79. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
  80. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js +2 -0
  81. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.js.map +1 -0
  82. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
  83. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js +2 -0
  84. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.js.map +1 -0
  85. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
  86. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.js +2 -0
  87. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.js.map +1 -0
  88. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
  89. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js +2 -0
  90. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.js.map +1 -0
  91. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/index.d.ts +7 -0
  92. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/index.js +24 -0
  93. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfe/index.js.map +1 -0
  94. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
  95. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js +2 -0
  96. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.js.map +1 -0
  97. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
  98. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.js +2 -0
  99. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.js.map +1 -0
  100. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.d.ts +7 -0
  101. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.js +2 -0
  102. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.js.map +1 -0
  103. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
  104. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js +2 -0
  105. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.js.map +1 -0
  106. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
  107. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeEventosServiceImpl.js +2 -0
  108. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeEventosServiceImpl.js.map +1 -0
  109. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
  110. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js +18 -0
  111. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.js.map +1 -0
  112. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/index.d.ts +6 -0
  113. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/index.js +23 -0
  114. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/interfaces/nfse/index.js.map +1 -0
  115. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfce/index.d.ts +1 -0
  116. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfce/index.js +19 -0
  117. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfce/index.js.map +1 -0
  118. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEAutorizacao.d.ts +5876 -0
  119. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEAutorizacao.js +30 -0
  120. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEAutorizacao.js.map +1 -0
  121. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDanfeGenerator.d.ts +32 -0
  122. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDanfeGenerator.js +18 -0
  123. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDanfeGenerator.js.map +1 -0
  124. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDistribuicaoDFe.d.ts +70 -0
  125. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDistribuicaoDFe.js +18 -0
  126. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEDistribuicaoDFe.js.map +1 -0
  127. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEInutilizacao.d.ts +10 -0
  128. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEInutilizacao.js +18 -0
  129. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFEInutilizacao.js.map +1 -0
  130. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFERecepcaoEvento.d.ts +575 -0
  131. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFERecepcaoEvento.js +18 -0
  132. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/NFERecepcaoEvento.js.map +1 -0
  133. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/index.d.ts +5 -0
  134. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/index.js +22 -0
  135. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfe/index.js.map +1 -0
  136. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutDPS.d.ts +424 -0
  137. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutDPS.js +18 -0
  138. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutDPS.js.map +1 -0
  139. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutPedRegEvento.d.ts +48 -0
  140. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutPedRegEvento.js +18 -0
  141. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/LayoutPedRegEvento.js.map +1 -0
  142. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeAutorizacao.d.ts +54 -0
  143. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeAutorizacao.js +18 -0
  144. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeAutorizacao.js.map +1 -0
  145. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeConsulta.d.ts +32 -0
  146. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeConsulta.js +18 -0
  147. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeConsulta.js.map +1 -0
  148. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDanfeGenerator.d.ts +10 -0
  149. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDanfeGenerator.js +18 -0
  150. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDanfeGenerator.js.map +1 -0
  151. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDistribuicao.d.ts +37 -0
  152. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDistribuicao.js +18 -0
  153. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeDistribuicao.js.map +1 -0
  154. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeEventos.d.ts +56 -0
  155. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeEventos.js +41 -0
  156. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeEventos.js.map +1 -0
  157. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeParametrosMunicipais.d.ts +152 -0
  158. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeParametrosMunicipais.js +18 -0
  159. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/NFSeParametrosMunicipais.js.map +1 -0
  160. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/index.d.ts +8 -0
  161. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/index.js +25 -0
  162. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/src/nfse/index.js.map +1 -0
  163. package/.rollup.cache/home/runner/work/treeunfe-dfe/treeunfe-dfe/packages/types/dist/tsconfig.tsbuildinfo +1 -0
  164. package/.turbo/turbo-build.log +71 -0
  165. package/.turbo/turbo-typecheck.log +4 -0
  166. package/CHANGELOG.md +19 -0
  167. package/LICENSE.txt +221 -0
  168. package/dist/common/index.cjs +3 -0
  169. package/dist/common/index.cjs.map +1 -0
  170. package/dist/common/index.mjs +2 -0
  171. package/dist/common/index.mjs.map +1 -0
  172. package/dist/cte/index.cjs +3 -0
  173. package/dist/cte/index.cjs.map +1 -0
  174. package/dist/cte/index.mjs +2 -0
  175. package/dist/cte/index.mjs.map +1 -0
  176. package/dist/index.cjs +43 -0
  177. package/dist/index.cjs.map +1 -0
  178. package/dist/index.mjs +43 -0
  179. package/dist/index.mjs.map +1 -0
  180. package/dist/interfaces/index.cjs +3 -0
  181. package/dist/interfaces/index.cjs.map +1 -0
  182. package/dist/interfaces/index.mjs +2 -0
  183. package/dist/interfaces/index.mjs.map +1 -0
  184. package/dist/nfce/index.cjs +3 -0
  185. package/dist/nfce/index.cjs.map +1 -0
  186. package/dist/nfce/index.mjs +2 -0
  187. package/dist/nfce/index.mjs.map +1 -0
  188. package/dist/nfe/index.cjs +3 -0
  189. package/dist/nfe/index.cjs.map +1 -0
  190. package/dist/nfe/index.mjs +2 -0
  191. package/dist/nfe/index.mjs.map +1 -0
  192. package/dist/nfse/index.cjs +43 -0
  193. package/dist/nfse/index.cjs.map +1 -0
  194. package/dist/nfse/index.mjs +43 -0
  195. package/dist/nfse/index.mjs.map +1 -0
  196. package/dist/src/common/BaseConfig.d.ts +101 -0
  197. package/dist/src/common/CTeConfig.d.ts +17 -0
  198. package/dist/src/common/LoadCertificate.d.ts +11 -0
  199. package/dist/src/common/NFCeConfig.d.ts +25 -0
  200. package/dist/src/common/NFSeConfig.d.ts +17 -0
  201. package/dist/src/common/NFeConfig.d.ts +25 -0
  202. package/dist/src/common/Utils.d.ts +29 -0
  203. package/dist/src/common/index.d.ts +7 -0
  204. package/dist/src/cte/CTEDistribuicaoDFe.d.ts +47 -0
  205. package/dist/src/cte/index.d.ts +1 -0
  206. package/dist/src/index.d.ts +6 -0
  207. package/dist/src/interfaces/common/GerarConsultaImpl.d.ts +9 -0
  208. package/dist/src/interfaces/common/HttpClient.d.ts +9 -0
  209. package/dist/src/interfaces/common/SaveFilesImpl.d.ts +5 -0
  210. package/dist/src/interfaces/common/TreeunfeDFeImpl.d.ts +54 -0
  211. package/dist/src/interfaces/common/TreeunfeDFeServiceImpl.d.ts +61 -0
  212. package/dist/src/interfaces/common/index.d.ts +5 -0
  213. package/dist/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.d.ts +9 -0
  214. package/dist/src/interfaces/cte/index.d.ts +1 -0
  215. package/dist/src/interfaces/index.d.ts +5 -0
  216. package/dist/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.d.ts +11 -0
  217. package/dist/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.d.ts +13 -0
  218. package/dist/src/interfaces/nfce/index.d.ts +2 -0
  219. package/dist/src/interfaces/nfe/NFEAutorizacaoServiceImpl.d.ts +11 -0
  220. package/dist/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.d.ts +9 -0
  221. package/dist/src/interfaces/nfe/NFEInutilizacaoServiceImpl.d.ts +3 -0
  222. package/dist/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.d.ts +9 -0
  223. package/dist/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.d.ts +13 -0
  224. package/dist/src/interfaces/nfe/NFEStatusServicoServiceImpl.d.ts +3 -0
  225. package/dist/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.d.ts +3 -0
  226. package/dist/src/interfaces/nfe/index.d.ts +7 -0
  227. package/dist/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.d.ts +10 -0
  228. package/dist/src/interfaces/nfse/NFSeConsultaServiceImpl.d.ts +5 -0
  229. package/dist/src/interfaces/nfse/NFSeDanfeServiceImpl.d.ts +7 -0
  230. package/dist/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.d.ts +5 -0
  231. package/dist/src/interfaces/nfse/NFSeEventosServiceImpl.d.ts +5 -0
  232. package/dist/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.d.ts +10 -0
  233. package/dist/src/interfaces/nfse/index.d.ts +6 -0
  234. package/dist/src/nfce/index.d.ts +1 -0
  235. package/dist/src/nfe/NFEAutorizacao.d.ts +5876 -0
  236. package/dist/src/nfe/NFEDanfeGenerator.d.ts +32 -0
  237. package/dist/src/nfe/NFEDistribuicaoDFe.d.ts +70 -0
  238. package/dist/src/nfe/NFEInutilizacao.d.ts +10 -0
  239. package/dist/src/nfe/NFERecepcaoEvento.d.ts +575 -0
  240. package/dist/src/nfe/index.d.ts +5 -0
  241. package/dist/src/nfse/LayoutDPS.d.ts +424 -0
  242. package/dist/src/nfse/LayoutPedRegEvento.d.ts +48 -0
  243. package/dist/src/nfse/NFSeAutorizacao.d.ts +54 -0
  244. package/dist/src/nfse/NFSeConsulta.d.ts +32 -0
  245. package/dist/src/nfse/NFSeDanfeGenerator.d.ts +10 -0
  246. package/dist/src/nfse/NFSeDistribuicao.d.ts +37 -0
  247. package/dist/src/nfse/NFSeEventos.d.ts +56 -0
  248. package/dist/src/nfse/NFSeParametrosMunicipais.d.ts +152 -0
  249. package/dist/src/nfse/index.d.ts +8 -0
  250. package/dist/tsconfig.tsbuildinfo +1 -0
  251. package/package.json +83 -0
  252. package/rollup.config.js +88 -0
  253. package/src/common/BaseConfig.ts +118 -0
  254. package/src/common/CTeConfig.ts +35 -0
  255. package/src/common/LoadCertificate.ts +13 -0
  256. package/src/common/NFCeConfig.ts +43 -0
  257. package/src/common/NFSeConfig.ts +35 -0
  258. package/src/common/NFeConfig.ts +43 -0
  259. package/src/common/Utils.ts +51 -0
  260. package/src/common/index.ts +25 -0
  261. package/src/cte/CTEDistribuicaoDFe.ts +66 -0
  262. package/src/cte/index.ts +18 -0
  263. package/src/index.ts +26 -0
  264. package/src/interfaces/common/GerarConsultaImpl.ts +10 -0
  265. package/src/interfaces/common/HttpClient.ts +11 -0
  266. package/src/interfaces/common/SaveFilesImpl.ts +6 -0
  267. package/src/interfaces/common/TreeunfeDFeImpl.ts +81 -0
  268. package/src/interfaces/common/TreeunfeDFeServiceImpl.ts +95 -0
  269. package/src/interfaces/common/index.ts +23 -0
  270. package/src/interfaces/cte/CTEDistribuicaoDFeServiceImpl.ts +10 -0
  271. package/src/interfaces/cte/index.ts +18 -0
  272. package/src/interfaces/index.ts +23 -0
  273. package/src/interfaces/nfce/NFCEAutorizacaoServiceImpl.ts +12 -0
  274. package/src/interfaces/nfce/NFCERetornoAutorizacaoServiceImpl.ts +14 -0
  275. package/src/interfaces/nfce/index.ts +20 -0
  276. package/src/interfaces/nfe/NFEAutorizacaoServiceImpl.ts +12 -0
  277. package/src/interfaces/nfe/NFEDistribuicaoDFeServiceImpl.ts +10 -0
  278. package/src/interfaces/nfe/NFEInutilizacaoServiceImpl.ts +3 -0
  279. package/src/interfaces/nfe/NFERecepcaoEventoServiceImpl.ts +10 -0
  280. package/src/interfaces/nfe/NFERetornoAutorizacaoServiceImpl.ts +14 -0
  281. package/src/interfaces/nfe/NFEStatusServicoServiceImpl.ts +3 -0
  282. package/src/interfaces/nfe/NFEconsultaProtocoloServiceImpl.ts +3 -0
  283. package/src/interfaces/nfe/index.ts +25 -0
  284. package/src/interfaces/nfse/NFSeAutorizacaoServiceImpl.ts +11 -0
  285. package/src/interfaces/nfse/NFSeConsultaServiceImpl.ts +6 -0
  286. package/src/interfaces/nfse/NFSeDanfeServiceImpl.ts +8 -0
  287. package/src/interfaces/nfse/NFSeDistribuicaoServiceImpl.ts +6 -0
  288. package/src/interfaces/nfse/NFSeEventosServiceImpl.ts +6 -0
  289. package/src/interfaces/nfse/NFSeParametrosMunicipaisServiceImpl.ts +41 -0
  290. package/src/interfaces/nfse/index.ts +24 -0
  291. package/src/nfce/index.ts +19 -0
  292. package/src/nfe/NFEAutorizacao.ts +6025 -0
  293. package/src/nfe/NFEDanfeGenerator.ts +51 -0
  294. package/src/nfe/NFEDistribuicaoDFe.ts +91 -0
  295. package/src/nfe/NFEInutilizacao.ts +27 -0
  296. package/src/nfe/NFERecepcaoEvento.ts +602 -0
  297. package/src/nfe/index.ts +23 -0
  298. package/src/nfse/LayoutDPS.ts +458 -0
  299. package/src/nfse/LayoutPedRegEvento.ts +69 -0
  300. package/src/nfse/NFSeAutorizacao.ts +76 -0
  301. package/src/nfse/NFSeConsulta.ts +52 -0
  302. package/src/nfse/NFSeDanfeGenerator.ts +27 -0
  303. package/src/nfse/NFSeDistribuicao.ts +57 -0
  304. package/src/nfse/NFSeEventos.ts +77 -0
  305. package/src/nfse/NFSeParametrosMunicipais.ts +186 -0
  306. package/src/nfse/index.ts +26 -0
  307. package/tsconfig.json +10 -0
@@ -0,0 +1,43 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ import { BaseConfig } from './BaseConfig';
19
+
20
+ /**
21
+ * Configuração específica para o package NFCe
22
+ * Estende BaseConfig com propriedades específicas do NFCe (mesmas do NFe)
23
+ */
24
+ export type NFCeConfig = BaseConfig & {
25
+ /**
26
+ * @param {number} ambiente - Define o ambiente que receberá os XML da NFC-e:
27
+ * 1 = Produção
28
+ * 2 = Homologação
29
+ */
30
+ ambiente: number;
31
+ /**
32
+ * @param {string} versaoDF - Versão (testado apenas com 4.00)
33
+ */
34
+ versaoDF: string;
35
+ /**
36
+ * @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
37
+ */
38
+ tokenCSC?: string;
39
+ /**
40
+ * @param {string} idCSRT - Identificador do CSRT utilizado para montar o hash do CSRT (Utilizado para NFe e NFCe, padrão: 2 dígitos, ex: "02")
41
+ */
42
+ idCSRT?: string;
43
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ import { BaseConfig } from './BaseConfig';
19
+
20
+ /**
21
+ * Configuração específica para o package NFSe
22
+ * Estende BaseConfig com propriedades específicas do NFSe
23
+ */
24
+ export type NFSeConfig = BaseConfig & {
25
+ /**
26
+ * @param {number} ambiente - Define o ambiente que receberá as requisições da NFSe:
27
+ * 1 = Produção
28
+ * 2 = Homologação (Produção Restrita)
29
+ */
30
+ ambiente: number;
31
+ /**
32
+ * @param {string} versao - Versão da API NFSe (padrão: v1)
33
+ */
34
+ versao?: string;
35
+ };
@@ -0,0 +1,43 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ import { BaseConfig } from './BaseConfig';
19
+
20
+ /**
21
+ * Configuração específica para o package NFe
22
+ * Estende BaseConfig com propriedades específicas do NFe
23
+ */
24
+ export type NFeConfig = BaseConfig & {
25
+ /**
26
+ * @param {number} ambiente - Define o ambiente que receberá os XML da NF-e:
27
+ * 1 = Produção
28
+ * 2 = Homologação
29
+ */
30
+ ambiente: number;
31
+ /**
32
+ * @param {string} versaoDF - Versão (testado apenas com 4.00)
33
+ */
34
+ versaoDF: string;
35
+ /**
36
+ * @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
37
+ */
38
+ tokenCSC?: string;
39
+ /**
40
+ * @param {string} idCSRT - Identificador do CSRT utilizado para montar o hash do CSRT (Utilizado para NFe e NFCe, padrão: 2 dígitos, ex: "02")
41
+ */
42
+ idCSRT?: string;
43
+ };
@@ -0,0 +1,51 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export type GenericObject = Record<string, any>;
19
+
20
+ export interface SoapMethod {
21
+ [key: string]: {
22
+ method: string;
23
+ action: string;
24
+ };
25
+ }
26
+
27
+
28
+ export interface ServicesUrl {
29
+ [key: string]: {
30
+ [key: string]: string
31
+ };
32
+ }
33
+
34
+ export interface NFeServicosUrlType {
35
+ [estado: string]: {
36
+ [servico: string]: string;
37
+ };
38
+ }
39
+
40
+ export interface SaveXMLProps {
41
+ data: any;
42
+ fileName: string;
43
+ metodo: string;
44
+ path: string | undefined;
45
+ }
46
+ export interface SaveJSONProps {
47
+ data: any;
48
+ fileName: string;
49
+ metodo: string;
50
+ path: string | undefined;
51
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export * from './BaseConfig';
19
+ export * from './CTeConfig';
20
+ export * from './LoadCertificate';
21
+ export * from './NFCeConfig';
22
+ export * from './NFeConfig';
23
+ export * from './NFSeConfig';
24
+ export * from './Utils';
25
+
@@ -0,0 +1,66 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export type ConsultaCTe = DFePorUltimoNSUCTe | DFePorNSUCTe
19
+
20
+ export interface DFePorUltimoNSUCTe {
21
+ /**
22
+ * @param {number} cUFAutor - Código da UF do Autor
23
+ */
24
+ cUFAutor: number;
25
+ /**
26
+ * @param {string} CNPJ - CNPJ do interessado no DF-e
27
+ */
28
+ CNPJ?: string;
29
+ /**
30
+ * @param {string} CPF - CPF do interessado no DF-e
31
+ */
32
+ CPF?: string;
33
+ /**
34
+ * @param {any} distNSU - Grupo para distribuir DF-e de interesse
35
+ */
36
+ distNSU: {
37
+ /**
38
+ * @param {number} ultNSU - Último NSU recebido pelo ator. Caso seja informado com zero, ou com um NSU muito antigo, a consulta retornará unicamente as informações resumidas e documentos fiscais eletrônicos que tenham sido recepcionados pelo Ambiente Nacional nos últimos 3 meses.
39
+ */
40
+ ultNSU: string;
41
+ };
42
+ }
43
+
44
+ export interface DFePorNSUCTe {
45
+ /**
46
+ * @param {number} cUFAutor - Código da UF do Autor
47
+ */
48
+ cUFAutor: number;
49
+ /**
50
+ * @param {string} CNPJ - CNPJ do interessado no DF-e
51
+ */
52
+ CNPJ?: string;
53
+ /**
54
+ * @param {string} CPF - CPF do interessado no DF-e
55
+ */
56
+ CPF?: string;
57
+ /**
58
+ * @param {any} consNSU - Grupo para consultar um DF-e a partir de um NSU específico
59
+ */
60
+ consNSU: {
61
+ /**
62
+ * @param {string} NSU - Número Sequencial Único. Geralmente esta consulta será utilizada quando identificado que existe um documento a ser buscado através de consulta prévia.
63
+ */
64
+ NSU: string;
65
+ };
66
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export * from './CTEDistribuicaoDFe';
package/src/index.ts ADDED
@@ -0,0 +1,26 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ // Export all types organized by scope
19
+ export * from './common';
20
+ export * from './cte';
21
+ export * from './nfce';
22
+ export * from './nfe';
23
+ export * from './nfse';
24
+
25
+ // Export all interfaces
26
+ export * from './interfaces';
@@ -0,0 +1,10 @@
1
+ import { Agent } from 'http';
2
+
3
+ export interface GerarConsultaImpl {
4
+ gerarConsulta(xmlConsulta: string, metodo: string, ambienteNacional?: boolean, versao?: string, mod?: string, rootTag?: boolean, tag?: string, dadosMsgTag?: string): Promise<{
5
+ xmlFormated: string;
6
+ agent: Agent;
7
+ webServiceUrl: string;
8
+ action: string;
9
+ }>
10
+ }
@@ -0,0 +1,11 @@
1
+ import https from 'https';
2
+
3
+ export interface HttpClient<T = any> {
4
+ create(config: HttpClientConfig): T;
5
+ }
6
+
7
+ export interface HttpClientConfig {
8
+ headers: Record<string, string>;
9
+ timeout: number;
10
+ agent?: https.Agent;
11
+ }
@@ -0,0 +1,6 @@
1
+ import { GenericObject } from '../../common';
2
+ import { AxiosResponse } from 'axios';
3
+
4
+ export interface SaveFilesImpl {
5
+ salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void
6
+ }
@@ -0,0 +1,81 @@
1
+ import {
2
+ Cancelamento,
3
+ CartaDeCorrecao,
4
+ CienciaDaOperacao,
5
+ ConfirmacaoDaOperacao,
6
+ ConsultaCTe,
7
+ ConsultaNFe,
8
+ DesconhecimentoDaOperacao,
9
+ DFePorChaveNFe,
10
+ DFePorNSU,
11
+ DFePorNSUCTe,
12
+ DFePorUltimoNSU,
13
+ DFePorUltimoNSUCTe,
14
+ DpsConsultaPorId,
15
+ EPEC,
16
+ EventoNFe,
17
+ GenericObject,
18
+ InutilizacaoData,
19
+ LayoutNFe,
20
+ NFe,
21
+ NFEGerarDanfeProps,
22
+ NFSe,
23
+ NFSeDistribuicaoPorNSU,
24
+ NFSeEventoConsulta,
25
+ NFSeEventoRequest,
26
+ NFSeEventosPorChave,
27
+ NFSeConsultaPorChave,
28
+ OperacaoNaoRealizada,
29
+ ProtNFe,
30
+ BaseConfig
31
+ } from '../..';
32
+
33
+ export interface TreeunfeDFeImpl {
34
+ NFE_LoadEnvironment({ config }: {
35
+ config: BaseConfig & { ambiente: number };
36
+ }): Promise<void>;
37
+ NFE_ConsultaStatusServico(): Promise<any>;
38
+ NFE_ConsultaProtocolo(chave: string): Promise<any>;
39
+ NFE_RecepcaoEvento(evento: EventoNFe): Promise<GenericObject[]>;
40
+ NFE_EventoPrevioDeEmissaoEmContingencia(evento: EPEC): Promise<GenericObject[]>;
41
+ NFE_Cancelamento(evento: Cancelamento): Promise<GenericObject[]>;
42
+ NFE_CienciaDaOperacao(evento: CienciaDaOperacao): Promise<GenericObject[]>;
43
+ NFE_ConfirmacaoDaOperacao(evento: ConfirmacaoDaOperacao): Promise<GenericObject[]>;
44
+ NFE_OperacaoNaoRealizada(evento: OperacaoNaoRealizada): Promise<GenericObject[]>;
45
+ NFE_CartaDeCorrecao(evento: CartaDeCorrecao): Promise<GenericObject[]>;
46
+ NFE_DesconhecimentoDaOperacao(evento: DesconhecimentoDaOperacao): Promise<GenericObject[]>;
47
+ NFE_DistribuicaoDFe(data: ConsultaNFe): Promise<GenericObject>;
48
+ NFE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSU): Promise<GenericObject>;
49
+ NFE_DistribuicaoDFePorNSU(data: DFePorNSU): Promise<GenericObject>;
50
+ NFE_DistribuicaoDFePorChave(data: DFePorChaveNFe): Promise<GenericObject>;
51
+ CTE_DistribuicaoDFe(data: ConsultaCTe): Promise<GenericObject>;
52
+ CTE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSUCTe): Promise<GenericObject>;
53
+ CTE_DistribuicaoDFePorNSU(data: DFePorNSUCTe): Promise<GenericObject>;
54
+ NFE_Autorizacao(data: NFe): Promise<{
55
+ NFe: LayoutNFe;
56
+ protNFe: ProtNFe;
57
+ }[]>;
58
+ NFCE_Autorizacao(data: NFe): Promise<{
59
+ NFe: LayoutNFe;
60
+ protNFe: ProtNFe;
61
+ }[]>;
62
+ NFE_Inutilizacao(data: InutilizacaoData): Promise<any>;
63
+ NFE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
64
+ message: string;
65
+ success: boolean;
66
+ }>;
67
+ NFCE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
68
+ message: string;
69
+ success: boolean;
70
+ }>;
71
+ NFSE_LoadEnvironment({ config }: {
72
+ config: BaseConfig & { ambiente: number };
73
+ }): Promise<void>;
74
+ NFSE_Autorizacao(data: NFSe): Promise<any>;
75
+ NFSE_Consulta(data: NFSeConsultaPorChave): Promise<any>;
76
+ NFSE_ConsultaDPS(data: DpsConsultaPorId): Promise<any>;
77
+ NFSE_RegistrarEvento(data: NFSeEventoRequest): Promise<any>;
78
+ NFSE_ConsultarEvento(data: NFSeEventoConsulta): Promise<any>;
79
+ NFSE_DistribuicaoPorNSU(data: NFSeDistribuicaoPorNSU): Promise<any>;
80
+ NFSE_EventosPorChave(data: NFSeEventosPorChave): Promise<any>;
81
+ }
@@ -0,0 +1,95 @@
1
+ import {
2
+ Cancelamento,
3
+ CartaDeCorrecao,
4
+ CienciaDaOperacao,
5
+ ConfirmacaoDaOperacao,
6
+ ConsultaCTe,
7
+ ConsultaNFe,
8
+ DesconhecimentoDaOperacao,
9
+ DFePorChaveNFe,
10
+ DFePorNSU,
11
+ DFePorNSUCTe,
12
+ DFePorUltimoNSU,
13
+ DFePorUltimoNSUCTe,
14
+ DpsConsultaPorId,
15
+ EPEC,
16
+ EventoNFe,
17
+ GenericObject,
18
+ InutilizacaoData,
19
+ LayoutNFe,
20
+ NFe,
21
+ NFEGerarDanfeProps,
22
+ NFSe,
23
+ NFSeDistribuicaoPorNSU,
24
+ NFSeEventoConsulta,
25
+ NFSeEventoRequest,
26
+ NFSeEventosPorChave,
27
+ NFSeConsultaPorChave,
28
+ NFSeConsultaAliquota,
29
+ NFSeConsultaHistoricoAliquotas,
30
+ NFSeConsultaBeneficio,
31
+ NFSeConsultaConvenio,
32
+ NFSeConsultaRegimesEspeciais,
33
+ NFSeAlteracaoBeneficioMunicipal,
34
+ NFSeAlteracaoRetencoes,
35
+ OperacaoNaoRealizada,
36
+ ProtNFe,
37
+ BaseConfig
38
+ } from '../..';
39
+
40
+ export interface TreeunfeDFeServiceImpl {
41
+ NFE_LoadEnvironment({ config }: {
42
+ config: BaseConfig & { ambiente: number };
43
+ }): Promise<void>;
44
+ NFE_ConsultaStatusServico(): Promise<any>;
45
+ NFE_ConsultaProtocolo(chave: string): Promise<any>;
46
+ NFE_RecepcaoEvento(evento: EventoNFe): Promise<GenericObject[]>;
47
+ NFE_EventoPrevioDeEmissaoEmContingencia(evento: EPEC): Promise<GenericObject[]>;
48
+ NFE_Cancelamento(evento: Cancelamento): Promise<GenericObject[]>;
49
+ NFE_CienciaDaOperacao(evento: CienciaDaOperacao): Promise<GenericObject[]>;
50
+ NFE_ConfirmacaoDaOperacao(evento: ConfirmacaoDaOperacao): Promise<GenericObject[]>;
51
+ NFE_OperacaoNaoRealizada(evento: OperacaoNaoRealizada): Promise<GenericObject[]>;
52
+ NFE_CartaDeCorrecao(evento: CartaDeCorrecao): Promise<GenericObject[]>;
53
+ NFE_DesconhecimentoDaOperacao(evento: DesconhecimentoDaOperacao): Promise<GenericObject[]>;
54
+ NFE_DistribuicaoDFe(data: ConsultaNFe): Promise<GenericObject>;
55
+ NFE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSU): Promise<GenericObject>;
56
+ NFE_DistribuicaoDFePorNSU(data: DFePorNSU): Promise<GenericObject>;
57
+ NFE_DistribuicaoDFePorChave(data: DFePorChaveNFe): Promise<GenericObject>;
58
+ CTE_DistribuicaoDFe(data: ConsultaCTe): Promise<GenericObject>;
59
+ CTE_DistribuicaoDFePorUltNSU(data: DFePorUltimoNSUCTe): Promise<GenericObject>;
60
+ CTE_DistribuicaoDFePorNSU(data: DFePorNSUCTe): Promise<GenericObject>;
61
+ NFE_Autorizacao(data: NFe): Promise<{
62
+ NFe: LayoutNFe;
63
+ protNFe: ProtNFe;
64
+ }[]>;
65
+ NFCE_Autorizacao(data: NFe): Promise<{
66
+ NFe: LayoutNFe;
67
+ protNFe: ProtNFe;
68
+ }[]>;
69
+ NFE_Inutilizacao(data: InutilizacaoData): Promise<any>;
70
+ NFE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
71
+ message: string;
72
+ success: boolean;
73
+ }>;
74
+ NFCE_GerarDanfe(data: NFEGerarDanfeProps): Promise<{
75
+ message: string;
76
+ success: boolean;
77
+ }>;
78
+ NFSE_LoadEnvironment({ config }: {
79
+ config: BaseConfig & { ambiente: number };
80
+ }): Promise<void>;
81
+ NFSE_Autorizacao(data: NFSe): Promise<any>;
82
+ NFSE_Consulta(data: NFSeConsultaPorChave): Promise<any>;
83
+ NFSE_ConsultaDPS(data: DpsConsultaPorId): Promise<any>;
84
+ NFSE_RegistrarEvento(data: NFSeEventoRequest): Promise<any>;
85
+ NFSE_ConsultarEvento(data: NFSeEventoConsulta): Promise<any>;
86
+ NFSE_DistribuicaoPorNSU(data: NFSeDistribuicaoPorNSU): Promise<any>;
87
+ NFSE_EventosPorChave(data: NFSeEventosPorChave): Promise<any>;
88
+ NFSE_ConsultarAliquota(data: NFSeConsultaAliquota): Promise<any>;
89
+ NFSE_ConsultarHistoricoAliquotas(data: NFSeConsultaHistoricoAliquotas): Promise<any>;
90
+ NFSE_ConsultarBeneficio(data: NFSeConsultaBeneficio): Promise<any>;
91
+ NFSE_ConsultarConvenio(data: NFSeConsultaConvenio): Promise<any>;
92
+ NFSE_ConsultarRegimesEspeciais(data: NFSeConsultaRegimesEspeciais): Promise<any>;
93
+ NFSE_AlterarBeneficioMunicipal(data: NFSeAlteracaoBeneficioMunicipal): Promise<any>;
94
+ NFSE_AlterarRetencoes(data: NFSeAlteracaoRetencoes): Promise<any>;
95
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export * from './GerarConsultaImpl';
19
+ export * from './HttpClient';
20
+ export * from './SaveFilesImpl';
21
+ export * from './TreeunfeDFeImpl';
22
+ export * from './TreeunfeDFeServiceImpl';
23
+
@@ -0,0 +1,10 @@
1
+ import { ConsultaCTe } from '../../cte';
2
+ import { GenericObject } from '../../common';
3
+
4
+ export interface CTEDistribuicaoDFeServiceImpl {
5
+ Exec(data: ConsultaCTe): Promise<{
6
+ data: GenericObject;
7
+ xMotivo: any;
8
+ filesList: string[];
9
+ }>
10
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export * from './CTEDistribuicaoDFeServiceImpl';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ // Export all interfaces organized by scope
19
+ export * from './common';
20
+ export * from './cte';
21
+ export * from './nfce';
22
+ export * from './nfe';
23
+ export * from './nfse';
@@ -0,0 +1,12 @@
1
+ import { LayoutNFe, NFe, ProtNFe, GenericObject } from '../..';
2
+
3
+ export interface NFCEAutorizacaoServiceImpl {
4
+ Exec(data: NFe): Promise<{
5
+ success: boolean;
6
+ xMotivo: GenericObject;
7
+ xmls: {
8
+ NFe: LayoutNFe;
9
+ protNFe: ProtNFe;
10
+ }[];
11
+ }>
12
+ }
@@ -0,0 +1,14 @@
1
+ import { ProtNFe } from '../..';
2
+
3
+ export interface NFCERetornoAutorizacaoServiceImpl {
4
+ getXmlRetorno({ tipoEmissao, nRec, protNFe, xmlNFe }: {
5
+ tipoEmissao: number;
6
+ nRec?: string;
7
+ protNFe?: ProtNFe[];
8
+ xmlNFe: string[];
9
+ }): Promise<{
10
+ success: boolean;
11
+ message: any;
12
+ data: string[];
13
+ }>
14
+ }
@@ -0,0 +1,20 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+
18
+ export * from './NFCEAutorizacaoServiceImpl';
19
+ export * from './NFCERetornoAutorizacaoServiceImpl';
20
+
@@ -0,0 +1,12 @@
1
+ import { LayoutNFe, NFe, ProtNFe, GenericObject } from '../..';
2
+
3
+ export interface NFEAutorizacaoServiceImpl {
4
+ Exec(data: NFe): Promise<{
5
+ success: boolean;
6
+ xMotivo: GenericObject;
7
+ xmls: {
8
+ NFe: LayoutNFe;
9
+ protNFe: ProtNFe;
10
+ }[];
11
+ }>
12
+ }