worker-automate-hub 0.5.51__py3-none-any.whl → 0.5.52__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.
@@ -197,6 +197,7 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
197
197
  sucesso=error_work.sucesso,
198
198
  retorno=error_work.retorno,
199
199
  status=error_work.status,
200
+ tags=error_work.tags
200
201
  )
201
202
 
202
203
  # Deleta o xml
@@ -166,6 +166,7 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
166
166
  sucesso=error_work.sucesso,
167
167
  retorno=error_work.retorno,
168
168
  status=error_work.status,
169
+ tags=error_work.tags
169
170
  )
170
171
 
171
172
  # Deleta o xml
@@ -155,6 +155,7 @@ async def entrada_de_notas_207(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
155
155
  sucesso=error_work.sucesso,
156
156
  retorno=error_work.retorno,
157
157
  status=error_work.status,
158
+ tags=error_work.tags
158
159
  )
159
160
 
160
161
  app = Application().connect(
@@ -168,6 +168,7 @@ async def entrada_de_notas_32(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
168
168
  sucesso=error_work.sucesso,
169
169
  retorno=error_work.retorno,
170
170
  status=error_work.status,
171
+ tags=error_work.tags
171
172
  )
172
173
 
173
174
  app = Application().connect(
@@ -570,7 +571,7 @@ async def entrada_de_notas_32(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
570
571
  sucesso=False,
571
572
  retorno=error_work.retorno,
572
573
  status=RpaHistoricoStatusEnum.Falha,
573
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
574
+ tags=error_work.tags
574
575
  )
575
576
 
576
577
  try:
@@ -163,6 +163,7 @@ async def entrada_de_notas_33(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
163
163
  sucesso=error_work.sucesso,
164
164
  retorno=error_work.retorno,
165
165
  status=error_work.status,
166
+ tags=error_work.tags
166
167
  )
167
168
 
168
169
  app = Application().connect(
@@ -546,7 +547,7 @@ async def entrada_de_notas_33(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
546
547
  sucesso=False,
547
548
  retorno=error_work.retorno,
548
549
  status=RpaHistoricoStatusEnum.Falha,
549
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
550
+ tags=error_work.tags
550
551
  )
551
552
 
552
553
  try:
@@ -163,6 +163,7 @@ async def entrada_de_notas_34(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
163
163
  sucesso=error_work.sucesso,
164
164
  retorno=error_work.retorno,
165
165
  status=error_work.status,
166
+ tags=error_work.tags
166
167
  )
167
168
 
168
169
  app = Application().connect(
@@ -544,9 +545,10 @@ async def entrada_de_notas_34(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
544
545
  if erro_pop_up["IsOpened"] == True:
545
546
  error_work = await error_after_xml_imported()
546
547
  return RpaRetornoProcessoDTO(
547
- sucesso=False,
548
+ sucesso=error_work.sucesso,
548
549
  retorno=error_work.retorno,
549
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
550
+ status=error_work.status,
551
+ tags=error_work.tags
550
552
  )
551
553
 
552
554
  try:
@@ -309,10 +309,10 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
309
309
  if erro_pop_up["IsOpened"] == True:
310
310
  error_work = await error_after_xml_imported()
311
311
  return RpaRetornoProcessoDTO(
312
- sucesso=False,
312
+ sucesso=error_work.sucesso,
313
313
  retorno=error_work.retorno,
314
- status=RpaHistoricoStatusEnum.Falha,
315
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
314
+ status=error_work.status,
315
+ tags=error_work.tags
316
316
  )
317
317
 
318
318
  # # Trabalhando com o NOP Nota
@@ -519,6 +519,7 @@ async def entrada_de_notas_36(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
519
519
  sucesso=error_work.sucesso,
520
520
  retorno=error_work.retorno,
521
521
  status=error_work.status,
522
+ tags=error_work.tags
522
523
  )
523
524
 
524
525
  await worker_sleep(3)
@@ -483,10 +483,10 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
483
483
  if erro_pop_up["IsOpened"] == True:
484
484
  error_work = await error_after_xml_imported()
485
485
  return RpaRetornoProcessoDTO(
486
- sucesso=False,
486
+ sucesso=error_work.sucesso,
487
487
  retorno=error_work.retorno,
488
- status=RpaHistoricoStatusEnum.Falha,
489
- tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
488
+ status=error_work.status,
489
+ tags=error_work.tags
490
490
  )
491
491
 
492
492
  # Seleciona pagamento
@@ -759,10 +759,10 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
759
759
  if erro_pop_up["IsOpened"] == True:
760
760
  error_work = await error_after_xml_imported()
761
761
  return RpaRetornoProcessoDTO(
762
- sucesso=False,
762
+ sucesso=error_work.sucesso,
763
763
  retorno=error_work.retorno,
764
- status=RpaHistoricoStatusEnum.Falha,
765
- tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
764
+ status=error_work.status,
765
+ tags=error_work.tags
766
766
  )
767
767
 
768
768
  max_attempts = 50
@@ -445,10 +445,10 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
445
445
  if erro_pop_up["IsOpened"] == True:
446
446
  error_work = await error_after_xml_imported()
447
447
  return RpaRetornoProcessoDTO(
448
- sucesso=False,
448
+ sucesso=error_work.sucesso,
449
449
  retorno=error_work.retorno,
450
- status=RpaHistoricoStatusEnum.Falha,
451
- tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
450
+ status=error_work.status,
451
+ tags=error_work.tags
452
452
  )
453
453
 
454
454
  # # Trabalhando com o NOP Nota
@@ -349,7 +349,7 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
349
349
  sucesso=error_work.sucesso,
350
350
  retorno=error_work.retorno,
351
351
  status=error_work.status,
352
- tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
352
+ tags=error_work.tags
353
353
  )
354
354
 
355
355
  nf_imported = await check_nota_importada(nota.get("nfe"))
@@ -380,6 +380,7 @@ async def entrada_de_notas_505(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
380
380
  sucesso=error_work.sucesso,
381
381
  retorno=error_work.retorno,
382
382
  status=error_work.status,
383
+ tags=error_work.tags
383
384
  )
384
385
 
385
386
  except Exception as ex:
@@ -155,6 +155,7 @@ async def entrada_de_notas_7139(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
155
155
  sucesso=error_work.sucesso,
156
156
  retorno=error_work.retorno,
157
157
  status=error_work.status,
158
+ tags=error_work.tags
158
159
  )
159
160
 
160
161
  app = Application().connect(
@@ -2421,8 +2421,9 @@ async def error_after_xml_imported() -> RpaRetornoProcessoDTO:
2421
2421
  else:
2422
2422
  return RpaRetornoProcessoDTO(
2423
2423
  sucesso=False,
2424
- retorno=f"Erro do banco de dados: {control_text} \n",
2425
- status=RpaHistoricoStatusEnum.Falha, tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
2424
+ retorno=f"Erro do banco de dados: {control_text}",
2425
+ status=RpaHistoricoStatusEnum.Falha,
2426
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
2426
2427
  )
2427
2428
 
2428
2429
  elif "XML já foi importado anteriormente" in control_text:
@@ -2642,7 +2643,7 @@ async def itens_not_found_supplier(xml: str) -> RpaRetornoProcessoDTO:
2642
2643
  sucesso=False,
2643
2644
  retorno=f"Itens nao localizados p/ fornecedor. Mensagem: {conteudo}",
2644
2645
  status=RpaHistoricoStatusEnum.Falha,
2645
- tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
2646
+ tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
2646
2647
  )
2647
2648
  else:
2648
2649
  return RpaRetornoProcessoDTO(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.51
3
+ Version: 0.5.52
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
@@ -44,17 +44,17 @@ worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM
44
44
  worker_automate_hub/tasks/jobs/ecac_estadual_sc.py,sha256=fZD67poalpANlbJoMgnAvO-APp84oicvXEFnbeyulEk,13851
45
45
  worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=AqSsn0SlK_nok4AhMCNUlApQ-LwHYNXeUwOrMLyWmNU,29418
46
46
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYtP-e-JJHbvUfgmfgNw,55748
47
- worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=5SJqTVl6T6i10zIYK1OqAXu6SFyOymrHWLS0qF8sMY0,16806
48
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=vX7nzLwEzU-7Me1zH8msnPexqjkn9DjhrVS2njYQxbY,22089
49
- worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=dfjEP2Gewv2phJXVVPXkng1E78M_NDFD6aPtkPm3fhQ,25602
50
- worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=1O8z5frs77y_JkYYJtvBu7eY3WOPFTuYOENNL88tID8,34058
51
- worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=It-oxRJqcQwdcmL1f1CAFgRoBYuxKFL3vEgQrmo9TqQ,32910
52
- worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=ZxW4ueC4WsTbkx4S47i0P8fHqgZsNJw4pV9fC08mYag,32617
53
- worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=Az4XFUDK6NP428bk3q__zioJQX8OoLIcgrAz1-Uv9Kg,23180
54
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=xKOJvPqEOm6CwJ1QtwNqmtmRayT70fOJjlJh9D4BtOw,35951
55
- worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=8RLB2G_NphDr802c1Swk1e-k2ObaxeEQlyuxVhP9iUk,33990
56
- worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=xs9KEzHED7JBUD9O-HEzKy7A0DS4Tx-rKBK-uHrYhGM,15669
57
- worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=SFYM1xNJVBt-GnY5Zl1xsrsGdcsb-aUZcUjF2VkNEiE,15927
47
+ worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=VtH8ynIzplaAEPZIyRb3dypOZlSNCeXrL6cM1UJhGcw,16844
48
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=qZrIfyElj91JIKI6_wcMji2m0m4OIh6iPqlbq80TMQA,22127
49
+ worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=pZfHjjghpG1vwysPo9vJAQORZp_LOQz9Jrreq9uiym4,25640
50
+ worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=c3_70gNioTJQ2PUXhcEHoIIRKmlNeKfW4ayFfkNddhE,34070
51
+ worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=NQO0LFdw_EomNd-go3_U8IhN517pyh2VlZdEzhXGFGw,32922
52
+ worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=MZNrG5KArW43lM_aPHy9EMcT5mzwx_Idyo39Y_lXG8U,32684
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=jmglZJjOhY3m0_JQIcmGATFknJHouGkXYXfN1o8EtI0,35903
55
+ worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=h1AQxm1sI8xQqB4rpNLvmLxtOQ2BovQcjtn7o8i0N74,33966
56
+ worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=7VR9udGS7NCBE9WEJA9_vpL5sTM7TFEMcCjEumBdokQ,15681
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
59
59
  worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=nV0iLoip2FH2-FhLmhX3nPqsfl_MPufZ3E5Q5krJvdc,3544
60
60
  worker_automate_hub/tasks/jobs/fechar_conexao_rdp.py,sha256=8GVImU7EnncCSxbbuEC4-EBE8oGTk6CJ-HFNqJ5OiMs,5564
@@ -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=4GdZF9Bn2grccppsaZvI-apbJHYyQ3MLBkemcvpzlyM,155586
76
+ worker_automate_hub/utils/util.py,sha256=rdVHmKPxu61PO2rHKfBz2Tn6aK73MXdZ9pE1fZVwQag,155604
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.51.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
80
- worker_automate_hub-0.5.51.dist-info/METADATA,sha256=HqlFa6r4WPVniTdrz5SSFrBCwH7KrOuD02hZX1smraE,2894
81
- worker_automate_hub-0.5.51.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
82
- worker_automate_hub-0.5.51.dist-info/RECORD,,
79
+ worker_automate_hub-0.5.52.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
80
+ worker_automate_hub-0.5.52.dist-info/METADATA,sha256=aOtr4WesBRC7X4d8jJLFXFYBsx8-uL9UoyMp-HSDn0g,2894
81
+ worker_automate_hub-0.5.52.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
82
+ worker_automate_hub-0.5.52.dist-info/RECORD,,