libretificacaotjcore 0.1.29__py3-none-any.whl → 0.1.31__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.

Potentially problematic release.


This version of libretificacaotjcore might be problematic. Click here for more details.

@@ -0,0 +1,25 @@
1
+ from enum import Enum
2
+
3
+
4
+ class EFaseRetificacao(Enum):
5
+ NaoIniciado = 0
6
+ SolicitacaoXml = 1
7
+ AguardandoXml = 2
8
+ DownloadXml = 3
9
+ ExtraindoDadosDoXml = 4
10
+ AguardandoRubrica = 5
11
+ AberturaDeCompetencia = 6
12
+ ConsultandoESocialAberturaCompetencia = 7
13
+ InclusaoDasRubricas = 8
14
+ ConsultandoESocialInclusaoRubricas = 9
15
+ ExclusaoDePagamentos = 10
16
+ ConsultandoESocialExclusaoPagamentos = 11
17
+ RetificacaoDaRemuneracao = 12
18
+ ConsultandoESocialRetificacaoRemuneracao = 13
19
+ InclusaoDosPagamentos = 14
20
+ ConsultandoESocialInclusaoPagamentos = 15
21
+ Desligamento = 16
22
+ ConsultandoESocialDesligamento = 17
23
+ FechamentoDeCompetencia = 18
24
+ ConsultandoESocialFechamentoCompetencia = 19
25
+ Finalizado = 20
@@ -7,7 +7,8 @@ class RequestServicoApi:
7
7
 
8
8
  async def handler(self, *, mensagem_atualizacao: dict):
9
9
  async with httpx.AsyncClient() as client:
10
- response = await client.post(self.url, headers={"Authorization": f"Bearer {self.token}"}, json=mensagem_atualizacao)
10
+ print(self.token)
11
+ response = await client.post(self.url, json=mensagem_atualizacao)
11
12
 
12
13
  if response.status_code != 200:
13
14
  raise Exception(f"Erro ao fazer request ao servico de API: {response.status_code}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libretificacaotjcore
3
- Version: 0.1.29
3
+ Version: 0.1.31
4
4
  Summary: Biblioteca para centralizar conexao com filas no rabbit e banco de dados no mongodb para os servicos de retificacao da TJ
5
5
  Author-email: Jhonatan Azevedo <dev.azevedo@outlook.com>
6
6
  Project-URL: Homepage, https://github.com/seu-usuario/libretificacaotjcore
@@ -9,14 +9,15 @@ libretificacaotjcore/dtos/arquivo_dto.py,sha256=D4LLJZf-Z0XhJmOvu7nAcBq0j70m9TFt
9
9
  libretificacaotjcore/dtos/solicitacao_dto.py,sha256=7Ex9zlaphHVhaU0D2ubH46KmnqmR6TS0_O3__c1sn4A,2564
10
10
  libretificacaotjcore/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  libretificacaotjcore/enums/e_eventos.py,sha256=EClyRpHtL21t_s1b_26bbBKpvd6QgOtIe87FmSzh34E,185
12
+ libretificacaotjcore/enums/e_fase_retificacao.py,sha256=-MCqN3s3MHu2W-MlfLugGsI91CwoBUObqxJJGW9wGL8,766
12
13
  libretificacaotjcore/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
14
  libretificacaotjcore/services/crypto_pass_service.py,sha256=9D0vyjan6f_8AfNxGkLpGdvyMpojsJq_AAySpv_zKMc,740
14
15
  libretificacaotjcore/services/file_service.py,sha256=14CJokBbrsryQGmL0_unH2QKZpnteEAfxf5CPFdv6cE,2075
15
16
  libretificacaotjcore/services/rabbitmq_consumer.py,sha256=XPbOvFR3HySfA1IROLPrsb4AmeHeq1Unthxt44vaqik,1760
16
17
  libretificacaotjcore/services/rabbitmq_publisher.py,sha256=xsb9LmIuZizzq5lxnEEZKMK3U952KSQ2oqlTBZi2Lt8,1787
17
- libretificacaotjcore/services/request_servico_api.py,sha256=eHYRubk2DptKhSOw3HEunCNfiDtvDHsUyo00UW7AGOA,571
18
+ libretificacaotjcore/services/request_servico_api.py,sha256=Fd_-75pBEmza5wD7MqoQOQkdE5DblcOXcfVUAHbW3ok,551
18
19
  libretificacaotjcore/services/s3_service.py,sha256=HKR_jt2H3XdV1PCzo5R5bnhmoQ3I46Yn5IqAvVPhsjs,2946
19
- libretificacaotjcore-0.1.29.dist-info/METADATA,sha256=r4r2FNQZGW-r1OitA08JVIWPeFv_ztAqxEgL6nfnsMo,2564
20
- libretificacaotjcore-0.1.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- libretificacaotjcore-0.1.29.dist-info/top_level.txt,sha256=J9vnz_X9OUnxC-eXHiAzlc9xIrWBwZ5bgnIDQIIFY4c,21
22
- libretificacaotjcore-0.1.29.dist-info/RECORD,,
20
+ libretificacaotjcore-0.1.31.dist-info/METADATA,sha256=3ScCOBbWtQaaVgUge5Rrre1ZslVbdUlePPCunYKjxUU,2564
21
+ libretificacaotjcore-0.1.31.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ libretificacaotjcore-0.1.31.dist-info/top_level.txt,sha256=J9vnz_X9OUnxC-eXHiAzlc9xIrWBwZ5bgnIDQIIFY4c,21
23
+ libretificacaotjcore-0.1.31.dist-info/RECORD,,