worker-automate-hub 0.5.604__py3-none-any.whl → 0.5.606__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.
@@ -65,9 +65,6 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
65
65
  try:
66
66
  # Get config from BOF
67
67
  config = await get_config_by_name("login_emsys")
68
- console.print(task)
69
-
70
- console.print(config)
71
68
 
72
69
  # Seta config entrada na var nota para melhor entendimento
73
70
  nota = task.configEntrada
@@ -541,8 +538,13 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
541
538
 
542
539
  panel_TabPagamento = panel_TTabSheet.child_window(class_name="TTabSheet")
543
540
  #check if have restante
544
- remove_btn = panel_TabPagamento.child_window(class_name="TDBIBitBtn", found_index=0)
545
- remove_btn.click()
541
+ app = Application().connect(class_name="TFrmNotaFiscalEntrada")
542
+ panel_nf = app['TFrmNotaFiscalEntrada']
543
+ remove_btn = panel_nf.child_window(class_name="TDBIBitBtn", found_index=0)
544
+ if remove_btn.exists() and remove_btn.is_enabled():
545
+ remove_btn.click()
546
+ else:
547
+ print("Botão de exclusão não encontrado ou desabilitado.")
546
548
  try:
547
549
  #Confirm screen to remove actual value and expiration date
548
550
  app = Application().connect(class_name="TMessageForm")
@@ -693,4 +695,5 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
693
695
  retorno=observacao,
694
696
  status=RpaHistoricoStatusEnum.Falha,
695
697
  tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
696
- )
698
+ )
699
+
@@ -280,7 +280,7 @@ async def extracao_fechamento_emsys(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
280
280
  console.print("Verificar se existem dados")
281
281
 
282
282
  try:
283
- nao_existe_dados = fr"{ASSETS_BASE_PATH}\nao_existem_dados.png"
283
+ nao_existe_dados = fr"{ASSETS_BASE_PATH}\extracao_fechamento_emsys\nao_existem_dados.png"
284
284
 
285
285
  for tentativa in range(3):
286
286
  console.print(f"Tentativa {tentativa + 1}: Clicar em 'Gerar Relatório'")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.604
3
+ Version: 0.5.606
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
@@ -52,7 +52,7 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=AqSsn0SlK_nok4AhMCNUlA
52
52
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYtP-e-JJHbvUfgmfgNw,55748
53
53
  worker_automate_hub/tasks/jobs/entrada_cte_1353.py,sha256=knwPbjZZsnvHKurs7O7gv7bFpQIAmv4qPB1rZa3zBsY,12102
54
54
  worker_automate_hub/tasks/jobs/entrada_cte_333.py,sha256=FvpU_bsdPB2ANQ_i63Jlkdo5yZM4zJdr2mm41KTrJtE,13285
55
- worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=Hzpv8bqAPGqxL4ENjyw3Uuw3h31vwek_lOzeaxJx9l8,29309
55
+ worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=BYmdPLJFZEHD_lVSpuaTDLZrx33ox8Re7QDzXjXDiB8,29524
56
56
  worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=-0AmpCXT45ptyZEeNkQ_6Mt--44N6pQjW2f6oLrOQvk,35710
57
57
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQL9KiCWW95j8zX1v2MslgbDcUE,36871
58
58
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
@@ -67,7 +67,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=aSgHterguK9XGtq0B
67
67
  worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=VJ-2g7tuqbAICOarJpAhljjJJ5wbb5hphTboBWoxj7M,64639
68
68
  worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=nV0iLoip2FH2-FhLmhX3nPqsfl_MPufZ3E5Q5krJvdc,3544
69
69
  worker_automate_hub/tasks/jobs/extracao_fechamento_contabil.py,sha256=aU_8Z9N252sCnUGlDRoO7nF_R8BC86fIBdPCk-ufTRA,19723
70
- worker_automate_hub/tasks/jobs/extracao_fechamento_emsys.py,sha256=qo9wcRDGzyBVUkwGXuqW1RhVwamdqi0Hhr3XCy2UPHo,20719
70
+ worker_automate_hub/tasks/jobs/extracao_fechamento_emsys.py,sha256=j2PC6NPY6ma8KUKb2Xg9-qYBgB0SSu6ISVuH7_1sGWI,20745
71
71
  worker_automate_hub/tasks/jobs/fechar_conexao_rdp.py,sha256=UWAKCS2dbfgDlSQOBdjmVJXfD1MMuUrOi3weDgB0CAc,5718
72
72
  worker_automate_hub/tasks/jobs/fidc_exportacao_docs_portal_b2b.py,sha256=SOs2mORBJqHs089ApbLaPJVRXM7wWhf0e99URXqPlpQ,15020
73
73
  worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=zu92tRCvKPK0U6IGGF28ST-kERohJcNbys-DWk0tIco,12555
@@ -95,7 +95,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
95
95
  worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
96
96
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
97
97
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
98
- worker_automate_hub-0.5.604.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
99
- worker_automate_hub-0.5.604.dist-info/METADATA,sha256=rMzilT1VdwCLs_hVYajcLwB1OvA1ye883MfkjFbXdVo,3049
100
- worker_automate_hub-0.5.604.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
101
- worker_automate_hub-0.5.604.dist-info/RECORD,,
98
+ worker_automate_hub-0.5.606.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
99
+ worker_automate_hub-0.5.606.dist-info/METADATA,sha256=gfCQs6B1P3sP4p_vkG3r_6XBwQ2b5XRH8TS8g4zCJdc,3049
100
+ worker_automate_hub-0.5.606.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
101
+ worker_automate_hub-0.5.606.dist-info/RECORD,,