worker-automate-hub 0.5.667__py3-none-any.whl → 0.5.668__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.

Potentially problematic release.


This version of worker-automate-hub might be problematic. Click here for more details.

@@ -125,16 +125,22 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
125
125
 
126
126
  # Procura campo documento
127
127
  console.print("Navegando pela Janela de Nota Fiscal de Entrada...\n")
128
- document_type = await select_documento_type(
129
- "NOTA FISCAL DE ENTRADA ELETRONICA - DANFE"
130
- )
131
- if document_type.sucesso == True:
128
+ # Tenta a primeira opção
129
+ document_type = await select_documento_type("NOTA FISCAL DE ENTRADA ELETRONICA - DANFE")
130
+
131
+ # Se falhou, tenta a segunda
132
+ if not document_type.sucesso:
133
+ document_type = await select_documento_type("DANFE - NOTA FISCAL DE ENTRADA ELETRONICA - DANFE")
134
+
135
+ # Verifica o resultado final
136
+ if document_type.sucesso:
132
137
  console.log(document_type.retorno, style="bold green")
133
138
  else:
134
139
  return RpaRetornoProcessoDTO(
135
140
  sucesso=False,
136
141
  retorno=document_type.retorno,
137
- status=RpaHistoricoStatusEnum.Falha, tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
142
+ status=RpaHistoricoStatusEnum.Falha,
143
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
138
144
  )
139
145
 
140
146
  await worker_sleep(10)
@@ -461,7 +467,7 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
461
467
  status=RpaHistoricoStatusEnum.Descartado,
462
468
  )
463
469
 
464
- await worker_sleep(80)
470
+ await worker_sleep(120)
465
471
 
466
472
  await emsys.verify_warning_and_error("Information", "No")
467
473
 
@@ -933,6 +939,7 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
933
939
  app = Application().connect(class_name="TFrmTelaSelecao")
934
940
  main_window = app["TFrmTelaSelecao"]
935
941
  send_keys("%o")
942
+
936
943
  await worker_sleep(7)
937
944
 
938
945
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.667
3
+ Version: 0.5.668
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -60,7 +60,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC
60
60
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=MO5hjy2NS__6FXvzd3R24hGEf4u_bOvqD5lJx70Awu0,33590
61
61
  worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=AXUL8DakrDeTxWW8dn36W830XfIuO47MFUusbUkrnUc,33586
62
62
  worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=z494n0SUyxorjhvpbat2ELnj7lbhtWPb9JOIsattwA8,35216
63
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=89WgjhzhQXKoMmbRPiliV8BvA1Ni3IN8tnRkt86RGNA,46806
63
+ worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=whsK_TfNZSmzt0PNHnVi0q4OIxzfKiR5nGuB9WfEYeI,47071
64
64
  worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=WBsCRbH7ANiCjEn0aEDc5AqGf6grEFhxyBoAIh3zJ40,44160
65
65
  worker_automate_hub/tasks/jobs/entrada_de_notas_503.py,sha256=FIF8HCyEAdecDw6dB9WC3hcLoLAC3FMQyTujPgfQFaI,46560
66
66
  worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=xXeNipdXTSll8yAtAmN7v0sjN3oMlWU4THu30mKDddc,30339
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=kXGtm91s6XJBtD7m_KyCrOxQ7mCeIBqEOnhbfYs3Vf8,206355
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=L_z1Aps6BFWl-6_Ibm45vDid1S4kFDz5O78N2uO1Rq0,36458
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.667.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.667.dist-info/METADATA,sha256=5wllq8C9eN3XBpwaZRe-cJJ8UCurCeu4R-uBPvw1Tu0,3049
103
- worker_automate_hub-0.5.667.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.667.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.668.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.668.dist-info/METADATA,sha256=g_swUCcqJiKxJwvhqkyNntjBl-iZ99vkZYIM0dXQUnE,3049
103
+ worker_automate_hub-0.5.668.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.668.dist-info/RECORD,,