worker-automate-hub 0.5.335__py3-none-any.whl → 0.5.337__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.
@@ -151,7 +151,9 @@ async def integracao_contabil(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
151
151
  pyautogui.write(periodo)
152
152
  await worker_sleep(3)
153
153
  console.print("Selecionando item do campo origem...")
154
- checkbox_origem = main_window.child_window(class_name="TRzComboBox", found_index=1)
154
+ checkbox_origem = main_window.child_window(
155
+ class_name="TRzComboBox", found_index=1
156
+ )
155
157
  checkbox_origem.select(task.configEntrada.get("origem"))
156
158
  await worker_sleep(3)
157
159
  console.print("Clicando no botao pesquisar...")
@@ -177,7 +179,7 @@ async def integracao_contabil(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
177
179
  status=RpaHistoricoStatusEnum.Falha,
178
180
  tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
179
181
  )
180
- if "validando" in field and attempt == 1:
182
+ if "validando" in field and attempt <= 2:
181
183
  return RpaRetornoProcessoDTO(
182
184
  sucesso=False,
183
185
  retorno=f"A integração não foi realizada: nenhum lote para integrar.",
@@ -2558,6 +2558,8 @@ async def itens_not_found_supplier(xml: str) -> RpaRetornoProcessoDTO:
2558
2558
  console.print("Iteragindo com a tela de itens não localizados // NCM ...\n")
2559
2559
 
2560
2560
  app = Application().connect(class_name="TFrmAguarde", timeout=60)
2561
+ aguarde_window = app.window(class_name="TFrmAguarde")
2562
+ aguarde_window.wait_not("exists visible")
2561
2563
 
2562
2564
  max_attempts = 60
2563
2565
  i = 0
@@ -4730,4 +4732,4 @@ async def wait_nf_ready():
4730
4732
  continue
4731
4733
 
4732
4734
  return {"sucesso": False, "retorno": f"Número máximo de tentativas excedido ao tentar transmitir a nota"}
4733
-
4735
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.335
3
+ Version: 0.5.337
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
@@ -67,7 +67,7 @@ worker_automate_hub/tasks/jobs/fidc_exportacao_docs_portal_b2b.py,sha256=CyXllDn
67
67
  worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=tiyAbOqY3bBOzxM2DvgqT_fLC4f7YvHcO34Drhq0l8Y,11433
68
68
  worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=Vmj0hTvyRgfczaLiQZgmh4MiG4fJEzAEvJL0Ci25AAM,15836
69
69
  worker_automate_hub/tasks/jobs/fidc_retorno_cobranca.py,sha256=5K_KJnH-NdEp-SEzbYVvBUuUpmvRlx_ISq0u_xirizQ,11812
70
- worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=uQZV51uYqWjoci99_bso11egmxqPB_vjVtlCxON2ykI,16721
70
+ worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=YjCZ_yX_1gR2XtTY8PRjpgbllzZcxYsTTtPId1oR5uM,16745
71
71
  worker_automate_hub/tasks/jobs/login_emsys.py,sha256=scdKsseFOL-7UQ5D743VaZZzWBKaEfq0XzYNmROUOgE,5703
72
72
  worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=jcfhppG-MhuZYKEIt8O8NaJfdV3figNXrKt4zPqeQi0,5644
73
73
  worker_automate_hub/tasks/jobs/notas_faturamento_sap.py,sha256=p6tVE027FHHXBxt2sIDxqLInpf_0wS-8TcACnS34p7w,13961
@@ -82,10 +82,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
82
82
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
83
83
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
84
84
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
85
- worker_automate_hub/utils/util.py,sha256=WZK1VjdoOCHWWXzLt9gh2uUi_6p3OfvI6DvAYIGi998,185072
85
+ worker_automate_hub/utils/util.py,sha256=xwYiznMKMGRDDk9pWuWgvFjlxcyVZOD8mWINkBYWgzw,185188
86
86
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
87
87
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
88
- worker_automate_hub-0.5.335.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
89
- worker_automate_hub-0.5.335.dist-info/METADATA,sha256=ZzffX22N1dmXmjvSxwWECX0pvR4iDtfi8Cif7djeXFo,3041
90
- worker_automate_hub-0.5.335.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
91
- worker_automate_hub-0.5.335.dist-info/RECORD,,
88
+ worker_automate_hub-0.5.337.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
89
+ worker_automate_hub-0.5.337.dist-info/METADATA,sha256=7jz6W3nITyDMic-hRr-i6cWQpNlYhlf9fD_X7Dt1lFs,3041
90
+ worker_automate_hub-0.5.337.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
91
+ worker_automate_hub-0.5.337.dist-info/RECORD,,