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

@@ -51,7 +51,7 @@ async def click_importar_xml():
51
51
  raise Exception(f"Erro ao conectar a janela: {e}")
52
52
 
53
53
 
54
- async def importar_xml_conhecimento():
54
+ async def importar_xml_conhecimento(cfop: str):
55
55
 
56
56
  try:
57
57
  await worker_sleep(5)
@@ -64,7 +64,11 @@ async def importar_xml_conhecimento():
64
64
  aquisicao_servico = main_window.child_window(
65
65
  class_name="TDBIComboBox", found_index=1
66
66
  )
67
- aquisicao_servico.select("1353 - AQUISICAO DE SERVICO DE TRANSPORTE D/E")
67
+
68
+ if str(cfop).startswith("5"):
69
+ aquisicao_servico.select("1353 - AQUISICAO DE SERVICO DE TRANSPORTE D/E")
70
+ else:
71
+ aquisicao_servico.select("2353 - AQUISICAO DE SERVICO DE TRANSPORTE F/E")
68
72
 
69
73
  await worker_sleep(2)
70
74
 
@@ -429,7 +433,7 @@ async def importar_cte_xml(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO
429
433
  await save_xml_to_downloads(cte["chaveCte"])
430
434
  await worker_sleep(5)
431
435
  await click_importar_xml()
432
- await importar_xml_conhecimento()
436
+ await importar_xml_conhecimento(cte["cfop"])
433
437
  await selecionar_xml(cte)
434
438
  await janela_conhecimento_frete(cte)
435
439
  await worker_sleep(8)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.669
3
+ Version: 0.5.670
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
@@ -40,7 +40,7 @@ worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=mX5GeaqwTa-bu61
40
40
  worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ0DLLOVJOfNTq_z9krx_t25Q,29476
41
41
  worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
42
42
  worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
43
- worker_automate_hub/tasks/jobs/cte_xml.py,sha256=hvKWRF46Pcl_Mp-l2FjgXaqrQ5UgKVkTJMc3fEHXVeo,15398
43
+ worker_automate_hub/tasks/jobs/cte_xml.py,sha256=m4BkJDgp95Vr3oqEh6wXeeb31qzZhRF2Sw0h_wsoL_k,15565
44
44
  worker_automate_hub/tasks/jobs/descartes.py,sha256=E5kKef8j7e0PTm6NBeZAXkljUoAFEMjVWvHaJ8g2fv4,44451
45
45
  worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=zQcRXZ9TxJhyL4jHjBTS-iW5BcmRoSPv9FsBLy0-eWQ,250793
46
46
  worker_automate_hub/tasks/jobs/devolucao_ctf_35.py,sha256=e9t5k2mtZcUcEGKPWysbWzsH_gqrK-6aBXjWe2jWfTg,253948
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=kXGtm91s6XJBtD7m_KyCrOxQ7mCeIBqEOnhbfYs3Vf8,206355
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.669.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.669.dist-info/METADATA,sha256=K66D_5ZC8ibq8nfUHFxsXqQaQ8bZANGnGwEj8QYvjLo,3049
103
- worker_automate_hub-0.5.669.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.669.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.670.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.670.dist-info/METADATA,sha256=mhyEvcufdGea7wpfG08QWDXkcat8mKzeYWUG5jIhrtI,3049
103
+ worker_automate_hub-0.5.670.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.670.dist-info/RECORD,,