spei-python 0.50.0__tar.gz → 0.51.1__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 (39) hide show
  1. {spei_python-0.50.0 → spei_python-0.51.1}/PKG-INFO +3 -2
  2. {spei_python-0.50.0 → spei_python-0.51.1}/pyproject.toml +3 -3
  3. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/cda.py +4 -0
  4. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/orden.py +4 -1
  5. {spei_python-0.50.0 → spei_python-0.51.1}/README.md +0 -0
  6. {spei_python-0.50.0 → spei_python-0.51.1}/spei/README.md +0 -0
  7. {spei_python-0.50.0 → spei_python-0.51.1}/spei/__init__.py +0 -0
  8. {spei_python-0.50.0 → spei_python-0.51.1}/spei/cep_generator.py +0 -0
  9. {spei_python-0.50.0 → spei_python-0.51.1}/spei/checksum/__init__.py +0 -0
  10. {spei_python-0.50.0 → spei_python-0.51.1}/spei/checksum/factory.py +0 -0
  11. {spei_python-0.50.0 → spei_python-0.51.1}/spei/checksum/generator.py +0 -0
  12. {spei_python-0.50.0 → spei_python-0.51.1}/spei/checksum/types.py +0 -0
  13. {spei_python-0.50.0 → spei_python-0.51.1}/spei/client.py +0 -0
  14. {spei_python-0.50.0 → spei_python-0.51.1}/spei/errors/__init__.py +0 -0
  15. {spei_python-0.50.0 → spei_python-0.51.1}/spei/errors/sice.py +0 -0
  16. {spei_python-0.50.0 → spei_python-0.51.1}/spei/errors/spei.py +0 -0
  17. {spei_python-0.50.0 → spei_python-0.51.1}/spei/exceptions.py +0 -0
  18. {spei_python-0.50.0 → spei_python-0.51.1}/spei/mappings.py +0 -0
  19. {spei_python-0.50.0 → spei_python-0.51.1}/spei/requests/__init__.py +0 -0
  20. {spei_python-0.50.0 → spei_python-0.51.1}/spei/requests/acuse.py +0 -0
  21. {spei_python-0.50.0 → spei_python-0.51.1}/spei/requests/cda.py +0 -0
  22. {spei_python-0.50.0 → spei_python-0.51.1}/spei/requests/orden.py +0 -0
  23. {spei_python-0.50.0 → spei_python-0.51.1}/spei/requests/respuesta.py +0 -0
  24. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/__init__.py +0 -0
  25. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/acuse.py +0 -0
  26. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/ensesion.py +0 -0
  27. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/mensaje.py +0 -0
  28. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/payments.py +0 -0
  29. {spei_python-0.50.0 → spei_python-0.51.1}/spei/resources/respuesta.py +0 -0
  30. {spei_python-0.50.0 → spei_python-0.51.1}/spei/responses/__init__.py +0 -0
  31. {spei_python-0.50.0 → spei_python-0.51.1}/spei/responses/acuse.py +0 -0
  32. {spei_python-0.50.0 → spei_python-0.51.1}/spei/responses/orden.py +0 -0
  33. {spei_python-0.50.0 → spei_python-0.51.1}/spei/responses/respuesta.py +0 -0
  34. {spei_python-0.50.0 → spei_python-0.51.1}/spei/sice.py +0 -0
  35. {spei_python-0.50.0 → spei_python-0.51.1}/spei/types/__init__.py +0 -0
  36. {spei_python-0.50.0 → spei_python-0.51.1}/spei/types/sice.py +0 -0
  37. {spei_python-0.50.0 → spei_python-0.51.1}/spei/types/spei.py +0 -0
  38. {spei_python-0.50.0 → spei_python-0.51.1}/spei/utils.py +0 -0
  39. {spei_python-0.50.0 → spei_python-0.51.1}/spei/validators.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spei-python
3
- Version: 0.50.0
3
+ Version: 0.51.1
4
4
  Summary:
5
5
  Author: tech
6
6
  Author-email: tech@fondeadora.com
@@ -10,7 +10,8 @@ Classifier: Programming Language :: Python :: 3.9
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
- Requires-Dist: cryptography (>=3.0,<42.1)
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Requires-Dist: cryptography (>=3.0,<43.1)
14
15
  Requires-Dist: lxml (>=4.7.1,<5.0.0)
15
16
  Requires-Dist: pydantic (>=1.8.2,<2.0.0)
16
17
  Requires-Dist: requests (>=2.32.2,<3.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "spei-python"
3
- version = "0.50.0"
3
+ version = "0.51.1"
4
4
  description = ""
5
5
  authors = ["tech <tech@fondeadora.com>"]
6
6
  readme = "README.md"
@@ -11,7 +11,7 @@ python = ">=3.8.1,<4.0"
11
11
  lxml = "^4.7.1"
12
12
  pydantic = ">=1.8.2, <2.0.0"
13
13
  requests = "^2.32.2"
14
- cryptography = ">=3.0,<42.1"
14
+ cryptography = ">=3.0,<43.1"
15
15
 
16
16
  [tool.poetry.dev-dependencies]
17
17
  add-trailing-comma = "^2.2.3"
@@ -32,7 +32,7 @@ build-backend = "poetry.core.masonry.api"
32
32
 
33
33
  [tool.commitizen]
34
34
  name = "cz_conventional_commits"
35
- version = "0.50.0"
35
+ version = "0.51.1"
36
36
  tag_format = "v$version"
37
37
  bump_message = "bump: Semantic Release Bot: Release Version: $new_version 🤖🚀 [skip ci]"
38
38
  version_files = [
@@ -48,6 +48,10 @@ class CDA(BaseModel):
48
48
  op_iva: Optional[str] = None
49
49
  op_hora_00: Optional[str] = None
50
50
 
51
+ op_nom_part_indirecto_ord: Optional[str] = None
52
+ op_cta_part_indirecto_ord: Optional[str] = None
53
+ op_rfc_curp_part_indirecto_ord: Optional[str] = None
54
+
51
55
  class Config: # noqa: WPS306, WPS431
52
56
  use_enum_values = True
53
57
 
@@ -174,7 +174,10 @@ class Orden(BaseModel):
174
174
  for element in orden_element.getchildren():
175
175
  tag = to_snake_case(element.tag)
176
176
  if tag in cls.__fields__:
177
- orden_data[tag] = element.text.strip()
177
+ if element.text:
178
+ orden_data[tag] = element.text.strip()
179
+ else:
180
+ orden_data[tag] = None
178
181
  if tag == 'op_ins_clave':
179
182
  orden_data['op_ins_clave_ord'] = element.text
180
183
 
File without changes
File without changes
File without changes