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.
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/PKG-INFO +1 -1
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI/esco_api.py +24 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI.egg-info/PKG-INFO +1 -1
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyproject.toml +1 -1
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/README.md +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI/__init__.py +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI/dataclasses.py +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI/exception.py +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI.egg-info/SOURCES.txt +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI.egg-info/dependency_links.txt +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI.egg-info/requires.txt +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/pyEscoAPI.egg-info/top_level.txt +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/setup.cfg +0 -0
- {pyescoapi-0.0.36 → pyescoapi-0.0.37}/tests/test_client.py +0 -0
|
@@ -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
|
)
|
|
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
|