@nfewizard/shared 1.0.0

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 (711) hide show
  1. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/SchemaLoader.d.ts +4 -0
  2. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/SchemaLoader.js +44 -0
  3. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/SchemaLoader.js.map +1 -0
  4. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/XmlBuilder.d.ts +31 -0
  5. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/XmlBuilder.js +119 -0
  6. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/XmlBuilder.js.map +1 -0
  7. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/index.d.ts +7 -0
  8. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/index.js +8 -0
  9. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/adapters/index.js.map +1 -0
  10. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/BaseNFe.d.ts +35 -0
  11. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/BaseNFe.js +95 -0
  12. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/BaseNFe.js.map +1 -0
  13. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/GerarConsulta.d.ts +18 -0
  14. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/GerarConsulta.js +61 -0
  15. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/GerarConsulta.js.map +1 -0
  16. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/SaveFiles.d.ts +12 -0
  17. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/SaveFiles.js +59 -0
  18. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/SaveFiles.js.map +1 -0
  19. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/index.d.ts +8 -0
  20. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/index.js +9 -0
  21. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/base/index.js.map +1 -0
  22. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/config/CTeServicosUrl.json +8 -0
  23. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/config/NFeServicosUrl.json +1383 -0
  24. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/config/cStatError.json +678 -0
  25. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/config/soapMethod.json +46 -0
  26. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/AxiosHttpClient.d.ts +6 -0
  27. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/AxiosHttpClient.js +12 -0
  28. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/AxiosHttpClient.js.map +1 -0
  29. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/Environment.d.ts +21 -0
  30. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/Environment.js +81 -0
  31. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/Environment.js.map +1 -0
  32. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/HttpClientBuilder.d.ts +11 -0
  33. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/HttpClientBuilder.js +29 -0
  34. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/HttpClientBuilder.js.map +1 -0
  35. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/LoadCertificate.d.ts +11 -0
  36. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/LoadCertificate.js +176 -0
  37. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/LoadCertificate.js.map +1 -0
  38. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/ValidateEnvironment.d.ts +9 -0
  39. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/ValidateEnvironment.js +77 -0
  40. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/ValidateEnvironment.js.map +1 -0
  41. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/index.d.ts +10 -0
  42. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/index.js +11 -0
  43. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/environment/index.js.map +1 -0
  44. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/ErrorContext.d.ts +39 -0
  45. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/ErrorContext.js +98 -0
  46. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/ErrorContext.js.map +1 -0
  47. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/JsonArrayTransporter.d.ts +21 -0
  48. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/JsonArrayTransporter.js +84 -0
  49. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/JsonArrayTransporter.js.map +1 -0
  50. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/index.d.ts +8 -0
  51. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/index.js +8 -0
  52. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/index.js.map +1 -0
  53. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/logger.d.ts +22 -0
  54. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/logger.js +139 -0
  55. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/exceptions/logger.js.map +1 -0
  56. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/index.d.ts +10 -0
  57. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/index.js +16 -0
  58. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/index.js.map +1 -0
  59. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/SchemaLoader.d.ts +4 -0
  60. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/SchemaLoader.js +44 -0
  61. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/SchemaLoader.js.map +1 -0
  62. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/XmlBuilder.d.ts +31 -0
  63. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/XmlBuilder.js +119 -0
  64. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/XmlBuilder.js.map +1 -0
  65. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/index.d.ts +7 -0
  66. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/index.js +8 -0
  67. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/adapters/index.js.map +1 -0
  68. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/BaseNFe.d.ts +35 -0
  69. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/BaseNFe.js +95 -0
  70. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/BaseNFe.js.map +1 -0
  71. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/GerarConsulta.d.ts +18 -0
  72. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/GerarConsulta.js +61 -0
  73. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/GerarConsulta.js.map +1 -0
  74. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/SaveFiles.d.ts +12 -0
  75. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/SaveFiles.js +59 -0
  76. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/SaveFiles.js.map +1 -0
  77. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/index.d.ts +8 -0
  78. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/index.js +9 -0
  79. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/base/index.js.map +1 -0
  80. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/config/CTeServicosUrl.json +8 -0
  81. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/config/NFeServicosUrl.json +1383 -0
  82. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/config/cStatError.json +678 -0
  83. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/config/soapMethod.json +46 -0
  84. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/AxiosHttpClient.d.ts +6 -0
  85. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/AxiosHttpClient.js +12 -0
  86. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/AxiosHttpClient.js.map +1 -0
  87. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/Environment.d.ts +21 -0
  88. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/Environment.js +81 -0
  89. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/Environment.js.map +1 -0
  90. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/HttpClientBuilder.d.ts +11 -0
  91. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/HttpClientBuilder.js +29 -0
  92. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/HttpClientBuilder.js.map +1 -0
  93. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/LoadCertificate.d.ts +11 -0
  94. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/LoadCertificate.js +176 -0
  95. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/LoadCertificate.js.map +1 -0
  96. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/ValidateEnvironment.d.ts +9 -0
  97. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/ValidateEnvironment.js +77 -0
  98. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/ValidateEnvironment.js.map +1 -0
  99. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/index.d.ts +10 -0
  100. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/index.js +11 -0
  101. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/environment/index.js.map +1 -0
  102. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/ErrorContext.d.ts +39 -0
  103. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/ErrorContext.js +98 -0
  104. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/ErrorContext.js.map +1 -0
  105. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/JsonArrayTransporter.d.ts +21 -0
  106. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/JsonArrayTransporter.js +84 -0
  107. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/JsonArrayTransporter.js.map +1 -0
  108. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/index.d.ts +8 -0
  109. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/index.js +8 -0
  110. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/index.js.map +1 -0
  111. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/logger.d.ts +22 -0
  112. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/logger.js +139 -0
  113. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/exceptions/logger.js.map +1 -0
  114. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/index.d.ts +10 -0
  115. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/index.js +16 -0
  116. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/index.js.map +1 -0
  117. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/NFEImposto.d.ts +4 -0
  118. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/NFEImposto.js +212 -0
  119. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/NFEImposto.js.map +1 -0
  120. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/Utility.d.ts +91 -0
  121. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/Utility.js +516 -0
  122. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/Utility.js.map +1 -0
  123. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/ValidaCPFCNPJ.d.ts +11 -0
  124. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/ValidaCPFCNPJ.js +125 -0
  125. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/ValidaCPFCNPJ.js.map +1 -0
  126. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/XmlParser.d.ts +18 -0
  127. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/XmlParser.js +174 -0
  128. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/XmlParser.js.map +1 -0
  129. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/getCodIBGE.d.ts +1 -0
  130. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/getCodIBGE.js +50 -0
  131. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/getCodIBGE.js.map +1 -0
  132. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/getDesTipoPag.d.ts +1 -0
  133. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/getDesTipoPag.js +42 -0
  134. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/getDesTipoPag.js.map +1 -0
  135. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/index.d.ts +11 -0
  136. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/index.js +12 -0
  137. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/src/utils/index.js.map +1 -0
  138. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/tsconfig.tsbuildinfo +1 -0
  139. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/NFEImposto.d.ts +4 -0
  140. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/NFEImposto.js +212 -0
  141. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/NFEImposto.js.map +1 -0
  142. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/Utility.d.ts +91 -0
  143. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/Utility.js +516 -0
  144. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/Utility.js.map +1 -0
  145. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/ValidaCPFCNPJ.d.ts +11 -0
  146. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/ValidaCPFCNPJ.js +125 -0
  147. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/ValidaCPFCNPJ.js.map +1 -0
  148. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/XmlParser.d.ts +18 -0
  149. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/XmlParser.js +174 -0
  150. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/XmlParser.js.map +1 -0
  151. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/getCodIBGE.d.ts +1 -0
  152. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/getCodIBGE.js +50 -0
  153. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/getCodIBGE.js.map +1 -0
  154. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/getDesTipoPag.d.ts +1 -0
  155. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/getDesTipoPag.js +42 -0
  156. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/getDesTipoPag.js.map +1 -0
  157. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/index.d.ts +11 -0
  158. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/index.js +12 -0
  159. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/dist/utils/index.js.map +1 -0
  160. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/shared/tsconfig.tsbuildinfo +1 -0
  161. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/cte/CTEDistribuicaoDFe.d.ts +47 -0
  162. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/cte/CTEDistribuicaoDFe.js +18 -0
  163. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/cte/CTEDistribuicaoDFe.js.map +1 -0
  164. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/EmailConfig.d.ts +65 -0
  165. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/EmailConfig.js +18 -0
  166. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/EmailConfig.js.map +1 -0
  167. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEAutorizacao.d.ts +5866 -0
  168. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEAutorizacao.js +30 -0
  169. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEAutorizacao.js.map +1 -0
  170. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEDistribuicaoDFe.d.ts +70 -0
  171. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEDistribuicaoDFe.js +18 -0
  172. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEDistribuicaoDFe.js.map +1 -0
  173. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEInutilizacao.d.ts +10 -0
  174. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEInutilizacao.js +18 -0
  175. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFEInutilizacao.js.map +1 -0
  176. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFERecepcaoEvento.d.ts +575 -0
  177. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFERecepcaoEvento.js +18 -0
  178. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFERecepcaoEvento.js.map +1 -0
  179. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFeWizard.d.ts +174 -0
  180. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFeWizard.js +2 -0
  181. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/NFeWizard.js.map +1 -0
  182. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/index.d.ts +8 -0
  183. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/index.js +25 -0
  184. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/nfe/index.js.map +1 -0
  185. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/LoadCertificate.d.ts +11 -0
  186. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/LoadCertificate.js +2 -0
  187. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/LoadCertificate.js.map +1 -0
  188. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/NFEDanfeGenerator.d.ts +32 -0
  189. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/NFEDanfeGenerator.js +18 -0
  190. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/NFEDanfeGenerator.js.map +1 -0
  191. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/Utils.d.ts +29 -0
  192. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/Utils.js +18 -0
  193. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/Utils.js.map +1 -0
  194. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/index.d.ts +49 -0
  195. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/index.js +20 -0
  196. package/.rollup.cache/home/marco/Documents/projetos/NFeWizard/nfewizard-io/packages/types/src/shared/index.js.map +1 -0
  197. package/LICENSE.txt +221 -0
  198. package/README.md +23 -0
  199. package/dist/index.cjs +3672 -0
  200. package/dist/index.cjs.map +1 -0
  201. package/dist/index.mjs +3631 -0
  202. package/dist/index.mjs.map +1 -0
  203. package/dist/src/adapters/SchemaLoader.d.ts +4 -0
  204. package/dist/src/adapters/XmlBuilder.d.ts +31 -0
  205. package/dist/src/adapters/index.d.ts +7 -0
  206. package/dist/src/base/BaseNFe.d.ts +35 -0
  207. package/dist/src/base/GerarConsulta.d.ts +18 -0
  208. package/dist/src/base/SaveFiles.d.ts +12 -0
  209. package/dist/src/base/index.d.ts +8 -0
  210. package/dist/src/environment/AxiosHttpClient.d.ts +6 -0
  211. package/dist/src/environment/Environment.d.ts +21 -0
  212. package/dist/src/environment/HttpClientBuilder.d.ts +11 -0
  213. package/dist/src/environment/LoadCertificate.d.ts +11 -0
  214. package/dist/src/environment/ValidateEnvironment.d.ts +9 -0
  215. package/dist/src/environment/index.d.ts +10 -0
  216. package/dist/src/exceptions/ErrorContext.d.ts +39 -0
  217. package/dist/src/exceptions/JsonArrayTransporter.d.ts +21 -0
  218. package/dist/src/exceptions/index.d.ts +8 -0
  219. package/dist/src/exceptions/logger.d.ts +22 -0
  220. package/dist/src/index.d.ts +10 -0
  221. package/dist/src/utils/NFEImposto.d.ts +4 -0
  222. package/dist/src/utils/Utility.d.ts +91 -0
  223. package/dist/src/utils/ValidaCPFCNPJ.d.ts +11 -0
  224. package/dist/src/utils/XmlParser.d.ts +18 -0
  225. package/dist/src/utils/getCodIBGE.d.ts +1 -0
  226. package/dist/src/utils/getDesTipoPag.d.ts +1 -0
  227. package/dist/src/utils/index.d.ts +11 -0
  228. package/dist/tsconfig.tsbuildinfo +1 -0
  229. package/package.json +68 -0
  230. package/resources/certs/AC CertiSign.crt +22 -0
  231. package/resources/certs/AC-A-DIGIFORTE-RFB.crt +39 -0
  232. package/resources/certs/AC-ACD-v5.crt +40 -0
  233. package/resources/certs/AC-CERTISIGN-ICP-BRASIL-CODE.crt +45 -0
  234. package/resources/certs/AC-CERTISIGN-ICP-BRASIL-SSL-G2.crt +47 -0
  235. package/resources/certs/AC-Certisign-ICP-Brasil-SSL-EV-G3.crt +49 -0
  236. package/resources/certs/AC-Certisign-ICP-Brasil-SSL-EV-G4.crt +49 -0
  237. package/resources/certs/AC-DIGITAL-MAIS.crt +36 -0
  238. package/resources/certs/AC-INFOCO-DIGITAL-v5.crt +40 -0
  239. package/resources/certs/AC-PRIME-v5.crt +40 -0
  240. package/resources/certs/AC-PRODESP-RFB-v1.crt +41 -0
  241. package/resources/certs/AC-PRODESP-SP-SSL.crt +47 -0
  242. package/resources/certs/AC-PRODESP-SP.crt +36 -0
  243. package/resources/certs/AC-QUALITYCERT-v5.crt +40 -0
  244. package/resources/certs/AC-REDEBRASIL-v5.crt +40 -0
  245. package/resources/certs/AC-REDEBRASILv5.crt +40 -0
  246. package/resources/certs/AC-SERASA-SSL-EV-V2.crt +45 -0
  247. package/resources/certs/AC-SERASA-SSL-EV-V3.crt +45 -0
  248. package/resources/certs/AC-SERASA-SSL-EV-V4.crt +45 -0
  249. package/resources/certs/AC-SERPRO-SSLv1-v10.crt +40 -0
  250. package/resources/certs/AC-SOLUTI-CS-EV.crt +43 -0
  251. package/resources/certs/AC-SOLUTI-SSL-EV-G2.crt +43 -0
  252. package/resources/certs/AC-SOLUTI-SSL-EV-G3.crt +44 -0
  253. package/resources/certs/AC-SOLUTI-SSL-EV-G4.crt +44 -0
  254. package/resources/certs/AC-SOLUTI-SSL-EV.crt +41 -0
  255. package/resources/certs/AC-SOLUTI-v5-G2.crt +36 -0
  256. package/resources/certs/AC-SyngularID.crt +36 -0
  257. package/resources/certs/AC-VALID-CODE-SIGNING.crt +43 -0
  258. package/resources/certs/AC-VALID-SSL-EV.crt +44 -0
  259. package/resources/certs/ACIMESP1n.crt +26 -0
  260. package/resources/certs/ACIMPRENSAOFICIALRFBSSL.crt +41 -0
  261. package/resources/certs/ACImprensaOficial_18072011.crt +0 -0
  262. package/resources/certs/ACSyngularIDMultipla0.crt +42 -0
  263. package/resources/certs/AC_A_R_A_CERTIFICACAO_DIGITAL_v5.crt +41 -0
  264. package/resources/certs/AC_BR_RFB_G2.crt +27 -0
  265. package/resources/certs/AC_BR_RFB_G3.crt +39 -0
  266. package/resources/certs/AC_BR_RFB_G4.crt +39 -0
  267. package/resources/certs/AC_BoaVista.crt +36 -0
  268. package/resources/certs/AC_BoaVista_Certificadora.crt +44 -0
  269. package/resources/certs/AC_Boa_Vista_RFB.crt +39 -0
  270. package/resources/certs/AC_CACB_CD.crt +40 -0
  271. package/resources/certs/AC_CACB_RFB.crt +41 -0
  272. package/resources/certs/AC_CACB_RFB_G2.crt +41 -0
  273. package/resources/certs/AC_CAIXA_PF_1v2.crt +37 -0
  274. package/resources/certs/AC_CAIXA_PJ-SSL_v2.crt +38 -0
  275. package/resources/certs/AC_CAIXA_PJ_1v2.crt +37 -0
  276. package/resources/certs/AC_CAIXA_v2.crt +36 -0
  277. package/resources/certs/AC_CCN_COMPANHIA_CERTIFICADORA_NACIONAL_v5.crt +41 -0
  278. package/resources/certs/AC_CERTBANK_v5.crt +41 -0
  279. package/resources/certs/AC_CERTDATA_BRASIL.crt +41 -0
  280. package/resources/certs/AC_CERTIFICA_ANAPOLIS_v5_G2.crt +41 -0
  281. package/resources/certs/AC_CERTIFICA_MINAS_v5.crt +40 -0
  282. package/resources/certs/AC_CERTIPE_CD.crt +40 -0
  283. package/resources/certs/AC_CERTISIGN-JUS_CODESIGNING_G6.crt +39 -0
  284. package/resources/certs/AC_CERTISIGN-JUS_G5.crt +38 -0
  285. package/resources/certs/AC_CERTISIGN-JUS_SSL_G6.crt +38 -0
  286. package/resources/certs/AC_CERTMAIS_CD.crt +40 -0
  287. package/resources/certs/AC_CNDL_RFB.crt +39 -0
  288. package/resources/certs/AC_CNDL_RFB_v2.crt +39 -0
  289. package/resources/certs/AC_CNDL_RFB_v3.crt +39 -0
  290. package/resources/certs/AC_CONSULTI_BRASIL_RFB.crt +39 -0
  291. package/resources/certs/AC_CONSULTI_RFB.crt +39 -0
  292. package/resources/certs/AC_Caixa.crt +23 -0
  293. package/resources/certs/AC_Caixa_JUS_v1.crt +29 -0
  294. package/resources/certs/AC_Caixa_JUS_v2.crt +39 -0
  295. package/resources/certs/AC_Caixa_PF-1_v1.crt +30 -0
  296. package/resources/certs/AC_Caixa_PF_v1.crt +32 -0
  297. package/resources/certs/AC_Caixa_PF_v2.crt +41 -0
  298. package/resources/certs/AC_Caixa_PJ-1_v1.crt +30 -0
  299. package/resources/certs/AC_Caixa_PJ_v1.crt +32 -0
  300. package/resources/certs/AC_Caixa_PJ_v2.crt +45 -0
  301. package/resources/certs/AC_Caixa_SPB.crt +39 -0
  302. package/resources/certs/AC_Caixa_v1.crt +25 -0
  303. package/resources/certs/AC_CertiSign_JUS.crt +0 -0
  304. package/resources/certs/AC_CertiSign_V3.crt +25 -0
  305. package/resources/certs/AC_Certifica_Anapolis_v5.crt +43 -0
  306. package/resources/certs/AC_Certisign_G3.crt +25 -0
  307. package/resources/certs/AC_Certisign_G6.crt +36 -0
  308. package/resources/certs/AC_Certisign_G7.crt +36 -0
  309. package/resources/certs/AC_Certisign_G8.crt +36 -0
  310. package/resources/certs/AC_Certisign_JUS_G2.crt +38 -0
  311. package/resources/certs/AC_Certisign_JUS_G3.crt +39 -0
  312. package/resources/certs/AC_Certisign_JUS_G6.crt +38 -0
  313. package/resources/certs/AC_Certisign_Multipla_CodeSigning.crt +41 -0
  314. package/resources/certs/AC_Certisign_Multipla_G3.crt +38 -0
  315. package/resources/certs/AC_Certisign_Multipla_G5.crt +49 -0
  316. package/resources/certs/AC_Certisign_Multipla_G6.crt +49 -0
  317. package/resources/certs/AC_Certisign_Multipla_G7.crt +50 -0
  318. package/resources/certs/AC_Certisign_Multipla_SSL.crt +41 -0
  319. package/resources/certs/AC_Certisign_OM-BR.crt +21 -0
  320. package/resources/certs/AC_Certisign_RFB_G3.crt +29 -0
  321. package/resources/certs/AC_Certisign_RFB_G4.crt +41 -0
  322. package/resources/certs/AC_Certisign_RFB_G5.crt +41 -0
  323. package/resources/certs/AC_Certisign_SPB_G3.crt +27 -0
  324. package/resources/certs/AC_Certisign_SPB_G5.crt +38 -0
  325. package/resources/certs/AC_Certisign_SPB_G6.crt +39 -0
  326. package/resources/certs/AC_Certisign_Tempo_G1.crt +39 -0
  327. package/resources/certs/AC_Certisign_Tempo_G2.crt +41 -0
  328. package/resources/certs/AC_DIGISEC_v5.crt +40 -0
  329. package/resources/certs/AC_DIGITALSIGN_ACP_G2.crt +36 -0
  330. package/resources/certs/AC_DIGITALSIGN_G2.crt +50 -0
  331. package/resources/certs/AC_DIGITALSIGN_RFB_G2.crt +42 -0
  332. package/resources/certs/AC_DIGITALSIGN_RFB_G3.crt +41 -0
  333. package/resources/certs/AC_DIGITALSIGN_SSL.crt +41 -0
  334. package/resources/certs/AC_DIGITAL_MULTIPLA_G1.crt +40 -0
  335. package/resources/certs/AC_DIGITAL_v5.crt +40 -0
  336. package/resources/certs/AC_DOCCLOUD.crt +36 -0
  337. package/resources/certs/AC_DOCCLOUD_RFB.crt +39 -0
  338. package/resources/certs/AC_DOCCLOUD_RFB_v2.crt +39 -0
  339. package/resources/certs/AC_Defesa_v5.crt +49 -0
  340. package/resources/certs/AC_Digital.crt +46 -0
  341. package/resources/certs/AC_Digitalsign.crt +50 -0
  342. package/resources/certs/AC_Digitalsign_ACP.crt +36 -0
  343. package/resources/certs/AC_Digitalsign_RFB.crt +41 -0
  344. package/resources/certs/AC_EGBA_MULTIPLA.crt +45 -0
  345. package/resources/certs/AC_EGBA_Multipla_G2.crt +47 -0
  346. package/resources/certs/AC_EGBA_RFB.crt +41 -0
  347. package/resources/certs/AC_FCDL_SC_v5.crt +40 -0
  348. package/resources/certs/AC_FCDL_SC_v5_G2.crt +41 -0
  349. package/resources/certs/AC_FENACOR_RFB.crt +42 -0
  350. package/resources/certs/AC_Fenacon_Certisign_RFB_G2.crt +27 -0
  351. package/resources/certs/AC_Fenacon_Certisign_RFB_G3.crt +39 -0
  352. package/resources/certs/AC_IMESP_RFB_G2.crt +29 -0
  353. package/resources/certs/AC_IMESP_RFB_G3_retirar_repositorio.crt +41 -0
  354. package/resources/certs/AC_INTERCERT_v5.crt +40 -0
  355. package/resources/certs/AC_Imprensa_Oficial.crt +36 -0
  356. package/resources/certs/AC_Imprensa_Oficial_G2.crt +38 -0
  357. package/resources/certs/AC_Imprensa_Oficial_G3.crt +57 -0
  358. package/resources/certs/AC_Imprensa_Oficial_G4.crt +51 -0
  359. package/resources/certs/AC_Imprensa_Oficial_SP.crt +0 -0
  360. package/resources/certs/AC_Imprensa_Oficial_SP_G2.crt +24 -0
  361. package/resources/certs/AC_Imprensa_Oficial_SP_G3.crt +36 -0
  362. package/resources/certs/AC_Imprensa_Oficial_SP_G4.crt +36 -0
  363. package/resources/certs/AC_Imprensa_Oficial_SP_RFB_G3.crt +41 -0
  364. package/resources/certs/AC_Imprensa_Oficial_SP_RFB_G4.crt +41 -0
  365. package/resources/certs/AC_Imprensa_Oficial_SP_RFB_G5.crt +41 -0
  366. package/resources/certs/AC_Imprensa_Oficial_SSL.crt +42 -0
  367. package/resources/certs/AC_Instituto_Fenacom_RFB.crt +30 -0
  368. package/resources/certs/AC_Instituto_Fenacon.crt +38 -0
  369. package/resources/certs/AC_Instituto_Fenacon_G2.crt +49 -0
  370. package/resources/certs/AC_Instituto_Fenacon_G3.crt +50 -0
  371. package/resources/certs/AC_Instituto_Fenacon_G4.crt +51 -0
  372. package/resources/certs/AC_Instituto_Fenacon_RFB_G2.crt +41 -0
  373. package/resources/certs/AC_Instituto_Fenacon_RFB_G3.crt +41 -0
  374. package/resources/certs/AC_JUS_v6.crt +37 -0
  375. package/resources/certs/AC_LINK_CD.crt +40 -0
  376. package/resources/certs/AC_LINK_RFB.crt +39 -0
  377. package/resources/certs/AC_LINK_RFB_v2.crt +39 -0
  378. package/resources/certs/AC_MAXIMUS_TECNOLOGIA_E_EVENTOS_v5.crt +41 -0
  379. package/resources/certs/AC_MAXIMUS_TECNOLOGIA_E_EVENTOS_v5_G2.crt +41 -0
  380. package/resources/certs/AC_META_CERTIFICADO_DIGITAL_CD.crt +40 -0
  381. package/resources/certs/AC_Notarial_RFB_G2.crt +27 -0
  382. package/resources/certs/AC_Notarial_RFB_G3.crt +39 -0
  383. package/resources/certs/AC_Notarial_RFB_G4.crt +39 -0
  384. package/resources/certs/AC_OAB_G3.crt +39 -0
  385. package/resources/certs/AC_ONLINEBRASIL_v5.crt +41 -0
  386. package/resources/certs/AC_ONLINE_RFB_v5.crt +40 -0
  387. package/resources/certs/AC_Oab.crt +27 -0
  388. package/resources/certs/AC_Oab_G2.crt +38 -0
  389. package/resources/certs/AC_Online_Brasil.crt +43 -0
  390. package/resources/certs/AC_Online_RFB.crt +39 -0
  391. package/resources/certs/AC_PETROBRAS_G4.crt +44 -0
  392. package/resources/certs/AC_PLANO_DIGITAL_CD.crt +40 -0
  393. package/resources/certs/AC_PREMIUM_CERTIFICADORA_DIGITAL_CD.crt +40 -0
  394. package/resources/certs/AC_PRODEMGE_G4.crt +44 -0
  395. package/resources/certs/AC_PRODESP_v1.crt +49 -0
  396. package/resources/certs/AC_Petrobras_G2.crt +30 -0
  397. package/resources/certs/AC_Petrobras_G3.crt +41 -0
  398. package/resources/certs/AC_Prodemge_G2.crt +32 -0
  399. package/resources/certs/AC_Prodemge_G3.crt +43 -0
  400. package/resources/certs/AC_Prodemge_RFB.crt +41 -0
  401. package/resources/certs/AC_Prodemge_RFB_G2.crt +29 -0
  402. package/resources/certs/AC_Prodemge_RFB_G3.crt +41 -0
  403. package/resources/certs/AC_Prodemge_RFB_G4.crt +41 -0
  404. package/resources/certs/AC_Prodest_RFB.crt +27 -0
  405. package/resources/certs/AC_Prodest_RFB_v2.crt +39 -0
  406. package/resources/certs/AC_REDE_BRASIL_v5_G2.crt +41 -0
  407. package/resources/certs/AC_REDE_IDEIA_CD.crt +40 -0
  408. package/resources/certs/AC_REDE_IDEIA_RFB.crt +39 -0
  409. package/resources/certs/AC_SAFEIDBRASIL.crt +41 -0
  410. package/resources/certs/AC_SAFETECH_CD.crt +40 -0
  411. package/resources/certs/AC_SAFEWEB_CD.crt +40 -0
  412. package/resources/certs/AC_SAFEWEB_RFB_v5.crt +39 -0
  413. package/resources/certs/AC_SAFEWEB_TIMESTAMPING.crt +40 -0
  414. package/resources/certs/AC_SEGURA_ID_v5.crt +41 -0
  415. package/resources/certs/AC_SEMPRE_CD.crt +40 -0
  416. package/resources/certs/AC_SEMPRE_RFB_v2.crt +39 -0
  417. package/resources/certs/AC_SENHA_DIGITAL_BRASIL.crt +41 -0
  418. package/resources/certs/AC_SERPRO_JUS_v5.crt +37 -0
  419. package/resources/certs/AC_SIC_BRASIL.crt +41 -0
  420. package/resources/certs/AC_SIC_RFB.crt +40 -0
  421. package/resources/certs/AC_SIG_BRASIL.crt +41 -0
  422. package/resources/certs/AC_SINCOR_G4.crt +46 -0
  423. package/resources/certs/AC_SINCOR_RIO_RFB_G2.crt +41 -0
  424. package/resources/certs/AC_SOLUTI-JUS_CODESIGNING_v5.crt +40 -0
  425. package/resources/certs/AC_SOLUTI-JUS_SSL_v5.crt +40 -0
  426. package/resources/certs/AC_SOLUTI-JUS_v5.crt +40 -0
  427. package/resources/certs/AC_SOLUTI_Multipla_CODESIGNING.crt +43 -0
  428. package/resources/certs/AC_SOLUTI_Multipla_SSL.crt +43 -0
  429. package/resources/certs/AC_SOLUTI_Multipla_TIMESTAMPING.crt +42 -0
  430. package/resources/certs/AC_SOLUTI_Multipla_TIMESTAMPING_v5.crt +39 -0
  431. package/resources/certs/AC_SOLUTI_Multipla_v5.crt +40 -0
  432. package/resources/certs/AC_SOLUTI_Multipla_v5_G2.crt +41 -0
  433. package/resources/certs/AC_SOLUTI_RFB_V5.crt +41 -0
  434. package/resources/certs/AC_Safeweb_RFB.crt +39 -0
  435. package/resources/certs/AC_Safeweb_v12.crt +36 -0
  436. package/resources/certs/AC_Safeweb_v5.crt +36 -0
  437. package/resources/certs/AC_Secretaria_da_Receita_Federal_do_Brasil_v3.crt +37 -0
  438. package/resources/certs/AC_Secretaria_da_Receita_Federal_do_Brasil_v4.crt +37 -0
  439. package/resources/certs/AC_Serasa_ACP.crt +0 -0
  440. package/resources/certs/AC_Serasa_Autoridade_Certificadora_Principal.crt +0 -0
  441. package/resources/certs/AC_Serasa_JUS.crt +0 -0
  442. package/resources/certs/AC_Serasa_JUS_v1.crt +37 -0
  443. package/resources/certs/AC_Serasa_JUS_v2.crt +42 -0
  444. package/resources/certs/AC_Serasa_JUS_v5.crt +38 -0
  445. package/resources/certs/AC_Serasa_RFB.crt +31 -0
  446. package/resources/certs/AC_Serasa_RFB_v2.crt +42 -0
  447. package/resources/certs/AC_Serasa_RFB_v5.crt +42 -0
  448. package/resources/certs/AC_Serpro_JUS_v3.crt +29 -0
  449. package/resources/certs/AC_Serpro_JUS_v4.crt +39 -0
  450. package/resources/certs/AC_Serpro_JUS_v5_erro_retirado_repositorio.crt +37 -0
  451. package/resources/certs/AC_Serpro_RFB.crt +28 -0
  452. package/resources/certs/AC_Serpro_RFB_v3.crt +40 -0
  453. package/resources/certs/AC_Serpro_RFB_v4.crt +40 -0
  454. package/resources/certs/AC_Sincor_G2.crt +34 -0
  455. package/resources/certs/AC_Sincor_G3.crt +44 -0
  456. package/resources/certs/AC_Sincor_RFB_G2.crt +29 -0
  457. package/resources/certs/AC_Sincor_RFB_G4.crt +41 -0
  458. package/resources/certs/AC_Sincor_RFB_G5.crt +41 -0
  459. package/resources/certs/AC_Sincor_Rio_RFB_G1.crt +41 -0
  460. package/resources/certs/AC_Solucao_Digital_Multipla.crt +42 -0
  461. package/resources/certs/AC_Soluti.crt +36 -0
  462. package/resources/certs/AC_Soluti_JUS_v1.crt +46 -0
  463. package/resources/certs/AC_Soluti_Multipla_v1.crt +46 -0
  464. package/resources/certs/AC_Soluti_OM-BR.crt +21 -0
  465. package/resources/certs/AC_Soluti_RFB.crt +41 -0
  466. package/resources/certs/AC_Soluti_v5.crt +36 -0
  467. package/resources/certs/AC_SyngularID_Multipla.crt +42 -0
  468. package/resources/certs/AC_VALID-JUS_CODESIGNING_v5.crt +39 -0
  469. package/resources/certs/AC_VALID-JUS_SSL_v5.crt +38 -0
  470. package/resources/certs/AC_VALID-JUS_v5.crt +38 -0
  471. package/resources/certs/AC_VALID_BRASIL_CODESIGNING.crt +42 -0
  472. package/resources/certs/AC_VALID_BRASIL_SSL.crt +41 -0
  473. package/resources/certs/AC_VALID_BRASIL_v5.crt +41 -0
  474. package/resources/certs/AC_VALID_PLUS_CODESIGNING.crt +42 -0
  475. package/resources/certs/AC_VALID_PLUS_SSL.crt +41 -0
  476. package/resources/certs/AC_VALID_PLUS_TIMESTAMPING.crt +42 -0
  477. package/resources/certs/AC_VALID_PLUS_v5.crt +49 -0
  478. package/resources/certs/AC_VALID_RFB_v5.crt +39 -0
  479. package/resources/certs/AC_VALID_SPB_v5.crt +38 -0
  480. package/resources/certs/AC_VALID_V12.crt +36 -0
  481. package/resources/certs/AC_VALID_v5.crt +36 -0
  482. package/resources/certs/AC_Valid_Brasil.crt +43 -0
  483. package/resources/certs/AC_Valid_JUS_v4.crt +41 -0
  484. package/resources/certs/AC_Valid_PLUS.crt +55 -0
  485. package/resources/certs/AC_Valid_RFB.crt +39 -0
  486. package/resources/certs/AC_Valid_SPB.crt +40 -0
  487. package/resources/certs/AC_Validar_Multipla.crt +42 -0
  488. package/resources/certs/AUTORIDADE_CERTIFICADORA_PROCERTI.crt +39 -0
  489. package/resources/certs/Autoridade Certificadora da Presidencia da Republica v1.crt +0 -0
  490. package/resources/certs/Autoridade Certificadora da Presidencia da Republica v2.crt +25 -0
  491. package/resources/certs/Autoridade_Certificadora_ALTERNATIVE.crt +41 -0
  492. package/resources/certs/Autoridade_Certificadora_BRASIL_CERTEC.crt +41 -0
  493. package/resources/certs/Autoridade_Certificadora_DIGITAL_CERTY.crt +41 -0
  494. package/resources/certs/Autoridade_Certificadora_IDFEDERAL.crt +41 -0
  495. package/resources/certs/Autoridade_Certificadora_INFOCOMEX.crt +39 -0
  496. package/resources/certs/Autoridade_Certificadora_INVIA.crt +41 -0
  497. package/resources/certs/Autoridade_Certificadora_NACIONAL.crt +41 -0
  498. package/resources/certs/Autoridade_Certificadora_PRIMECERT.crt +41 -0
  499. package/resources/certs/Autoridade_Certificadora_SDI.crt +41 -0
  500. package/resources/certs/Autoridade_Certificadora_SEFAZCE.crt +38 -0
  501. package/resources/certs/Autoridade_Certificadora_SERPRORFBv5.crt +40 -0
  502. package/resources/certs/Autoridade_Certificadora_Serpro_v2.crt +25 -0
  503. package/resources/certs/Autoridade_Certificadora_Serpro_v3.crt +36 -0
  504. package/resources/certs/Autoridade_Certificadora_Serpro_v4.crt +36 -0
  505. package/resources/certs/Autoridade_Certificadora_da_Casa_da_Moeda_do_Brasil.crt +29 -0
  506. package/resources/certs/Autoridade_Certificadora_da_Casa_da_Moeda_do_Brasil_v2.crt +37 -0
  507. package/resources/certs/Autoridade_Certificadora_da_Casa_da_Moeda_do_Brasil_v3.crt +41 -0
  508. package/resources/certs/Autoridade_Certificadora_da_Justica.crt +25 -0
  509. package/resources/certs/Autoridade_Certificadora_da_Justica_v3.crt +26 -0
  510. package/resources/certs/Autoridade_Certificadora_da_Justica_v4.crt +36 -0
  511. package/resources/certs/Autoridade_Certificadora_da_Justica_v5.crt +36 -0
  512. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica.crt +25 -0
  513. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_2005.crt +0 -0
  514. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_v1.crt +0 -0
  515. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_v2.crt +25 -0
  516. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_v3.crt +37 -0
  517. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_v4.crt +40 -0
  518. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_v5.crt +38 -0
  519. package/resources/certs/Autoridade_Certificadora_da_Presidencia_da_Republica_v6.crt +38 -0
  520. package/resources/certs/Autoridade_Certificadora_da_Secretaria_da_Receita_Federal.crt +23 -0
  521. package/resources/certs/Autoridade_Certificadora_da_Secretaria_da_Receita_Federal_v1.crt +23 -0
  522. package/resources/certs/Autoridade_Certificadora_do_Proderj.crt +26 -0
  523. package/resources/certs/Autoridade_Certificadora_do_Proderj_v2.crt +38 -0
  524. package/resources/certs/Autoridade_Certificadora_do_SERPRO_RFB_SSL.crt +38 -0
  525. package/resources/certs/Autoridade_Certificadora_do_Serpro.crt +0 -0
  526. package/resources/certs/Autoridade_Certificadora_do_Serpro_Final_SSL.crt +38 -0
  527. package/resources/certs/Autoridade_Certificadora_do_Serpro_Final_v1.crt +32 -0
  528. package/resources/certs/Autoridade_Certificadora_do_Serpro_Final_v2.crt +30 -0
  529. package/resources/certs/Autoridade_Certificadora_do_Serpro_Final_v3.crt +48 -0
  530. package/resources/certs/Autoridade_Certificadora_do_Serpro_Final_v4.crt +48 -0
  531. package/resources/certs/Autoridade_Certificadora_do_Serpro_Final_v5.crt +40 -0
  532. package/resources/certs/Autoridade_Certificadora_do_Serpro_v1.crt +0 -0
  533. package/resources/certs/Autoridade__Certificadora_do_Serpro_v1.crt +0 -0
  534. package/resources/certs/Certificado_AC_Raiz.crt +28 -0
  535. package/resources/certs/DigiCert_Global_Root_G2.crt +22 -0
  536. package/resources/certs/GeoTrust_TLS_RSA_CA_G1.crt +27 -0
  537. package/resources/certs/GlobalSign.crt +21 -0
  538. package/resources/certs/ICP-Brasil.crt +27 -0
  539. package/resources/certs/ICP-Brasilv10.crt +38 -0
  540. package/resources/certs/ICP-Brasilv11.crt +38 -0
  541. package/resources/certs/ICP-Brasilv12.crt +38 -0
  542. package/resources/certs/ICP-Brasilv2.crt +38 -0
  543. package/resources/certs/ICP-Brasilv5.crt +38 -0
  544. package/resources/certs/ICP-Brasilv6.crt +19 -0
  545. package/resources/certs/ICP-Brasilv7.crt +20 -0
  546. package/resources/certs/ISRG Root X1.crt +31 -0
  547. package/resources/certs/Instituto_Nacional_de_Metrologia_Qualidade_e_Tecnologia_INMETRO.crt +18 -0
  548. package/resources/certs/Secretaria_da_Receita_Federal_do_Brasil.crt +24 -0
  549. package/resources/certs/Sectigo Public Server Authentication Root R46.crt +32 -0
  550. package/resources/certs/Serasa_AC_v5.crt +41 -0
  551. package/resources/certs/Serasa_Autoridade_Certificadora_Principal.crt +27 -0
  552. package/resources/certs/Serasa_Autoridade_Certificadora_Principal_v1.crt +26 -0
  553. package/resources/certs/Serasa_Autoridade_Certificadora_Principal_v2.crt +37 -0
  554. package/resources/certs/Serasa_Autoridade_Certificadora_Principal_v5.crt +37 -0
  555. package/resources/certs/Serasa_Autoridade_Certificadora_v2.crt +43 -0
  556. package/resources/certs/Serasa_CD_SSL_v5.crt +47 -0
  557. package/resources/certs/Serasa_CD_v5.crt +56 -0
  558. package/resources/certs/Serasa_Certificadora_Digital_v2.crt +62 -0
  559. package/resources/certs/USERTrust_RSA_Certification_Authority.crt +34 -0
  560. package/resources/certs/ac_certfacil_v5.crt +40 -0
  561. package/resources/certs/ac_certifica_anapolis_v5.crt +40 -0
  562. package/resources/certs/ac_mult_v5.crt +40 -0
  563. package/resources/certs/ac_soluti_spb_v5.crt +37 -0
  564. package/resources/certs/fazenda.mg.gov.br.crt +38 -0
  565. package/resources/schemas/110150_v1.00.xsd +88 -0
  566. package/resources/schemas/Averb_v1.00.xsd +11 -0
  567. package/resources/schemas/CCe_v1.00.xsd +11 -0
  568. package/resources/schemas/DFeTiposBasicos_v1.00.xsd +1097 -0
  569. package/resources/schemas/EPEC_v1.00.xsd +9 -0
  570. package/resources/schemas/EPP1.xml +13 -0
  571. package/resources/schemas/ERP1.xml +19 -0
  572. package/resources/schemas/EventoCancEntregaNFe_v1.00.xsd +9 -0
  573. package/resources/schemas/EventoEntregaNFe_v1.00.xsd +9 -0
  574. package/resources/schemas/SuframaInternaliza_v1.00.xsd +9 -0
  575. package/resources/schemas/SuframaVistoria_v1.00.xsd +9 -0
  576. package/resources/schemas/confRecebto_v1.00.xsd +9 -0
  577. package/resources/schemas/consCad_v2.00.xsd +9 -0
  578. package/resources/schemas/consGTIN_v1.00.xsd +10 -0
  579. package/resources/schemas/consReciNFe_v4.00.xsd +9 -0
  580. package/resources/schemas/consSitNFe_v2.01.xsd +10 -0
  581. package/resources/schemas/consSitNFe_v4.00.xsd +9 -0
  582. package/resources/schemas/consStatServ_v4.00.xsd +9 -0
  583. package/resources/schemas/cte/distDFeInt_v1.00.xsd +71 -0
  584. package/resources/schemas/cte/retDistDFeInt_v1.00.xsd +89 -0
  585. package/resources/schemas/cte/tiposDistDFe_v1.00.xsd +243 -0
  586. package/resources/schemas/cte/xmldsig-core-schema_v1.01.xsd +98 -0
  587. package/resources/schemas/distDFeInt_v1.01.xsd +94 -0
  588. package/resources/schemas/e110001_v1.00.xsd +73 -0
  589. package/resources/schemas/e110110_v1.00.xsd +58 -0
  590. package/resources/schemas/e110111_v1.00.xsd +42 -0
  591. package/resources/schemas/e110112_v1.00.xsd +69 -0
  592. package/resources/schemas/e110130_v1.00.xsd +102 -0
  593. package/resources/schemas/e110131_v1.00.xsd +51 -0
  594. package/resources/schemas/e110140_v1.00.xsd +124 -0
  595. package/resources/schemas/e111500_v1.00.xsd +69 -0
  596. package/resources/schemas/e111501_v1.00.xsd +69 -0
  597. package/resources/schemas/e111502_v1.00.xsd +50 -0
  598. package/resources/schemas/e111503_v1.00.xsd +50 -0
  599. package/resources/schemas/e112110_v1.00.xsd +69 -0
  600. package/resources/schemas/e112120_v1.00 .xsd +107 -0
  601. package/resources/schemas/e112130_v1.00.xsd +119 -0
  602. package/resources/schemas/e112140_v1.00.xsd +107 -0
  603. package/resources/schemas/e210200_v1.00.xsd +32 -0
  604. package/resources/schemas/e210210_v1.00.xsd +32 -0
  605. package/resources/schemas/e210220_v1.00.xsd +45 -0
  606. package/resources/schemas/e210240_v1.00.xsd +44 -0
  607. package/resources/schemas/e211110_v1.00.xsd +134 -0
  608. package/resources/schemas/e211120_v1.00.xsd +124 -0
  609. package/resources/schemas/e211124_v1.00.xsd +107 -0
  610. package/resources/schemas/e211128_v1.00.xsd +69 -0
  611. package/resources/schemas/e211130_v1.00.xsd +107 -0
  612. package/resources/schemas/e211140_v1.00.xsd +107 -0
  613. package/resources/schemas/e211150_v1.00.xsd +85 -0
  614. package/resources/schemas/e212110_v1.00.xsd +70 -0
  615. package/resources/schemas/e212120_v1.00.xsd +69 -0
  616. package/resources/schemas/e411500_v1.00.xsd +134 -0
  617. package/resources/schemas/e411501_v1.00.xsd +134 -0
  618. package/resources/schemas/e411502_v1.00.xsd +95 -0
  619. package/resources/schemas/e411503_v1.00.xsd +95 -0
  620. package/resources/schemas/e412120_v1.00.xsd +88 -0
  621. package/resources/schemas/e412130_v1.00.xsd +88 -0
  622. package/resources/schemas/e790700_v1.00.xsd +148 -0
  623. package/resources/schemas/e990900_v1.00.xsd +87 -0
  624. package/resources/schemas/e990910_v1.00.xsd +81 -0
  625. package/resources/schemas/envAverb_v1.00.xsd +9 -0
  626. package/resources/schemas/envCCe_v1.00.xsd +10 -0
  627. package/resources/schemas/envConfRecebto_v1.00.xsd +9 -0
  628. package/resources/schemas/envEPEC_v1.00.xsd +9 -0
  629. package/resources/schemas/envEventoAtorInteressado_v1.00.xsd +9 -0
  630. package/resources/schemas/envEventoCancEntregaNFe_v1.00.xsd +10 -0
  631. package/resources/schemas/envEventoCancNFe_v1.00.xsd +9 -0
  632. package/resources/schemas/envEventoCancSubst_v1.00.xsd +9 -0
  633. package/resources/schemas/envEventoEntregaNFe_v1.00.xsd +10 -0
  634. package/resources/schemas/envEvento_v1.00.xsd +9 -0
  635. package/resources/schemas/envRemIndus_v1.00.xsd +9 -0
  636. package/resources/schemas/envSuframaInternaliza_v1.00.xsd +10 -0
  637. package/resources/schemas/envSuframaVistoria_v1.00.xsd +10 -0
  638. package/resources/schemas/enviNFe_v4.00.xsd +9 -0
  639. package/resources/schemas/eventoAtorInteressado_v1.00.xsd +9 -0
  640. package/resources/schemas/eventoCancNFe_v1.00.xsd +9 -0
  641. package/resources/schemas/eventoCancSubst_v1.00.xsd +9 -0
  642. package/resources/schemas/eventoEPEC_v0.01.xsd +267 -0
  643. package/resources/schemas/eventoRemIndus_v1.00.xsd +9 -0
  644. package/resources/schemas/inutNFe_v4.00.xsd +9 -0
  645. package/resources/schemas/leiauteAverb_v1.00.xsd +468 -0
  646. package/resources/schemas/leiauteCCe_v1.00.xsd +418 -0
  647. package/resources/schemas/leiauteCcgConsGTIN_v1.00.xsd +94 -0
  648. package/resources/schemas/leiauteConfRecebto_v1.00.xsd +406 -0
  649. package/resources/schemas/leiauteConsSitNFe_v2.01.xsd +548 -0
  650. package/resources/schemas/leiauteConsSitNFe_v4.00.xsd +502 -0
  651. package/resources/schemas/leiauteConsStatServ_v4.00.xsd +98 -0
  652. package/resources/schemas/leiauteConsultaCadastro_v2.00.xsd +404 -0
  653. package/resources/schemas/leiauteEPEC_v1.00.xsd +459 -0
  654. package/resources/schemas/leiauteEPEC_v1.00.xsd.bak +465 -0
  655. package/resources/schemas/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
  656. package/resources/schemas/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
  657. package/resources/schemas/leiauteEventoCancNFe_v1.00.xsd +394 -0
  658. package/resources/schemas/leiauteEventoCancSubst_v1.00.xsd +366 -0
  659. package/resources/schemas/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
  660. package/resources/schemas/leiauteEvento_v1.00.xsd +373 -0
  661. package/resources/schemas/leiauteInutNFe_v4.00.xsd +193 -0
  662. package/resources/schemas/leiauteNFe_v4.00.xsd +7558 -0
  663. package/resources/schemas/leiauteRemIndus_v1.00.xsd +382 -0
  664. package/resources/schemas/leiauteSuframaInternaliza_v1.00.xsd +642 -0
  665. package/resources/schemas/leiauteSuframaVistoria_v1.00.xsd +648 -0
  666. package/resources/schemas/nfe_v4.00.xsd +10 -0
  667. package/resources/schemas/procAverbNFe_v1.00.xsd +10 -0
  668. package/resources/schemas/procCCeNFe_v1.00.xsd +10 -0
  669. package/resources/schemas/procConfRecebtoNFe_v1.00.xsd +9 -0
  670. package/resources/schemas/procEPEC_v1.00.xsd +9 -0
  671. package/resources/schemas/procEventoAtorInteressado_v1.00.xsd +9 -0
  672. package/resources/schemas/procEventoCancEntregaNFe_v1.00.xsd +9 -0
  673. package/resources/schemas/procEventoCancNFe_v1.00.xsd +9 -0
  674. package/resources/schemas/procEventoCancSubst_v1.00.xsd +9 -0
  675. package/resources/schemas/procEventoEntregaNFe_v1.00.xsd +9 -0
  676. package/resources/schemas/procEventoNFe_v1.00.xsd +9 -0
  677. package/resources/schemas/procInutNFe_v4.00.xsd +9 -0
  678. package/resources/schemas/procNFe_v4.00.xsd +9 -0
  679. package/resources/schemas/procRemIndus_v1.00.xsd +9 -0
  680. package/resources/schemas/resEvento_v1.01.xsd +1 -0
  681. package/resources/schemas/resNFe_v1.01.xsd +5 -0
  682. package/resources/schemas/retConsCad_v2.00.xsd +9 -0
  683. package/resources/schemas/retConsGTIN_v1.00.xsd +9 -0
  684. package/resources/schemas/retConsReciNFe_v4.00.xsd +9 -0
  685. package/resources/schemas/retConsSitNFe_v2.01.xsd +10 -0
  686. package/resources/schemas/retConsSitNFe_v4.00.xsd +9 -0
  687. package/resources/schemas/retConsStatServ_v4.00.xsd +9 -0
  688. package/resources/schemas/retDistDFeInt_v1.01.xsd +5 -0
  689. package/resources/schemas/retEnvAverb_v1.00.xsd +9 -0
  690. package/resources/schemas/retEnvCCe_v1.00.xsd +10 -0
  691. package/resources/schemas/retEnvConfRecebto_v1.00.xsd +9 -0
  692. package/resources/schemas/retEnvEPEC_v1.00.xsd +9 -0
  693. package/resources/schemas/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
  694. package/resources/schemas/retEnvEventoCancNFe_v1.00.xsd +9 -0
  695. package/resources/schemas/retEnvEventoCancSubst_v1.00.xsd +9 -0
  696. package/resources/schemas/retEnvEvento_v1.00.xsd +9 -0
  697. package/resources/schemas/retEnvRemIndus_v1.00.xsd +9 -0
  698. package/resources/schemas/retEnvSuframaInternaliza_v1.00.xsd +9 -0
  699. package/resources/schemas/retEnvSuframaVistoria_v1.00.xsd +9 -0
  700. package/resources/schemas/retEnviNFe_v4.00.xsd +9 -0
  701. package/resources/schemas/retEventoCancEntregaNFe_v1.00.xsd +9 -0
  702. package/resources/schemas/retEventoEPEC_v0.01.xsd +207 -0
  703. package/resources/schemas/retEventoEntregaNFe_v1.00.xsd +9 -0
  704. package/resources/schemas/retInutNFe_v4.00.xsd +9 -0
  705. package/resources/schemas/tiposBasico_v1.03.xsd +834 -0
  706. package/resources/schemas/tiposBasico_v3.10.xsd +833 -0
  707. package/resources/schemas/tiposBasico_v4.00.xsd +598 -0
  708. package/resources/schemas/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
  709. package/resources/schemas/tiposDistDFe_v1.01.xsd +1 -0
  710. package/resources/schemas/xmldsig-core-schema_v1.01.xsd +98 -0
  711. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XmlBuilder.js","sourceRoot":"","sources":["../../../src/adapters/XmlBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,MAAM,MAA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AAG,WAAW,OAAO,CAAC,GAAG;gBACrC,CAAC,WAAW,CAAC,EAAE;oBACX,GAAG,EAAE;wBACD,OAAO,EAAE,UAAU;qBACtB;oBACD,CAAC,EAAE,OAAO;iBACb;aACJ,CAAC;QACN,CAAC;QAED,gDAAgD;QAChD,IAAI,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,GAAG,WAAW,WAAW,CAAC,CAAC;QAC/E,OAAO,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC5C,CAAC;CAEJ;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * NFeWizard - Adapters
3
+ * @module @nfewizard/shared/adapters
4
+ * @license GPL-3.0-or-later
5
+ */
6
+ export { XmlBuilder } from './XmlBuilder.js';
7
+ export { getSchema } from './SchemaLoader.js';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * NFeWizard - Adapters
3
+ * @module @nfewizard/shared/adapters
4
+ * @license GPL-3.0-or-later
5
+ */
6
+ export { XmlBuilder } from './XmlBuilder.js';
7
+ export { getSchema } from './SchemaLoader.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/adapters/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { Environment } from '../environment/Environment.js';
2
+ import { XmlBuilder } from '../adapters/XmlBuilder.js';
3
+ import { Utility } from '../utils/Utility.js';
4
+ import { AxiosInstance, AxiosResponse } from 'axios';
5
+ import { SaveFilesImpl, GerarConsultaImpl } from '@nfewizard/types/shared';
6
+ import { Agent } from 'http';
7
+ declare abstract class BaseNFE {
8
+ environment: Environment;
9
+ utility: Utility;
10
+ metodo: string;
11
+ xmlBuilder: XmlBuilder;
12
+ chaveNfe: string;
13
+ axios: AxiosInstance;
14
+ saveFiles: SaveFilesImpl;
15
+ gerarConsulta: GerarConsultaImpl;
16
+ modelo?: string;
17
+ constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder, metodo: string, axios: AxiosInstance, saveFiles: SaveFilesImpl, gerarConsulta: GerarConsultaImpl);
18
+ /**
19
+ * Método de geração do XML - Deve ser implementado pelas subclasses
20
+ */
21
+ protected gerarXml(data?: any): string;
22
+ protected setContentType(): "application/soap+xml" | "text/xml; charset=utf-8";
23
+ protected callWebService(xmlConsulta: string, webServiceUrl: string, ContentType: string, action: string, agent: Agent): Promise<AxiosResponse<any, any>>;
24
+ /**
25
+ * Método para obter o modelo
26
+ */
27
+ protected getModelo(data?: any): string;
28
+ /**
29
+ * Executa a requisição ao webservice SEFAZ
30
+ * @param {any} [data] - Dados opcionais usados para gerar o XML em algumas subclasses.
31
+ * @returns {Promise<any>} A resposta do webservice em JSON.
32
+ */
33
+ Exec(data?: any): Promise<any>;
34
+ }
35
+ export { BaseNFE };
@@ -0,0 +1,95 @@
1
+ import { XmlParser } from '../utils/XmlParser.js';
2
+ import { logger } from '../exceptions/logger.js';
3
+ class BaseNFE {
4
+ constructor(environment, utility, xmlBuilder, metodo, axios, saveFiles, gerarConsulta) {
5
+ this.environment = environment;
6
+ this.utility = utility;
7
+ this.xmlBuilder = xmlBuilder;
8
+ this.metodo = metodo;
9
+ this.axios = axios;
10
+ this.saveFiles = saveFiles;
11
+ this.gerarConsulta = gerarConsulta;
12
+ this.chaveNfe = "";
13
+ this.modelo = 'NFe';
14
+ }
15
+ /**
16
+ * Método de geração do XML - Deve ser implementado pelas subclasses
17
+ */
18
+ gerarXml(data) {
19
+ throw new Error("O método 'gerarXml' não foi implementado na subclasse.");
20
+ }
21
+ setContentType() {
22
+ const UF = this.environment.config.dfe.UF;
23
+ const ufsAppSoad = ['MG', 'GO', 'MT', 'MS', 'AM', 'DF'];
24
+ if (ufsAppSoad.includes(UF)) {
25
+ return 'application/soap+xml';
26
+ }
27
+ return 'text/xml; charset=utf-8';
28
+ }
29
+ async callWebService(xmlConsulta, webServiceUrl, ContentType, action, agent) {
30
+ const startTime = Date.now();
31
+ const headers = {
32
+ 'Content-Type': ContentType,
33
+ };
34
+ logger.http('Iniciando comunicação com o webservice', {
35
+ context: `BaseNFE`,
36
+ method: this.metodo,
37
+ url: webServiceUrl,
38
+ action,
39
+ headers,
40
+ });
41
+ const response = await this.axios.post(webServiceUrl, xmlConsulta, {
42
+ headers,
43
+ httpsAgent: agent
44
+ });
45
+ const duration = Date.now() - startTime;
46
+ logger.http('Comunicação concluída com sucesso', {
47
+ context: `BaseNFE`,
48
+ method: this.metodo,
49
+ duration: `${duration}ms`,
50
+ responseSize: response.data ? JSON.stringify(response.data).length : 0
51
+ });
52
+ return response;
53
+ }
54
+ /**
55
+ * Método para obter o modelo
56
+ */
57
+ getModelo(data) {
58
+ return this.modelo || 'NFe';
59
+ }
60
+ /**
61
+ * Executa a requisição ao webservice SEFAZ
62
+ * @param {any} [data] - Dados opcionais usados para gerar o XML em algumas subclasses.
63
+ * @returns {Promise<any>} A resposta do webservice em JSON.
64
+ */
65
+ async Exec(data) {
66
+ let xmlConsulta = '';
67
+ let xmlConsultaSoap = '';
68
+ let webServiceUrlTmp = '';
69
+ let responseInJson = undefined;
70
+ let xmlRetorno = {};
71
+ const ContentType = this.setContentType();
72
+ try {
73
+ // Gerando XML específico
74
+ xmlConsulta = this.gerarXml(data);
75
+ const modelo = this.getModelo(data);
76
+ const { xmlFormated, agent, webServiceUrl, action } = await this.gerarConsulta.gerarConsulta(xmlConsulta, this.metodo, undefined, undefined, modelo);
77
+ xmlConsultaSoap = xmlFormated;
78
+ webServiceUrlTmp = webServiceUrl;
79
+ const xmlRetorno = await this.callWebService(xmlFormated, webServiceUrl, ContentType, action, agent);
80
+ // Instanciando classe de utilitários com lib xml-js e convertendo XML para XmlParser
81
+ const json = new XmlParser();
82
+ responseInJson = json.convertXmlToJson(xmlRetorno.data, this.metodo);
83
+ // Gera erro em caso de Rejeição
84
+ if (responseInJson.xMotivo.includes('Rejeição')) {
85
+ throw new Error(responseInJson.xMotivo);
86
+ }
87
+ return responseInJson;
88
+ }
89
+ finally {
90
+ this.saveFiles.salvaArquivos(xmlConsulta, responseInJson, xmlRetorno, this.metodo, xmlConsultaSoap);
91
+ }
92
+ }
93
+ }
94
+ export { BaseNFE };
95
+ //# sourceMappingURL=BaseNFe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseNFe.js","sourceRoot":"","sources":["../../../src/base/BaseNFe.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIlD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,MAAe,OAAO;IAWlB,YAAY,WAAwB,EAAE,OAAgB,EAAE,UAAsB,EAAE,MAAc,EAAE,KAAoB,EAAE,SAAwB,EAAE,aAAgC;QAC5K,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;IAED;;OAEG;IACO,QAAQ,CAAC,IAAU;QACzB,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;IAC9E,CAAC;IAES,cAAc;QACpB,MAAM,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;QAE1C,MAA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C;YACP,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,WAAW,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;QACxG,CAAC;IACL,CAAC;CACJ;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { XmlBuilder } from '../adapters/XmlBuilder.js';
2
+ import { Utility } from '../utils/Utility.js';
3
+ import { GerarConsultaImpl } from '@nfewizard/types/shared';
4
+ import { Environment } from '../environment/Environment.js';
5
+ declare class GerarConsulta implements GerarConsultaImpl {
6
+ utility: Utility;
7
+ environment: Environment;
8
+ xmlBuilder: XmlBuilder;
9
+ constructor(environment: Environment, utility: Utility, xmlBuilder: XmlBuilder);
10
+ createSoapEnvelop(xmlConsulta: string, metodo: string, method: string, rootTag?: boolean, tag?: string, dadosMsgTag?: string): string;
11
+ gerarConsulta(xmlConsulta: string, metodo: string, ambienteNacional?: boolean, versao?: string, mod?: string, rootTag?: boolean, tag?: string, dadosMsgTag?: string): Promise<{
12
+ xmlFormated: string;
13
+ agent: import("https").Agent;
14
+ webServiceUrl: string;
15
+ action: any;
16
+ }>;
17
+ }
18
+ export { GerarConsulta };
@@ -0,0 +1,61 @@
1
+ import { logger } from '../exceptions/logger.js';
2
+ class GerarConsulta {
3
+ constructor(environment, utility, xmlBuilder) {
4
+ this.environment = environment;
5
+ this.utility = utility;
6
+ this.xmlBuilder = xmlBuilder;
7
+ }
8
+ createSoapEnvelop(xmlConsulta, metodo, method, rootTag = false, tag = "", dadosMsgTag = "nfeDadosMsg") {
9
+ logger.info(`Adicionando SOAP ao XML`, {
10
+ context: 'GerarConsulta',
11
+ });
12
+ // Criando envelop SOAP (estrutura para e envio do XML)
13
+ let rootTagObj = null;
14
+ if (rootTag) {
15
+ rootTagObj = {
16
+ tag,
17
+ namespace: method,
18
+ };
19
+ }
20
+ return this.xmlBuilder.buildSoapEnvelope(xmlConsulta, method, 'soap12', rootTagObj, dadosMsgTag);
21
+ }
22
+ async gerarConsulta(xmlConsulta, metodo, ambienteNacional = false, versao = "", mod = "NFe", rootTag = false, tag = "", dadosMsgTag = "nfeDadosMsg") {
23
+ try {
24
+ const config = this.environment.getConfig();
25
+ // Valida Schema
26
+ if (config.lib?.useForSchemaValidation !== 'validateSchemaJsBased') {
27
+ logger.info(`Validando XML com xsd-schema-validator`, {
28
+ context: 'GerarConsulta',
29
+ obs: 'Validação necessita do JAVA instaldo no ambiente',
30
+ });
31
+ await this.utility.validateSchemaJavaBased(xmlConsulta, metodo);
32
+ }
33
+ else {
34
+ logger.info(`Validando XML com xsd-assembler`, {
35
+ context: 'GerarConsulta',
36
+ obs: 'Validação com nodejs',
37
+ });
38
+ await this.utility.validateSchemaJsBased(xmlConsulta, metodo);
39
+ }
40
+ // Capturando a url do método para o namespace xmlns
41
+ const { method, action } = this.utility.getSoapInfo(config.dfe.UF, metodo);
42
+ const xmlFormated = this.createSoapEnvelop(xmlConsulta, metodo, method, rootTag, tag, dadosMsgTag);
43
+ // Retorna o Http.Agent contendo os certificados das Autoridades Certificadoras
44
+ const agent = this.environment.getHttpAgent();
45
+ // Retorna a url do webservice NFEStatusServico
46
+ const webServiceUrl = this.utility.getWebServiceUrl(metodo, ambienteNacional, versao, mod);
47
+ return {
48
+ xmlFormated,
49
+ agent,
50
+ webServiceUrl,
51
+ action
52
+ };
53
+ }
54
+ catch (error) {
55
+ logger.error(`Erro ao gerar dados de consulta para o webservice`, error, { context: 'GerarConsulta', method: 'gerarConsulta', service: metodo });
56
+ throw new Error(error.message);
57
+ }
58
+ }
59
+ }
60
+ export { GerarConsulta };
61
+ //# sourceMappingURL=GerarConsulta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GerarConsulta.js","sourceRoot":"","sources":["../../../src/base/GerarConsulta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAKjD,MAAM,aAAa;IAKf,YAAY,WAAwB,EAA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ACJ,MAAM,CAAC,IAAI,CAAC,iCAAiC,EAAE;oBAC3C,OAAO,EAAE,eAAe;oBACxB,GAAG,EAAE,sBAAsB;iBAC9B,CAAC,CAAC;gBACH,MAAM,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;YAClE,CAAC;YAED,oDAAoD;YACpD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;YAE3E,MAAM,WAAW,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,WAAW,CAAC,CAAC;YAEnG,+EAA+E;YAC/E,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC;YAE9C,+CAA+C;YAC/C,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;YAE3F,OAAO;gBACH,WAAW;gBACX,KAAK;gBACL,aAAa;gBACb,MAAM;aACT,CAAA;QAEL,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YAClB,MAAM,CAAC,KAAK,CAAC,mDAAmD,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;YACjJ,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;QAClC,CAAC;IACL,CAAC;CACJ;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Utility } from '../utils/Utility.js';
2
+ import { SaveFilesImpl } from '@nfewizard/types/shared';
3
+ import { Environment } from '../environment/Environment.js';
4
+ import { GenericObject } from '@nfewizard/types/shared';
5
+ import { AxiosResponse } from 'axios';
6
+ declare class SaveFiles implements SaveFilesImpl {
7
+ utility: Utility;
8
+ environment: Environment;
9
+ constructor(environment: Environment, utility: Utility);
10
+ salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void;
11
+ }
12
+ export { SaveFiles };
@@ -0,0 +1,59 @@
1
+ import { format } from 'date-fns';
2
+ /*
3
+ * This file is part of NFeWizard-io.
4
+ *
5
+ * NFeWizard-io is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ *
10
+ * NFeWizard-io is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with NFeWizard-io. If not, see <https://www.gnu.org/licenses/>.
17
+ */
18
+ class SaveFiles {
19
+ constructor(environment, utility) {
20
+ this.environment = environment;
21
+ this.utility = utility;
22
+ }
23
+ salvaArquivos(xmlConsulta, responseInJson, xmlRetorno, metodo, xmlFormated, options) {
24
+ // Recupera configuração do ambiente para verificar se os arquivos gerados serão gravados em disco
25
+ const config = this.environment.getConfig();
26
+ let dateAndTimeInFileName = config.dfe.incluirTimestampNoNomeDosArquivos;
27
+ const { armazenarXMLConsultaComTagSoap } = this.environment.config.dfe;
28
+ const xmlConsultaASalvar = armazenarXMLConsultaComTagSoap ? xmlFormated : xmlConsulta;
29
+ const createFileName = (prefix) => {
30
+ const dtaTime = dateAndTimeInFileName ? `-${format(new Date(), 'dd-MM-yyyy-HHmm')}` : '';
31
+ const baseFileName = `${metodo}`;
32
+ const prefixPart = prefix ? `-${prefix}` : '';
33
+ const nfePart = responseInJson && responseInJson.chNFe ? `-${responseInJson.chNFe}` : '';
34
+ const dateTimePart = dtaTime;
35
+ return `${baseFileName}${prefixPart}${nfePart}${dateTimePart}`;
36
+ };
37
+ const salvarArquivo = (data, prefix, path, fileType) => {
38
+ const fileName = createFileName(prefix);
39
+ const method = fileType === 'xml' ? 'salvaXML' : 'salvaJSON';
40
+ this.utility[method]({
41
+ data: data || '',
42
+ fileName,
43
+ metodo: metodo,
44
+ path,
45
+ });
46
+ };
47
+ if (config.dfe.armazenarXMLConsulta) {
48
+ salvarArquivo(xmlConsultaASalvar, 'consulta', config.dfe.pathXMLConsulta, 'xml');
49
+ }
50
+ if (config.dfe.armazenarXMLRetorno) {
51
+ salvarArquivo(xmlRetorno.data, 'retorno', config.dfe.pathXMLRetorno, 'xml');
52
+ }
53
+ if (config.dfe.armazenarRetornoEmJSON) {
54
+ salvarArquivo(responseInJson, undefined, config.dfe.pathRetornoEmJSON, 'json');
55
+ }
56
+ }
57
+ }
58
+ export { SaveFiles };
59
+ //# sourceMappingURL=SaveFiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SaveFiles.js","sourceRoot":"","sources":["../../../src/base/SaveFiles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,SAAS;IAGX,YAAY,WAAwB,EAAE,OAAgB;QAClD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAEM,aAAa,CAAC,WAAmB,EAAE,cAAyC,EAAE,UAAmC,EAAE,MAAc,EAAE,WAAoB,EAAE,OAA6B;QACzL,kGAAkG;QAClG,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;QAC5C,IAAI,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC;QACzE,MAAM,EAAE,8BAA8B,EAAE,GAAG,IAA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,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;QACrF,CAAC;QACD,IAAI,MAAM,CAAC,GAAG,CAAC,mBAAmB,EAAE,CAAC;YACjC,aAAa,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;QAChF,CAAC;QACD,IAAI,MAAM,CAAC,GAAG,CAAC,sBAAsB,EAAE,CAAC;YACpC,aAAa,CAAC,cAAc,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;QACnF,CAAC;IACL,CAAC;CACJ;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * NFeWizard - Base Classes
3
+ * @module @nfewizard/shared/base
4
+ * @license GPL-3.0-or-later
5
+ */
6
+ export { BaseNFE } from './BaseNFe.js';
7
+ export { GerarConsulta } from './GerarConsulta.js';
8
+ export { SaveFiles } from './SaveFiles.js';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * NFeWizard - Base Classes
3
+ * @module @nfewizard/shared/base
4
+ * @license GPL-3.0-or-later
5
+ */
6
+ export { BaseNFE } from './BaseNFe.js';
7
+ export { GerarConsulta } from './GerarConsulta.js';
8
+ export { SaveFiles } from './SaveFiles.js';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/base/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,8 @@
1
+ {
2
+ "CTe_AN_P": {
3
+ "CTeDistribuicaoDFe_1.00": "https://www1.cte.fazenda.gov.br/CTeDistribuicaoDFe/CTeDistribuicaoDFe.asmx"
4
+ },
5
+ "CTe_AN_H": {
6
+ "CTeDistribuicaoDFe_1.00": "https://hom1.cte.fazenda.gov.br/CTeDistribuicaoDFe/CTeDistribuicaoDFe.asmx"
7
+ }
8
+ }