worker-automate-hub 0.5.722__py3-none-any.whl → 0.5.723__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.
@@ -3444,7 +3444,22 @@ async def check_nota_importada(xml_nota: str) -> RpaRetornoProcessoDTO:
3444
3444
  console.print(f"Aguardando confirmação de nota incluida...\n")
3445
3445
  await worker_sleep(5)
3446
3446
  i += 1
3447
-
3447
+ try:
3448
+ status_nf_emsys = await get_status_nf_emsys(int(xml_nota))
3449
+ if status_nf_emsys.get("status") == "Lançada":
3450
+ console.print(
3451
+ "\nNota lançada com sucesso, processo finalizado...",
3452
+ style="bold green",
3453
+ )
3454
+ return RpaRetornoProcessoDTO(
3455
+ sucesso=True,
3456
+ retorno="Nota Lançada com sucesso!",
3457
+ status=RpaHistoricoStatusEnum.Sucesso,
3458
+ )
3459
+ except:
3460
+ pass
3461
+
3462
+
3448
3463
  information_pop_up = await is_window_open("Information")
3449
3464
  if information_pop_up["IsOpened"] == True:
3450
3465
  app = Application().connect(class_name="TFrmNotaFiscalEntrada")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.722
3
+ Version: 0.5.723
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
@@ -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=WooEK9h7xOwg_Z2g_SEFa7iJ7MbzQUzKcJBHCheKBUs,206793
98
+ worker_automate_hub/utils/util.py,sha256=-VisMQOB-WkJcULlgB7wlCaf0mhLYKQmZH3yWLLlhpA,207509
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=qS_REFGudeZhoOkamUst8WzW1XyMGws5GehrMr5XZTM,38085
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.722.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.722.dist-info/METADATA,sha256=X29XFtamBAa6Di03E8Flg8xvtNKbYz7RiwCd8gSB4zw,3049
103
- worker_automate_hub-0.5.722.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.722.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.723.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.723.dist-info/METADATA,sha256=5ClPoTCyEfseOQfwlFQVqRQPfLkIEf2yGZeF3Uu94Pk,3049
103
+ worker_automate_hub-0.5.723.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.723.dist-info/RECORD,,