worker-automate-hub 0.5.721__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.
@@ -596,8 +596,8 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
596
596
  await emsys.incluir_registro()
597
597
  await worker_sleep(5)
598
598
 
599
- await emsys.verify_warning_and_error("Warning", "No")
600
- await emsys.verify_warning_and_error("Warning", "&No")
599
+ # await emsys.verify_warning_and_error("Warning", "No")
600
+ # await emsys.verify_warning_and_error("Warning", "&No")
601
601
 
602
602
  try:
603
603
  erro_pop_up = await is_window_open("Information")
@@ -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")
@@ -454,6 +454,9 @@ class EMSys:
454
454
  await worker_sleep(3)
455
455
  i += 1
456
456
 
457
+ await self.verify_warning_and_error("Warning", "No")
458
+ await self.verify_warning_and_error("Warning", "&No")
459
+
457
460
  if chave_nfe is not None:
458
461
  await worker_sleep(20)
459
462
  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.721
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
@@ -53,7 +53,7 @@ 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=zXQn0oa4EYPLmY2fjym7qvB1fLDlcNtjnHZ0uvteotE,30483
56
+ worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=k0sRpKOCtyld1mPEu0n6HUncZYcX8wAsKAIYKGVacSs,30487
57
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
@@ -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
99
- worker_automate_hub/utils/utils_nfe_entrada.py,sha256=ERqMuyL7yf3ID5P6vHyFNh7N5LqNRduUKLY8069Oabo,37958
98
+ worker_automate_hub/utils/util.py,sha256=-VisMQOB-WkJcULlgB7wlCaf0mhLYKQmZH3yWLLlhpA,207509
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.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,,
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,,