worker-automate-hub 0.5.654__py3-none-any.whl → 0.5.655__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.

Potentially problematic release.


This version of worker-automate-hub might be problematic. Click here for more details.

@@ -245,6 +245,28 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
245
245
  status=RpaHistoricoStatusEnum.Falha,
246
246
  tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
247
247
  )
248
+
249
+ # Verificar se já existe registro no mês apurado
250
+ try:
251
+ selecionar_todos_itens = (
252
+ ASSETS_PATH + "\\lancamento_pis_cofins\\ja_existe_periodo.png"
253
+ )
254
+ # Tenta localizar a imagem na tela
255
+ localizacao = pyautogui.locateOnScreen(
256
+ selecionar_todos_itens, confidence=0.9
257
+ )
258
+ await worker_sleep(3)
259
+ if localizacao:
260
+ app = Application().connect(title="Informação", timeout=60)
261
+ main_window = app["Informação"]
262
+ main_window.set_focus()
263
+ informacao = main_window.child_window(title="OK")
264
+ informacao.click()
265
+ console.print("Clique realizado com sucesso!")
266
+ else:
267
+ console.print("Imagem não encontrada na tela.")
268
+ except:
269
+ pass
248
270
  await worker_sleep(5)
249
271
  console.print("Verificando se possui tela de Informação... \n")
250
272
  information_pop_up = await is_window_open("Information")
@@ -317,6 +339,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
317
339
  )
318
340
  main_window = app["TFrmMovtoApuraPisCofins"]
319
341
  main_window.close()
342
+ await worker_sleep(2)
320
343
  console.print("Tela de Movimento Apuração, fechada com sucesso... \n")
321
344
  else:
322
345
  return RpaRetornoProcessoDTO(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.654
3
+ Version: 0.5.655
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
@@ -79,7 +79,7 @@ worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos.py,sha256=QzK2aG5d9pmFb
79
79
  worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos_novo.py,sha256=5-wn583Cm0_NJ3TcVpYcurBTRxgwW6MU8WqaYawLS2k,21345
80
80
  worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=psoIU0tjtTJq2W8aGXjXrfkAOYlIpUtHZyNolI7dp-0,16263
81
81
  worker_automate_hub/tasks/jobs/integracao_contabil_generica.py,sha256=qIuWvouE88GooP57tRHmwfFV-2PcboJaErQo1VLolf8,21520
82
- worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=8khwL7pAu5e6G-4iR2mBuhTFgAc17xVlyNQiikUtbBE,36879
82
+ worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=BP6AUsE2JHQJdxZK_6mo9xdr2AEv8E6D68DxkVSpMzs,37920
83
83
  worker_automate_hub/tasks/jobs/lancamento_rateio.py,sha256=0cvbpuJiHl5mca5gpZudX7uQY5Rqe5xzwt6juQcMhjo,15875
84
84
  worker_automate_hub/tasks/jobs/login_emsys.py,sha256=dO9S027qRTtjOfytF6IWO-m6hDld8kZqOVAsn91l1YA,5684
85
85
  worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=_6CFh79eaW9KdPGR6FMV01ASPjJzNzzBK1MvC_uiSOo,5625
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=GJvJdRil1DLVgZFgGg2n_WI3UKoy-xVmXF3IIefW59I,206009
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=L_z1Aps6BFWl-6_Ibm45vDid1S4kFDz5O78N2uO1Rq0,36458
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.654.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.654.dist-info/METADATA,sha256=tgZDmgukXNO9kGWIPiIXFbKa_SkSRJUUSHuYdq1r5BQ,3049
103
- worker_automate_hub-0.5.654.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.654.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.655.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.655.dist-info/METADATA,sha256=w-acd2_p6bVVpVPH-vuQ8TdQXsfbzKli091_DOkBOJc,3049
103
+ worker_automate_hub-0.5.655.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.655.dist-info/RECORD,,