nuvemfiscal_sdk_ruby 0.0.1

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 (1417) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +757 -0
  4. data/Rakefile +10 -0
  5. data/docs/AtvEvento.md +30 -0
  6. data/docs/BeneficioMunicipal.md +24 -0
  7. data/docs/CServ.md +26 -0
  8. data/docs/CepApi.md +82 -0
  9. data/docs/CepEndereco.md +32 -0
  10. data/docs/CnpjApi.md +169 -0
  11. data/docs/CnpjCnae.md +20 -0
  12. data/docs/CnpjCnaeSecundario.md +20 -0
  13. data/docs/CnpjEmpresa.md +60 -0
  14. data/docs/CnpjEndereco.md +32 -0
  15. data/docs/CnpjFaixaEtaria.md +20 -0
  16. data/docs/CnpjIdentificadorSocio.md +20 -0
  17. data/docs/CnpjListagem.md +20 -0
  18. data/docs/CnpjMotivoSituacaoCadastral.md +22 -0
  19. data/docs/CnpjMunicipio.md +22 -0
  20. data/docs/CnpjNaturezaJuridica.md +20 -0
  21. data/docs/CnpjOpcaoSimei.md +22 -0
  22. data/docs/CnpjOpcaoSimples.md +22 -0
  23. data/docs/CnpjPais.md +20 -0
  24. data/docs/CnpjPorteEmpresa.md +20 -0
  25. data/docs/CnpjQualificacaoSocio.md +20 -0
  26. data/docs/CnpjRepresentanteLegal.md +22 -0
  27. data/docs/CnpjSituacaoCadastral.md +22 -0
  28. data/docs/CnpjSituacaoEspecial.md +22 -0
  29. data/docs/CnpjSocio.md +32 -0
  30. data/docs/CnpjTelefone.md +20 -0
  31. data/docs/ComExterior.md +36 -0
  32. data/docs/ContaApi.md +150 -0
  33. data/docs/ContaCota.md +22 -0
  34. data/docs/ContaCotaListagem.md +20 -0
  35. data/docs/CteApi.md +1515 -0
  36. data/docs/CteCartaCorrecao.md +46 -0
  37. data/docs/CteInfCorrecao.md +24 -0
  38. data/docs/CtePedidoCancelamento.md +18 -0
  39. data/docs/CtePedidoCartaCorrecao.md +18 -0
  40. data/docs/CtePedidoEmissao.md +24 -0
  41. data/docs/CteSefazAereo.md +28 -0
  42. data/docs/CteSefazAquav.md +34 -0
  43. data/docs/CteSefazAutXML.md +20 -0
  44. data/docs/CteSefazBalsa.md +18 -0
  45. data/docs/CteSefazCobr.md +20 -0
  46. data/docs/CteSefazComData.md +20 -0
  47. data/docs/CteSefazComHora.md +20 -0
  48. data/docs/CteSefazComp.md +20 -0
  49. data/docs/CteSefazCompl.md +36 -0
  50. data/docs/CteSefazDest.md +32 -0
  51. data/docs/CteSefazDetCont.md +22 -0
  52. data/docs/CteSefazDetContInfDoc.md +20 -0
  53. data/docs/CteSefazDetContInfDocInfNF.md +22 -0
  54. data/docs/CteSefazDetContInfDocInfNFe.md +20 -0
  55. data/docs/CteSefazDocAnt.md +18 -0
  56. data/docs/CteSefazDup.md +22 -0
  57. data/docs/CteSefazDuto.md +22 -0
  58. data/docs/CteSefazEmiDocAnt.md +28 -0
  59. data/docs/CteSefazEmiOcc.md +26 -0
  60. data/docs/CteSefazEmit.md +32 -0
  61. data/docs/CteSefazEndeEmi.md +34 -0
  62. data/docs/CteSefazEnderFer.md +32 -0
  63. data/docs/CteSefazEndereco.md +36 -0
  64. data/docs/CteSefazEntrega.md +28 -0
  65. data/docs/CteSefazExped.md +30 -0
  66. data/docs/CteSefazFat.md +24 -0
  67. data/docs/CteSefazFerroEnv.md +26 -0
  68. data/docs/CteSefazFerrov.md +22 -0
  69. data/docs/CteSefazFluxo.md +24 -0
  70. data/docs/CteSefazICMS00.md +24 -0
  71. data/docs/CteSefazICMS20.md +30 -0
  72. data/docs/CteSefazICMS45.md +22 -0
  73. data/docs/CteSefazICMS60.md +30 -0
  74. data/docs/CteSefazICMS90.md +32 -0
  75. data/docs/CteSefazICMSOutraUF.md +30 -0
  76. data/docs/CteSefazICMSSN.md +20 -0
  77. data/docs/CteSefazICMSUFFim.md +30 -0
  78. data/docs/CteSefazIdDocAnt.md +20 -0
  79. data/docs/CteSefazIdDocAntEle.md +18 -0
  80. data/docs/CteSefazIdDocAntPap.md +26 -0
  81. data/docs/CteSefazIde.md +84 -0
  82. data/docs/CteSefazImp.md +30 -0
  83. data/docs/CteSefazInfCTeMultimodal.md +18 -0
  84. data/docs/CteSefazInfCTeNorm.md +34 -0
  85. data/docs/CteSefazInfCTeSupl.md +18 -0
  86. data/docs/CteSefazInfCarga.md +26 -0
  87. data/docs/CteSefazInfCte.md +48 -0
  88. data/docs/CteSefazInfCteComp.md +18 -0
  89. data/docs/CteSefazInfCteImp.md +24 -0
  90. data/docs/CteSefazInfCteSub.md +20 -0
  91. data/docs/CteSefazInfDoc.md +22 -0
  92. data/docs/CteSefazInfGlobalizado.md +18 -0
  93. data/docs/CteSefazInfModal.md +30 -0
  94. data/docs/CteSefazInfNF.md +52 -0
  95. data/docs/CteSefazInfNFe.md +26 -0
  96. data/docs/CteSefazInfOutros.md +32 -0
  97. data/docs/CteSefazInfQ.md +22 -0
  98. data/docs/CteSefazInfSeg.md +20 -0
  99. data/docs/CteSefazInfServVinc.md +18 -0
  100. data/docs/CteSefazInfSolicNFF.md +18 -0
  101. data/docs/CteSefazInfTotAP.md +20 -0
  102. data/docs/CteSefazLacUnidCarga.md +18 -0
  103. data/docs/CteSefazLacUnidTransp.md +18 -0
  104. data/docs/CteSefazLacre.md +18 -0
  105. data/docs/CteSefazMultimodal.md +22 -0
  106. data/docs/CteSefazNatCarga.md +20 -0
  107. data/docs/CteSefazNoInter.md +22 -0
  108. data/docs/CteSefazNoPeriodo.md +22 -0
  109. data/docs/CteSefazObsCont.md +20 -0
  110. data/docs/CteSefazObsFisco.md +20 -0
  111. data/docs/CteSefazOcc.md +24 -0
  112. data/docs/CteSefazPass.md +18 -0
  113. data/docs/CteSefazPeri.md +22 -0
  114. data/docs/CteSefazReceb.md +30 -0
  115. data/docs/CteSefazRem.md +32 -0
  116. data/docs/CteSefazRespTec.md +28 -0
  117. data/docs/CteSefazRodo.md +20 -0
  118. data/docs/CteSefazSeg.md +22 -0
  119. data/docs/CteSefazSemData.md +18 -0
  120. data/docs/CteSefazSemHora.md +18 -0
  121. data/docs/CteSefazTarifa.md +22 -0
  122. data/docs/CteSefazToma3.md +18 -0
  123. data/docs/CteSefazToma4.md +34 -0
  124. data/docs/CteSefazTrafMut.md +26 -0
  125. data/docs/CteSefazUnidCarga.md +24 -0
  126. data/docs/CteSefazUnidadeTransp.md +26 -0
  127. data/docs/CteSefazVPrest.md +22 -0
  128. data/docs/CteSefazVeicNovos.md +28 -0
  129. data/docs/DPS.md +20 -0
  130. data/docs/Dfe.md +42 -0
  131. data/docs/DfeAutorEvento.md +18 -0
  132. data/docs/DfeAutorizacao.md +46 -0
  133. data/docs/DfeCancelamento.md +46 -0
  134. data/docs/DfeCartaCorrecao.md +46 -0
  135. data/docs/DfeContribuinteEndereco.md +38 -0
  136. data/docs/DfeContribuinteInfCad.md +50 -0
  137. data/docs/DfeContribuinteInfCons.md +34 -0
  138. data/docs/DfeEvento.md +44 -0
  139. data/docs/DfeEventoListagem.md +20 -0
  140. data/docs/DfeInutilizacao.md +58 -0
  141. data/docs/DfeListagem.md +20 -0
  142. data/docs/DfeLote.md +32 -0
  143. data/docs/DfeLoteListagem.md +20 -0
  144. data/docs/DfePedidoEnvioEmail.md +18 -0
  145. data/docs/DfePedidoInutilizacao.md +30 -0
  146. data/docs/DfeRecibo.md +28 -0
  147. data/docs/DfeSefazStatus.md +30 -0
  148. data/docs/DfeSincronizacao.md +26 -0
  149. data/docs/DistribuicaoNfe.md +46 -0
  150. data/docs/DistribuicaoNfeDocumento.md +52 -0
  151. data/docs/DistribuicaoNfeDocumentoListagem.md +20 -0
  152. data/docs/DistribuicaoNfeEvento.md +44 -0
  153. data/docs/DistribuicaoNfeListagem.md +20 -0
  154. data/docs/DistribuicaoNfeNota.md +32 -0
  155. data/docs/DistribuicaoNfeNotaListagem.md +20 -0
  156. data/docs/DistribuicaoNfePedido.md +32 -0
  157. data/docs/DistribuicaoNfePedidoManifestacao.md +26 -0
  158. data/docs/DistribuioNFEApi.md +880 -0
  159. data/docs/DocDedRed.md +40 -0
  160. data/docs/DocNFNFS.md +22 -0
  161. data/docs/DocOutNFSe.md +22 -0
  162. data/docs/Email.md +34 -0
  163. data/docs/EmailApi.md +169 -0
  164. data/docs/EmailAttachment.md +20 -0
  165. data/docs/EmailEvent.md +24 -0
  166. data/docs/EmailListagem.md +20 -0
  167. data/docs/EmailResumo.md +26 -0
  168. data/docs/EmailStatusResponse.md +22 -0
  169. data/docs/Empresa.md +36 -0
  170. data/docs/EmpresaApi.md +1947 -0
  171. data/docs/EmpresaCertificado.md +32 -0
  172. data/docs/EmpresaConfigCte.md +20 -0
  173. data/docs/EmpresaConfigDistribuicaoNfe.md +22 -0
  174. data/docs/EmpresaConfigMdfe.md +18 -0
  175. data/docs/EmpresaConfigNfce.md +22 -0
  176. data/docs/EmpresaConfigNfceSefaz.md +20 -0
  177. data/docs/EmpresaConfigNfcom.md +20 -0
  178. data/docs/EmpresaConfigNfe.md +20 -0
  179. data/docs/EmpresaConfigNfse.md +26 -0
  180. data/docs/EmpresaConfigNfseRegTrib.md +22 -0
  181. data/docs/EmpresaConfigPrefeitura.md +22 -0
  182. data/docs/EmpresaConfigRps.md +22 -0
  183. data/docs/EmpresaEndereco.md +36 -0
  184. data/docs/EmpresaListagem.md +20 -0
  185. data/docs/EmpresaPedidoCadastroCertificado.md +20 -0
  186. data/docs/EnderExt.md +24 -0
  187. data/docs/EnderExtSimples.md +22 -0
  188. data/docs/EnderNac.md +20 -0
  189. data/docs/Endereco.md +28 -0
  190. data/docs/EnderecoEmail.md +18 -0
  191. data/docs/EnderecoSimples.md +28 -0
  192. data/docs/ExigSuspensa.md +20 -0
  193. data/docs/ExploracaoRodoviaria.md +30 -0
  194. data/docs/InfDPS.md +36 -0
  195. data/docs/InfoCompl.md +22 -0
  196. data/docs/InfoDedRed.md +22 -0
  197. data/docs/InfoFornecDocDedRed.md +36 -0
  198. data/docs/InfoIntermediario.md +36 -0
  199. data/docs/InfoObra.md +22 -0
  200. data/docs/InfoPrestador.md +20 -0
  201. data/docs/InfoTomador.md +38 -0
  202. data/docs/InfoTributacao.md +22 -0
  203. data/docs/InfoValores.md +24 -0
  204. data/docs/ListaDocDedRed.md +18 -0
  205. data/docs/LocPrest.md +20 -0
  206. data/docs/LocacaoSublocacao.md +24 -0
  207. data/docs/ManifestacaoNfeListagem.md +20 -0
  208. data/docs/MdfeApi.md +1979 -0
  209. data/docs/MdfeDocumentoVinculado.md +22 -0
  210. data/docs/MdfeEncerramento.md +50 -0
  211. data/docs/MdfeInclusaoCondutor.md +48 -0
  212. data/docs/MdfeInclusaoDfe.md +50 -0
  213. data/docs/MdfeNaoEncerrado.md +20 -0
  214. data/docs/MdfeNaoEncerrados.md +28 -0
  215. data/docs/MdfePedidoCancelamento.md +18 -0
  216. data/docs/MdfePedidoEmissao.md +24 -0
  217. data/docs/MdfePedidoEmissaoLote.md +24 -0
  218. data/docs/MdfePedidoEncerramento.md +22 -0
  219. data/docs/MdfePedidoInclusaoCondutor.md +20 -0
  220. data/docs/MdfePedidoInclusaoDfe.md +24 -0
  221. data/docs/MdfeSefazAereo.md +28 -0
  222. data/docs/MdfeSefazAquav.md +44 -0
  223. data/docs/MdfeSefazAutXML.md +20 -0
  224. data/docs/MdfeSefazComp.md +22 -0
  225. data/docs/MdfeSefazCondutor.md +20 -0
  226. data/docs/MdfeSefazDisp.md +28 -0
  227. data/docs/MdfeSefazEmit.md +28 -0
  228. data/docs/MdfeSefazEndeEmi.md +36 -0
  229. data/docs/MdfeSefazFerrov.md +20 -0
  230. data/docs/MdfeSefazIde.md +58 -0
  231. data/docs/MdfeSefazInfANTT.md +26 -0
  232. data/docs/MdfeSefazInfAdic.md +20 -0
  233. data/docs/MdfeSefazInfBanc.md +24 -0
  234. data/docs/MdfeSefazInfCIOT.md +22 -0
  235. data/docs/MdfeSefazInfCTe.md +28 -0
  236. data/docs/MdfeSefazInfContratante.md +26 -0
  237. data/docs/MdfeSefazInfContrato.md +20 -0
  238. data/docs/MdfeSefazInfDoc.md +18 -0
  239. data/docs/MdfeSefazInfEmbComb.md +20 -0
  240. data/docs/MdfeSefazInfEntregaParcial.md +20 -0
  241. data/docs/MdfeSefazInfLocalCarrega.md +22 -0
  242. data/docs/MdfeSefazInfLocalDescarrega.md +22 -0
  243. data/docs/MdfeSefazInfLotacao.md +20 -0
  244. data/docs/MdfeSefazInfMDFe.md +44 -0
  245. data/docs/MdfeSefazInfMDFeSupl.md +18 -0
  246. data/docs/MdfeSefazInfMDFeTransp.md +24 -0
  247. data/docs/MdfeSefazInfMDFeTranspPeri.md +28 -0
  248. data/docs/MdfeSefazInfModal.md +26 -0
  249. data/docs/MdfeSefazInfMunCarrega.md +20 -0
  250. data/docs/MdfeSefazInfMunDescarga.md +26 -0
  251. data/docs/MdfeSefazInfNFe.md +26 -0
  252. data/docs/MdfeSefazInfNFePeri.md +28 -0
  253. data/docs/MdfeSefazInfPag.md +42 -0
  254. data/docs/MdfeSefazInfPercurso.md +18 -0
  255. data/docs/MdfeSefazInfPrazo.md +22 -0
  256. data/docs/MdfeSefazInfResp.md +22 -0
  257. data/docs/MdfeSefazInfSeg.md +20 -0
  258. data/docs/MdfeSefazInfSolicNFF.md +18 -0
  259. data/docs/MdfeSefazInfTermCarreg.md +20 -0
  260. data/docs/MdfeSefazInfTermDescarreg.md +20 -0
  261. data/docs/MdfeSefazInfUnidCargaVazia.md +20 -0
  262. data/docs/MdfeSefazInfUnidTranspVazia.md +20 -0
  263. data/docs/MdfeSefazLacRodo.md +18 -0
  264. data/docs/MdfeSefazLacUnidCarga.md +18 -0
  265. data/docs/MdfeSefazLacUnidTransp.md +18 -0
  266. data/docs/MdfeSefazLacres.md +18 -0
  267. data/docs/MdfeSefazPeri.md +28 -0
  268. data/docs/MdfeSefazProdPred.md +26 -0
  269. data/docs/MdfeSefazProp.md +30 -0
  270. data/docs/MdfeSefazRespTec.md +28 -0
  271. data/docs/MdfeSefazRodo.md +26 -0
  272. data/docs/MdfeSefazSeg.md +24 -0
  273. data/docs/MdfeSefazTot.md +28 -0
  274. data/docs/MdfeSefazTrem.md +26 -0
  275. data/docs/MdfeSefazUnidCarga.md +24 -0
  276. data/docs/MdfeSefazUnidadeTransp.md +26 -0
  277. data/docs/MdfeSefazVag.md +30 -0
  278. data/docs/MdfeSefazValePed.md +20 -0
  279. data/docs/MdfeSefazVeicReboque.md +34 -0
  280. data/docs/MdfeSefazVeicReboqueProp.md +30 -0
  281. data/docs/MdfeSefazVeicTracao.md +38 -0
  282. data/docs/NfceApi.md +2173 -0
  283. data/docs/NfcomApi.md +775 -0
  284. data/docs/NfcomPedidoCancelamento.md +18 -0
  285. data/docs/NfcomPedidoEmissao.md +22 -0
  286. data/docs/NfcomSefazAssinante.md +36 -0
  287. data/docs/NfcomSefazAutXML.md +20 -0
  288. data/docs/NfcomSefazCOFINS.md +24 -0
  289. data/docs/NfcomSefazDest.md +32 -0
  290. data/docs/NfcomSefazDet.md +34 -0
  291. data/docs/NfcomSefazEmit.md +30 -0
  292. data/docs/NfcomSefazEndeDest.md +40 -0
  293. data/docs/NfcomSefazEndeEmi.md +36 -0
  294. data/docs/NfcomSefazFUNTTEL.md +22 -0
  295. data/docs/NfcomSefazFUST.md +22 -0
  296. data/docs/NfcomSefazGCofat.md +20 -0
  297. data/docs/NfcomSefazGCofatGNF.md +28 -0
  298. data/docs/NfcomSefazGFat.md +36 -0
  299. data/docs/NfcomSefazGFatCentral.md +20 -0
  300. data/docs/NfcomSefazGFidelidade.md +24 -0
  301. data/docs/NfcomSefazGNF.md +28 -0
  302. data/docs/NfcomSefazGPIX.md +18 -0
  303. data/docs/NfcomSefazGProc.md +20 -0
  304. data/docs/NfcomSefazGProcRef.md +42 -0
  305. data/docs/NfcomSefazGRessarc.md +26 -0
  306. data/docs/NfcomSefazGSub.md +22 -0
  307. data/docs/NfcomSefazICMS00.md +28 -0
  308. data/docs/NfcomSefazICMS20.md +34 -0
  309. data/docs/NfcomSefazICMS40.md +22 -0
  310. data/docs/NfcomSefazICMS51.md +22 -0
  311. data/docs/NfcomSefazICMS90.md +32 -0
  312. data/docs/NfcomSefazICMSSN.md +20 -0
  313. data/docs/NfcomSefazICMSTot.md +24 -0
  314. data/docs/NfcomSefazICMSUFDest.md +32 -0
  315. data/docs/NfcomSefazIde.md +54 -0
  316. data/docs/NfcomSefazImposto.md +42 -0
  317. data/docs/NfcomSefazInfAdic.md +20 -0
  318. data/docs/NfcomSefazInfNFCom.md +48 -0
  319. data/docs/NfcomSefazPIS.md +24 -0
  320. data/docs/NfcomSefazProd.md +42 -0
  321. data/docs/NfcomSefazRespTec.md +28 -0
  322. data/docs/NfcomSefazRetTrib.md +26 -0
  323. data/docs/NfcomSefazTotal.md +36 -0
  324. data/docs/NfcomSefazVRetTribTot.md +24 -0
  325. data/docs/NfeApi.md +2461 -0
  326. data/docs/NfePedidoCancelamento.md +18 -0
  327. data/docs/NfePedidoCartaCorrecao.md +18 -0
  328. data/docs/NfePedidoEmissao.md +24 -0
  329. data/docs/NfePedidoEmissaoLote.md +24 -0
  330. data/docs/NfeSefazAdi.md +26 -0
  331. data/docs/NfeSefazArma.md +24 -0
  332. data/docs/NfeSefazAutXML.md +20 -0
  333. data/docs/NfeSefazAvulsa.md +38 -0
  334. data/docs/NfeSefazCIDE.md +22 -0
  335. data/docs/NfeSefazCOFINS.md +24 -0
  336. data/docs/NfeSefazCOFINSAliq.md +24 -0
  337. data/docs/NfeSefazCOFINSNT.md +18 -0
  338. data/docs/NfeSefazCOFINSOutr.md +28 -0
  339. data/docs/NfeSefazCOFINSQtde.md +24 -0
  340. data/docs/NfeSefazCOFINSST.md +28 -0
  341. data/docs/NfeSefazCana.md +36 -0
  342. data/docs/NfeSefazCard.md +28 -0
  343. data/docs/NfeSefazCobr.md +20 -0
  344. data/docs/NfeSefazComb.md +42 -0
  345. data/docs/NfeSefazCompra.md +22 -0
  346. data/docs/NfeSefazDI.md +42 -0
  347. data/docs/NfeSefazDeduc.md +20 -0
  348. data/docs/NfeSefazDest.md +36 -0
  349. data/docs/NfeSefazDet.md +28 -0
  350. data/docs/NfeSefazDetExport.md +20 -0
  351. data/docs/NfeSefazDetPag.md +32 -0
  352. data/docs/NfeSefazDup.md +22 -0
  353. data/docs/NfeSefazEmit.md +36 -0
  354. data/docs/NfeSefazEncerrante.md +26 -0
  355. data/docs/NfeSefazEnderEmi.md +38 -0
  356. data/docs/NfeSefazEndereco.md +38 -0
  357. data/docs/NfeSefazExportInd.md +22 -0
  358. data/docs/NfeSefazExporta.md +22 -0
  359. data/docs/NfeSefazFat.md +24 -0
  360. data/docs/NfeSefazForDia.md +20 -0
  361. data/docs/NfeSefazGCred.md +22 -0
  362. data/docs/NfeSefazICMS.md +58 -0
  363. data/docs/NfeSefazICMS00.md +32 -0
  364. data/docs/NfeSefazICMS02.md +26 -0
  365. data/docs/NfeSefazICMS10.md +56 -0
  366. data/docs/NfeSefazICMS15.md +36 -0
  367. data/docs/NfeSefazICMS20.md +42 -0
  368. data/docs/NfeSefazICMS30.md +44 -0
  369. data/docs/NfeSefazICMS40.md +26 -0
  370. data/docs/NfeSefazICMS51.md +50 -0
  371. data/docs/NfeSefazICMS53.md +36 -0
  372. data/docs/NfeSefazICMS60.md +42 -0
  373. data/docs/NfeSefazICMS61.md +26 -0
  374. data/docs/NfeSefazICMS70.md +64 -0
  375. data/docs/NfeSefazICMS90.md +64 -0
  376. data/docs/NfeSefazICMSPart.md +52 -0
  377. data/docs/NfeSefazICMSSN101.md +24 -0
  378. data/docs/NfeSefazICMSSN102.md +20 -0
  379. data/docs/NfeSefazICMSSN201.md +42 -0
  380. data/docs/NfeSefazICMSSN202.md +38 -0
  381. data/docs/NfeSefazICMSSN500.md +42 -0
  382. data/docs/NfeSefazICMSSN900.md +52 -0
  383. data/docs/NfeSefazICMSST.md +46 -0
  384. data/docs/NfeSefazICMSTot.md +74 -0
  385. data/docs/NfeSefazICMSUFDest.md +34 -0
  386. data/docs/NfeSefazII.md +24 -0
  387. data/docs/NfeSefazIPINT.md +18 -0
  388. data/docs/NfeSefazIPITrib.md +28 -0
  389. data/docs/NfeSefazISSQN.md +48 -0
  390. data/docs/NfeSefazISSQNtot.md +40 -0
  391. data/docs/NfeSefazIde.md +64 -0
  392. data/docs/NfeSefazImposto.md +36 -0
  393. data/docs/NfeSefazImpostoDevol.md +20 -0
  394. data/docs/NfeSefazImpostoDevolIPI.md +18 -0
  395. data/docs/NfeSefazInfAdic.md +26 -0
  396. data/docs/NfeSefazInfAdicObsCont.md +20 -0
  397. data/docs/NfeSefazInfAdicObsFisco.md +20 -0
  398. data/docs/NfeSefazInfIntermed.md +20 -0
  399. data/docs/NfeSefazInfNFe.md +58 -0
  400. data/docs/NfeSefazInfNFeSupl.md +20 -0
  401. data/docs/NfeSefazInfProdEmb.md +22 -0
  402. data/docs/NfeSefazInfProdNFF.md +20 -0
  403. data/docs/NfeSefazInfRespTec.md +28 -0
  404. data/docs/NfeSefazInfSolicNFF.md +18 -0
  405. data/docs/NfeSefazIpi.md +28 -0
  406. data/docs/NfeSefazLacres.md +18 -0
  407. data/docs/NfeSefazLocal.md +48 -0
  408. data/docs/NfeSefazMed.md +22 -0
  409. data/docs/NfeSefazNFref.md +28 -0
  410. data/docs/NfeSefazObsCont.md +20 -0
  411. data/docs/NfeSefazObsFisco.md +20 -0
  412. data/docs/NfeSefazObsItem.md +20 -0
  413. data/docs/NfeSefazOrigComb.md +22 -0
  414. data/docs/NfeSefazPIS.md +24 -0
  415. data/docs/NfeSefazPISAliq.md +24 -0
  416. data/docs/NfeSefazPISNT.md +18 -0
  417. data/docs/NfeSefazPISOutr.md +28 -0
  418. data/docs/NfeSefazPISQtde.md +24 -0
  419. data/docs/NfeSefazPISST.md +28 -0
  420. data/docs/NfeSefazPag.md +20 -0
  421. data/docs/NfeSefazProcRef.md +22 -0
  422. data/docs/NfeSefazProd.md +96 -0
  423. data/docs/NfeSefazRastro.md +26 -0
  424. data/docs/NfeSefazRefECF.md +22 -0
  425. data/docs/NfeSefazRefNF.md +28 -0
  426. data/docs/NfeSefazRefNFP.md +32 -0
  427. data/docs/NfeSefazRetTransp.md +28 -0
  428. data/docs/NfeSefazRetTrib.md +30 -0
  429. data/docs/NfeSefazTotal.md +22 -0
  430. data/docs/NfeSefazTransp.md +32 -0
  431. data/docs/NfeSefazTransporta.md +30 -0
  432. data/docs/NfeSefazVeicProd.md +64 -0
  433. data/docs/NfeSefazVeiculo.md +22 -0
  434. data/docs/NfeSefazVol.md +30 -0
  435. data/docs/Nfse.md +42 -0
  436. data/docs/NfseApi.md +1311 -0
  437. data/docs/NfseCancelamento.md +28 -0
  438. data/docs/NfseCidadeMetadados.md +28 -0
  439. data/docs/NfseCidadesAtendidas.md +20 -0
  440. data/docs/NfseDpsPedidoEmissao.md +24 -0
  441. data/docs/NfseListagem.md +20 -0
  442. data/docs/NfseLoteDpsPedidoEmissao.md +24 -0
  443. data/docs/NfseMensagemRetorno.md +22 -0
  444. data/docs/NfsePedidoCancelamento.md +20 -0
  445. data/docs/NfsePedidoEmissao.md +20 -0
  446. data/docs/NfsePedidoSincronizacao.md +18 -0
  447. data/docs/NfseSincronizacao.md +20 -0
  448. data/docs/Rps.md +34 -0
  449. data/docs/RpsDados.md +20 -0
  450. data/docs/RpsDadosConstrucaoCivil.md +20 -0
  451. data/docs/RpsDadosIntermediario.md +22 -0
  452. data/docs/RpsDadosPrestador.md +40 -0
  453. data/docs/RpsDadosServico.md +46 -0
  454. data/docs/RpsDadosTomador.md +28 -0
  455. data/docs/RpsDadosTomadorEndereco.md +36 -0
  456. data/docs/RpsIdentificacao.md +22 -0
  457. data/docs/RpsIdentificacaoPrestador.md +18 -0
  458. data/docs/RpsLote.md +30 -0
  459. data/docs/RpsLoteListagem.md +20 -0
  460. data/docs/RpsPedidoEmissao.md +36 -0
  461. data/docs/RpsPedidoEmissaoLote.md +22 -0
  462. data/docs/RpsServicoValores.md +56 -0
  463. data/docs/Serv.md +32 -0
  464. data/docs/Substituicao.md +22 -0
  465. data/docs/TribFederal.md +24 -0
  466. data/docs/TribMunicipal.md +38 -0
  467. data/docs/TribOutrosPisCofins.md +30 -0
  468. data/docs/TribTotal.md +24 -0
  469. data/docs/TribTotalMonet.md +22 -0
  470. data/docs/TribTotalPercent.md +22 -0
  471. data/docs/VDescCondIncond.md +20 -0
  472. data/docs/VServPrest.md +20 -0
  473. data/git_push.sh +57 -0
  474. data/lib/nuvemfiscal_sdk_ruby/api/cep_api.rb +85 -0
  475. data/lib/nuvemfiscal_sdk_ruby/api/cnpj_api.rb +172 -0
  476. data/lib/nuvemfiscal_sdk_ruby/api/conta_api.rb +138 -0
  477. data/lib/nuvemfiscal_sdk_ruby/api/cte_api.rb +1316 -0
  478. data/lib/nuvemfiscal_sdk_ruby/api/distribuio_nfe_api.rb +806 -0
  479. data/lib/nuvemfiscal_sdk_ruby/api/email_api.rb +164 -0
  480. data/lib/nuvemfiscal_sdk_ruby/api/empresa_api.rb +1738 -0
  481. data/lib/nuvemfiscal_sdk_ruby/api/mdfe_api.rb +1740 -0
  482. data/lib/nuvemfiscal_sdk_ruby/api/nfce_api.rb +1946 -0
  483. data/lib/nuvemfiscal_sdk_ruby/api/nfcom_api.rb +688 -0
  484. data/lib/nuvemfiscal_sdk_ruby/api/nfe_api.rb +2176 -0
  485. data/lib/nuvemfiscal_sdk_ruby/api/nfse_api.rb +1167 -0
  486. data/lib/nuvemfiscal_sdk_ruby/api_client.rb +394 -0
  487. data/lib/nuvemfiscal_sdk_ruby/api_error.rb +58 -0
  488. data/lib/nuvemfiscal_sdk_ruby/configuration.rb +315 -0
  489. data/lib/nuvemfiscal_sdk_ruby/models/atv_evento.rb +381 -0
  490. data/lib/nuvemfiscal_sdk_ruby/models/beneficio_municipal.rb +284 -0
  491. data/lib/nuvemfiscal_sdk_ruby/models/c_serv.rb +289 -0
  492. data/lib/nuvemfiscal_sdk_ruby/models/cep_endereco.rb +277 -0
  493. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_cnae.rb +226 -0
  494. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_cnae_secundario.rb +226 -0
  495. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_empresa.rb +418 -0
  496. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_endereco.rb +285 -0
  497. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_faixa_etaria.rb +226 -0
  498. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_identificador_socio.rb +226 -0
  499. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_listagem.rb +225 -0
  500. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_motivo_situacao_cadastral.rb +236 -0
  501. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_municipio.rb +236 -0
  502. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_natureza_juridica.rb +226 -0
  503. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_opcao_simei.rb +238 -0
  504. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_opcao_simples.rb +238 -0
  505. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_pais.rb +226 -0
  506. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_porte_empresa.rb +226 -0
  507. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_qualificacao_socio.rb +226 -0
  508. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_representante_legal.rb +235 -0
  509. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_situacao_cadastral.rb +236 -0
  510. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_situacao_especial.rb +236 -0
  511. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_socio.rb +281 -0
  512. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_telefone.rb +226 -0
  513. data/lib/nuvemfiscal_sdk_ruby/models/com_exterior.rb +410 -0
  514. data/lib/nuvemfiscal_sdk_ruby/models/conta_cota.rb +232 -0
  515. data/lib/nuvemfiscal_sdk_ruby/models/conta_cota_listagem.rb +225 -0
  516. data/lib/nuvemfiscal_sdk_ruby/models/cte_carta_correcao.rb +428 -0
  517. data/lib/nuvemfiscal_sdk_ruby/models/cte_inf_correcao.rb +351 -0
  518. data/lib/nuvemfiscal_sdk_ruby/models/cte_pedido_cancelamento.rb +215 -0
  519. data/lib/nuvemfiscal_sdk_ruby/models/cte_pedido_carta_correcao.rb +243 -0
  520. data/lib/nuvemfiscal_sdk_ruby/models/cte_pedido_emissao.rb +307 -0
  521. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_aereo.rb +308 -0
  522. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_aquav.rb +412 -0
  523. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_aut_xml.rb +228 -0
  524. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_balsa.rb +243 -0
  525. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_cobr.rb +226 -0
  526. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_com_data.rb +232 -0
  527. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_com_hora.rb +232 -0
  528. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_comp.rb +271 -0
  529. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_compl.rb +494 -0
  530. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_dest.rb +349 -0
  531. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont.rb +282 -0
  532. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont_inf_doc.rb +228 -0
  533. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont_inf_doc_inf_nf.rb +306 -0
  534. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont_inf_doc_inf_nfe.rb +260 -0
  535. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_doc_ant.rb +243 -0
  536. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_dup.rb +278 -0
  537. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_duto.rb +258 -0
  538. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_emi_doc_ant.rb +348 -0
  539. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_emi_occ.rb +305 -0
  540. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_emit.rb +340 -0
  541. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ende_emi.rb +425 -0
  542. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ender_fer.rb +424 -0
  543. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_endereco.rb +472 -0
  544. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_entrega.rb +260 -0
  545. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_exped.rb +338 -0
  546. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_fat.rb +319 -0
  547. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ferro_env.rb +333 -0
  548. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ferrov.rb +265 -0
  549. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_fluxo.rb +322 -0
  550. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms00.rb +303 -0
  551. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms20.rb +383 -0
  552. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms45.rb +271 -0
  553. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms60.rb +381 -0
  554. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms90.rb +407 -0
  555. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms_outra_uf.rb +381 -0
  556. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icmssn.rb +232 -0
  557. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icmsuf_fim.rb +402 -0
  558. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_id_doc_ant.rb +228 -0
  559. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_id_doc_ant_ele.rb +234 -0
  560. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_id_doc_ant_pap.rb +341 -0
  561. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ide.rb +864 -0
  562. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_imp.rb +269 -0
  563. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_carga.rb +367 -0
  564. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte.rb +426 -0
  565. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_comp.rb +234 -0
  566. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_imp.rb +292 -0
  567. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_multimodal.rb +234 -0
  568. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_norm.rb +303 -0
  569. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_sub.rb +230 -0
  570. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_supl.rb +241 -0
  571. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_doc.rb +239 -0
  572. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_globalizado.rb +243 -0
  573. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_modal.rb +273 -0
  574. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_nf.rb +651 -0
  575. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_nfe.rb +302 -0
  576. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_outros.rb +359 -0
  577. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_q.rb +284 -0
  578. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_seg.rb +256 -0
  579. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_serv_vinc.rb +243 -0
  580. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_solic_nff.rb +243 -0
  581. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_tot_ap.rb +247 -0
  582. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_lac_unid_carga.rb +243 -0
  583. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_lac_unid_transp.rb +243 -0
  584. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_lacre.rb +243 -0
  585. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_multimodal.rb +265 -0
  586. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_nat_carga.rb +253 -0
  587. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_no_inter.rb +245 -0
  588. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_no_periodo.rb +245 -0
  589. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_obs_cont.rb +280 -0
  590. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_obs_fisco.rb +280 -0
  591. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_occ.rb +300 -0
  592. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_pass.rb +240 -0
  593. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_peri.rb +272 -0
  594. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_receb.rb +338 -0
  595. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_rem.rb +349 -0
  596. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_resp_tec.rb +367 -0
  597. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_rodo.rb +249 -0
  598. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_seg.rb +296 -0
  599. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_sem_data.rb +219 -0
  600. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_sem_hora.rb +219 -0
  601. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_tarifa.rb +297 -0
  602. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_toma3.rb +219 -0
  603. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_toma4.rb +386 -0
  604. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_traf_mut.rb +297 -0
  605. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_unid_carga.rb +293 -0
  606. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_unidade_transp.rb +304 -0
  607. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_v_prest.rb +273 -0
  608. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_veic_novos.rb +401 -0
  609. data/lib/nuvemfiscal_sdk_ruby/models/dfe.rb +374 -0
  610. data/lib/nuvemfiscal_sdk_ruby/models/dfe_autor_evento.rb +215 -0
  611. data/lib/nuvemfiscal_sdk_ruby/models/dfe_autorizacao.rb +400 -0
  612. data/lib/nuvemfiscal_sdk_ruby/models/dfe_cancelamento.rb +400 -0
  613. data/lib/nuvemfiscal_sdk_ruby/models/dfe_carta_correcao.rb +400 -0
  614. data/lib/nuvemfiscal_sdk_ruby/models/dfe_contribuinte_endereco.rb +483 -0
  615. data/lib/nuvemfiscal_sdk_ruby/models/dfe_contribuinte_inf_cad.rb +475 -0
  616. data/lib/nuvemfiscal_sdk_ruby/models/dfe_contribuinte_inf_cons.rb +363 -0
  617. data/lib/nuvemfiscal_sdk_ruby/models/dfe_evento.rb +390 -0
  618. data/lib/nuvemfiscal_sdk_ruby/models/dfe_evento_listagem.rb +225 -0
  619. data/lib/nuvemfiscal_sdk_ruby/models/dfe_inutilizacao.rb +453 -0
  620. data/lib/nuvemfiscal_sdk_ruby/models/dfe_listagem.rb +225 -0
  621. data/lib/nuvemfiscal_sdk_ruby/models/dfe_lote.rb +329 -0
  622. data/lib/nuvemfiscal_sdk_ruby/models/dfe_lote_listagem.rb +225 -0
  623. data/lib/nuvemfiscal_sdk_ruby/models/dfe_pedido_envio_email.rb +236 -0
  624. data/lib/nuvemfiscal_sdk_ruby/models/dfe_pedido_inutilizacao.rb +470 -0
  625. data/lib/nuvemfiscal_sdk_ruby/models/dfe_recibo.rb +265 -0
  626. data/lib/nuvemfiscal_sdk_ruby/models/dfe_sefaz_status.rb +323 -0
  627. data/lib/nuvemfiscal_sdk_ruby/models/dfe_sincronizacao.rb +289 -0
  628. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe.rb +478 -0
  629. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_documento.rb +448 -0
  630. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_documento_listagem.rb +225 -0
  631. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_evento.rb +397 -0
  632. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_listagem.rb +225 -0
  633. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_nota.rb +293 -0
  634. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_nota_listagem.rb +225 -0
  635. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_pedido.rb +358 -0
  636. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_pedido_manifestacao.rb +342 -0
  637. data/lib/nuvemfiscal_sdk_ruby/models/doc_ded_red.rb +472 -0
  638. data/lib/nuvemfiscal_sdk_ruby/models/doc_nfnfs.rb +293 -0
  639. data/lib/nuvemfiscal_sdk_ruby/models/doc_out_nfse.rb +269 -0
  640. data/lib/nuvemfiscal_sdk_ruby/models/dps.rb +228 -0
  641. data/lib/nuvemfiscal_sdk_ruby/models/email.rb +337 -0
  642. data/lib/nuvemfiscal_sdk_ruby/models/email_attachment.rb +242 -0
  643. data/lib/nuvemfiscal_sdk_ruby/models/email_event.rb +242 -0
  644. data/lib/nuvemfiscal_sdk_ruby/models/email_listagem.rb +225 -0
  645. data/lib/nuvemfiscal_sdk_ruby/models/email_resumo.rb +295 -0
  646. data/lib/nuvemfiscal_sdk_ruby/models/email_status_response.rb +275 -0
  647. data/lib/nuvemfiscal_sdk_ruby/models/empresa.rb +408 -0
  648. data/lib/nuvemfiscal_sdk_ruby/models/empresa_certificado.rb +277 -0
  649. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_cte.rb +266 -0
  650. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_distribuicao_nfe.rb +282 -0
  651. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_mdfe.rb +256 -0
  652. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfce.rb +282 -0
  653. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfce_sefaz.rb +258 -0
  654. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfcom.rb +266 -0
  655. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfe.rb +266 -0
  656. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfse.rb +302 -0
  657. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfse_reg_trib.rb +239 -0
  658. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_prefeitura.rb +293 -0
  659. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_rps.rb +257 -0
  660. data/lib/nuvemfiscal_sdk_ruby/models/empresa_endereco.rb +466 -0
  661. data/lib/nuvemfiscal_sdk_ruby/models/empresa_listagem.rb +225 -0
  662. data/lib/nuvemfiscal_sdk_ruby/models/empresa_pedido_cadastro_certificado.rb +260 -0
  663. data/lib/nuvemfiscal_sdk_ruby/models/ender_ext.rb +330 -0
  664. data/lib/nuvemfiscal_sdk_ruby/models/ender_ext_simples.rb +317 -0
  665. data/lib/nuvemfiscal_sdk_ruby/models/ender_nac.rb +228 -0
  666. data/lib/nuvemfiscal_sdk_ruby/models/endereco.rb +364 -0
  667. data/lib/nuvemfiscal_sdk_ruby/models/endereco_email.rb +222 -0
  668. data/lib/nuvemfiscal_sdk_ruby/models/endereco_simples.rb +372 -0
  669. data/lib/nuvemfiscal_sdk_ruby/models/exig_suspensa.rb +232 -0
  670. data/lib/nuvemfiscal_sdk_ruby/models/exploracao_rodoviaria.rb +297 -0
  671. data/lib/nuvemfiscal_sdk_ruby/models/inf_dps.rb +351 -0
  672. data/lib/nuvemfiscal_sdk_ruby/models/info_compl.rb +311 -0
  673. data/lib/nuvemfiscal_sdk_ruby/models/info_ded_red.rb +267 -0
  674. data/lib/nuvemfiscal_sdk_ruby/models/info_fornec_doc_ded_red.rb +457 -0
  675. data/lib/nuvemfiscal_sdk_ruby/models/info_intermediario.rb +457 -0
  676. data/lib/nuvemfiscal_sdk_ruby/models/info_obra.rb +285 -0
  677. data/lib/nuvemfiscal_sdk_ruby/models/info_prestador.rb +258 -0
  678. data/lib/nuvemfiscal_sdk_ruby/models/info_tomador.rb +470 -0
  679. data/lib/nuvemfiscal_sdk_ruby/models/info_tributacao.rb +240 -0
  680. data/lib/nuvemfiscal_sdk_ruby/models/info_valores.rb +256 -0
  681. data/lib/nuvemfiscal_sdk_ruby/models/lista_doc_ded_red.rb +252 -0
  682. data/lib/nuvemfiscal_sdk_ruby/models/loc_prest.rb +228 -0
  683. data/lib/nuvemfiscal_sdk_ruby/models/locacao_sublocacao.rb +306 -0
  684. data/lib/nuvemfiscal_sdk_ruby/models/manifestacao_nfe_listagem.rb +225 -0
  685. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_documento_vinculado.rb +235 -0
  686. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_encerramento.rb +420 -0
  687. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_inclusao_condutor.rb +410 -0
  688. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_inclusao_dfe.rb +422 -0
  689. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_nao_encerrado.rb +231 -0
  690. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_nao_encerrados.rb +273 -0
  691. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_cancelamento.rb +215 -0
  692. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_emissao.rb +307 -0
  693. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_emissao_lote.rb +340 -0
  694. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_encerramento.rb +250 -0
  695. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_inclusao_condutor.rb +267 -0
  696. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_inclusao_dfe.rb +246 -0
  697. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_aereo.rb +404 -0
  698. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_aquav.rb +575 -0
  699. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_aut_xml.rb +228 -0
  700. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_comp.rb +282 -0
  701. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_condutor.rb +256 -0
  702. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_disp.rb +291 -0
  703. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_emit.rb +318 -0
  704. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_ende_emi.rb +460 -0
  705. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_ferrov.rb +259 -0
  706. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_ide.rb +609 -0
  707. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_adic.rb +276 -0
  708. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_antt.rb +259 -0
  709. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_banc.rb +322 -0
  710. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_ciot.rb +241 -0
  711. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_contratante.rb +307 -0
  712. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_contrato.rb +271 -0
  713. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_cte.rb +287 -0
  714. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_doc.rb +252 -0
  715. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_emb_comb.rb +280 -0
  716. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_entrega_parcial.rb +262 -0
  717. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_local_carrega.rb +239 -0
  718. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_local_descarrega.rb +239 -0
  719. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_lotacao.rb +238 -0
  720. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe.rb +398 -0
  721. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe_supl.rb +241 -0
  722. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe_transp.rb +267 -0
  723. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe_transp_peri.rb +396 -0
  724. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_modal.rb +255 -0
  725. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mun_carrega.rb +256 -0
  726. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mun_descarga.rb +346 -0
  727. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_nfe.rb +278 -0
  728. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_nfe_peri.rb +396 -0
  729. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_pag.rb +462 -0
  730. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_percurso.rb +219 -0
  731. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_prazo.rb +284 -0
  732. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_resp.rb +241 -0
  733. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_seg.rb +256 -0
  734. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_solic_nff.rb +243 -0
  735. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_term_carreg.rb +280 -0
  736. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_term_descarreg.rb +280 -0
  737. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_unid_carga_vazia.rb +256 -0
  738. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_unid_transp_vazia.rb +256 -0
  739. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lac_rodo.rb +243 -0
  740. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lac_unid_carga.rb +243 -0
  741. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lac_unid_transp.rb +243 -0
  742. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lacres.rb +243 -0
  743. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_peri.rb +396 -0
  744. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_prod_pred.rb +287 -0
  745. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_prop.rb +313 -0
  746. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_resp_tec.rb +367 -0
  747. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_rodo.rb +307 -0
  748. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_seg.rb +278 -0
  749. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_tot.rb +380 -0
  750. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_trem.rb +365 -0
  751. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_unid_carga.rb +278 -0
  752. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_unidade_transp.rb +304 -0
  753. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_vag.rb +401 -0
  754. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_vale_ped.rb +254 -0
  755. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_veic_reboque.rb +431 -0
  756. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_veic_reboque_prop.rb +313 -0
  757. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_veic_tracao.rb +488 -0
  758. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_pedido_cancelamento.rb +215 -0
  759. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_pedido_emissao.rb +298 -0
  760. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_assinante.rb +370 -0
  761. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_aut_xml.rb +228 -0
  762. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_cofins.rb +303 -0
  763. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_dest.rb +375 -0
  764. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_det.rb +376 -0
  765. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_emit.rb +331 -0
  766. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ende_dest.rb +520 -0
  767. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ende_emi.rb +460 -0
  768. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_funttel.rb +290 -0
  769. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_fust.rb +290 -0
  770. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_cofat.rb +241 -0
  771. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_cofat_gnf.rb +378 -0
  772. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_fat.rb +438 -0
  773. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_fat_central.rb +232 -0
  774. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_fidelidade.rb +306 -0
  775. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_proc.rb +256 -0
  776. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_proc_ref.rb +525 -0
  777. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_ressarc.rb +337 -0
  778. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_sub.rb +278 -0
  779. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_gnf.rb +378 -0
  780. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_gpix.rb +243 -0
  781. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms00.rb +355 -0
  782. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms20.rb +435 -0
  783. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms40.rb +271 -0
  784. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms51.rb +271 -0
  785. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms90.rb +401 -0
  786. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms_tot.rb +318 -0
  787. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icmssn.rb +232 -0
  788. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icmsuf_dest.rb +410 -0
  789. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ide.rb +579 -0
  790. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_imposto.rb +327 -0
  791. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_inf_adic.rb +272 -0
  792. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_inf_nf_com.rb +449 -0
  793. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_pis.rb +303 -0
  794. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_prod.rb +480 -0
  795. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_resp_tec.rb +367 -0
  796. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ret_trib.rb +346 -0
  797. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_total.rb +462 -0
  798. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_v_ret_trib_tot.rb +318 -0
  799. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_cancelamento.rb +215 -0
  800. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_carta_correcao.rb +234 -0
  801. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_emissao.rb +307 -0
  802. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_emissao_lote.rb +347 -0
  803. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_adi.rb +376 -0
  804. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_arma.rb +330 -0
  805. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_aut_xml.rb +258 -0
  806. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_avulsa.rb +489 -0
  807. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cana.rb +500 -0
  808. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_card.rb +352 -0
  809. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cide.rb +290 -0
  810. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cobr.rb +245 -0
  811. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins.rb +242 -0
  812. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins_aliq.rb +303 -0
  813. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins_outr.rb +351 -0
  814. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins_qtde.rb +303 -0
  815. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofinsnt.rb +219 -0
  816. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofinsst.rb +349 -0
  817. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_comb.rb +544 -0
  818. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_compra.rb +311 -0
  819. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_deduc.rb +271 -0
  820. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_dest.rb +433 -0
  821. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_det.rb +328 -0
  822. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_det_export.rb +250 -0
  823. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_det_pag.rb +350 -0
  824. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_di.rb +517 -0
  825. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_dup.rb +280 -0
  826. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_emit.rb +446 -0
  827. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_encerrante.rb +371 -0
  828. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ender_emi.rb +447 -0
  829. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_endereco.rb +483 -0
  830. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_export_ind.rb +275 -0
  831. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_exporta.rb +291 -0
  832. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_fat.rb +319 -0
  833. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_for_dia.rb +271 -0
  834. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_g_cred.rb +275 -0
  835. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms.rb +395 -0
  836. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms00.rb +381 -0
  837. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms02.rb +314 -0
  838. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms10.rb +671 -0
  839. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms15.rb +442 -0
  840. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms20.rb +483 -0
  841. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms30.rb +507 -0
  842. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms40.rb +280 -0
  843. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms51.rb +601 -0
  844. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms53.rb +449 -0
  845. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms60.rb +518 -0
  846. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms61.rb +314 -0
  847. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms70.rb +747 -0
  848. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms90.rb +729 -0
  849. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms_part.rb +623 -0
  850. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms_tot.rb +998 -0
  851. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn101.rb +288 -0
  852. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn102.rb +232 -0
  853. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn201.rb +515 -0
  854. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn202.rb +459 -0
  855. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn500.rb +518 -0
  856. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn900.rb +618 -0
  857. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmsst.rb +578 -0
  858. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmsuf_dest.rb +452 -0
  859. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ide.rb +663 -0
  860. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ii.rb +318 -0
  861. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_imposto.rb +313 -0
  862. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_imposto_devol.rb +258 -0
  863. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_imposto_devol_ipi.rb +234 -0
  864. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_adic.rb +366 -0
  865. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_adic_obs_cont.rb +274 -0
  866. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_adic_obs_fisco.rb +274 -0
  867. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_intermed.rb +271 -0
  868. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_nfe.rb +494 -0
  869. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_nfe_supl.rb +276 -0
  870. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_prod_emb.rb +308 -0
  871. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_prod_nff.rb +247 -0
  872. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_resp_tec.rb +382 -0
  873. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_solic_nff.rb +243 -0
  874. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ipi.rb +332 -0
  875. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ipi_trib.rb +350 -0
  876. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ipint.rb +218 -0
  877. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_issq_ntot.rb +490 -0
  878. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_issqn.rb +564 -0
  879. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_lacres.rb +242 -0
  880. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_local.rb +631 -0
  881. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_med.rb +282 -0
  882. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_n_fref.rb +311 -0
  883. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_obs_cont.rb +274 -0
  884. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_obs_fisco.rb +274 -0
  885. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_obs_item.rb +224 -0
  886. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_orig_comb.rb +269 -0
  887. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pag.rb +278 -0
  888. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis.rb +242 -0
  889. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis_aliq.rb +303 -0
  890. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis_outr.rb +351 -0
  891. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis_qtde.rb +303 -0
  892. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pisnt.rb +219 -0
  893. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pisst.rb +349 -0
  894. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_proc_ref.rb +267 -0
  895. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_prod.rb +1134 -0
  896. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_rastro.rb +330 -0
  897. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ref_ecf.rb +293 -0
  898. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ref_nf.rb +347 -0
  899. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ref_nfp.rb +399 -0
  900. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ret_transp.rb +344 -0
  901. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ret_trib.rb +388 -0
  902. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_total.rb +240 -0
  903. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_transp.rb +376 -0
  904. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_transporta.rb +400 -0
  905. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_veic_prod.rb +971 -0
  906. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_veiculo.rb +265 -0
  907. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_vol.rb +404 -0
  908. data/lib/nuvemfiscal_sdk_ruby/models/nfse.rb +372 -0
  909. data/lib/nuvemfiscal_sdk_ruby/models/nfse_cancelamento.rb +297 -0
  910. data/lib/nuvemfiscal_sdk_ruby/models/nfse_cidade_metadados.rb +291 -0
  911. data/lib/nuvemfiscal_sdk_ruby/models/nfse_cidades_atendidas.rb +227 -0
  912. data/lib/nuvemfiscal_sdk_ruby/models/nfse_dps_pedido_emissao.rb +320 -0
  913. data/lib/nuvemfiscal_sdk_ruby/models/nfse_listagem.rb +225 -0
  914. data/lib/nuvemfiscal_sdk_ruby/models/nfse_lote_dps_pedido_emissao.rb +334 -0
  915. data/lib/nuvemfiscal_sdk_ruby/models/nfse_mensagem_retorno.rb +232 -0
  916. data/lib/nuvemfiscal_sdk_ruby/models/nfse_pedido_cancelamento.rb +225 -0
  917. data/lib/nuvemfiscal_sdk_ruby/models/nfse_pedido_emissao.rb +272 -0
  918. data/lib/nuvemfiscal_sdk_ruby/models/nfse_pedido_sincronizacao.rb +215 -0
  919. data/lib/nuvemfiscal_sdk_ruby/models/nfse_sincronizacao.rb +260 -0
  920. data/lib/nuvemfiscal_sdk_ruby/models/rps.rb +317 -0
  921. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados.rb +223 -0
  922. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_construcao_civil.rb +223 -0
  923. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_intermediario.rb +232 -0
  924. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_prestador.rb +313 -0
  925. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_servico.rb +396 -0
  926. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_tomador.rb +271 -0
  927. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_tomador_endereco.rb +363 -0
  928. data/lib/nuvemfiscal_sdk_ruby/models/rps_identificacao.rb +232 -0
  929. data/lib/nuvemfiscal_sdk_ruby/models/rps_identificacao_prestador.rb +222 -0
  930. data/lib/nuvemfiscal_sdk_ruby/models/rps_lote.rb +317 -0
  931. data/lib/nuvemfiscal_sdk_ruby/models/rps_lote_listagem.rb +225 -0
  932. data/lib/nuvemfiscal_sdk_ruby/models/rps_pedido_emissao.rb +370 -0
  933. data/lib/nuvemfiscal_sdk_ruby/models/rps_pedido_emissao_lote.rb +311 -0
  934. data/lib/nuvemfiscal_sdk_ruby/models/rps_servico_valores.rb +394 -0
  935. data/lib/nuvemfiscal_sdk_ruby/models/serv.rb +285 -0
  936. data/lib/nuvemfiscal_sdk_ruby/models/substituicao.rb +282 -0
  937. data/lib/nuvemfiscal_sdk_ruby/models/trib_federal.rb +293 -0
  938. data/lib/nuvemfiscal_sdk_ruby/models/trib_municipal.rb +385 -0
  939. data/lib/nuvemfiscal_sdk_ruby/models/trib_outros_pis_cofins.rb +360 -0
  940. data/lib/nuvemfiscal_sdk_ruby/models/trib_total.rb +261 -0
  941. data/lib/nuvemfiscal_sdk_ruby/models/trib_total_monet.rb +290 -0
  942. data/lib/nuvemfiscal_sdk_ruby/models/trib_total_percent.rb +290 -0
  943. data/lib/nuvemfiscal_sdk_ruby/models/v_desc_cond_incond.rb +258 -0
  944. data/lib/nuvemfiscal_sdk_ruby/models/v_serv_prest.rb +260 -0
  945. data/lib/nuvemfiscal_sdk_ruby/version.rb +15 -0
  946. data/lib/nuvemfiscal_sdk_ruby.rb +507 -0
  947. data/nuvemfiscal_sdk_ruby.gemspec +39 -0
  948. data/spec/api/cep_api_spec.rb +47 -0
  949. data/spec/api/cnpj_api_spec.rb +64 -0
  950. data/spec/api/conta_api_spec.rb +56 -0
  951. data/spec/api/cte_api_spec.rb +275 -0
  952. data/spec/api/distribuio_nfe_api_spec.rb +187 -0
  953. data/spec/api/email_api_spec.rb +64 -0
  954. data/spec/api/empresa_api_spec.rb +341 -0
  955. data/spec/api/mdfe_api_spec.rb +353 -0
  956. data/spec/api/nfce_api_spec.rb +395 -0
  957. data/spec/api/nfcom_api_spec.rb +161 -0
  958. data/spec/api/nfe_api_spec.rb +437 -0
  959. data/spec/api/nfse_api_spec.rb +249 -0
  960. data/spec/models/atv_evento_spec.rb +72 -0
  961. data/spec/models/beneficio_municipal_spec.rb +54 -0
  962. data/spec/models/c_serv_spec.rb +60 -0
  963. data/spec/models/cep_endereco_spec.rb +78 -0
  964. data/spec/models/cnpj_cnae_secundario_spec.rb +42 -0
  965. data/spec/models/cnpj_cnae_spec.rb +42 -0
  966. data/spec/models/cnpj_empresa_spec.rb +162 -0
  967. data/spec/models/cnpj_endereco_spec.rb +78 -0
  968. data/spec/models/cnpj_faixa_etaria_spec.rb +42 -0
  969. data/spec/models/cnpj_identificador_socio_spec.rb +42 -0
  970. data/spec/models/cnpj_listagem_spec.rb +42 -0
  971. data/spec/models/cnpj_motivo_situacao_cadastral_spec.rb +48 -0
  972. data/spec/models/cnpj_municipio_spec.rb +48 -0
  973. data/spec/models/cnpj_natureza_juridica_spec.rb +42 -0
  974. data/spec/models/cnpj_opcao_simei_spec.rb +48 -0
  975. data/spec/models/cnpj_opcao_simples_spec.rb +48 -0
  976. data/spec/models/cnpj_pais_spec.rb +42 -0
  977. data/spec/models/cnpj_porte_empresa_spec.rb +42 -0
  978. data/spec/models/cnpj_qualificacao_socio_spec.rb +42 -0
  979. data/spec/models/cnpj_representante_legal_spec.rb +48 -0
  980. data/spec/models/cnpj_situacao_cadastral_spec.rb +48 -0
  981. data/spec/models/cnpj_situacao_especial_spec.rb +48 -0
  982. data/spec/models/cnpj_socio_spec.rb +78 -0
  983. data/spec/models/cnpj_telefone_spec.rb +42 -0
  984. data/spec/models/com_exterior_spec.rb +90 -0
  985. data/spec/models/conta_cota_listagem_spec.rb +42 -0
  986. data/spec/models/conta_cota_spec.rb +48 -0
  987. data/spec/models/cte_carta_correcao_spec.rb +128 -0
  988. data/spec/models/cte_inf_correcao_spec.rb +54 -0
  989. data/spec/models/cte_pedido_cancelamento_spec.rb +36 -0
  990. data/spec/models/cte_pedido_carta_correcao_spec.rb +36 -0
  991. data/spec/models/cte_pedido_emissao_spec.rb +58 -0
  992. data/spec/models/cte_sefaz_aereo_spec.rb +66 -0
  993. data/spec/models/cte_sefaz_aquav_spec.rb +84 -0
  994. data/spec/models/cte_sefaz_aut_xml_spec.rb +42 -0
  995. data/spec/models/cte_sefaz_balsa_spec.rb +36 -0
  996. data/spec/models/cte_sefaz_cobr_spec.rb +42 -0
  997. data/spec/models/cte_sefaz_com_data_spec.rb +42 -0
  998. data/spec/models/cte_sefaz_com_hora_spec.rb +42 -0
  999. data/spec/models/cte_sefaz_comp_spec.rb +42 -0
  1000. data/spec/models/cte_sefaz_compl_spec.rb +90 -0
  1001. data/spec/models/cte_sefaz_dest_spec.rb +78 -0
  1002. data/spec/models/cte_sefaz_det_cont_inf_doc_inf_nf_spec.rb +48 -0
  1003. data/spec/models/cte_sefaz_det_cont_inf_doc_inf_nfe_spec.rb +42 -0
  1004. data/spec/models/cte_sefaz_det_cont_inf_doc_spec.rb +42 -0
  1005. data/spec/models/cte_sefaz_det_cont_spec.rb +48 -0
  1006. data/spec/models/cte_sefaz_doc_ant_spec.rb +36 -0
  1007. data/spec/models/cte_sefaz_dup_spec.rb +48 -0
  1008. data/spec/models/cte_sefaz_duto_spec.rb +48 -0
  1009. data/spec/models/cte_sefaz_emi_doc_ant_spec.rb +66 -0
  1010. data/spec/models/cte_sefaz_emi_occ_spec.rb +60 -0
  1011. data/spec/models/cte_sefaz_emit_spec.rb +78 -0
  1012. data/spec/models/cte_sefaz_ende_emi_spec.rb +84 -0
  1013. data/spec/models/cte_sefaz_ender_fer_spec.rb +78 -0
  1014. data/spec/models/cte_sefaz_endereco_spec.rb +90 -0
  1015. data/spec/models/cte_sefaz_entrega_spec.rb +66 -0
  1016. data/spec/models/cte_sefaz_exped_spec.rb +72 -0
  1017. data/spec/models/cte_sefaz_fat_spec.rb +54 -0
  1018. data/spec/models/cte_sefaz_ferro_env_spec.rb +60 -0
  1019. data/spec/models/cte_sefaz_ferrov_spec.rb +48 -0
  1020. data/spec/models/cte_sefaz_fluxo_spec.rb +54 -0
  1021. data/spec/models/cte_sefaz_icms00_spec.rb +54 -0
  1022. data/spec/models/cte_sefaz_icms20_spec.rb +72 -0
  1023. data/spec/models/cte_sefaz_icms45_spec.rb +48 -0
  1024. data/spec/models/cte_sefaz_icms60_spec.rb +72 -0
  1025. data/spec/models/cte_sefaz_icms90_spec.rb +78 -0
  1026. data/spec/models/cte_sefaz_icms_outra_uf_spec.rb +72 -0
  1027. data/spec/models/cte_sefaz_icmssn_spec.rb +42 -0
  1028. data/spec/models/cte_sefaz_icmsuf_fim_spec.rb +72 -0
  1029. data/spec/models/cte_sefaz_id_doc_ant_ele_spec.rb +36 -0
  1030. data/spec/models/cte_sefaz_id_doc_ant_pap_spec.rb +60 -0
  1031. data/spec/models/cte_sefaz_id_doc_ant_spec.rb +42 -0
  1032. data/spec/models/cte_sefaz_ide_spec.rb +234 -0
  1033. data/spec/models/cte_sefaz_imp_spec.rb +72 -0
  1034. data/spec/models/cte_sefaz_inf_carga_spec.rb +60 -0
  1035. data/spec/models/cte_sefaz_inf_cte_comp_spec.rb +36 -0
  1036. data/spec/models/cte_sefaz_inf_cte_imp_spec.rb +54 -0
  1037. data/spec/models/cte_sefaz_inf_cte_multimodal_spec.rb +36 -0
  1038. data/spec/models/cte_sefaz_inf_cte_norm_spec.rb +84 -0
  1039. data/spec/models/cte_sefaz_inf_cte_spec.rb +126 -0
  1040. data/spec/models/cte_sefaz_inf_cte_sub_spec.rb +42 -0
  1041. data/spec/models/cte_sefaz_inf_cte_supl_spec.rb +36 -0
  1042. data/spec/models/cte_sefaz_inf_doc_spec.rb +48 -0
  1043. data/spec/models/cte_sefaz_inf_globalizado_spec.rb +36 -0
  1044. data/spec/models/cte_sefaz_inf_modal_spec.rb +72 -0
  1045. data/spec/models/cte_sefaz_inf_nf_spec.rb +138 -0
  1046. data/spec/models/cte_sefaz_inf_nfe_spec.rb +60 -0
  1047. data/spec/models/cte_sefaz_inf_outros_spec.rb +78 -0
  1048. data/spec/models/cte_sefaz_inf_q_spec.rb +48 -0
  1049. data/spec/models/cte_sefaz_inf_seg_spec.rb +42 -0
  1050. data/spec/models/cte_sefaz_inf_serv_vinc_spec.rb +36 -0
  1051. data/spec/models/cte_sefaz_inf_solic_nff_spec.rb +36 -0
  1052. data/spec/models/cte_sefaz_inf_tot_ap_spec.rb +42 -0
  1053. data/spec/models/cte_sefaz_lac_unid_carga_spec.rb +36 -0
  1054. data/spec/models/cte_sefaz_lac_unid_transp_spec.rb +36 -0
  1055. data/spec/models/cte_sefaz_lacre_spec.rb +36 -0
  1056. data/spec/models/cte_sefaz_multimodal_spec.rb +48 -0
  1057. data/spec/models/cte_sefaz_nat_carga_spec.rb +42 -0
  1058. data/spec/models/cte_sefaz_no_inter_spec.rb +48 -0
  1059. data/spec/models/cte_sefaz_no_periodo_spec.rb +48 -0
  1060. data/spec/models/cte_sefaz_obs_cont_spec.rb +42 -0
  1061. data/spec/models/cte_sefaz_obs_fisco_spec.rb +42 -0
  1062. data/spec/models/cte_sefaz_occ_spec.rb +54 -0
  1063. data/spec/models/cte_sefaz_pass_spec.rb +36 -0
  1064. data/spec/models/cte_sefaz_peri_spec.rb +48 -0
  1065. data/spec/models/cte_sefaz_receb_spec.rb +72 -0
  1066. data/spec/models/cte_sefaz_rem_spec.rb +78 -0
  1067. data/spec/models/cte_sefaz_resp_tec_spec.rb +66 -0
  1068. data/spec/models/cte_sefaz_rodo_spec.rb +42 -0
  1069. data/spec/models/cte_sefaz_seg_spec.rb +48 -0
  1070. data/spec/models/cte_sefaz_sem_data_spec.rb +36 -0
  1071. data/spec/models/cte_sefaz_sem_hora_spec.rb +36 -0
  1072. data/spec/models/cte_sefaz_tarifa_spec.rb +48 -0
  1073. data/spec/models/cte_sefaz_toma3_spec.rb +36 -0
  1074. data/spec/models/cte_sefaz_toma4_spec.rb +84 -0
  1075. data/spec/models/cte_sefaz_traf_mut_spec.rb +60 -0
  1076. data/spec/models/cte_sefaz_unid_carga_spec.rb +54 -0
  1077. data/spec/models/cte_sefaz_unidade_transp_spec.rb +60 -0
  1078. data/spec/models/cte_sefaz_v_prest_spec.rb +48 -0
  1079. data/spec/models/cte_sefaz_veic_novos_spec.rb +66 -0
  1080. data/spec/models/dfe_autor_evento_spec.rb +36 -0
  1081. data/spec/models/dfe_autorizacao_spec.rb +128 -0
  1082. data/spec/models/dfe_cancelamento_spec.rb +128 -0
  1083. data/spec/models/dfe_carta_correcao_spec.rb +128 -0
  1084. data/spec/models/dfe_contribuinte_endereco_spec.rb +96 -0
  1085. data/spec/models/dfe_contribuinte_inf_cad_spec.rb +132 -0
  1086. data/spec/models/dfe_contribuinte_inf_cons_spec.rb +84 -0
  1087. data/spec/models/dfe_evento_listagem_spec.rb +42 -0
  1088. data/spec/models/dfe_evento_spec.rb +122 -0
  1089. data/spec/models/dfe_inutilizacao_spec.rb +164 -0
  1090. data/spec/models/dfe_listagem_spec.rb +42 -0
  1091. data/spec/models/dfe_lote_listagem_spec.rb +42 -0
  1092. data/spec/models/dfe_lote_spec.rb +86 -0
  1093. data/spec/models/dfe_pedido_envio_email_spec.rb +36 -0
  1094. data/spec/models/dfe_pedido_inutilizacao_spec.rb +76 -0
  1095. data/spec/models/dfe_recibo_spec.rb +66 -0
  1096. data/spec/models/dfe_sefaz_status_spec.rb +80 -0
  1097. data/spec/models/dfe_sincronizacao_spec.rb +64 -0
  1098. data/spec/models/dfe_spec.rb +116 -0
  1099. data/spec/models/distribuicao_nfe_documento_listagem_spec.rb +42 -0
  1100. data/spec/models/distribuicao_nfe_documento_spec.rb +142 -0
  1101. data/spec/models/distribuicao_nfe_evento_spec.rb +122 -0
  1102. data/spec/models/distribuicao_nfe_listagem_spec.rb +42 -0
  1103. data/spec/models/distribuicao_nfe_nota_listagem_spec.rb +42 -0
  1104. data/spec/models/distribuicao_nfe_nota_spec.rb +78 -0
  1105. data/spec/models/distribuicao_nfe_pedido_manifestacao_spec.rb +64 -0
  1106. data/spec/models/distribuicao_nfe_pedido_spec.rb +86 -0
  1107. data/spec/models/distribuicao_nfe_spec.rb +132 -0
  1108. data/spec/models/doc_ded_red_spec.rb +102 -0
  1109. data/spec/models/doc_nfnfs_spec.rb +48 -0
  1110. data/spec/models/doc_out_nfse_spec.rb +48 -0
  1111. data/spec/models/dps_spec.rb +42 -0
  1112. data/spec/models/email_attachment_spec.rb +42 -0
  1113. data/spec/models/email_event_spec.rb +54 -0
  1114. data/spec/models/email_listagem_spec.rb +42 -0
  1115. data/spec/models/email_resumo_spec.rb +64 -0
  1116. data/spec/models/email_spec.rb +88 -0
  1117. data/spec/models/email_status_response_spec.rb +52 -0
  1118. data/spec/models/empresa_certificado_spec.rb +78 -0
  1119. data/spec/models/empresa_config_cte_spec.rb +46 -0
  1120. data/spec/models/empresa_config_distribuicao_nfe_spec.rb +52 -0
  1121. data/spec/models/empresa_config_mdfe_spec.rb +40 -0
  1122. data/spec/models/empresa_config_nfce_sefaz_spec.rb +42 -0
  1123. data/spec/models/empresa_config_nfce_spec.rb +52 -0
  1124. data/spec/models/empresa_config_nfcom_spec.rb +46 -0
  1125. data/spec/models/empresa_config_nfe_spec.rb +46 -0
  1126. data/spec/models/empresa_config_nfse_reg_trib_spec.rb +48 -0
  1127. data/spec/models/empresa_config_nfse_spec.rb +64 -0
  1128. data/spec/models/empresa_config_prefeitura_spec.rb +48 -0
  1129. data/spec/models/empresa_config_rps_spec.rb +48 -0
  1130. data/spec/models/empresa_endereco_spec.rb +90 -0
  1131. data/spec/models/empresa_listagem_spec.rb +42 -0
  1132. data/spec/models/empresa_pedido_cadastro_certificado_spec.rb +42 -0
  1133. data/spec/models/empresa_spec.rb +90 -0
  1134. data/spec/models/ender_ext_simples_spec.rb +48 -0
  1135. data/spec/models/ender_ext_spec.rb +54 -0
  1136. data/spec/models/ender_nac_spec.rb +42 -0
  1137. data/spec/models/endereco_email_spec.rb +36 -0
  1138. data/spec/models/endereco_simples_spec.rb +66 -0
  1139. data/spec/models/endereco_spec.rb +66 -0
  1140. data/spec/models/exig_suspensa_spec.rb +42 -0
  1141. data/spec/models/exploracao_rodoviaria_spec.rb +72 -0
  1142. data/spec/models/inf_dps_spec.rb +90 -0
  1143. data/spec/models/info_compl_spec.rb +48 -0
  1144. data/spec/models/info_ded_red_spec.rb +48 -0
  1145. data/spec/models/info_fornec_doc_ded_red_spec.rb +90 -0
  1146. data/spec/models/info_intermediario_spec.rb +90 -0
  1147. data/spec/models/info_obra_spec.rb +48 -0
  1148. data/spec/models/info_prestador_spec.rb +42 -0
  1149. data/spec/models/info_tomador_spec.rb +96 -0
  1150. data/spec/models/info_tributacao_spec.rb +48 -0
  1151. data/spec/models/info_valores_spec.rb +54 -0
  1152. data/spec/models/lista_doc_ded_red_spec.rb +36 -0
  1153. data/spec/models/loc_prest_spec.rb +42 -0
  1154. data/spec/models/locacao_sublocacao_spec.rb +54 -0
  1155. data/spec/models/manifestacao_nfe_listagem_spec.rb +42 -0
  1156. data/spec/models/mdfe_documento_vinculado_spec.rb +48 -0
  1157. data/spec/models/mdfe_encerramento_spec.rb +140 -0
  1158. data/spec/models/mdfe_inclusao_condutor_spec.rb +134 -0
  1159. data/spec/models/mdfe_inclusao_dfe_spec.rb +140 -0
  1160. data/spec/models/mdfe_nao_encerrado_spec.rb +42 -0
  1161. data/spec/models/mdfe_nao_encerrados_spec.rb +66 -0
  1162. data/spec/models/mdfe_pedido_cancelamento_spec.rb +36 -0
  1163. data/spec/models/mdfe_pedido_emissao_lote_spec.rb +58 -0
  1164. data/spec/models/mdfe_pedido_emissao_spec.rb +58 -0
  1165. data/spec/models/mdfe_pedido_encerramento_spec.rb +48 -0
  1166. data/spec/models/mdfe_pedido_inclusao_condutor_spec.rb +42 -0
  1167. data/spec/models/mdfe_pedido_inclusao_dfe_spec.rb +54 -0
  1168. data/spec/models/mdfe_sefaz_aereo_spec.rb +66 -0
  1169. data/spec/models/mdfe_sefaz_aquav_spec.rb +114 -0
  1170. data/spec/models/mdfe_sefaz_aut_xml_spec.rb +42 -0
  1171. data/spec/models/mdfe_sefaz_comp_spec.rb +48 -0
  1172. data/spec/models/mdfe_sefaz_condutor_spec.rb +42 -0
  1173. data/spec/models/mdfe_sefaz_disp_spec.rb +66 -0
  1174. data/spec/models/mdfe_sefaz_emit_spec.rb +66 -0
  1175. data/spec/models/mdfe_sefaz_ende_emi_spec.rb +90 -0
  1176. data/spec/models/mdfe_sefaz_ferrov_spec.rb +42 -0
  1177. data/spec/models/mdfe_sefaz_ide_spec.rb +156 -0
  1178. data/spec/models/mdfe_sefaz_inf_adic_spec.rb +42 -0
  1179. data/spec/models/mdfe_sefaz_inf_antt_spec.rb +60 -0
  1180. data/spec/models/mdfe_sefaz_inf_banc_spec.rb +54 -0
  1181. data/spec/models/mdfe_sefaz_inf_ciot_spec.rb +48 -0
  1182. data/spec/models/mdfe_sefaz_inf_contratante_spec.rb +60 -0
  1183. data/spec/models/mdfe_sefaz_inf_contrato_spec.rb +42 -0
  1184. data/spec/models/mdfe_sefaz_inf_cte_spec.rb +66 -0
  1185. data/spec/models/mdfe_sefaz_inf_doc_spec.rb +36 -0
  1186. data/spec/models/mdfe_sefaz_inf_emb_comb_spec.rb +42 -0
  1187. data/spec/models/mdfe_sefaz_inf_entrega_parcial_spec.rb +42 -0
  1188. data/spec/models/mdfe_sefaz_inf_local_carrega_spec.rb +48 -0
  1189. data/spec/models/mdfe_sefaz_inf_local_descarrega_spec.rb +48 -0
  1190. data/spec/models/mdfe_sefaz_inf_lotacao_spec.rb +42 -0
  1191. data/spec/models/mdfe_sefaz_inf_mdfe_spec.rb +114 -0
  1192. data/spec/models/mdfe_sefaz_inf_mdfe_supl_spec.rb +36 -0
  1193. data/spec/models/mdfe_sefaz_inf_mdfe_transp_peri_spec.rb +66 -0
  1194. data/spec/models/mdfe_sefaz_inf_mdfe_transp_spec.rb +54 -0
  1195. data/spec/models/mdfe_sefaz_inf_modal_spec.rb +60 -0
  1196. data/spec/models/mdfe_sefaz_inf_mun_carrega_spec.rb +42 -0
  1197. data/spec/models/mdfe_sefaz_inf_mun_descarga_spec.rb +60 -0
  1198. data/spec/models/mdfe_sefaz_inf_nfe_peri_spec.rb +66 -0
  1199. data/spec/models/mdfe_sefaz_inf_nfe_spec.rb +60 -0
  1200. data/spec/models/mdfe_sefaz_inf_pag_spec.rb +108 -0
  1201. data/spec/models/mdfe_sefaz_inf_percurso_spec.rb +36 -0
  1202. data/spec/models/mdfe_sefaz_inf_prazo_spec.rb +48 -0
  1203. data/spec/models/mdfe_sefaz_inf_resp_spec.rb +48 -0
  1204. data/spec/models/mdfe_sefaz_inf_seg_spec.rb +42 -0
  1205. data/spec/models/mdfe_sefaz_inf_solic_nff_spec.rb +36 -0
  1206. data/spec/models/mdfe_sefaz_inf_term_carreg_spec.rb +42 -0
  1207. data/spec/models/mdfe_sefaz_inf_term_descarreg_spec.rb +42 -0
  1208. data/spec/models/mdfe_sefaz_inf_unid_carga_vazia_spec.rb +42 -0
  1209. data/spec/models/mdfe_sefaz_inf_unid_transp_vazia_spec.rb +42 -0
  1210. data/spec/models/mdfe_sefaz_lac_rodo_spec.rb +36 -0
  1211. data/spec/models/mdfe_sefaz_lac_unid_carga_spec.rb +36 -0
  1212. data/spec/models/mdfe_sefaz_lac_unid_transp_spec.rb +36 -0
  1213. data/spec/models/mdfe_sefaz_lacres_spec.rb +36 -0
  1214. data/spec/models/mdfe_sefaz_peri_spec.rb +66 -0
  1215. data/spec/models/mdfe_sefaz_prod_pred_spec.rb +60 -0
  1216. data/spec/models/mdfe_sefaz_prop_spec.rb +72 -0
  1217. data/spec/models/mdfe_sefaz_resp_tec_spec.rb +66 -0
  1218. data/spec/models/mdfe_sefaz_rodo_spec.rb +60 -0
  1219. data/spec/models/mdfe_sefaz_seg_spec.rb +54 -0
  1220. data/spec/models/mdfe_sefaz_tot_spec.rb +66 -0
  1221. data/spec/models/mdfe_sefaz_trem_spec.rb +60 -0
  1222. data/spec/models/mdfe_sefaz_unid_carga_spec.rb +54 -0
  1223. data/spec/models/mdfe_sefaz_unidade_transp_spec.rb +60 -0
  1224. data/spec/models/mdfe_sefaz_vag_spec.rb +72 -0
  1225. data/spec/models/mdfe_sefaz_vale_ped_spec.rb +42 -0
  1226. data/spec/models/mdfe_sefaz_veic_reboque_prop_spec.rb +72 -0
  1227. data/spec/models/mdfe_sefaz_veic_reboque_spec.rb +84 -0
  1228. data/spec/models/mdfe_sefaz_veic_tracao_spec.rb +96 -0
  1229. data/spec/models/nfcom_pedido_cancelamento_spec.rb +36 -0
  1230. data/spec/models/nfcom_pedido_emissao_spec.rb +52 -0
  1231. data/spec/models/nfcom_sefaz_assinante_spec.rb +90 -0
  1232. data/spec/models/nfcom_sefaz_aut_xml_spec.rb +42 -0
  1233. data/spec/models/nfcom_sefaz_cofins_spec.rb +54 -0
  1234. data/spec/models/nfcom_sefaz_dest_spec.rb +78 -0
  1235. data/spec/models/nfcom_sefaz_det_spec.rb +84 -0
  1236. data/spec/models/nfcom_sefaz_emit_spec.rb +72 -0
  1237. data/spec/models/nfcom_sefaz_ende_dest_spec.rb +102 -0
  1238. data/spec/models/nfcom_sefaz_ende_emi_spec.rb +90 -0
  1239. data/spec/models/nfcom_sefaz_funttel_spec.rb +48 -0
  1240. data/spec/models/nfcom_sefaz_fust_spec.rb +48 -0
  1241. data/spec/models/nfcom_sefaz_g_cofat_gnf_spec.rb +66 -0
  1242. data/spec/models/nfcom_sefaz_g_cofat_spec.rb +42 -0
  1243. data/spec/models/nfcom_sefaz_g_fat_central_spec.rb +42 -0
  1244. data/spec/models/nfcom_sefaz_g_fat_spec.rb +90 -0
  1245. data/spec/models/nfcom_sefaz_g_fidelidade_spec.rb +54 -0
  1246. data/spec/models/nfcom_sefaz_g_proc_ref_spec.rb +108 -0
  1247. data/spec/models/nfcom_sefaz_g_proc_spec.rb +42 -0
  1248. data/spec/models/nfcom_sefaz_g_ressarc_spec.rb +60 -0
  1249. data/spec/models/nfcom_sefaz_g_sub_spec.rb +48 -0
  1250. data/spec/models/nfcom_sefaz_gnf_spec.rb +66 -0
  1251. data/spec/models/nfcom_sefaz_gpix_spec.rb +36 -0
  1252. data/spec/models/nfcom_sefaz_icms00_spec.rb +66 -0
  1253. data/spec/models/nfcom_sefaz_icms20_spec.rb +84 -0
  1254. data/spec/models/nfcom_sefaz_icms40_spec.rb +48 -0
  1255. data/spec/models/nfcom_sefaz_icms51_spec.rb +48 -0
  1256. data/spec/models/nfcom_sefaz_icms90_spec.rb +78 -0
  1257. data/spec/models/nfcom_sefaz_icms_tot_spec.rb +54 -0
  1258. data/spec/models/nfcom_sefaz_icmssn_spec.rb +42 -0
  1259. data/spec/models/nfcom_sefaz_icmsuf_dest_spec.rb +78 -0
  1260. data/spec/models/nfcom_sefaz_ide_spec.rb +144 -0
  1261. data/spec/models/nfcom_sefaz_imposto_spec.rb +108 -0
  1262. data/spec/models/nfcom_sefaz_inf_adic_spec.rb +42 -0
  1263. data/spec/models/nfcom_sefaz_inf_nf_com_spec.rb +126 -0
  1264. data/spec/models/nfcom_sefaz_pis_spec.rb +54 -0
  1265. data/spec/models/nfcom_sefaz_prod_spec.rb +108 -0
  1266. data/spec/models/nfcom_sefaz_resp_tec_spec.rb +66 -0
  1267. data/spec/models/nfcom_sefaz_ret_trib_spec.rb +60 -0
  1268. data/spec/models/nfcom_sefaz_total_spec.rb +90 -0
  1269. data/spec/models/nfcom_sefaz_v_ret_trib_tot_spec.rb +54 -0
  1270. data/spec/models/nfe_pedido_cancelamento_spec.rb +36 -0
  1271. data/spec/models/nfe_pedido_carta_correcao_spec.rb +36 -0
  1272. data/spec/models/nfe_pedido_emissao_lote_spec.rb +58 -0
  1273. data/spec/models/nfe_pedido_emissao_spec.rb +58 -0
  1274. data/spec/models/nfe_sefaz_adi_spec.rb +60 -0
  1275. data/spec/models/nfe_sefaz_arma_spec.rb +54 -0
  1276. data/spec/models/nfe_sefaz_aut_xml_spec.rb +42 -0
  1277. data/spec/models/nfe_sefaz_avulsa_spec.rb +96 -0
  1278. data/spec/models/nfe_sefaz_cana_spec.rb +90 -0
  1279. data/spec/models/nfe_sefaz_card_spec.rb +66 -0
  1280. data/spec/models/nfe_sefaz_cide_spec.rb +48 -0
  1281. data/spec/models/nfe_sefaz_cobr_spec.rb +42 -0
  1282. data/spec/models/nfe_sefaz_cofins_aliq_spec.rb +54 -0
  1283. data/spec/models/nfe_sefaz_cofins_outr_spec.rb +66 -0
  1284. data/spec/models/nfe_sefaz_cofins_qtde_spec.rb +54 -0
  1285. data/spec/models/nfe_sefaz_cofins_spec.rb +54 -0
  1286. data/spec/models/nfe_sefaz_cofinsnt_spec.rb +36 -0
  1287. data/spec/models/nfe_sefaz_cofinsst_spec.rb +66 -0
  1288. data/spec/models/nfe_sefaz_comb_spec.rb +108 -0
  1289. data/spec/models/nfe_sefaz_compra_spec.rb +48 -0
  1290. data/spec/models/nfe_sefaz_deduc_spec.rb +42 -0
  1291. data/spec/models/nfe_sefaz_dest_spec.rb +90 -0
  1292. data/spec/models/nfe_sefaz_det_export_spec.rb +42 -0
  1293. data/spec/models/nfe_sefaz_det_pag_spec.rb +78 -0
  1294. data/spec/models/nfe_sefaz_det_spec.rb +66 -0
  1295. data/spec/models/nfe_sefaz_di_spec.rb +108 -0
  1296. data/spec/models/nfe_sefaz_dup_spec.rb +48 -0
  1297. data/spec/models/nfe_sefaz_emit_spec.rb +90 -0
  1298. data/spec/models/nfe_sefaz_encerrante_spec.rb +60 -0
  1299. data/spec/models/nfe_sefaz_ender_emi_spec.rb +96 -0
  1300. data/spec/models/nfe_sefaz_endereco_spec.rb +96 -0
  1301. data/spec/models/nfe_sefaz_export_ind_spec.rb +48 -0
  1302. data/spec/models/nfe_sefaz_exporta_spec.rb +48 -0
  1303. data/spec/models/nfe_sefaz_fat_spec.rb +54 -0
  1304. data/spec/models/nfe_sefaz_for_dia_spec.rb +42 -0
  1305. data/spec/models/nfe_sefaz_g_cred_spec.rb +48 -0
  1306. data/spec/models/nfe_sefaz_icms00_spec.rb +78 -0
  1307. data/spec/models/nfe_sefaz_icms02_spec.rb +60 -0
  1308. data/spec/models/nfe_sefaz_icms10_spec.rb +150 -0
  1309. data/spec/models/nfe_sefaz_icms15_spec.rb +90 -0
  1310. data/spec/models/nfe_sefaz_icms20_spec.rb +108 -0
  1311. data/spec/models/nfe_sefaz_icms30_spec.rb +114 -0
  1312. data/spec/models/nfe_sefaz_icms40_spec.rb +60 -0
  1313. data/spec/models/nfe_sefaz_icms51_spec.rb +132 -0
  1314. data/spec/models/nfe_sefaz_icms53_spec.rb +90 -0
  1315. data/spec/models/nfe_sefaz_icms60_spec.rb +108 -0
  1316. data/spec/models/nfe_sefaz_icms61_spec.rb +60 -0
  1317. data/spec/models/nfe_sefaz_icms70_spec.rb +174 -0
  1318. data/spec/models/nfe_sefaz_icms90_spec.rb +174 -0
  1319. data/spec/models/nfe_sefaz_icms_part_spec.rb +138 -0
  1320. data/spec/models/nfe_sefaz_icms_spec.rb +156 -0
  1321. data/spec/models/nfe_sefaz_icms_tot_spec.rb +204 -0
  1322. data/spec/models/nfe_sefaz_icmssn101_spec.rb +54 -0
  1323. data/spec/models/nfe_sefaz_icmssn102_spec.rb +42 -0
  1324. data/spec/models/nfe_sefaz_icmssn201_spec.rb +108 -0
  1325. data/spec/models/nfe_sefaz_icmssn202_spec.rb +96 -0
  1326. data/spec/models/nfe_sefaz_icmssn500_spec.rb +108 -0
  1327. data/spec/models/nfe_sefaz_icmssn900_spec.rb +138 -0
  1328. data/spec/models/nfe_sefaz_icmsst_spec.rb +120 -0
  1329. data/spec/models/nfe_sefaz_icmsuf_dest_spec.rb +84 -0
  1330. data/spec/models/nfe_sefaz_ide_spec.rb +174 -0
  1331. data/spec/models/nfe_sefaz_ii_spec.rb +54 -0
  1332. data/spec/models/nfe_sefaz_imposto_devol_ipi_spec.rb +36 -0
  1333. data/spec/models/nfe_sefaz_imposto_devol_spec.rb +42 -0
  1334. data/spec/models/nfe_sefaz_imposto_spec.rb +90 -0
  1335. data/spec/models/nfe_sefaz_inf_adic_obs_cont_spec.rb +42 -0
  1336. data/spec/models/nfe_sefaz_inf_adic_obs_fisco_spec.rb +42 -0
  1337. data/spec/models/nfe_sefaz_inf_adic_spec.rb +60 -0
  1338. data/spec/models/nfe_sefaz_inf_intermed_spec.rb +42 -0
  1339. data/spec/models/nfe_sefaz_inf_nfe_spec.rb +156 -0
  1340. data/spec/models/nfe_sefaz_inf_nfe_supl_spec.rb +42 -0
  1341. data/spec/models/nfe_sefaz_inf_prod_emb_spec.rb +48 -0
  1342. data/spec/models/nfe_sefaz_inf_prod_nff_spec.rb +42 -0
  1343. data/spec/models/nfe_sefaz_inf_resp_tec_spec.rb +66 -0
  1344. data/spec/models/nfe_sefaz_inf_solic_nff_spec.rb +36 -0
  1345. data/spec/models/nfe_sefaz_ipi_spec.rb +66 -0
  1346. data/spec/models/nfe_sefaz_ipi_trib_spec.rb +66 -0
  1347. data/spec/models/nfe_sefaz_ipint_spec.rb +36 -0
  1348. data/spec/models/nfe_sefaz_issq_ntot_spec.rb +102 -0
  1349. data/spec/models/nfe_sefaz_issqn_spec.rb +126 -0
  1350. data/spec/models/nfe_sefaz_lacres_spec.rb +36 -0
  1351. data/spec/models/nfe_sefaz_local_spec.rb +126 -0
  1352. data/spec/models/nfe_sefaz_med_spec.rb +48 -0
  1353. data/spec/models/nfe_sefaz_n_fref_spec.rb +66 -0
  1354. data/spec/models/nfe_sefaz_obs_cont_spec.rb +42 -0
  1355. data/spec/models/nfe_sefaz_obs_fisco_spec.rb +42 -0
  1356. data/spec/models/nfe_sefaz_obs_item_spec.rb +42 -0
  1357. data/spec/models/nfe_sefaz_orig_comb_spec.rb +48 -0
  1358. data/spec/models/nfe_sefaz_pag_spec.rb +42 -0
  1359. data/spec/models/nfe_sefaz_pis_aliq_spec.rb +54 -0
  1360. data/spec/models/nfe_sefaz_pis_outr_spec.rb +66 -0
  1361. data/spec/models/nfe_sefaz_pis_qtde_spec.rb +54 -0
  1362. data/spec/models/nfe_sefaz_pis_spec.rb +54 -0
  1363. data/spec/models/nfe_sefaz_pisnt_spec.rb +36 -0
  1364. data/spec/models/nfe_sefaz_pisst_spec.rb +66 -0
  1365. data/spec/models/nfe_sefaz_proc_ref_spec.rb +48 -0
  1366. data/spec/models/nfe_sefaz_prod_spec.rb +270 -0
  1367. data/spec/models/nfe_sefaz_rastro_spec.rb +60 -0
  1368. data/spec/models/nfe_sefaz_ref_ecf_spec.rb +48 -0
  1369. data/spec/models/nfe_sefaz_ref_nf_spec.rb +66 -0
  1370. data/spec/models/nfe_sefaz_ref_nfp_spec.rb +78 -0
  1371. data/spec/models/nfe_sefaz_ret_transp_spec.rb +66 -0
  1372. data/spec/models/nfe_sefaz_ret_trib_spec.rb +72 -0
  1373. data/spec/models/nfe_sefaz_total_spec.rb +48 -0
  1374. data/spec/models/nfe_sefaz_transp_spec.rb +78 -0
  1375. data/spec/models/nfe_sefaz_transporta_spec.rb +72 -0
  1376. data/spec/models/nfe_sefaz_veic_prod_spec.rb +174 -0
  1377. data/spec/models/nfe_sefaz_veiculo_spec.rb +48 -0
  1378. data/spec/models/nfe_sefaz_vol_spec.rb +72 -0
  1379. data/spec/models/nfse_cancelamento_spec.rb +70 -0
  1380. data/spec/models/nfse_cidade_metadados_spec.rb +74 -0
  1381. data/spec/models/nfse_cidades_atendidas_spec.rb +42 -0
  1382. data/spec/models/nfse_dps_pedido_emissao_spec.rb +62 -0
  1383. data/spec/models/nfse_listagem_spec.rb +42 -0
  1384. data/spec/models/nfse_lote_dps_pedido_emissao_spec.rb +62 -0
  1385. data/spec/models/nfse_mensagem_retorno_spec.rb +48 -0
  1386. data/spec/models/nfse_pedido_cancelamento_spec.rb +42 -0
  1387. data/spec/models/nfse_pedido_emissao_spec.rb +46 -0
  1388. data/spec/models/nfse_pedido_sincronizacao_spec.rb +36 -0
  1389. data/spec/models/nfse_sincronizacao_spec.rb +46 -0
  1390. data/spec/models/nfse_spec.rb +116 -0
  1391. data/spec/models/rps_dados_construcao_civil_spec.rb +42 -0
  1392. data/spec/models/rps_dados_intermediario_spec.rb +48 -0
  1393. data/spec/models/rps_dados_prestador_spec.rb +102 -0
  1394. data/spec/models/rps_dados_servico_spec.rb +120 -0
  1395. data/spec/models/rps_dados_spec.rb +42 -0
  1396. data/spec/models/rps_dados_tomador_endereco_spec.rb +90 -0
  1397. data/spec/models/rps_dados_tomador_spec.rb +66 -0
  1398. data/spec/models/rps_identificacao_prestador_spec.rb +36 -0
  1399. data/spec/models/rps_identificacao_spec.rb +48 -0
  1400. data/spec/models/rps_lote_listagem_spec.rb +42 -0
  1401. data/spec/models/rps_lote_spec.rb +80 -0
  1402. data/spec/models/rps_pedido_emissao_lote_spec.rb +52 -0
  1403. data/spec/models/rps_pedido_emissao_spec.rb +90 -0
  1404. data/spec/models/rps_servico_valores_spec.rb +150 -0
  1405. data/spec/models/rps_spec.rb +84 -0
  1406. data/spec/models/serv_spec.rb +78 -0
  1407. data/spec/models/substituicao_spec.rb +48 -0
  1408. data/spec/models/trib_federal_spec.rb +54 -0
  1409. data/spec/models/trib_municipal_spec.rb +96 -0
  1410. data/spec/models/trib_outros_pis_cofins_spec.rb +72 -0
  1411. data/spec/models/trib_total_monet_spec.rb +48 -0
  1412. data/spec/models/trib_total_percent_spec.rb +48 -0
  1413. data/spec/models/trib_total_spec.rb +54 -0
  1414. data/spec/models/v_desc_cond_incond_spec.rb +42 -0
  1415. data/spec/models/v_serv_prest_spec.rb +42 -0
  1416. data/spec/spec_helper.rb +111 -0
  1417. metadata +1967 -0
@@ -0,0 +1,315 @@
1
+ =begin
2
+ #API Nuvem Fiscal
3
+
4
+ #API para automação comercial e documentos fiscais.
5
+
6
+ The version of the OpenAPI document: 2.44.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ module NuvemfiscalSdkRuby
14
+ class Configuration
15
+ # Defines url scheme
16
+ attr_accessor :scheme
17
+
18
+ # Defines url host
19
+ attr_accessor :host
20
+
21
+ # Defines url base path
22
+ attr_accessor :base_path
23
+
24
+ # Define server configuration index
25
+ attr_accessor :server_index
26
+
27
+ # Define server operation configuration index
28
+ attr_accessor :server_operation_index
29
+
30
+ # Default server variables
31
+ attr_accessor :server_variables
32
+
33
+ # Default server operation variables
34
+ attr_accessor :server_operation_variables
35
+
36
+ # Defines API keys used with API Key authentications.
37
+ #
38
+ # @return [Hash] key: parameter name, value: parameter value (API key)
39
+ #
40
+ # @example parameter name is "api_key", API key is "xxx" (e.g. "api_key=xxx" in query string)
41
+ # config.api_key['api_key'] = 'xxx'
42
+ attr_accessor :api_key
43
+
44
+ # Defines API key prefixes used with API Key authentications.
45
+ #
46
+ # @return [Hash] key: parameter name, value: API key prefix
47
+ #
48
+ # @example parameter name is "Authorization", API key prefix is "Token" (e.g. "Authorization: Token xxx" in headers)
49
+ # config.api_key_prefix['api_key'] = 'Token'
50
+ attr_accessor :api_key_prefix
51
+
52
+ # Defines the username used with HTTP basic authentication.
53
+ #
54
+ # @return [String]
55
+ attr_accessor :username
56
+
57
+ # Defines the password used with HTTP basic authentication.
58
+ #
59
+ # @return [String]
60
+ attr_accessor :password
61
+
62
+ # Defines the access token (Bearer) used with OAuth2.
63
+ attr_accessor :access_token
64
+
65
+ # Defines a Proc used to fetch or refresh access tokens (Bearer) used with OAuth2.
66
+ # Overrides the access_token if set
67
+ # @return [Proc]
68
+ attr_accessor :access_token_getter
69
+
70
+ # Set this to return data as binary instead of downloading a temp file. When enabled (set to true)
71
+ # HTTP responses with return type `File` will be returned as a stream of binary data.
72
+ # Default to false.
73
+ attr_accessor :return_binary_data
74
+
75
+ # Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
76
+ # details will be logged with `logger.debug` (see the `logger` attribute).
77
+ # Default to false.
78
+ #
79
+ # @return [true, false]
80
+ attr_accessor :debugging
81
+
82
+ # Set this to ignore operation servers for the API client. This is useful when you need to
83
+ # send requests to a different server than the one specified in the OpenAPI document.
84
+ # Will default to the base url defined in the spec but can be overridden by setting
85
+ # `scheme`, `host`, `base_path` directly.
86
+ # Default to false.
87
+ # @return [true, false]
88
+ attr_accessor :ignore_operation_servers
89
+
90
+ # Defines the logger used for debugging.
91
+ # Default to `Rails.logger` (when in Rails) or logging to STDOUT.
92
+ #
93
+ # @return [#debug]
94
+ attr_accessor :logger
95
+
96
+ # Defines the temporary folder to store downloaded files
97
+ # (for API endpoints that have file response).
98
+ # Default to use `Tempfile`.
99
+ #
100
+ # @return [String]
101
+ attr_accessor :temp_folder_path
102
+
103
+ # The time limit for HTTP request in seconds.
104
+ # Default to 0 (never times out).
105
+ attr_accessor :timeout
106
+
107
+ # Set this to false to skip client side validation in the operation.
108
+ # Default to true.
109
+ # @return [true, false]
110
+ attr_accessor :client_side_validation
111
+
112
+ ### TLS/SSL setting
113
+ # Set this to false to skip verifying SSL certificate when calling API from https server.
114
+ # Default to true.
115
+ #
116
+ # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks.
117
+ #
118
+ # @return [true, false]
119
+ attr_accessor :verify_ssl
120
+
121
+ ### TLS/SSL setting
122
+ # Set this to false to skip verifying SSL host name
123
+ # Default to true.
124
+ #
125
+ # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks.
126
+ #
127
+ # @return [true, false]
128
+ attr_accessor :verify_ssl_host
129
+
130
+ ### TLS/SSL setting
131
+ # Set this to customize the certificate file to verify the peer.
132
+ #
133
+ # @return [String] the path to the certificate file
134
+ #
135
+ # @see The `cainfo` option of Typhoeus, `--cert` option of libcurl. Related source code:
136
+ # https://github.com/typhoeus/typhoeus/blob/master/lib/typhoeus/easy_factory.rb#L145
137
+ attr_accessor :ssl_ca_cert
138
+
139
+ ### TLS/SSL setting
140
+ # Client certificate file (for client certificate)
141
+ attr_accessor :cert_file
142
+
143
+ ### TLS/SSL setting
144
+ # Client private key file (for client certificate)
145
+ attr_accessor :key_file
146
+
147
+ # Set this to customize parameters encoding of array parameter with multi collectionFormat.
148
+ # Default to nil.
149
+ #
150
+ # @see The params_encoding option of Ethon. Related source code:
151
+ # https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
152
+ attr_accessor :params_encoding
153
+
154
+
155
+ attr_accessor :inject_format
156
+
157
+ attr_accessor :force_ending_format
158
+
159
+ def initialize
160
+ @scheme = 'https'
161
+ @host = 'api.nuvemfiscal.com.br'
162
+ @base_path = ''
163
+ @server_index = nil
164
+ @server_operation_index = {}
165
+ @server_variables = {}
166
+ @server_operation_variables = {}
167
+ @api_key = {}
168
+ @api_key_prefix = {}
169
+ @client_side_validation = true
170
+ @verify_ssl = true
171
+ @verify_ssl_host = true
172
+ @cert_file = nil
173
+ @key_file = nil
174
+ @timeout = 0
175
+ @params_encoding = nil
176
+ @debugging = false
177
+ @ignore_operation_servers = false
178
+ @inject_format = false
179
+ @force_ending_format = false
180
+ @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
181
+
182
+ yield(self) if block_given?
183
+ end
184
+
185
+ # The default Configuration object.
186
+ def self.default
187
+ @@default ||= Configuration.new
188
+ end
189
+
190
+ def configure
191
+ yield(self) if block_given?
192
+ end
193
+
194
+ def scheme=(scheme)
195
+ # remove :// from scheme
196
+ @scheme = scheme.sub(/:\/\//, '')
197
+ end
198
+
199
+ def host=(host)
200
+ # remove http(s):// and anything after a slash
201
+ @host = host.sub(/https?:\/\//, '').split('/').first
202
+ end
203
+
204
+ def base_path=(base_path)
205
+ # Add leading and trailing slashes to base_path
206
+ @base_path = "/#{base_path}".gsub(/\/+/, '/')
207
+ @base_path = '' if @base_path == '/'
208
+ end
209
+
210
+ # Returns base URL for specified operation based on server settings
211
+ def base_url(operation = nil)
212
+ return "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') if ignore_operation_servers
213
+ if operation_server_settings.key?(operation) then
214
+ index = server_operation_index.fetch(operation, server_index)
215
+ server_url(index.nil? ? 0 : index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
216
+ else
217
+ server_index.nil? ? "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') : server_url(server_index, server_variables, nil)
218
+ end
219
+ end
220
+
221
+ # Gets API key (with prefix if set).
222
+ # @param [String] param_name the parameter name of API key auth
223
+ def api_key_with_prefix(param_name, param_alias = nil)
224
+ key = @api_key[param_name]
225
+ key = @api_key.fetch(param_alias, key) unless param_alias.nil?
226
+ if @api_key_prefix[param_name]
227
+ "#{@api_key_prefix[param_name]} #{key}"
228
+ else
229
+ key
230
+ end
231
+ end
232
+
233
+ # Gets access_token using access_token_getter or uses the static access_token
234
+ def access_token_with_refresh
235
+ return access_token if access_token_getter.nil?
236
+ access_token_getter.call
237
+ end
238
+
239
+ # Gets Basic Auth token string
240
+ def basic_auth_token
241
+ 'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
242
+ end
243
+
244
+ # Returns Auth Settings hash for api client.
245
+ def auth_settings
246
+ {
247
+ 'jwt' =>
248
+ {
249
+ type: 'api_key',
250
+ in: 'header',
251
+ key: 'Authorization',
252
+ value: api_key_with_prefix('Authorization')
253
+ },
254
+ 'oauth2' =>
255
+ {
256
+ type: 'oauth2',
257
+ in: 'header',
258
+ key: 'Authorization',
259
+ value: "Bearer #{access_token_with_refresh}"
260
+ },
261
+ }
262
+ end
263
+
264
+ # Returns an array of Server setting
265
+ def server_settings
266
+ [
267
+ {
268
+ url: "https://api.nuvemfiscal.com.br",
269
+ description: "No description provided",
270
+ }
271
+ ]
272
+ end
273
+
274
+ def operation_server_settings
275
+ {
276
+ }
277
+ end
278
+
279
+ # Returns URL based on server settings
280
+ #
281
+ # @param index array index of the server settings
282
+ # @param variables hash of variable and the corresponding value
283
+ def server_url(index, variables = {}, servers = nil)
284
+ servers = server_settings if servers == nil
285
+
286
+ # check array index out of bound
287
+ if (index.nil? || index < 0 || index >= servers.size)
288
+ fail ArgumentError, "Invalid index #{index} when selecting the server. Must not be nil and must be less than #{servers.size}"
289
+ end
290
+
291
+ server = servers[index]
292
+ url = server[:url]
293
+
294
+ return url unless server.key? :variables
295
+
296
+ # go through variable and assign a value
297
+ server[:variables].each do |name, variable|
298
+ if variables.key?(name)
299
+ if (!server[:variables][name].key?(:enum_values) || server[:variables][name][:enum_values].include?(variables[name]))
300
+ url.gsub! "{" + name.to_s + "}", variables[name]
301
+ else
302
+ fail ArgumentError, "The variable `#{name}` in the server URL has invalid value #{variables[name]}. Must be #{server[:variables][name][:enum_values]}."
303
+ end
304
+ else
305
+ # use default value
306
+ url.gsub! "{" + name.to_s + "}", server[:variables][name][:default_value]
307
+ end
308
+ end
309
+
310
+ url
311
+ end
312
+
313
+
314
+ end
315
+ end
@@ -0,0 +1,381 @@
1
+ =begin
2
+ #API Nuvem Fiscal
3
+
4
+ #API para automação comercial e documentos fiscais.
5
+
6
+ The version of the OpenAPI document: 2.44.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module NuvemfiscalSdkRuby
17
+ # Grupo de informações do DPS relativas à Evento.
18
+ class AtvEvento
19
+ # Nome do evento Artístico, Cultural, Esportivo, etc.
20
+ attr_accessor :x_nome
21
+
22
+ # `Deprecated` **Propriedade depreciada**. *Utilize `xNome`*.
23
+ attr_accessor :desc
24
+
25
+ # Data de início da atividade de evento. Ano, Mês e Dia (AAAA-MM-DD).
26
+ attr_accessor :dt_ini
27
+
28
+ # Data de fim da atividade de evento. Ano, Mês e Dia (AAAA-MM-DD).
29
+ attr_accessor :dt_fim
30
+
31
+ # Identificação da Atividade de Evento (código identificador de evento determinado pela Administração Tributária Municipal).
32
+ attr_accessor :id_atv_evt
33
+
34
+ # `Deprecated` **Propriedade depreciada**. *Utilize `idAtvEvt`*.
35
+ attr_accessor :id
36
+
37
+ attr_accessor :_end
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ def self.attribute_map
41
+ {
42
+ :'x_nome' => :'xNome',
43
+ :'desc' => :'desc',
44
+ :'dt_ini' => :'dtIni',
45
+ :'dt_fim' => :'dtFim',
46
+ :'id_atv_evt' => :'idAtvEvt',
47
+ :'id' => :'id',
48
+ :'_end' => :'end'
49
+ }
50
+ end
51
+
52
+ # Returns all the JSON keys this model knows about
53
+ def self.acceptable_attributes
54
+ attribute_map.values
55
+ end
56
+
57
+ # Attribute type mapping.
58
+ def self.openapi_types
59
+ {
60
+ :'x_nome' => :'String',
61
+ :'desc' => :'String',
62
+ :'dt_ini' => :'Date',
63
+ :'dt_fim' => :'Date',
64
+ :'id_atv_evt' => :'String',
65
+ :'id' => :'String',
66
+ :'_end' => :'EnderecoSimples'
67
+ }
68
+ end
69
+
70
+ # List of attributes with nullable: true
71
+ def self.openapi_nullable
72
+ Set.new([
73
+ :'x_nome',
74
+ :'desc',
75
+ :'dt_ini',
76
+ :'dt_fim',
77
+ :'id_atv_evt',
78
+ :'id',
79
+ ])
80
+ end
81
+
82
+ # Initializes the object
83
+ # @param [Hash] attributes Model attributes in the form of hash
84
+ def initialize(attributes = {})
85
+ if (!attributes.is_a?(Hash))
86
+ fail ArgumentError, "The input argument (attributes) must be a hash in `NuvemfiscalSdkRuby::AtvEvento` initialize method"
87
+ end
88
+
89
+ # check to see if the attribute exists and convert string to symbol for hash key
90
+ attributes = attributes.each_with_object({}) { |(k, v), h|
91
+ if (!self.class.attribute_map.key?(k.to_sym))
92
+ fail ArgumentError, "`#{k}` is not a valid attribute in `NuvemfiscalSdkRuby::AtvEvento`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
93
+ end
94
+ h[k.to_sym] = v
95
+ }
96
+
97
+ if attributes.key?(:'x_nome')
98
+ self.x_nome = attributes[:'x_nome']
99
+ end
100
+
101
+ if attributes.key?(:'desc')
102
+ self.desc = attributes[:'desc']
103
+ end
104
+
105
+ if attributes.key?(:'dt_ini')
106
+ self.dt_ini = attributes[:'dt_ini']
107
+ else
108
+ self.dt_ini = nil
109
+ end
110
+
111
+ if attributes.key?(:'dt_fim')
112
+ self.dt_fim = attributes[:'dt_fim']
113
+ else
114
+ self.dt_fim = nil
115
+ end
116
+
117
+ if attributes.key?(:'id_atv_evt')
118
+ self.id_atv_evt = attributes[:'id_atv_evt']
119
+ end
120
+
121
+ if attributes.key?(:'id')
122
+ self.id = attributes[:'id']
123
+ end
124
+
125
+ if attributes.key?(:'_end')
126
+ self._end = attributes[:'_end']
127
+ end
128
+ end
129
+
130
+ # Show invalid properties with the reasons. Usually used together with valid?
131
+ # @return Array for valid properties with the reasons
132
+ def list_invalid_properties
133
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
134
+ invalid_properties = Array.new
135
+ if !@x_nome.nil? && @x_nome.to_s.length > 255
136
+ invalid_properties.push('invalid value for "x_nome", the character length must be smaller than or equal to 255.')
137
+ end
138
+
139
+ if !@x_nome.nil? && @x_nome.to_s.length < 1
140
+ invalid_properties.push('invalid value for "x_nome", the character length must be great than or equal to 1.')
141
+ end
142
+
143
+ if !@desc.nil? && @desc.to_s.length > 255
144
+ invalid_properties.push('invalid value for "desc", the character length must be smaller than or equal to 255.')
145
+ end
146
+
147
+ if !@desc.nil? && @desc.to_s.length < 1
148
+ invalid_properties.push('invalid value for "desc", the character length must be great than or equal to 1.')
149
+ end
150
+
151
+ if !@id_atv_evt.nil? && @id_atv_evt.to_s.length > 30
152
+ invalid_properties.push('invalid value for "id_atv_evt", the character length must be smaller than or equal to 30.')
153
+ end
154
+
155
+ if !@id_atv_evt.nil? && @id_atv_evt.to_s.length < 1
156
+ invalid_properties.push('invalid value for "id_atv_evt", the character length must be great than or equal to 1.')
157
+ end
158
+
159
+ if !@id.nil? && @id.to_s.length > 30
160
+ invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 30.')
161
+ end
162
+
163
+ if !@id.nil? && @id.to_s.length < 1
164
+ invalid_properties.push('invalid value for "id", the character length must be great than or equal to 1.')
165
+ end
166
+
167
+ invalid_properties
168
+ end
169
+
170
+ # Check to see if the all the properties in the model are valid
171
+ # @return true if the model is valid
172
+ def valid?
173
+ warn '[DEPRECATED] the `valid?` method is obsolete'
174
+ return false if !@x_nome.nil? && @x_nome.to_s.length > 255
175
+ return false if !@x_nome.nil? && @x_nome.to_s.length < 1
176
+ return false if !@desc.nil? && @desc.to_s.length > 255
177
+ return false if !@desc.nil? && @desc.to_s.length < 1
178
+ return false if !@id_atv_evt.nil? && @id_atv_evt.to_s.length > 30
179
+ return false if !@id_atv_evt.nil? && @id_atv_evt.to_s.length < 1
180
+ return false if !@id.nil? && @id.to_s.length > 30
181
+ return false if !@id.nil? && @id.to_s.length < 1
182
+ true
183
+ end
184
+
185
+ # Custom attribute writer method with validation
186
+ # @param [Object] x_nome Value to be assigned
187
+ def x_nome=(x_nome)
188
+ if !x_nome.nil? && x_nome.to_s.length > 255
189
+ fail ArgumentError, 'invalid value for "x_nome", the character length must be smaller than or equal to 255.'
190
+ end
191
+
192
+ if !x_nome.nil? && x_nome.to_s.length < 1
193
+ fail ArgumentError, 'invalid value for "x_nome", the character length must be great than or equal to 1.'
194
+ end
195
+
196
+ @x_nome = x_nome
197
+ end
198
+
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] desc Value to be assigned
201
+ def desc=(desc)
202
+ if !desc.nil? && desc.to_s.length > 255
203
+ fail ArgumentError, 'invalid value for "desc", the character length must be smaller than or equal to 255.'
204
+ end
205
+
206
+ if !desc.nil? && desc.to_s.length < 1
207
+ fail ArgumentError, 'invalid value for "desc", the character length must be great than or equal to 1.'
208
+ end
209
+
210
+ @desc = desc
211
+ end
212
+
213
+ # Custom attribute writer method with validation
214
+ # @param [Object] id_atv_evt Value to be assigned
215
+ def id_atv_evt=(id_atv_evt)
216
+ if !id_atv_evt.nil? && id_atv_evt.to_s.length > 30
217
+ fail ArgumentError, 'invalid value for "id_atv_evt", the character length must be smaller than or equal to 30.'
218
+ end
219
+
220
+ if !id_atv_evt.nil? && id_atv_evt.to_s.length < 1
221
+ fail ArgumentError, 'invalid value for "id_atv_evt", the character length must be great than or equal to 1.'
222
+ end
223
+
224
+ @id_atv_evt = id_atv_evt
225
+ end
226
+
227
+ # Custom attribute writer method with validation
228
+ # @param [Object] id Value to be assigned
229
+ def id=(id)
230
+ if !id.nil? && id.to_s.length > 30
231
+ fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 30.'
232
+ end
233
+
234
+ if !id.nil? && id.to_s.length < 1
235
+ fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 1.'
236
+ end
237
+
238
+ @id = id
239
+ end
240
+
241
+ # Checks equality by comparing each attribute.
242
+ # @param [Object] Object to be compared
243
+ def ==(o)
244
+ return true if self.equal?(o)
245
+ self.class == o.class &&
246
+ x_nome == o.x_nome &&
247
+ desc == o.desc &&
248
+ dt_ini == o.dt_ini &&
249
+ dt_fim == o.dt_fim &&
250
+ id_atv_evt == o.id_atv_evt &&
251
+ id == o.id &&
252
+ _end == o._end
253
+ end
254
+
255
+ # @see the `==` method
256
+ # @param [Object] Object to be compared
257
+ def eql?(o)
258
+ self == o
259
+ end
260
+
261
+ # Calculates hash code according to all attributes.
262
+ # @return [Integer] Hash code
263
+ def hash
264
+ [x_nome, desc, dt_ini, dt_fim, id_atv_evt, id, _end].hash
265
+ end
266
+
267
+ # Builds the object from hash
268
+ # @param [Hash] attributes Model attributes in the form of hash
269
+ # @return [Object] Returns the model itself
270
+ def self.build_from_hash(attributes)
271
+ return nil unless attributes.is_a?(Hash)
272
+ attributes = attributes.transform_keys(&:to_sym)
273
+ transformed_hash = {}
274
+ openapi_types.each_pair do |key, type|
275
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
276
+ transformed_hash["#{key}"] = nil
277
+ elsif type =~ /\AArray<(.*)>/i
278
+ # check to ensure the input is an array given that the attribute
279
+ # is documented as an array but the input is not
280
+ if attributes[attribute_map[key]].is_a?(Array)
281
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
282
+ end
283
+ elsif !attributes[attribute_map[key]].nil?
284
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
285
+ end
286
+ end
287
+ new(transformed_hash)
288
+ end
289
+
290
+ # Deserializes the data based on type
291
+ # @param string type Data type
292
+ # @param string value Value to be deserialized
293
+ # @return [Object] Deserialized data
294
+ def self._deserialize(type, value)
295
+ case type.to_sym
296
+ when :Time
297
+ Time.parse(value)
298
+ when :Date
299
+ Date.parse(value)
300
+ when :String
301
+ value.to_s
302
+ when :Integer
303
+ value.to_i
304
+ when :Float
305
+ value.to_f
306
+ when :Boolean
307
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
308
+ true
309
+ else
310
+ false
311
+ end
312
+ when :Object
313
+ # generic object (usually a Hash), return directly
314
+ value
315
+ when /\AArray<(?<inner_type>.+)>\z/
316
+ inner_type = Regexp.last_match[:inner_type]
317
+ value.map { |v| _deserialize(inner_type, v) }
318
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
319
+ k_type = Regexp.last_match[:k_type]
320
+ v_type = Regexp.last_match[:v_type]
321
+ {}.tap do |hash|
322
+ value.each do |k, v|
323
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
324
+ end
325
+ end
326
+ else # model
327
+ # models (e.g. Pet) or oneOf
328
+ klass = NuvemfiscalSdkRuby.const_get(type)
329
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
330
+ end
331
+ end
332
+
333
+ # Returns the string representation of the object
334
+ # @return [String] String presentation of the object
335
+ def to_s
336
+ to_hash.to_s
337
+ end
338
+
339
+ # to_body is an alias to to_hash (backward compatibility)
340
+ # @return [Hash] Returns the object in the form of hash
341
+ def to_body
342
+ to_hash
343
+ end
344
+
345
+ # Returns the object in the form of hash
346
+ # @return [Hash] Returns the object in the form of hash
347
+ def to_hash
348
+ hash = {}
349
+ self.class.attribute_map.each_pair do |attr, param|
350
+ value = self.send(attr)
351
+ if value.nil?
352
+ is_nullable = self.class.openapi_nullable.include?(attr)
353
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
354
+ end
355
+
356
+ hash[param] = _to_hash(value)
357
+ end
358
+ hash
359
+ end
360
+
361
+ # Outputs non-array value in the form of hash
362
+ # For object, use to_hash. Otherwise, just return the value
363
+ # @param [Object] value Any valid value
364
+ # @return [Hash] Returns the value in the form of hash
365
+ def _to_hash(value)
366
+ if value.is_a?(Array)
367
+ value.compact.map { |v| _to_hash(v) }
368
+ elsif value.is_a?(Hash)
369
+ {}.tap do |hash|
370
+ value.each { |k, v| hash[k] = _to_hash(v) }
371
+ end
372
+ elsif value.respond_to? :to_hash
373
+ value.to_hash
374
+ else
375
+ value
376
+ end
377
+ end
378
+
379
+ end
380
+
381
+ end