worker-automate-hub 0.5.22__py3-none-any.whl → 0.5.23__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,6 @@ import aiohttp
2
2
  from rich.console import Console
3
3
 
4
4
  from worker_automate_hub.config.settings import load_env_config
5
- from worker_automate_hub.models.dao.rpa_fila import RpaFila
6
5
  from worker_automate_hub.utils.logger import logger
7
6
 
8
7
  console = Console()
@@ -1,12 +1,15 @@
1
1
  from datetime import datetime
2
- from typing import Optional
2
+ from typing import List, Optional
3
3
 
4
4
  from pydantic import BaseModel, Field
5
5
 
6
+ from worker_automate_hub.models.dao.rpa_robo import RpaRobo
7
+
6
8
 
7
9
  class RpaFila(BaseModel):
8
10
  uuidFila: Optional[str] = Field(None, alias="uuidFila")
9
- uuidRobo: Optional[str] = Field(None, alias="uuidRobo")
11
+ robos: Optional[List[RpaRobo]] = Field(None, alias="robos")
12
+ fkRobos: Optional[str] = Field(None, alias="fkRobos")
10
13
  uuidProcesso: str = Field(..., alias="uuidProcesso")
11
14
  prioridade: int = Field(..., alias="prioridade")
12
15
  configEntrada: Optional[dict] = Field(None, alias="configEntrada")
@@ -1,7 +1,9 @@
1
- from typing import Optional
1
+ from typing import List, Optional
2
2
 
3
3
  from pydantic import BaseModel, Field
4
4
 
5
+ from worker_automate_hub.models.dao.rpa_robo import RpaRobo
6
+
5
7
 
6
8
  class RpaProcesso(BaseModel):
7
9
  uuidProcesso: str = Field(..., alias="uuidProcesso")
@@ -11,8 +13,10 @@ class RpaProcesso(BaseModel):
11
13
  prioridade: Optional[int] = Field(None, alias="prioridade")
12
14
  tempoMedio: Optional[int] = Field(None, alias="tempoMedio")
13
15
  ativo: bool = Field(..., alias="ativo")
14
- uuidRoboPreferencia: Optional[str] = Field(None, alias="uuidRoboPreferencia")
15
- uuidRoboPosFalha: Optional[str] = Field(None, alias="uuidRoboPosFalha")
16
+ robos: Optional[List[RpaRobo]] = Field(None, alias="robos")
17
+ fkRobos: Optional[str] = Field(None, alias="fkRobos")
18
+ robosPosFalha: Optional[List[RpaRobo]] = Field(None, alias="robosPosFalha")
19
+ fkRobosPosFalha: Optional[str] = Field(None, alias="fkRobosPosFalha")
16
20
  notificarFalha: bool = Field(..., alias="notificarFalha")
17
21
  gerarTarefaPosFalha: bool = Field(..., alias="gerarTarefaPosFalha")
18
22
  reenfileirarPosFalha: bool = Field(..., alias="reenfileirarPosFalha")
@@ -0,0 +1,29 @@
1
+ from datetime import datetime
2
+ from typing import Optional
3
+
4
+ from pydantic import BaseModel, Field
5
+
6
+
7
+ class RpaRobo(BaseModel):
8
+ uuidRobo: Optional[str] = Field(None, alias="uuidRobo")
9
+ nomRobo: str = Field(..., alias="nomRobo")
10
+ desRobo: str = Field(..., alias="desRobo")
11
+ vmRobo: Optional[str] = Field(None, alias="vmRobo")
12
+ ativo: bool = Field(..., alias="ativo")
13
+ ipVm: Optional[str] = Field(None, alias="ipVm")
14
+ userVm: Optional[str] = Field(None, alias="userVm")
15
+ passwordVm: Optional[str] = Field(None, alias="passwordVm")
16
+ versao: Optional[str] = Field(None, alias="versao")
17
+ tipoRobo: str = Field(..., alias="tipoRobo")
18
+ disponibilidade: Optional[str] = Field(None, alias="disponibilidade")
19
+ provisionar: Optional[str] = Field(None, alias="provisionar")
20
+ gitAppName: Optional[str] = Field(None, alias="gitAppName")
21
+ controllerRobo: Optional[str] = Field(None, alias="controllerRobo")
22
+ cloudStatus: Optional[str] = Field(None, alias="cloudStatus")
23
+ lastAlive: Optional[str] = Field(None, alias="lastAlive")
24
+ observacao: Optional[str] = Field(None, alias="observacao")
25
+ createdAt: Optional[datetime] = Field(None, alias="createdAt")
26
+ updatedAt: Optional[datetime] = Field(None, alias="updatedAt")
27
+
28
+ class Config:
29
+ populate_by_name = True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.5.22
3
+ Version: 0.5.23
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
@@ -5,7 +5,7 @@ worker_automate_hub/api/client.py,sha256=tFrIr4mpjvUJ1uU--BCiWa3NT2Ru_yliBsWmfiG
5
5
  worker_automate_hub/api/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  worker_automate_hub/api/helpers/api_helpers.py,sha256=SkheO2fXexeh-a4shr8Qzsz_kZhuSG0DJ7kbODctRbM,3696
7
7
  worker_automate_hub/api/rdp_service.py,sha256=L7orr60FkJr6zjETtA4me8tRYCW9m1g-i5pq6AILUFo,1647
8
- worker_automate_hub/api/rpa_fila_service.py,sha256=6RyzCvj2qODifz3cIwOg5kuUpk8cyN_yFmLV5YOJAoQ,2186
8
+ worker_automate_hub/api/rpa_fila_service.py,sha256=qa9JLuX6kL9Bv_PyPE_CzIikKwy0WdOf2FrIpFdMcYI,2125
9
9
  worker_automate_hub/api/rpa_historico_service.py,sha256=wQw8_k8i0S-r7qrrn4BSoztkgtiuH_bHRSEytbZebDg,9690
10
10
  worker_automate_hub/api/webhook_service.py,sha256=1VgkcOF0vY3cpV7-UOgrUj0qRuK9joDCvLhJkBBT0sQ,1751
11
11
  worker_automate_hub/cli.py,sha256=JB45pjPJ8_E-4xw0OjqDMcAw-tpDV0mjmvwJRTnTzY0,6862
@@ -23,9 +23,10 @@ worker_automate_hub/decorators/timeit.py,sha256=lL2bK8TbF4GE5Ma3LI5N5iJxGF1vwlZ4
23
23
  worker_automate_hub/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  worker_automate_hub/models/dao/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  worker_automate_hub/models/dao/rpa_configuracao.py,sha256=pftPsgbqsDjN8pRrzcjBKKfXaHPFA7KkJx9gl8LW7lk,328
26
- worker_automate_hub/models/dao/rpa_fila.py,sha256=ZV-0ykAPKjMRTvgmts3WwPQQlCRv6h4mYr6Ki8IeoEE,699
26
+ worker_automate_hub/models/dao/rpa_fila.py,sha256=5qs2BSj9Lr_571uwuxMHUqKmofqaEm7s9KEfLpL4lNc,831
27
27
  worker_automate_hub/models/dao/rpa_historico.py,sha256=zKo_Wz_qMdB-cmFkJY1ckFx63wBPUumir37OxFijhes,1071
28
- worker_automate_hub/models/dao/rpa_processo.py,sha256=AfOUhJKL-AAOyjON4g7f6B7Bxa174FNC1Eh7oItK2kA,1233
28
+ worker_automate_hub/models/dao/rpa_processo.py,sha256=U3fEYub6O2VQtZLB18dBn3WwOJd87cz0A1p7YE1Bu4M,1422
29
+ worker_automate_hub/models/dao/rpa_robo.py,sha256=hhCRtdj2yxz8FS8dxgim0XHPdG4B2kThK_WVh9VVmZ8,1338
29
30
  worker_automate_hub/models/dto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
31
  worker_automate_hub/models/dto/rpa_historico_request_dto.py,sha256=QcbyI7Nl9c1Q_l8ew10fNZ4_rY-cYIBV5TWSr0zbXeU,1808
31
32
  worker_automate_hub/models/dto/rpa_processo_entrada_dto.py,sha256=NP2SNJ4Eq4xPQgwdw1CSwErB_g1RmBQR7pdQnOZipAE,678
@@ -74,7 +75,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
74
75
  worker_automate_hub/utils/util.py,sha256=Eyy0mLLt_xd_zVXWoHAb-GK0PU1xZdWPvh-IndajxDk,128815
75
76
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=3keuXhgNkEMZhLX9gGzck41SAwJqIPlwWSo_WSOs2HI,30980
76
77
  worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
77
- worker_automate_hub-0.5.22.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
78
- worker_automate_hub-0.5.22.dist-info/METADATA,sha256=Upv7AVy8AdSniz2ZHlGi3u_b4NJAulUE2g7UOjHw2no,2894
79
- worker_automate_hub-0.5.22.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
80
- worker_automate_hub-0.5.22.dist-info/RECORD,,
78
+ worker_automate_hub-0.5.23.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
79
+ worker_automate_hub-0.5.23.dist-info/METADATA,sha256=yktKdzR4AnwBQys-avRER9EU4PyPDMPS3MDODogTX8c,2894
80
+ worker_automate_hub-0.5.23.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
81
+ worker_automate_hub-0.5.23.dist-info/RECORD,,