worker-automate-hub 0.5.720__py3-none-any.whl → 0.5.721__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.
@@ -655,10 +655,8 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
655
655
  console.print(f"Aguardando confirmação de nota incluida...\n")
656
656
  await worker_sleep(5)
657
657
  i += 1
658
- nf_imported = await check_nota_importada(nota.get("nfe"))
659
- console.print("\Consultando se a nota ja foi lançada...")
660
658
  try:
661
- status_nf_emsys = await get_status_nf_emsys(nf_chave_acesso)
659
+ status_nf_emsys = await get_status_nf_emsys(nota.get("nfe"))
662
660
  if status_nf_emsys.get("status") == "Lançada":
663
661
  console.print(
664
662
  "\nNota lançada com sucesso, processo finalizado...",
@@ -774,16 +774,17 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
774
774
  console.print(f"Aguardando confirmação de nota incluida...\n")
775
775
  await worker_sleep(5)
776
776
  i += 1
777
- nf_imported = await check_nota_importada(nota.get("nfe"))
778
777
  console.print("\Consultando se a nota ja foi lançada...")
779
- status_nf_emsys = await get_status_nf_emsys(nf_chave_acesso)
780
- if status_nf_emsys.get("status") == "Lançada":
781
- console.print("\nNota lançada com sucesso, processo finalizado...", style="bold green")
782
- return RpaRetornoProcessoDTO(
783
- sucesso=True,
784
- retorno="Nota Lançada com sucesso!",
785
- status=RpaHistoricoStatusEnum.Sucesso,
786
- )
778
+ try:
779
+ status_nf_emsys = await get_status_nf_emsys(nota.get("nfe"))
780
+ if status_nf_emsys.get("status") == "Lançada":
781
+ console.print("\nNota lançada com sucesso, processo finalizado...", style="bold green")
782
+ return RpaRetornoProcessoDTO(
783
+ sucesso=True,
784
+ retorno="Nota Lançada com sucesso!",
785
+ status=RpaHistoricoStatusEnum.Sucesso,
786
+ )
787
+ except: pass
787
788
 
788
789
  information_pop_up = await is_window_open("Information")
789
790
 
@@ -991,6 +991,21 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
991
991
  console.print(f"Aguardando confirmação de nota incluida...\n")
992
992
  await worker_sleep(5)
993
993
  i += 1
994
+ console.print("\Consultando se a nota ja foi lançada...")
995
+ try:
996
+ status_nf_emsys = await get_status_nf_emsys(nota.get("nfe"))
997
+ if status_nf_emsys.get("status") == "Lançada":
998
+ console.print(
999
+ "\nNota lançada com sucesso, processo finalizado...",
1000
+ style="bold green",
1001
+ )
1002
+ return RpaRetornoProcessoDTO(
1003
+ sucesso=True,
1004
+ retorno="Nota Lançada com sucesso!",
1005
+ status=RpaHistoricoStatusEnum.Sucesso,
1006
+ )
1007
+ except:
1008
+ pass
994
1009
 
995
1010
  await worker_sleep(15)
996
1011
  console.print("\nVerifica se a nota ja foi lançada...")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.720
3
+ Version: 0.5.721
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
@@ -53,14 +53,14 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=AqSsn0SlK_nok4AhMCNUlA
53
53
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYtP-e-JJHbvUfgmfgNw,55748
54
54
  worker_automate_hub/tasks/jobs/entrada_cte_1353.py,sha256=knwPbjZZsnvHKurs7O7gv7bFpQIAmv4qPB1rZa3zBsY,12102
55
55
  worker_automate_hub/tasks/jobs/entrada_cte_333.py,sha256=FvpU_bsdPB2ANQ_i63Jlkdo5yZM4zJdr2mm41KTrJtE,13285
56
- worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=CCNV_6O0ORbxYq0Ing0aTIzk8tQbbyFZg7i-bS4h4Ns,30634
57
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=-L2y681Y-RYqzLMhdGpao7CHq4SdLTZKe0JV0k2IYPA,38322
56
+ worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=zXQn0oa4EYPLmY2fjym7qvB1fLDlcNtjnHZ0uvteotE,30483
57
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=3ZtqMIhpRFMji1aKJBwvnQ9nR3emOt1QDHwwM9xfiIw,38335
58
58
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQL9KiCWW95j8zX1v2MslgbDcUE,36871
59
59
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
60
60
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=ODp82BkWaiF40t6uZLJYxG2nGGnvDyeQBHhkkh9ZgPI,35994
61
61
  worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=AXUL8DakrDeTxWW8dn36W830XfIuO47MFUusbUkrnUc,33586
62
62
  worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=z494n0SUyxorjhvpbat2ELnj7lbhtWPb9JOIsattwA8,35216
63
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=whsK_TfNZSmzt0PNHnVi0q4OIxzfKiR5nGuB9WfEYeI,47071
63
+ worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=0SdsXZzIZoLdEzW9HXyFjo5oYwQioDVYSDeevouEKZQ,47831
64
64
  worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=WBsCRbH7ANiCjEn0aEDc5AqGf6grEFhxyBoAIh3zJ40,44160
65
65
  worker_automate_hub/tasks/jobs/entrada_de_notas_503.py,sha256=q4_PeGrMqMs1EzBp7hGtpAuteqmvzDg-Q796pTlF8KI,47395
66
66
  worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=xXeNipdXTSll8yAtAmN7v0sjN3oMlWU4THu30mKDddc,30339
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=WooEK9h7xOwg_Z2g_SEFa7iJ7MbzQUzKcJBHCheKBUs,206793
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=ERqMuyL7yf3ID5P6vHyFNh7N5LqNRduUKLY8069Oabo,37958
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.720.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.720.dist-info/METADATA,sha256=rHuQjY1xuymP_he-UKNSorgLWFp2R8f6rjyCn9YqX-A,3049
103
- worker_automate_hub-0.5.720.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.720.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.721.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.721.dist-info/METADATA,sha256=FJq2NuOZ2WFpfWRy86qFBJysvTgmPVhClE7IA8UzThY,3049
103
+ worker_automate_hub-0.5.721.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.721.dist-info/RECORD,,