worker-automate-hub 0.5.810__py3-none-any.whl → 0.5.811__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.
@@ -331,7 +331,8 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
331
331
  console.print("Aguardar o término de carregar")
332
332
  # imagem = r"C:\Users\automatehub\Documents\GitHub\worker-automate-hub\assets\abertura_livros\livros_incluidos.png"
333
333
  imagem = "assets\\abertura_livros\\livros_incluidos.png"
334
- tempo_limite = 3600 # 1h
334
+
335
+ tempo_limite = 6600 # 1h
335
336
  intervalo = 2 # segundos entre as verificações
336
337
 
337
338
  inicio = time.time()
@@ -386,7 +387,7 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
386
387
  console.print("Janela de confirmação 'TMessageForm' encontrada.")
387
388
  form.set_focus()
388
389
  form.child_window(class_name="TButton", found_index=1).click_input()
389
- print("Clicou no botão de confirmação.")
390
+ print("Clicou no botão de sim.")
390
391
 
391
392
  await worker_sleep(5)
392
393
 
@@ -395,7 +396,7 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
395
396
  if os.path.exists(img_dialog):
396
397
  caixa = pyautogui.locateOnScreen(img_dialog, confidence=0.9, grayscale=True)
397
398
  if caixa:
398
- print("Janela 'notas rejeitadas' detectada por imagem.")
399
+ print("Janela 'notas relatorios rejeitadas' detectada por imagem.")
399
400
  region = (caixa.left, caixa.top, caixa.width, caixa.height)
400
401
 
401
402
  app_msg = Application().connect(
@@ -405,11 +406,10 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
405
406
  console.print("Janela de confirmação 'TMessageForm' encontrada.")
406
407
  form.set_focus()
407
408
  form.child_window(class_name="TButton", found_index=0).click_input()
408
- print("Clicou no botão de confirmação.")
409
+ print("Clicou no botão de não.")
409
410
  except:
410
411
  pass
411
412
 
412
-
413
413
  # 3. Verifica se a janela do relatório está aberta
414
414
  try:
415
415
  app_report = Application().connect(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: worker-automate-hub
3
- Version: 0.5.810
3
+ Version: 0.5.811
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
@@ -36,7 +36,7 @@ worker_automate_hub/models/dto/rpa_sap_dto.py,sha256=eovdvKCtVIhRct3PL98KjsdlngL
36
36
  worker_automate_hub/models/dto/rpa_sistema_dto.py,sha256=sLkmJei8x6sl-1-IXUKDmYQuKx0sotYQREPyhQqPmRg,161
37
37
  worker_automate_hub/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  worker_automate_hub/tasks/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=4IOJCIGXQ-7Fq9hzC3RrzljtBGRd7IY-2XlXoJQ4ZCc,25189
39
+ worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=ApU70jabSusQNVxUSy2N_W9BZflSN29ui1BXjAon7wE,25193
40
40
  worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ0DLLOVJOfNTq_z9krx_t25Q,29476
41
41
  worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
42
42
  worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
@@ -103,7 +103,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
103
103
  worker_automate_hub/utils/util.py,sha256=HXXGEEeGQd-gD_u8W0_aPYVDiMB9bKF-rJBl-m6RiRM,210781
104
104
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=F7jk95LpDwl5WfaQXahCA5yDdnySnWdctDqczHXwGqE,38195
105
105
  worker_automate_hub/worker.py,sha256=zEnYUrm5kY2cHbbee15QJkwkx4euD2SB2zRvUIbjS90,6850
106
- worker_automate_hub-0.5.810.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
107
- worker_automate_hub-0.5.810.dist-info/METADATA,sha256=pxBRPfxFbWsQ32RJdkCuLYm-4tWza5yO396pTxgIhQw,3100
108
- worker_automate_hub-0.5.810.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
109
- worker_automate_hub-0.5.810.dist-info/RECORD,,
106
+ worker_automate_hub-0.5.811.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
107
+ worker_automate_hub-0.5.811.dist-info/METADATA,sha256=_7Go5Mn0df6UqEnwpSBTJQDvOiD2iajfzltFOtGkNTc,3100
108
+ worker_automate_hub-0.5.811.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
109
+ worker_automate_hub-0.5.811.dist-info/RECORD,,