spei-python 0.40.0__py3-none-any.whl → 0.41.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.
@@ -26,6 +26,8 @@ class ChecksumGenerator(object):
26
26
  return day + month + year
27
27
 
28
28
  def _clave_to_bytearray(self, clave: str) -> bytearray:
29
+ if not clave:
30
+ clave = ''
29
31
  return int.to_bytes(int(clave), 4, 'big')
30
32
 
31
33
  def _monto_to_bytearray(self, amount: int) -> bytearray:
spei/types/spei.py CHANGED
@@ -91,6 +91,7 @@ class EstadoOrdenPago(str, Enum):
91
91
  liberada = 'L'
92
92
  capturada = 'C'
93
93
  autorizada = 'A'
94
+ cancelada = 'CN'
94
95
 
95
96
 
96
97
  class ClaveOrdenanteOrdenPago(int, Enum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spei-python
3
- Version: 0.40.0
3
+ Version: 0.41.0
4
4
  Summary:
5
5
  Author: tech
6
6
  Author-email: tech@fondeadora.com
@@ -3,7 +3,7 @@ spei/__init__.py,sha256=HS2HrgTi3xZTM1PuIpka4y5c6tnxSwGez37hQN7lNMc,145
3
3
  spei/cep_generator.py,sha256=J9MEoDEzb8N-5_1YROdv4EIaN7wGK5xZdyY6nn0-df4,2604
4
4
  spei/checksum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  spei/checksum/factory.py,sha256=W_7ylBrQE3BSmp8-sUrLw3E4ph5OwmOIbnX8TgMbMJ0,1608
6
- spei/checksum/generator.py,sha256=8fhPu5gfnhazWgDtCAXTr9tKkn5L4WJVCweGaEZRHvw,5701
6
+ spei/checksum/generator.py,sha256=j4hMNA3iC0zlSztUAEsNOEqBh5i6YNYHo08EXLe0RMQ,5746
7
7
  spei/checksum/types.py,sha256=d5loNNHj_BRKCmvJFMAIVL7exbB7wiiHPedkwCUd_-g,1543
8
8
  spei/client.py,sha256=DkeulNdlhj_qihn2GBpGLjyKpCCBfJqFa8K8Bf7-T2A,2386
9
9
  spei/errors/__init__.py,sha256=cITvjJIb5QzHvGne0pJSVhpOVT4YuWyi74zp970uagU,107
@@ -29,9 +29,9 @@ spei/responses/respuesta.py,sha256=sbsoacmIqZdiFde0K5AuC7ypPD0lpi6HxpBA0C0K79Q,1
29
29
  spei/sice.py,sha256=gFypsZ0Z8jX-Ro0KOJ78PzoofkvH9L0p6WIEzvZQ0IY,1085
30
30
  spei/types/__init__.py,sha256=FKFSe-eTgKjf0qFSMqYZDkgYYIT3-5Je4Wc5QRNAp7U,643
31
31
  spei/types/sice.py,sha256=xFSoiLklRNWXoWwZXpSN8-SdkliNK23_MZbhcOc7a9s,222
32
- spei/types/spei.py,sha256=kMAahApeYv9qN-0J3gAuSncUB3lX1Z7f41lmRtqV2Io,4601
32
+ spei/types/spei.py,sha256=rzlTrAwVdUpk9-Z4tIEkWVPW_mEE9vBkcRtKczOCm84,4622
33
33
  spei/utils.py,sha256=Lje_sg6hLKQxsPmqf7ovVKKVcGZi7LlgNNg1MRtWnRo,247
34
34
  spei/validators.py,sha256=1b-brOmNesdiUi2X0LV0-Km4Sh6RGNeKNeAxshQXtOs,742
35
- spei_python-0.40.0.dist-info/METADATA,sha256=mlp3NnYr_k9_N-BGTk5NwWWbNbURoOyX5E0jltZ2alc,3812
36
- spei_python-0.40.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
37
- spei_python-0.40.0.dist-info/RECORD,,
35
+ spei_python-0.41.0.dist-info/METADATA,sha256=6BS8JG8NGj4w71FvbNgd9sQjG7hNu90h00bM_4zMup4,3812
36
+ spei_python-0.41.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
37
+ spei_python-0.41.0.dist-info/RECORD,,