pyEscoAPI 0.0.36__tar.gz → 0.0.37__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pyEscoAPI
3
- Version: 0.0.36
3
+ Version: 0.0.37
4
4
  Summary: Python client for Esco API (Esco bolsa)
5
5
  Author-email: Codetria <hola@codetria.com>
6
6
  License: MIT License
@@ -2202,4 +2202,28 @@ class EscoAPI:
2202
2202
  request_endpoint=f"/get-comprobante-PDF-Sync?Formulario={formulario}&IDComprobante={id_comprobante}",
2203
2203
  request_body={},
2204
2204
  request_method=HTTPMethod.GET
2205
+ )
2206
+
2207
+ def update_investor_profile(
2208
+ self,
2209
+ cuenta: int,
2210
+ cod_tp_riesgo: str,
2211
+ fecha_vencimiento_perfil: datetime
2212
+ ):
2213
+ """
2214
+ Actualiza el perfil de inversor de un cliente.
2215
+ :param cuenta: Número de cuenta comitente.
2216
+ :param cod_tp_riesgo: Código del tipo de riesgo del cliente.
2217
+ :param fecha_vencimiento_perfil: Fecha de vencimiento del perfil de inversor.
2218
+ """
2219
+ req_body = {
2220
+ "cuenta": cuenta,
2221
+ "codTpRiesgo": cod_tp_riesgo,
2222
+ "fechaVencimientoPerfil": fecha_vencimiento_perfil.strftime('%Y-%m-%dT%H:%M:%S.%fZ')
2223
+ }
2224
+ self.__pre_connection()
2225
+ return self.__make_request(
2226
+ request_endpoint="/riesgo-cuenta-comitente",
2227
+ request_body=req_body,
2228
+ request_method=HTTPMethod.PUT
2205
2229
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pyEscoAPI
3
- Version: 0.0.36
3
+ Version: 0.0.37
4
4
  Summary: Python client for Esco API (Esco bolsa)
5
5
  Author-email: Codetria <hola@codetria.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = 'pyEscoAPI'
7
- version = "0.0.36"
7
+ version = "0.0.37"
8
8
  license = {text = "MIT License"}
9
9
  authors = [
10
10
  { name="Codetria", email="hola@codetria.com" },
File without changes
File without changes