spei-python 0.36.1__tar.gz → 0.37.0__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.
- {spei_python-0.36.1 → spei_python-0.37.0}/PKG-INFO +3 -4
- {spei_python-0.36.1 → spei_python-0.37.0}/pyproject.toml +4 -4
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/resources/orden.py +2 -10
- {spei_python-0.36.1 → spei_python-0.37.0}/README.md +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/README.md +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/__init__.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/cep_generator.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/client.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/errors/__init__.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/errors/sice.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/errors/spei.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/mappings.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/requests/__init__.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/requests/acuse.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/requests/cda.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/requests/orden.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/requests/respuesta.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/resources/__init__.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/resources/acuse.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/resources/cda.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/resources/mensaje.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/resources/respuesta.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/responses/__init__.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/responses/acuse.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/responses/orden.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/responses/respuesta.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/sice.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/types/__init__.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/types/sice.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/types/spei.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/utils.py +0 -0
- {spei_python-0.36.1 → spei_python-0.37.0}/spei/validators.py +0 -0
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: spei-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.37.0
|
|
4
4
|
Summary:
|
|
5
5
|
Author: tech
|
|
6
6
|
Author-email: tech@fondeadora.com
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.8,<4.0
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.8
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.9
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
13
|
Requires-Dist: cryptography (>=3.0,<42.1)
|
|
15
14
|
Requires-Dist: lxml (>=4.7.1,<5.0.0)
|
|
16
|
-
Requires-Dist: pydantic (>=
|
|
15
|
+
Requires-Dist: pydantic (>=2.6.2,<3.0.0)
|
|
17
16
|
Requires-Dist: requests (>=2.31.0,<3.0.0)
|
|
18
17
|
Description-Content-Type: text/markdown
|
|
19
18
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "spei-python"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.37.0"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["tech <tech@fondeadora.com>"]
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
packages = [{include = "spei"}]
|
|
8
8
|
|
|
9
9
|
[tool.poetry.dependencies]
|
|
10
|
-
python = "
|
|
10
|
+
python = ">=3.8,<4.0"
|
|
11
11
|
lxml = "^4.7.1"
|
|
12
|
-
pydantic = "^
|
|
12
|
+
pydantic = "^2.6.2"
|
|
13
13
|
requests = "^2.31.0"
|
|
14
14
|
cryptography = ">=3.0,<42.1"
|
|
15
15
|
|
|
@@ -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.
|
|
35
|
+
version = "0.37.0"
|
|
36
36
|
tag_format = "v$version"
|
|
37
37
|
bump_message = "bump: Semantic Release Bot: Release Version: $new_version 🤖🚀 [skip ci]"
|
|
38
38
|
version_files = [
|
|
@@ -34,7 +34,7 @@ class Orden(BaseModel):
|
|
|
34
34
|
op_tc_clave_ord: types.TipoCuentaOrdenPago = None
|
|
35
35
|
op_cuenta_ord: str = None
|
|
36
36
|
op_rfc_curp_ord: str = None
|
|
37
|
-
op_ins_clave_ord: digits(3, 5)
|
|
37
|
+
op_ins_clave_ord: digits(3, 5) = None
|
|
38
38
|
# destination info
|
|
39
39
|
op_nom_ben: str = None
|
|
40
40
|
op_tc_clave_ben: types.TipoCuentaOrdenPago = None
|
|
@@ -135,12 +135,7 @@ class Orden(BaseModel):
|
|
|
135
135
|
return ordenpago
|
|
136
136
|
|
|
137
137
|
@classmethod
|
|
138
|
-
def parse_xml(
|
|
139
|
-
cls,
|
|
140
|
-
orden_element,
|
|
141
|
-
categoria: types.CategoriaOrdenPago,
|
|
142
|
-
origin_institution: types.ClaveOrdenanteOrdenPago = None,
|
|
143
|
-
):
|
|
138
|
+
def parse_xml(cls, orden_element, categoria: types.CategoriaOrdenPago):
|
|
144
139
|
orden_data = {
|
|
145
140
|
'id': orden_element.attrib['Id'],
|
|
146
141
|
'categoria': categoria,
|
|
@@ -153,9 +148,6 @@ class Orden(BaseModel):
|
|
|
153
148
|
if tag == 'op_ins_clave':
|
|
154
149
|
orden_data['op_ins_clave_ben'] = element.text
|
|
155
150
|
|
|
156
|
-
if 'op_ins_clave_ord' not in orden_data:
|
|
157
|
-
orden_data['op_ins_clave_ord'] = origin_institution
|
|
158
|
-
|
|
159
151
|
return cls(**orden_data)
|
|
160
152
|
|
|
161
153
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|