worker-automate-hub 0.5.317__py3-none-any.whl → 0.5.318__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.
@@ -3512,37 +3512,45 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
3512
3512
 
3513
3513
  try:
3514
3514
  #Clcica no OK para seguir a transmissão da pré-venda
3515
+ console.print("Clicando em ok para fatura pré-venda... \n")
3515
3516
  app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=60)
3516
3517
  main_window = app["TFrmDadosFaturamentoPreVenda"]
3517
3518
  main_window.set_focus()
3518
3519
  btn_ok = main_window.child_window(class_name="TBitBtn", found_index=1)
3519
3520
  btn_ok.click()
3520
3521
  except:
3522
+ console.print("Clicando em OK no except... \n")
3521
3523
  btn_ok = main_window.child_window(title="&Ok")
3522
3524
  btn_ok.click()
3523
- await worker_sleep(5)
3525
+
3526
+ await worker_sleep(5)
3524
3527
  #Lucas Fim
3525
3528
  #ADICIONANDO MENSAGEM
3526
3529
 
3527
3530
  try:
3531
+ console.print("Identificando tela - 'TFrmDadosFaturamentoPreVenda' 1 ")
3528
3532
  app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=10)
3529
3533
  main_window = app["Confirm"]
3530
3534
  main_window.set_focus()
3531
3535
  except:
3532
- console.print('Except')
3536
+ console.print("Identificando tela - 'TMessageForm' 1 ")
3533
3537
  app = Application().connect(class_name="TMessageForm", timeout=10)
3534
3538
  main_window = app["TMessageForm"]
3535
3539
  main_window.set_focus()
3536
-
3540
+
3541
+ console.print("Clicando em sim para faturar pre-venda... \n")
3537
3542
  btn_yes = main_window.child_window(class_name="TButton", found_index=1)
3538
3543
  btn_yes.click()
3544
+
3539
3545
  await worker_sleep(5)
3540
3546
 
3541
3547
  try:
3548
+ console.print("Identificando tela - 'TFrmDadosFaturamentoPreVenda' 2 ")
3542
3549
  app = Application().connect(class_name="TFrmDadosFaturamentoPreVenda", timeout=10)
3543
3550
  main_window = app["TMessageForm"]
3544
3551
  except Exception as ex:
3545
3552
  console.print(f'{ex}')
3553
+ console.print("Identificando tela - 'TMessageForm' 2 ")
3546
3554
  app = Application().connect(class_name="TMessageForm", timeout=10)
3547
3555
  main_window = app["TMessageForm"]
3548
3556
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.317
3
+ Version: 0.5.318
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=VdxBsi2uwBD1yppMQcDgy0YPgheoNyPQicXqRxgrlhM,232360
45
+ worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=B8fphQlDuv3tHD4kR-iUzjfxLhDY5I9E6GTt4Qp-93Q,233013
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=WZK1VjdoOCHWWXzLt9gh2uUi_6p3OfvI6DvAYIGi998,185072
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.317.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
89
- worker_automate_hub-0.5.317.dist-info/METADATA,sha256=f3pz4eNcocS9FtelootTrjU7IogB2Yoqx7MLMM7ztIw,3041
90
- worker_automate_hub-0.5.317.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
91
- worker_automate_hub-0.5.317.dist-info/RECORD,,
88
+ worker_automate_hub-0.5.318.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
89
+ worker_automate_hub-0.5.318.dist-info/METADATA,sha256=tIqfAhGfXhbbWlNdM3FUJscvuP0PZlDqiwymh_WpWU4,3041
90
+ worker_automate_hub-0.5.318.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
91
+ worker_automate_hub-0.5.318.dist-info/RECORD,,