worker-automate-hub 0.5.592__py3-none-any.whl → 0.5.593__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.
@@ -402,7 +402,24 @@ async def integracao_contabil_generica(
402
402
  console.print("Botão '&Ok' clicado com sucesso.")
403
403
  break
404
404
  except ElementNotFoundError:
405
- pass # A janela ainda não apareceu
405
+ console.print("Janela MsgBox não encontrada ainda. Verificando existencia de erro de duplicidade...")
406
+ try:
407
+ duplicidade_err_img = "assets\\integracao_contabil\\erro_duplicidade.png"
408
+ duplicidade_err = pyautogui.locateOnScreen(
409
+ duplicidade_err_img, confidence=0.86
410
+ )
411
+ console.print("Verificando imagem...")
412
+ if duplicidade_err:
413
+ console.print("Erro de Duplicidade localizado.")
414
+ return RpaRetornoProcessoDTO(
415
+ sucesso=False,
416
+ retorno=f"Erro de Duplicidade localizado enquanto finalizava a integração.",
417
+ status=RpaHistoricoStatusEnum.Falha,
418
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)],
419
+ )
420
+ console.print("Erro de Duplicidade não localizado.")
421
+ except Exception as err:
422
+ print(f"Sem erro de Duplicidade.\nDetalhe: {err}")
406
423
  except Exception as e:
407
424
  print(f"Erro ao tentar clicar no botão: {e}")
408
425
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.592
3
+ Version: 0.5.593
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
@@ -74,7 +74,7 @@ worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=XCbIZG1y7
74
74
  worker_automate_hub/tasks/jobs/fidc_retorno_cobranca.py,sha256=6BtgiHZ8gLiKpOHwF3Tba4oVFZDUbUUwaHw7WK_5V2I,11879
75
75
  worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos.py,sha256=QzK2aG5d9pmFbb8cTaNm3LWf5NMkmCvBkgo70gcLu0c,14781
76
76
  worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=psoIU0tjtTJq2W8aGXjXrfkAOYlIpUtHZyNolI7dp-0,16263
77
- worker_automate_hub/tasks/jobs/integracao_contabil_generica.py,sha256=U57wYy9qCSDWlVMLjmssdF2JR9jOEgkFg1zhX7a0xJo,16976
77
+ worker_automate_hub/tasks/jobs/integracao_contabil_generica.py,sha256=uyiktW67IL-r1jl_LtGk2Us0gz6rB3uW6u3MutF2NHU,18098
78
78
  worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=9BePVw8AP42mRKRiWqZHxIah9rGOqoBXs_Vo-OQBioM,35679
79
79
  worker_automate_hub/tasks/jobs/login_emsys.py,sha256=dO9S027qRTtjOfytF6IWO-m6hDld8kZqOVAsn91l1YA,5684
80
80
  worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=_6CFh79eaW9KdPGR6FMV01ASPjJzNzzBK1MvC_uiSOo,5625
@@ -93,7 +93,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
93
93
  worker_automate_hub/utils/util.py,sha256=mFsEBbrIJBP_jyGj1bRbQjZuPH8LmXqgXQOuVZmx8aA,198280
94
94
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
95
95
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
96
- worker_automate_hub-0.5.592.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
97
- worker_automate_hub-0.5.592.dist-info/METADATA,sha256=tP9lWeB7oyAgsmwE9HZ7GDfIFpcPIvT4rdQjk7n6SZ8,3012
98
- worker_automate_hub-0.5.592.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
99
- worker_automate_hub-0.5.592.dist-info/RECORD,,
96
+ worker_automate_hub-0.5.593.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
97
+ worker_automate_hub-0.5.593.dist-info/METADATA,sha256=8vKtiP28OVLjx1UrH5SpxshnbubWHt9LvWHX5fClJ1E,3012
98
+ worker_automate_hub-0.5.593.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
99
+ worker_automate_hub-0.5.593.dist-info/RECORD,,