spei-python 1.0.4__tar.gz → 1.0.6__tar.gz

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.
Files changed (40) hide show
  1. {spei_python-1.0.4 → spei_python-1.0.6}/PKG-INFO +1 -1
  2. {spei_python-1.0.4 → spei_python-1.0.6}/pyproject.toml +2 -2
  3. {spei_python-1.0.4 → spei_python-1.0.6}/spei/errors/spei.py +1 -0
  4. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/respuesta.py +2 -2
  5. {spei_python-1.0.4 → spei_python-1.0.6}/spei/types/spei.py +1 -0
  6. {spei_python-1.0.4 → spei_python-1.0.6}/README.md +0 -0
  7. {spei_python-1.0.4 → spei_python-1.0.6}/spei/README.md +0 -0
  8. {spei_python-1.0.4 → spei_python-1.0.6}/spei/__init__.py +0 -0
  9. {spei_python-1.0.4 → spei_python-1.0.6}/spei/cep_generator.py +0 -0
  10. {spei_python-1.0.4 → spei_python-1.0.6}/spei/checksum/__init__.py +0 -0
  11. {spei_python-1.0.4 → spei_python-1.0.6}/spei/checksum/factory.py +0 -0
  12. {spei_python-1.0.4 → spei_python-1.0.6}/spei/checksum/generator.py +0 -0
  13. {spei_python-1.0.4 → spei_python-1.0.6}/spei/checksum/types.py +0 -0
  14. {spei_python-1.0.4 → spei_python-1.0.6}/spei/client.py +0 -0
  15. {spei_python-1.0.4 → spei_python-1.0.6}/spei/errors/__init__.py +0 -0
  16. {spei_python-1.0.4 → spei_python-1.0.6}/spei/errors/sice.py +0 -0
  17. {spei_python-1.0.4 → spei_python-1.0.6}/spei/exceptions.py +0 -0
  18. {spei_python-1.0.4 → spei_python-1.0.6}/spei/mappings.py +0 -0
  19. {spei_python-1.0.4 → spei_python-1.0.6}/spei/requests/__init__.py +0 -0
  20. {spei_python-1.0.4 → spei_python-1.0.6}/spei/requests/acuse.py +0 -0
  21. {spei_python-1.0.4 → spei_python-1.0.6}/spei/requests/cda.py +0 -0
  22. {spei_python-1.0.4 → spei_python-1.0.6}/spei/requests/orden.py +0 -0
  23. {spei_python-1.0.4 → spei_python-1.0.6}/spei/requests/respuesta.py +0 -0
  24. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/__init__.py +0 -0
  25. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/acuse.py +0 -0
  26. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/cda.py +0 -0
  27. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/ensesion.py +0 -0
  28. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/mensaje.py +0 -0
  29. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/orden.py +0 -0
  30. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/payments.py +0 -0
  31. {spei_python-1.0.4 → spei_python-1.0.6}/spei/resources/validators.py +0 -0
  32. {spei_python-1.0.4 → spei_python-1.0.6}/spei/responses/__init__.py +0 -0
  33. {spei_python-1.0.4 → spei_python-1.0.6}/spei/responses/acuse.py +0 -0
  34. {spei_python-1.0.4 → spei_python-1.0.6}/spei/responses/orden.py +0 -0
  35. {spei_python-1.0.4 → spei_python-1.0.6}/spei/responses/respuesta.py +0 -0
  36. {spei_python-1.0.4 → spei_python-1.0.6}/spei/sice.py +0 -0
  37. {spei_python-1.0.4 → spei_python-1.0.6}/spei/types/__init__.py +0 -0
  38. {spei_python-1.0.4 → spei_python-1.0.6}/spei/types/common.py +0 -0
  39. {spei_python-1.0.4 → spei_python-1.0.6}/spei/types/sice.py +0 -0
  40. {spei_python-1.0.4 → spei_python-1.0.6}/spei/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spei-python
3
- Version: 1.0.4
3
+ Version: 1.0.6
4
4
  Summary:
5
5
  Author: tech
6
6
  Author-email: tech@fondeadora.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "spei-python"
3
- version = "1.0.4"
3
+ version = "1.0.6"
4
4
  description = ""
5
5
  authors = ["tech <tech@fondeadora.com>"]
6
6
  readme = "README.md"
@@ -32,7 +32,7 @@ build-backend = "poetry.core.masonry.api"
32
32
 
33
33
  [tool.commitizen]
34
34
  name = "cz_conventional_commits"
35
- version = "1.0.4"
35
+ version = "1.0.6"
36
36
  tag_format = "v$version"
37
37
  bump_message = "bump: Semantic Release Bot: Release Version: $new_version 🤖🚀 [skip ci]"
38
38
  version_files = ["pyproject.toml:version"]
@@ -35,6 +35,7 @@ class CuentaOrdenanteCodigoError(str, Enum):
35
35
  cuenta_ordenante_solo_ceros = 20
36
36
  cuenta_ordenante_clabe_longitud_incorrecta = 21
37
37
  cuenta_ordenante_tarjeta_longitud_incorrecta = 22
38
+ cuenta_ordenante_digito_verificador_incorrecto = 202
38
39
 
39
40
 
40
41
  class IdentificacionCuentaOrdenanteCodigoError(str, Enum):
@@ -20,7 +20,7 @@ class Respuesta(BaseModel):
20
20
 
21
21
  categoria: types.CategoriaOrdenPago
22
22
  err_codigo: Optional[types.CodigoError] = Field(default=None, validate_default=True)
23
- id: Optional[int] = None
23
+ id: Optional[str] = None
24
24
  fecha_oper: Optional[int] = None
25
25
  err_descripcion: Optional[str] = None
26
26
  model_config = ConfigDict(use_enum_values=True)
@@ -28,7 +28,7 @@ class Respuesta(BaseModel):
28
28
  def build_xml(self):
29
29
  respuesta = etree.Element('respuesta', attrib={}, nsmap=None)
30
30
 
31
- for element, value in self.dict(exclude={'categoria'}).items(): # noqa: WPS110
31
+ for element, value in self.model_dump(exclude={'categoria'}).items(): # noqa: E501, WPS110
32
32
  if element not in self.model_fields:
33
33
  continue
34
34
 
@@ -71,6 +71,7 @@ class PrioridadOrdenPago(str, Enum):
71
71
 
72
72
 
73
73
  class CategoriaOrdenPago(str, Enum):
74
+ unknown = ''
74
75
  ensesion = 'ENSESION'
75
76
  respuesta = 'RESPUESTA'
76
77
  cargar_odp = 'CARGAR_ODP'
File without changes
File without changes
File without changes
File without changes
File without changes