LAgencia-prospects-softseguros 0.1.16__tar.gz → 0.1.17__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.
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/PKG-INFO +1 -1
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/pyproject.toml +1 -1
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/LAgencia_prospects_softseguros.egg-info/PKG-INFO +1 -1
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/execute_sincronization.py +8 -8
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softseguros/create_customers_softin.py +5 -3
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/README.md +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/setup.cfg +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/LAgencia_prospects_softseguros.egg-info/SOURCES.txt +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/LAgencia_prospects_softseguros.egg-info/dependency_links.txt +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/LAgencia_prospects_softseguros.egg-info/requires.txt +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/LAgencia_prospects_softseguros.egg-info/top_level.txt +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/main.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/pr_async_db.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/pr_repository_async.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/api.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/codes_status_api.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/custom_execptions_api.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/execute_load_to_db.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/models_request.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_libertador/models_response.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softin/fetch_softin.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softseguros/api_softseguros.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softseguros/create_customers_libertador.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softseguros/create_prospectsfrom_in_crm_softseguros.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softseguros/models_requests.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/api_softseguros/models_response.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/config/logging_config.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/config/settings.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/config_db.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/models/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/models/models.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/repositories/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/repositories/libertadors.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/repositories/softin.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/database/repositories/softseguros.py +0 -0
- {lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/softseguros/notifier/notificaciones.py +0 -0
|
@@ -51,14 +51,14 @@ def main():
|
|
|
51
51
|
synchronize_prospects_libertador_table_for_castillo()
|
|
52
52
|
synchronize_prospects_libertador_table_for_villacruz()
|
|
53
53
|
|
|
54
|
-
# # # # # + sincronizacion por softin
|
|
55
|
-
synchronize_prospects_softin_table_for_estrella()
|
|
56
|
-
synchronize_prospects_softin_table_for_castillo()
|
|
57
|
-
synchronize_prospects_softin_table_for_villacruz()
|
|
58
|
-
|
|
59
|
-
# # # # + sincronizacion tabla softseguros
|
|
60
|
-
synchronize_the_softseguros_table_with_libertador_prospects()
|
|
61
|
-
synchronize_the_softseguros_table_with_softin_prospects_for_landlord()
|
|
54
|
+
# # # # # # + sincronizacion por softin
|
|
55
|
+
# synchronize_prospects_softin_table_for_estrella()
|
|
56
|
+
# synchronize_prospects_softin_table_for_castillo()
|
|
57
|
+
# synchronize_prospects_softin_table_for_villacruz()
|
|
58
|
+
|
|
59
|
+
# # # # # + sincronizacion tabla softseguros
|
|
60
|
+
# synchronize_the_softseguros_table_with_libertador_prospects()
|
|
61
|
+
# synchronize_the_softseguros_table_with_softin_prospects_for_landlord()
|
|
62
62
|
|
|
63
63
|
# # # + crear cleintes softseguros
|
|
64
64
|
# create_prospectsfrom_libertador_in_crm_softseguros()
|
|
@@ -35,11 +35,12 @@ def normalize_phone(value: str | None) -> str | None:
|
|
|
35
35
|
digits = re.sub(r"\D+", "", value) # deja solo números
|
|
36
36
|
if not digits:
|
|
37
37
|
return None
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
if len(digits) > 10:
|
|
40
40
|
digits = digits[-10:]
|
|
41
41
|
return digits
|
|
42
42
|
|
|
43
|
+
|
|
43
44
|
def create_prospects_to_secure_for_landlord(real_state, informacion_contrato_Inmueble, informacion_propietario, asignaciones_y_operaciones):
|
|
44
45
|
match real_state:
|
|
45
46
|
case "villacruz":
|
|
@@ -69,14 +70,15 @@ def create_prospects_to_secure_for_landlord(real_state, informacion_contrato_Inm
|
|
|
69
70
|
correoAsesor="",
|
|
70
71
|
)
|
|
71
72
|
|
|
73
|
+
phone= informacion_propietario.get("celular_Prop")
|
|
72
74
|
clente = RequestsCreateCustomerSoftseguros(
|
|
73
75
|
numero_documento=informacion_propietario.get("nro_id_prop"),
|
|
74
76
|
nombres=informacion_propietario.get("nombre_Prop"),
|
|
75
77
|
# apellidos="villa",
|
|
76
78
|
direccion=informacion_contrato_Inmueble.get("dir_inmueble"),
|
|
77
79
|
ciudad="", # informacion_contrato_Inmueble.get("")
|
|
78
|
-
telefono=
|
|
79
|
-
celular=
|
|
80
|
+
telefono=phone,
|
|
81
|
+
celular=phone,
|
|
80
82
|
email=informacion_propietario.get("email_Prop"),
|
|
81
83
|
ids_categorias=",".join(ids_categorias),
|
|
82
84
|
fecha_expedicion_cedula=None, # "yyyy-mm-dd"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lagencia_prospects_softseguros-0.1.16 → lagencia_prospects_softseguros-0.1.17}/src/pr_async_db.py
RENAMED
|
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
|