worker-automate-hub 0.5.734__py3-none-any.whl → 0.5.736__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.
@@ -771,19 +771,14 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
771
771
  if information_pop_up["IsOpened"] == True:
772
772
  break
773
773
  else:
774
- console.print(f"Aguardando confirmação de nota incluida...\n")
775
- await worker_sleep(5)
776
- i += 1
777
- console.print("\Consultando se a nota ja foi lançada...")
778
774
  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
- )
775
+ console.print(f"Aguardando confirmação de nota incluida...\n")
776
+ await worker_sleep(5)
777
+ i += 1
778
+ nf_imported = await check_nota_importada(nota.get("nfe"))
779
+ if nf_imported.sucesso:
780
+ return nf_imported
781
+ console.print("\Consultando se a nota ja foi lançada...")
787
782
  except: pass
788
783
 
789
784
  information_pop_up = await is_window_open("Information")
@@ -3451,11 +3451,7 @@ async def check_nota_importada(xml_nota: str) -> RpaRetornoProcessoDTO:
3451
3451
  "\nNota lançada com sucesso, processo finalizado...",
3452
3452
  style="bold green",
3453
3453
  )
3454
- return RpaRetornoProcessoDTO(
3455
- sucesso=True,
3456
- retorno="Nota Lançada com sucesso!",
3457
- status=RpaHistoricoStatusEnum.Sucesso,
3458
- )
3454
+ break
3459
3455
  except:
3460
3456
  pass
3461
3457
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.734
3
+ Version: 0.5.736
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
@@ -54,7 +54,7 @@ worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYt
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
56
  worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=k0sRpKOCtyld1mPEu0n6HUncZYcX8wAsKAIYKGVacSs,30487
57
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=EfMEtlfe7iM_lWcML1SJAYHB67rAuWKWQT-kbHqBeXQ,37888
57
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=O3eabNyf710rtWVZDnbkzNipSaymVjf3ORoFWWqnAJ8,37515
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
@@ -95,10 +95,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
95
95
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
96
96
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
97
97
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
98
- worker_automate_hub/utils/util.py,sha256=C5sEoG8x7H5zaUM_bqSvVrdxWonSJcfBF_kU9kn7PA0,207508
98
+ worker_automate_hub/utils/util.py,sha256=DvUW7a3vNP0TXPzNF87QRCaFkiUXzu48yNWIHE1MjcA,207275
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=qS_REFGudeZhoOkamUst8WzW1XyMGws5GehrMr5XZTM,38085
100
100
  worker_automate_hub/worker.py,sha256=TKTEm6vAf5p_Y_GwvIac7KRUQjlfdHTrkR73NbkjOvk,7190
101
- worker_automate_hub-0.5.734.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.734.dist-info/METADATA,sha256=xHvW0LQf3u4qU-SSe_5s5zgR4dHZ0prd-dh8TRNNC0U,3049
103
- worker_automate_hub-0.5.734.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.734.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.736.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.736.dist-info/METADATA,sha256=2YWvbswV4iuLyWnMgk9iUAzxEuRwHt5nou2zmJA_CSc,3049
103
+ worker_automate_hub-0.5.736.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.736.dist-info/RECORD,,