worker-automate-hub 0.5.654__py3-none-any.whl → 0.5.656__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,29 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
245
245
  status=RpaHistoricoStatusEnum.Falha,
246
246
  tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
247
247
  )
248
+
249
+ await worker_sleep(5)
250
+ # Verificar se já existe registro no mês apurado
251
+ try:
252
+ selecionar_todos_itens = (
253
+ ASSETS_PATH + "\\lancamento_pis_cofins\\ja_existe_periodo.png"
254
+ )
255
+ # Tenta localizar a imagem na tela
256
+ localizacao = pyautogui.locateOnScreen(
257
+ selecionar_todos_itens, confidence=0.9
258
+ )
259
+ await worker_sleep(3)
260
+ if localizacao:
261
+ app = Application().connect(title="Informação", timeout=60)
262
+ main_window = app["Informação"]
263
+ main_window.set_focus()
264
+ informacao = main_window.child_window(title="OK")
265
+ informacao.click()
266
+ console.print("Clique realizado com sucesso!")
267
+ else:
268
+ console.print("Imagem não encontrada na tela.")
269
+ except:
270
+ pass
248
271
  await worker_sleep(5)
249
272
  console.print("Verificando se possui tela de Informação... \n")
250
273
  information_pop_up = await is_window_open("Information")
@@ -317,6 +340,7 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
317
340
  )
318
341
  main_window = app["TFrmMovtoApuraPisCofins"]
319
342
  main_window.close()
343
+ await worker_sleep(2)
320
344
  console.print("Tela de Movimento Apuração, fechada com sucesso... \n")
321
345
  else:
322
346
  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.656
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=H-K2-_BLTSwEzj2dubEsiL8IzYna-fuTPAyIoM3uhuE,37955
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.656.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.656.dist-info/METADATA,sha256=vz9hOqAlAcH9dxZBXdbwj0s-sastgjb7xJnO4geYZsY,3049
103
+ worker_automate_hub-0.5.656.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.656.dist-info/RECORD,,