@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,101 @@
1
+ /**
2
+ * Configurações base comuns a todos os packages
3
+ */
4
+ export type BaseConfig = {
5
+ /**
6
+ * @param {boolean} baixarXMLDistribuicao - Define se os XMLs retornados pelo método de distribuição serão salvos
7
+ */
8
+ baixarXMLDistribuicao?: boolean;
9
+ /**
10
+ * @param {string} pathXMLDistribuicao - Define onde os XMLs retornados pelo método de distribuição serão salvos
11
+ */
12
+ pathXMLDistribuicao?: string;
13
+ /**
14
+ * @param {boolean} armazenarXMLAutorizacao - Define se o XML gerado na emissão deve ser salvo
15
+ */
16
+ armazenarXMLAutorizacao?: boolean;
17
+ /**
18
+ * @param {string} pathXMLAutorizacao - Define onde o XML gerado na emissão sera salvo
19
+ */
20
+ pathXMLAutorizacao?: string;
21
+ /**
22
+ * @param {boolean} armazenarXMLConsulta - Define se os XMLs de consulta (gerados pela lib) e Retorno (retornados pela SEFAZ) serão salvos
23
+ */
24
+ armazenarXMLConsulta?: boolean;
25
+ /**
26
+ * @param {string} pathXMLConsulta - Define onde os XMLs de consulta (gerados pela lib) e os XML de retorno (retornados pela SEFAZ) serão salvos
27
+ */
28
+ pathXMLConsulta?: string;
29
+ /**
30
+ * @param {boolean} armazenarXMLConsultaComTagSoap - Define se os XMLs de consulta (gerados pela lib) devem ser armazenados com a tag soap
31
+ */
32
+ armazenarXMLConsultaComTagSoap?: boolean;
33
+ /**
34
+ * @param {boolean} armazenarXMLRetorno - Define se os XMLs de consulta (gerados pela lib) e Retorno (retornados pela SEFAZ) serão salvos
35
+ */
36
+ armazenarXMLRetorno?: boolean;
37
+ /**
38
+ * @param {string} pathXMLRetorno - Define onde os XMLs de consulta (gerados pela lib) e os XML de retorno (retornados pela SEFAZ) serão salvos
39
+ */
40
+ pathXMLRetorno?: string;
41
+ /**
42
+ * @param {boolean} armazenarRetornoEmJSON - Define se o retorno da SEFAZ deverá ser salvo em json
43
+ */
44
+ armazenarRetornoEmJSON?: boolean;
45
+ /**
46
+ * @param {string} pathRetornoEmJSON - Define onde o arquivo JSON gerado a partir do retorno da SEFAZ será salvo
47
+ */
48
+ pathRetornoEmJSON?: string;
49
+ /**
50
+ * @param {boolean} incluirTimestampNoNomeDosArquivos - Define se deverão ser incluidos data e hora no fim do nome dos arquivos
51
+ * (Aplicados apenas nos arquivos do XMLRetorno e XMLConsulta)
52
+ */
53
+ incluirTimestampNoNomeDosArquivos?: boolean;
54
+ /**
55
+ * @param {boolean} exibirMarcaDaguaDanfe - Define se a marca d'água de ver ser exibida ou não na DANFE
56
+ */
57
+ exibirMarcaDaguaDanfe?: boolean;
58
+ /**
59
+ * @param {string} pathCertificado - Define de onde o certificado digital será importado
60
+ */
61
+ pathCertificado: string;
62
+ /**
63
+ * @param {string} senhaCertificado - Senha do certificado digital
64
+ */
65
+ senhaCertificado: string;
66
+ /**
67
+ * @param {string} UF - UF da pessoa vinculada ao certificado digital
68
+ */
69
+ UF: string;
70
+ /**
71
+ * @param {string} CPFCNPJ - CPF/CNPJ da pessoa vinculada ao certificado digital
72
+ */
73
+ CPFCNPJ: string;
74
+ /**
75
+ * @param {obj} connection - Define opções de conexão aos webservices da SEFAZ
76
+ */
77
+ connection?: {
78
+ /**
79
+ * @param {number} timeout - Define o tempo de espera por um retorno da SEFAZ
80
+ */
81
+ timeout?: number;
82
+ };
83
+ /**
84
+ * @param {obj} log - Define opções de log
85
+ */
86
+ log?: {
87
+ exibirLogNoConsole?: boolean;
88
+ armazenarLogs?: boolean;
89
+ pathLogs?: string;
90
+ };
91
+ /**
92
+ * @param {boolean} useOpenSSL - Define se a lib deve utilizar métodos que fazem uso do OpenSSL ou não
93
+ */
94
+ useOpenSSL?: boolean;
95
+ /**
96
+ * @param {validateSchemaJavaBased | validateSchemaJsBased} useForSchemaValidation - Define se a lib deve utilizar um método de validação de schema
97
+ * baseado em JAVA ou em JS puro.
98
+ * Útil para utilização em ambientes sem JAVA (Ex: Lambda)
99
+ */
100
+ useForSchemaValidation?: 'validateSchemaJavaBased' | 'validateSchemaJsBased';
101
+ };
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=BaseConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseConfig.js","sourceRoot":"","sources":["../../../src/common/BaseConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,17 @@
1
+ import { BaseConfig } from './BaseConfig';
2
+ /**
3
+ * Configuração específica para o package CTe
4
+ * Estende BaseConfig com propriedades específicas do CTe
5
+ */
6
+ export type CTeConfig = BaseConfig & {
7
+ /**
8
+ * @param {number} ambiente - Define o ambiente que receberá as requisições do CTe:
9
+ * 1 = Produção
10
+ * 2 = Homologação
11
+ */
12
+ ambiente: number;
13
+ /**
14
+ * @param {string} versaoDF - Versão do CTe
15
+ */
16
+ versaoDF?: string;
17
+ };
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=CTeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CTeConfig.js","sourceRoot":"","sources":["../../../src/common/CTeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,11 @@
1
+ import https from 'https';
2
+ export type CertificateLoadResult = {
3
+ success: boolean;
4
+ agent: https.Agent;
5
+ message: string;
6
+ };
7
+ export type CertificateLoadReturn = {
8
+ certificate: string;
9
+ cert_key: string;
10
+ agent: https.Agent;
11
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=LoadCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadCertificate.js","sourceRoot":"","sources":["../../../src/common/LoadCertificate.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { BaseConfig } from './BaseConfig';
2
+ /**
3
+ * Configuração específica para o package NFCe
4
+ * Estende BaseConfig com propriedades específicas do NFCe (mesmas do NFe)
5
+ */
6
+ export type NFCeConfig = BaseConfig & {
7
+ /**
8
+ * @param {number} ambiente - Define o ambiente que receberá os XML da NFC-e:
9
+ * 1 = Produção
10
+ * 2 = Homologação
11
+ */
12
+ ambiente: number;
13
+ /**
14
+ * @param {string} versaoDF - Versão (testado apenas com 4.00)
15
+ */
16
+ versaoDF: string;
17
+ /**
18
+ * @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
19
+ */
20
+ tokenCSC?: string;
21
+ /**
22
+ * @param {string} idCSRT - Identificador do CSRT utilizado para montar o hash do CSRT (Utilizado para NFe e NFCe, padrão: 2 dígitos, ex: "02")
23
+ */
24
+ idCSRT?: string;
25
+ };
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=NFCeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFCeConfig.js","sourceRoot":"","sources":["../../../src/common/NFCeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,17 @@
1
+ import { BaseConfig } from './BaseConfig';
2
+ /**
3
+ * Configuração específica para o package NFSe
4
+ * Estende BaseConfig com propriedades específicas do NFSe
5
+ */
6
+ export type NFSeConfig = BaseConfig & {
7
+ /**
8
+ * @param {number} ambiente - Define o ambiente que receberá as requisições da NFSe:
9
+ * 1 = Produção
10
+ * 2 = Homologação (Produção Restrita)
11
+ */
12
+ ambiente: number;
13
+ /**
14
+ * @param {string} versao - Versão da API NFSe (padrão: v1)
15
+ */
16
+ versao?: string;
17
+ };
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=NFSeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFSeConfig.js","sourceRoot":"","sources":["../../../src/common/NFSeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,25 @@
1
+ import { BaseConfig } from './BaseConfig';
2
+ /**
3
+ * Configuração específica para o package NFe
4
+ * Estende BaseConfig com propriedades específicas do NFe
5
+ */
6
+ export type NFeConfig = BaseConfig & {
7
+ /**
8
+ * @param {number} ambiente - Define o ambiente que receberá os XML da NF-e:
9
+ * 1 = Produção
10
+ * 2 = Homologação
11
+ */
12
+ ambiente: number;
13
+ /**
14
+ * @param {string} versaoDF - Versão (testado apenas com 4.00)
15
+ */
16
+ versaoDF: string;
17
+ /**
18
+ * @param {string} tokenCSC - Código de Segurança do Contribuinte (Utilizado para NFCe e NFe)
19
+ */
20
+ tokenCSC?: string;
21
+ /**
22
+ * @param {string} idCSRT - Identificador do CSRT utilizado para montar o hash do CSRT (Utilizado para NFe e NFCe, padrão: 2 dígitos, ex: "02")
23
+ */
24
+ idCSRT?: string;
25
+ };
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=NFeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NFeConfig.js","sourceRoot":"","sources":["../../../src/common/NFeConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,29 @@
1
+ export type GenericObject = Record<string, any>;
2
+ export interface SoapMethod {
3
+ [key: string]: {
4
+ method: string;
5
+ action: string;
6
+ };
7
+ }
8
+ export interface ServicesUrl {
9
+ [key: string]: {
10
+ [key: string]: string;
11
+ };
12
+ }
13
+ export interface NFeServicosUrlType {
14
+ [estado: string]: {
15
+ [servico: string]: string;
16
+ };
17
+ }
18
+ export interface SaveXMLProps {
19
+ data: any;
20
+ fileName: string;
21
+ metodo: string;
22
+ path: string | undefined;
23
+ }
24
+ export interface SaveJSONProps {
25
+ data: any;
26
+ fileName: string;
27
+ metodo: string;
28
+ path: string | undefined;
29
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=Utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../src/common/Utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,7 @@
1
+ export * from './BaseConfig';
2
+ export * from './CTeConfig';
3
+ export * from './LoadCertificate';
4
+ export * from './NFCeConfig';
5
+ export * from './NFeConfig';
6
+ export * from './NFSeConfig';
7
+ export * from './Utils';
@@ -0,0 +1,24 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export * from './BaseConfig';
18
+ export * from './CTeConfig';
19
+ export * from './LoadCertificate';
20
+ export * from './NFCeConfig';
21
+ export * from './NFeConfig';
22
+ export * from './NFSeConfig';
23
+ export * from './Utils';
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,47 @@
1
+ export type ConsultaCTe = DFePorUltimoNSUCTe | DFePorNSUCTe;
2
+ export interface DFePorUltimoNSUCTe {
3
+ /**
4
+ * @param {number} cUFAutor - Código da UF do Autor
5
+ */
6
+ cUFAutor: number;
7
+ /**
8
+ * @param {string} CNPJ - CNPJ do interessado no DF-e
9
+ */
10
+ CNPJ?: string;
11
+ /**
12
+ * @param {string} CPF - CPF do interessado no DF-e
13
+ */
14
+ CPF?: string;
15
+ /**
16
+ * @param {any} distNSU - Grupo para distribuir DF-e de interesse
17
+ */
18
+ distNSU: {
19
+ /**
20
+ * @param {number} ultNSU - Último NSU recebido pelo ator. Caso seja informado com zero, ou com um NSU muito antigo, a consulta retornará unicamente as informações resumidas e documentos fiscais eletrônicos que tenham sido recepcionados pelo Ambiente Nacional nos últimos 3 meses.
21
+ */
22
+ ultNSU: string;
23
+ };
24
+ }
25
+ export interface DFePorNSUCTe {
26
+ /**
27
+ * @param {number} cUFAutor - Código da UF do Autor
28
+ */
29
+ cUFAutor: number;
30
+ /**
31
+ * @param {string} CNPJ - CNPJ do interessado no DF-e
32
+ */
33
+ CNPJ?: string;
34
+ /**
35
+ * @param {string} CPF - CPF do interessado no DF-e
36
+ */
37
+ CPF?: string;
38
+ /**
39
+ * @param {any} consNSU - Grupo para consultar um DF-e a partir de um NSU específico
40
+ */
41
+ consNSU: {
42
+ /**
43
+ * @param {string} NSU - Número Sequencial Único. Geralmente esta consulta será utilizada quando identificado que existe um documento a ser buscado através de consulta prévia.
44
+ */
45
+ NSU: string;
46
+ };
47
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=CTEDistribuicaoDFe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CTEDistribuicaoDFe.js","sourceRoot":"","sources":["../../../src/cte/CTEDistribuicaoDFe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG"}
@@ -0,0 +1,18 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ export * from './CTEDistribuicaoDFe';
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cte/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './common';
2
+ export * from './cte';
3
+ export * from './nfce';
4
+ export * from './nfe';
5
+ export * from './nfse';
6
+ export * from './interfaces';
@@ -0,0 +1,25 @@
1
+ /*
2
+ * This file is part of Treeunfe DFe.
3
+ *
4
+ * Treeunfe DFe is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Treeunfe DFe is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Treeunfe DFe. If not, see <https://www.gnu.org/licenses/>.
16
+ */
17
+ // Export all types organized by scope
18
+ export * from './common';
19
+ export * from './cte';
20
+ export * from './nfce';
21
+ export * from './nfe';
22
+ export * from './nfse';
23
+ // Export all interfaces
24
+ export * from './interfaces';
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sCAAsC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AAEvB,wBAAwB;AACxB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Agent } from 'http';
2
+ export interface GerarConsultaImpl {
3
+ gerarConsulta(xmlConsulta: string, metodo: string, ambienteNacional?: boolean, versao?: string, mod?: string, rootTag?: boolean, tag?: string, dadosMsgTag?: string): Promise<{
4
+ xmlFormated: string;
5
+ agent: Agent;
6
+ webServiceUrl: string;
7
+ action: string;
8
+ }>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=GerarConsultaImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GerarConsultaImpl.js","sourceRoot":"","sources":["../../../../src/interfaces/common/GerarConsultaImpl.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import https from 'https';
2
+ export interface HttpClient<T = any> {
3
+ create(config: HttpClientConfig): T;
4
+ }
5
+ export interface HttpClientConfig {
6
+ headers: Record<string, string>;
7
+ timeout: number;
8
+ agent?: https.Agent;
9
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpClient.js","sourceRoot":"","sources":["../../../../src/interfaces/common/HttpClient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { GenericObject } from '../../common';
2
+ import { AxiosResponse } from 'axios';
3
+ export interface SaveFilesImpl {
4
+ salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SaveFilesImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SaveFilesImpl.js","sourceRoot":"","sources":["../../../../src/interfaces/common/SaveFilesImpl.ts"],"names":[],"mappings":""}