worker-automate-hub 0.5.612__py3-none-any.whl → 0.5.613__py3-none-any.whl
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.
- worker_automate_hub/tasks/jobs/entrada_de_notas_36.py +21 -6
- {worker_automate_hub-0.5.612.dist-info → worker_automate_hub-0.5.613.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.612.dist-info → worker_automate_hub-0.5.613.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.612.dist-info → worker_automate_hub-0.5.613.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.612.dist-info → worker_automate_hub-0.5.613.dist-info}/entry_points.txt +0 -0
@@ -122,15 +122,30 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
122
122
|
|
123
123
|
# Procura campo documento
|
124
124
|
console.print("Navegando pela Janela de Nota Fiscal de Entrada...\n")
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
125
|
+
|
126
|
+
# Lista de tipos de documentos
|
127
|
+
tipos_documento = [
|
128
|
+
"NOTA FISCAL DE ENTRADA ELETRONICA - DANFE",
|
129
|
+
"DANFE - NOTA FISCAL DE ENTRADA ELETRONICA - DANFE"
|
130
|
+
]
|
131
|
+
|
132
|
+
document_type_result = None
|
133
|
+
|
134
|
+
for tipo in tipos_documento:
|
135
|
+
try:
|
136
|
+
resultado = await select_documento_type(tipo)
|
137
|
+
if resultado.sucesso:
|
138
|
+
document_type_result = resultado
|
139
|
+
break
|
140
|
+
except Exception as e:
|
141
|
+
console.log(f"Erro ao tentar selecionar '{tipo}': {e}", style="bold red")
|
142
|
+
|
143
|
+
if document_type_result and document_type_result.sucesso:
|
144
|
+
console.log(document_type_result.retorno, style="bold green")
|
130
145
|
else:
|
131
146
|
return RpaRetornoProcessoDTO(
|
132
147
|
sucesso=False,
|
133
|
-
retorno=
|
148
|
+
retorno="Não foi possível selecionar nenhum dos tipos de documento válidos.",
|
134
149
|
status=RpaHistoricoStatusEnum.Falha,
|
135
150
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
136
151
|
)
|
@@ -58,7 +58,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQ
|
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
|
59
59
|
worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=MO5hjy2NS__6FXvzd3R24hGEf4u_bOvqD5lJx70Awu0,33590
|
60
60
|
worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=AXUL8DakrDeTxWW8dn36W830XfIuO47MFUusbUkrnUc,33586
|
61
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=
|
61
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=z494n0SUyxorjhvpbat2ELnj7lbhtWPb9JOIsattwA8,35216
|
62
62
|
worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=89WgjhzhQXKoMmbRPiliV8BvA1Ni3IN8tnRkt86RGNA,46806
|
63
63
|
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=WBsCRbH7ANiCjEn0aEDc5AqGf6grEFhxyBoAIh3zJ40,44160
|
64
64
|
worker_automate_hub/tasks/jobs/entrada_de_notas_503.py,sha256=FIF8HCyEAdecDw6dB9WC3hcLoLAC3FMQyTujPgfQFaI,46560
|
@@ -96,7 +96,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
96
96
|
worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
|
97
97
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
98
98
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
99
|
-
worker_automate_hub-0.5.
|
100
|
-
worker_automate_hub-0.5.
|
101
|
-
worker_automate_hub-0.5.
|
102
|
-
worker_automate_hub-0.5.
|
99
|
+
worker_automate_hub-0.5.613.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
100
|
+
worker_automate_hub-0.5.613.dist-info/METADATA,sha256=6Atk_MYPBBn9k_0rVYcj100D9v-g4Qfp0F4t6wjosH4,3049
|
101
|
+
worker_automate_hub-0.5.613.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
102
|
+
worker_automate_hub-0.5.613.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.612.dist-info → worker_automate_hub-0.5.613.dist-info}/entry_points.txt
RENAMED
File without changes
|