spei-python 0.51.2__py3-none-any.whl → 0.52.0__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.
- spei/checksum/generator.py +2 -2
- spei/client.py +1 -1
- spei/resources/payments.py +2 -0
- {spei_python-0.51.2.dist-info → spei_python-0.52.0.dist-info}/METADATA +2 -2
- {spei_python-0.51.2.dist-info → spei_python-0.52.0.dist-info}/RECORD +6 -6
- {spei_python-0.51.2.dist-info → spei_python-0.52.0.dist-info}/WHEEL +0 -0
spei/checksum/generator.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from decimal import Decimal
|
|
3
|
-
from typing import Optional
|
|
3
|
+
from typing import Optional, Tuple
|
|
4
4
|
|
|
5
5
|
from spei.resources import Orden
|
|
6
6
|
|
|
@@ -56,7 +56,7 @@ class ChecksumGenerator(object):
|
|
|
56
56
|
|
|
57
57
|
def _list_to_bytes(
|
|
58
58
|
self,
|
|
59
|
-
message_data:
|
|
59
|
+
message_data: Tuple[bytearray, ...],
|
|
60
60
|
) -> bytes:
|
|
61
61
|
res = bytearray()
|
|
62
62
|
for field in message_data:
|
spei/client.py
CHANGED
|
@@ -83,6 +83,6 @@ class BaseClient(object):
|
|
|
83
83
|
def _raise_error(self, respuesta: Respuesta):
|
|
84
84
|
if respuesta.err_codigo == errors.GenericoCodigoError.tipo_pago_invalido:
|
|
85
85
|
raise exceptions.TipoPagoInvalidoError(respuesta)
|
|
86
|
-
if respuesta.err_codigo == errors.OtrosCodigoError.otros_fecha_operacion_incorrecta: # noqa: E501
|
|
86
|
+
if (respuesta.err_codigo == errors.OtrosCodigoError.otros_fecha_operacion_incorrecta): # noqa: E501
|
|
87
87
|
raise exceptions.FechaOperacionIncorrectaError(respuesta)
|
|
88
88
|
raise exceptions.SPEIError(respuesta)
|
spei/resources/payments.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: spei-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.52.0
|
|
4
4
|
Summary:
|
|
5
5
|
Author: tech
|
|
6
6
|
Author-email: tech@fondeadora.com
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Requires-Dist: cryptography (>=3.0,<43.1)
|
|
15
|
-
Requires-Dist: lxml (>=
|
|
15
|
+
Requires-Dist: lxml (>=5.0.0,<6.0.0)
|
|
16
16
|
Requires-Dist: pydantic (>=1.8.2,<2.0.0)
|
|
17
17
|
Requires-Dist: requests (>=2.32.2,<3.0.0)
|
|
18
18
|
Requires-Dist: unidecode (>=1.3.8,<2.0.0)
|
|
@@ -3,9 +3,9 @@ spei/__init__.py,sha256=T8DMjAToKpTIuUcnzfGpOEgEzAZ8LuRWABeJoClc2zg,149
|
|
|
3
3
|
spei/cep_generator.py,sha256=NH96gb6j1DQM5dZKgTGY2bVAOV4tj5tZ2CVFS4lawpc,2808
|
|
4
4
|
spei/checksum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
spei/checksum/factory.py,sha256=wDZGjHYlcyQhsRSwYp87rNc7bL9eUNjRJu3-XvNhD2s,2092
|
|
6
|
-
spei/checksum/generator.py,sha256=
|
|
6
|
+
spei/checksum/generator.py,sha256=P_Aif9WxgGSeMHvCyhItgvDLPI0GjwQqnZDgWgXddT8,7831
|
|
7
7
|
spei/checksum/types.py,sha256=7pvxGCB3IBHe9-bE_UnJQF1TfLtTDHchU4leLui32qI,1912
|
|
8
|
-
spei/client.py,sha256=
|
|
8
|
+
spei/client.py,sha256=F13e1rnrtuiXJ7CCJJoRS7fF5D4ZI8nHfUQc_6Kr-ok,3063
|
|
9
9
|
spei/errors/__init__.py,sha256=vEL39E44fDD2nkmhVi3lqC1P5nXUNQDX1_GtzR6d4jk,100
|
|
10
10
|
spei/errors/sice.py,sha256=SZqA2DnkFxE7ux4obXXzED7AyQwOmOvxjTXB_etenI0,4363
|
|
11
11
|
spei/errors/spei.py,sha256=ne3Qg5ciRo_4TkiR4xJOSK7WQ-teeG6I9-dxqykUH-0,16065
|
|
@@ -22,7 +22,7 @@ spei/resources/cda.py,sha256=23tEs7j_VBRc6pu99Sj9-6Z0mvOdXhYW97NKwAS5-UM,2697
|
|
|
22
22
|
spei/resources/ensesion.py,sha256=9sHwVxav17tANds3RGZJAPfoQQM_-thhZS-2iUzqo0Y,1585
|
|
23
23
|
spei/resources/mensaje.py,sha256=YCaZigRmrVYJQ7dRw0oXnrqpSo8DW_VsWqcSM2CXm_0,1804
|
|
24
24
|
spei/resources/orden.py,sha256=4nozN-lhKXK9YY1yt4dwpWtE0tu2iCgrtHll8Uq9Q7E,7067
|
|
25
|
-
spei/resources/payments.py,sha256=
|
|
25
|
+
spei/resources/payments.py,sha256=l32vrXuXP0VH0iY3adR0_C8_S8_3vOiaaSgLdd22tp4,8880
|
|
26
26
|
spei/resources/respuesta.py,sha256=TV5DqrDgkIgnYhka4ceNxuBIo1L7zeHPF0_SJw_23YQ,1497
|
|
27
27
|
spei/responses/__init__.py,sha256=WxHb0KJ1sI5m6iLfxtf3h8MnqubQlxdtiaarXJvZdkM,247
|
|
28
28
|
spei/responses/acuse.py,sha256=ZGfP45XYvDSDbgfSKWeraDpFApDc0oks05_tQH-bwzM,650
|
|
@@ -34,6 +34,6 @@ spei/types/sice.py,sha256=xFSoiLklRNWXoWwZXpSN8-SdkliNK23_MZbhcOc7a9s,222
|
|
|
34
34
|
spei/types/spei.py,sha256=rgdbWEMqIHNuSBaCwWmpziK35JcQ-q3nDHZR7-rDpMU,4765
|
|
35
35
|
spei/utils.py,sha256=Lje_sg6hLKQxsPmqf7ovVKKVcGZi7LlgNNg1MRtWnRo,247
|
|
36
36
|
spei/validators.py,sha256=1b-brOmNesdiUi2X0LV0-Km4Sh6RGNeKNeAxshQXtOs,742
|
|
37
|
-
spei_python-0.
|
|
38
|
-
spei_python-0.
|
|
39
|
-
spei_python-0.
|
|
37
|
+
spei_python-0.52.0.dist-info/METADATA,sha256=0zJjqSho5wJKUFh1Aw1pURbloyCS_-u1rVyQ9cax-zk,3956
|
|
38
|
+
spei_python-0.52.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
39
|
+
spei_python-0.52.0.dist-info/RECORD,,
|
|
File without changes
|