worker-automate-hub 0.5.60__py3-none-any.whl → 0.5.62__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -342,9 +342,9 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
342
342
  if erro_pop_up["IsOpened"] == True:
343
343
  return RpaRetornoProcessoDTO(
344
344
  sucesso=False,
345
- retorno="Nota não encontrada no EMsys",
345
+ retorno="Nota não encontrada no momento da importação",
346
346
  status=RpaHistoricoStatusEnum.Falha,
347
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
347
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
348
348
  )
349
349
 
350
350
 
@@ -307,9 +307,9 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
307
307
  if erro_pop_up["IsOpened"] == True:
308
308
  return RpaRetornoProcessoDTO(
309
309
  sucesso=False,
310
- retorno="Nota não encontrada no EMsys",
310
+ retorno="Nota não encontrada no momento da importação",
311
311
  status=RpaHistoricoStatusEnum.Falha,
312
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
312
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
313
313
  )
314
314
 
315
315
 
@@ -2418,6 +2418,13 @@ async def error_after_xml_imported() -> RpaRetornoProcessoDTO:
2418
2418
  status=RpaHistoricoStatusEnum.Falha,
2419
2419
  tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
2420
2420
  )
2421
+ elif "de despesa" in control_text:
2422
+ return RpaRetornoProcessoDTO(
2423
+ sucesso=False,
2424
+ retorno=f"Tipo de despesa não informada: {control_text}",
2425
+ status=RpaHistoricoStatusEnum.Falha,
2426
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
2427
+ )
2421
2428
  else:
2422
2429
  return RpaRetornoProcessoDTO(
2423
2430
  sucesso=False,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.60
3
+ Version: 0.5.62
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
@@ -51,8 +51,8 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=c3_70gNioTJQ2PUXhcE
51
51
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=NQO0LFdw_EomNd-go3_U8IhN517pyh2VlZdEzhXGFGw,32922
52
52
  worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=MZNrG5KArW43lM_aPHy9EMcT5mzwx_Idyo39Y_lXG8U,32684
53
53
  worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=sFe3aYh6MrpK18aJdddsOG8QmJthbra9EhwLA_jvyWg,23194
54
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=VhSdkBzM41_5Cczo557PZ-GSfKwbRslYFF7MOBdFDk4,35927
55
- worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=4dcQ3EnylX05s15Ozxh8CgsxP0fG7wTEkrW7j17EHvQ,33988
54
+ worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=KDCOYx--J-6CFN3Af6sQbMLRGGjsuGHn_yB1ydEfDRE,35945
55
+ worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=JRHdejuNpQxaDCHcJ0eo_Sf2gngYdzannDpmPyj7zdc,34006
56
56
  worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=7VR9udGS7NCBE9WEJA9_vpL5sTM7TFEMcCjEumBdokQ,15681
57
57
  worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=iXbkjdg02r3tdt3eH8jJPJxq43i1LDaNhoS7qOQgkoo,15965
58
58
  worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=vUj25yHxkCNhpyOU5Vk81gsYcTTH1TJ3yn-b8N00JfQ,52857
@@ -73,10 +73,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
73
73
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
74
74
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
75
75
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
76
- worker_automate_hub/utils/util.py,sha256=btrUSWjTXYC7LJWD1GDcpKdaqUqU6npy2ScZuFkJgPU,161074
76
+ worker_automate_hub/utils/util.py,sha256=_uPyZOzb8puEKXUmcFkaf7HesJBs8yITRQkOqViyugU,161430
77
77
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=iYpOs7fb7C3bY61QHySr00xlDNzrrCP0zaexOpBPuaQ,31930
78
78
  worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
79
- worker_automate_hub-0.5.60.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
80
- worker_automate_hub-0.5.60.dist-info/METADATA,sha256=lbrJs8NghfFIu0WXGiLEwV8vHrP9NnxEacsemtao1dY,2894
81
- worker_automate_hub-0.5.60.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
82
- worker_automate_hub-0.5.60.dist-info/RECORD,,
79
+ worker_automate_hub-0.5.62.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
80
+ worker_automate_hub-0.5.62.dist-info/METADATA,sha256=c_2GPJ7LU21u3PwYRfm-d9JqF6IPgTvUyvOs5X9xkG8,2894
81
+ worker_automate_hub-0.5.62.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
82
+ worker_automate_hub-0.5.62.dist-info/RECORD,,