worker-automate-hub 0.4.439__py3-none-any.whl → 0.4.440__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.
@@ -38,6 +38,7 @@ from worker_automate_hub.utils.util import (
38
38
  warnings_after_xml_imported,
39
39
  worker_sleep,
40
40
  check_nota_importada,
41
+ carregamento_import_xml,
41
42
  )
42
43
 
43
44
  pyautogui.PAUSE = 0.5
@@ -263,6 +264,17 @@ async def entrada_de_notas_7139(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
263
264
  "sucesso": False,
264
265
  "retorno": f"Número máximo de tentativas atingido, Não foi possivel finalizar os trabalhos na tela de Informações para importação da Nota Fiscal Eletrônica",
265
266
  }
267
+
268
+ await worker_sleep(2)
269
+ waiting_for_delay = await carregamento_import_xml()
270
+ if waiting_for_delay.sucesso:
271
+ console.print(waiting_for_delay.retorno)
272
+ else:
273
+ return RpaRetornoProcessoDTO(
274
+ sucesso=False,
275
+ retorno=waiting_for_delay.retorno,
276
+ status=RpaHistoricoStatusEnum.Falha,
277
+ )
266
278
 
267
279
  console.print(
268
280
  "Verificando a existencia de POP-UP de Itens não localizados ou NCM ...\n"
@@ -2214,7 +2214,7 @@ async def select_documento_type(document_type: str) -> RpaRetornoProcessoDTO:
2214
2214
  set_combobox("||List", document_type)
2215
2215
  except Exception as e:
2216
2216
  console.log("Não foi possivel selecionar o tipo de documento via set combobox, realizando a alteração utilizando pyautogui write")
2217
- pyautogui.write("CONTRATOS")
2217
+ pyautogui.write("document_type")
2218
2218
  await worker_sleep(2)
2219
2219
  pyautogui.hotkey("enter")
2220
2220
  await worker_sleep(2)
@@ -2237,7 +2237,7 @@ async def select_documento_type(document_type: str) -> RpaRetornoProcessoDTO:
2237
2237
  else:
2238
2238
  return RpaRetornoProcessoDTO(
2239
2239
  sucesso=False,
2240
- retorno=f"Não foi possivel selecionar o tipo do documento, erro: {e} ",
2240
+ retorno=f"Não foi possivel selecionar o tipo do documento",
2241
2241
  status=RpaHistoricoStatusEnum.Falha,
2242
2242
  )
2243
2243
 
@@ -2548,7 +2548,8 @@ async def itens_not_found_supplier(xml: str):
2548
2548
  )
2549
2549
  await worker_sleep(5)
2550
2550
  i += 1
2551
-
2551
+
2552
+ await worker_sleep(5)
2552
2553
  logs_erro = await is_window_open_by_class("TFrmExibeLogErroImportacaoNfe","TFrmExibeLogErroImportacaoNfe")
2553
2554
  if logs_erro["IsOpened"] == True:
2554
2555
  app = Application().connect(class_name="TFrmExibeLogErroImportacaoNfe")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.439
3
+ Version: 0.4.440
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
@@ -48,7 +48,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=vFkDcgJ9uxrMMLYdeON
48
48
  worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=Kv1Ttgq477Xtp17QDymcOgWtuozFAexUqhcThPV9GTI,32767
49
49
  worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=MYPaYAP2iwdBYDZUf39f7yGibTME9uObEash_QTCmFA,32231
50
50
  worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=jIml8gjXPdI6_x7S9VVV8IrKZRF7_PTNOMnhNmYMDTU,14490
51
- worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=8XP9G3n0PUeshbRWkWKOMnyUGRWspIolPZVqQTR3SMI,14184
51
+ worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=SZzsdjZGMFObZB_25EwvfNdKUlA_e3tbSrUPCYONltM,14620
52
52
  worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=Urt_7dZNuyUkSyG9fYb2ArBXzEONXlrqWIesoXeL1EI,50984
53
53
  worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=3-zxbb-9YHPmSA_K1Qgxp_FwSqg2QDjGBRCLxDZ8QoQ,3451
54
54
  worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=mZ6mCaz1lYmyFxwC8MVLXPsgynE1VkNKlEzYGsciDiY,10179
@@ -65,10 +65,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
65
65
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
66
66
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
67
67
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
68
- worker_automate_hub/utils/util.py,sha256=VwvoSG2dNaukxzFNANMU3LtqPoKvTv-x_dUJJGbpQqs,121792
68
+ worker_automate_hub/utils/util.py,sha256=6GFMSMk8DOE_6Y_xmYQBczyN7bxcGRrH2q634Lb2Um0,121847
69
69
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=7ju688sD52y30taGSm5rPMGdQyByUUwveLeKV4ImEiE,28401
70
70
  worker_automate_hub/worker.py,sha256=KDBU3L2kVobndrnN5coRZFTwVmBLKmPJjRv20sCo5Hc,4697
71
- worker_automate_hub-0.4.439.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
72
- worker_automate_hub-0.4.439.dist-info/METADATA,sha256=1DPsMflrWAemziZFs6VL-WsuIvSMXFyQn3PuQicKWq4,2895
73
- worker_automate_hub-0.4.439.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
74
- worker_automate_hub-0.4.439.dist-info/RECORD,,
71
+ worker_automate_hub-0.4.440.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
72
+ worker_automate_hub-0.4.440.dist-info/METADATA,sha256=THkDGdmgI_Vu4f1XF-r1K9GA6Vql7-nCMh2y1F32Vbs,2895
73
+ worker_automate_hub-0.4.440.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
74
+ worker_automate_hub-0.4.440.dist-info/RECORD,,