worker-automate-hub 0.5.328__py3-none-any.whl → 0.5.329__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.
@@ -2424,6 +2424,24 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
2424
2424
 
2425
2425
 
2426
2426
  console.print("Verificando se possui pop-up imprimir boleta")
2427
+ boleta_screen = await is_window_open("Confirm")
2428
+ if boleta_screen["IsOpened"] == True:
2429
+ console.print("Janela aberta, fechando")
2430
+ try:
2431
+ console.print("Confirm")
2432
+ app = Application().connect(title="Confirm", timeout=10)
2433
+ main_window = app["Confirm"]
2434
+ main_window.set_focus()
2435
+ except:
2436
+ console.print("Identificando - TMessageForm 1")
2437
+ app = Application().connect(class_name="TMessageForm", timeout=10, title='Confirm')
2438
+ main_window = app["TMessageForm"]
2439
+ main_window.set_focus()
2440
+
2441
+ btn_no = main_window.child_window(class_name="TButton", title="&No")
2442
+ btn_no.click()
2443
+
2444
+
2427
2445
  erro_screen = await is_window_open_by_class("TFrmDadosFaturamentoPreVenda","Confirm")
2428
2446
  if erro_screen["IsOpened"] == True:
2429
2447
  console.print("Janela aberta, fechando")
@@ -2475,7 +2493,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
2475
2493
  if close_dados_faturamento["IsOpened"] == True:
2476
2494
  console.print("Janela aberta, fechando")
2477
2495
  try:
2478
- app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=30)
2496
+ app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=180)
2479
2497
  main_window = app["TFrmDadosFaturamentoPreVenda"]
2480
2498
  main_window.set_focus()
2481
2499
  await worker_sleep(2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.328
3
+ Version: 0.5.329
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
@@ -42,7 +42,7 @@ worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53t
42
42
  worker_automate_hub/tasks/jobs/descartes.py,sha256=2zODOekSJSr7nuO9sUzT_F3YeG7N5EHuxnp05RguirE,41361
43
43
  worker_automate_hub/tasks/jobs/despesas_cte.py,sha256=TWbjBMZjYDugiqYUa_1DtCAUWOyVetoZI2SPs7AdDNc,13264
44
44
  worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=A41O9a6kVUweUBy7Lc2dpJoeAi8QYxu-pMc8u-g0yTg,110241
45
- worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=iyZbcjjVcV2CypZ3LH7xwFIJAutQYj3GHWzdaXmZ9gk,238527
45
+ worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=d6s9b5XyFJ7RrxYQz7fmaW783bcAXRuJryK1ioPliFM,239602
46
46
  worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
47
47
  worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
48
48
  worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM3Fje-rkyx5tjwmRy4lyL8,25300
@@ -85,7 +85,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
85
85
  worker_automate_hub/utils/util.py,sha256=sadsyNEdhkhMHU2jVdDCJK59kHd4TWVDmmfQ62gc5Q8,182626
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.328.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
89
- worker_automate_hub-0.5.328.dist-info/METADATA,sha256=bIgi1mySQpMeZyBgT_l9V3LXm_EERhccdwQOLUKdZm0,3041
90
- worker_automate_hub-0.5.328.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
91
- worker_automate_hub-0.5.328.dist-info/RECORD,,
88
+ worker_automate_hub-0.5.329.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
89
+ worker_automate_hub-0.5.329.dist-info/METADATA,sha256=8Kfx5tf_pzA4A7LoM8w1I5Qp8XZHa2uf5t5W_CDcVQY,3041
90
+ worker_automate_hub-0.5.329.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
91
+ worker_automate_hub-0.5.329.dist-info/RECORD,,