LAgencia-prospects-softseguros 0.1.14__tar.gz → 0.1.15__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.14 → lagencia_prospects_softseguros-0.1.15}/PKG-INFO +1 -1
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/pyproject.toml +1 -1
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/LAgencia_prospects_softseguros.egg-info/PKG-INFO +1 -1
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/execute_sincronization.py +6 -6
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/main.py +1 -1
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softin/fetch_softin.py +6 -6
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/README.md +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/setup.cfg +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/LAgencia_prospects_softseguros.egg-info/SOURCES.txt +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/LAgencia_prospects_softseguros.egg-info/dependency_links.txt +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/LAgencia_prospects_softseguros.egg-info/requires.txt +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/LAgencia_prospects_softseguros.egg-info/top_level.txt +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/pr_async_db.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/pr_repository_async.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/api.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/codes_status_api.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/custom_execptions_api.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/execute_load_to_db.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/models_request.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_libertador/models_response.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softseguros/api_softseguros.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softseguros/create_customers_libertador.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softseguros/create_customers_softin.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softseguros/create_prospectsfrom_in_crm_softseguros.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softseguros/models_requests.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/api_softseguros/models_response.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/config/logging_config.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/config/settings.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/config_db.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/models/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/models/models.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/repositories/__init__.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/repositories/libertadors.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/repositories/softin.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/database/repositories/softseguros.py +0 -0
- {lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/src/softseguros/notifier/notificaciones.py +0 -0
|
@@ -51,7 +51,7 @@ def main():
|
|
|
51
51
|
synchronize_prospects_libertador_table_for_castillo()
|
|
52
52
|
synchronize_prospects_libertador_table_for_villacruz()
|
|
53
53
|
|
|
54
|
-
# # # # + sincronizacion por softin
|
|
54
|
+
# # # # # + sincronizacion por softin
|
|
55
55
|
synchronize_prospects_softin_table_for_estrella()
|
|
56
56
|
synchronize_prospects_softin_table_for_castillo()
|
|
57
57
|
synchronize_prospects_softin_table_for_villacruz()
|
|
@@ -60,12 +60,12 @@ def main():
|
|
|
60
60
|
synchronize_the_softseguros_table_with_libertador_prospects()
|
|
61
61
|
synchronize_the_softseguros_table_with_softin_prospects_for_landlord()
|
|
62
62
|
|
|
63
|
-
# # + crear cleintes softseguros
|
|
64
|
-
create_prospectsfrom_libertador_in_crm_softseguros()
|
|
63
|
+
# # # + crear cleintes softseguros
|
|
64
|
+
# create_prospectsfrom_libertador_in_crm_softseguros()
|
|
65
65
|
|
|
66
|
-
# # + notificar asesores
|
|
67
|
-
notify_prospect_from_libertador()
|
|
68
|
-
notify_prospect_from_softin()
|
|
66
|
+
# # # + notificar asesores
|
|
67
|
+
# notify_prospect_from_libertador()
|
|
68
|
+
# notify_prospect_from_softin()
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
if __name__ == "__main__":
|
|
@@ -92,7 +92,7 @@ def main():
|
|
|
92
92
|
# result = service_libertador.data_unique(data=data)
|
|
93
93
|
# print(result)
|
|
94
94
|
|
|
95
|
-
data = RequestDataFull(estado=State.APROBADA, fechaInicio=datetime(
|
|
95
|
+
data = RequestDataFull(estado=State.APROBADA, fechaInicio=datetime(2026, 1, 12), fechaFin=datetime(2026, 1, 13))
|
|
96
96
|
result = service_libertador.data_full(data=data)
|
|
97
97
|
print(result)
|
|
98
98
|
|
|
@@ -143,7 +143,7 @@ def synchronize_prospects_softin(real_state: str):
|
|
|
143
143
|
contrato = select_last_contract(real_state)
|
|
144
144
|
print(contrato)
|
|
145
145
|
retry = 0
|
|
146
|
-
while retry <
|
|
146
|
+
while retry < 30:
|
|
147
147
|
logger.info("Intentando obtener datos para el contrato:", contrato)
|
|
148
148
|
data = ResquestDataEstrella(contrato=str(contrato))
|
|
149
149
|
result = fetch_data(data)
|
|
@@ -165,9 +165,10 @@ def synchronize_prospects_softin(real_state: str):
|
|
|
165
165
|
|
|
166
166
|
def synchronize_prospects_softin_table_for_estrella():
|
|
167
167
|
contrato = int(select_last_contract("estrella"))
|
|
168
|
-
print(contrato)
|
|
169
168
|
retry = 0
|
|
170
|
-
while retry <
|
|
169
|
+
while retry < 30:
|
|
170
|
+
print(f"*** {contrato=}")
|
|
171
|
+
print(f"*** {retry=}")
|
|
171
172
|
logger.info("Intentando obtener datos para el contrato:", contrato)
|
|
172
173
|
data = ResquestDataEstrella(contrato=str(contrato))
|
|
173
174
|
result = fetch_data(data)
|
|
@@ -184,7 +185,6 @@ def synchronize_prospects_softin_table_for_estrella():
|
|
|
184
185
|
contrato += 1
|
|
185
186
|
else:
|
|
186
187
|
retry = 0
|
|
187
|
-
print(f"{contrato=}")
|
|
188
188
|
contrato += 1
|
|
189
189
|
|
|
190
190
|
|
|
@@ -192,7 +192,7 @@ def synchronize_prospects_softin_table_for_castillo():
|
|
|
192
192
|
contrato = int(select_last_contract("castillo"))
|
|
193
193
|
print(contrato)
|
|
194
194
|
retry = 0
|
|
195
|
-
while retry <
|
|
195
|
+
while retry < 30:
|
|
196
196
|
logger.info("Intentando obtener datos para el contrato:", contrato)
|
|
197
197
|
data = ResquestDataCastillo(contrato=str(contrato))
|
|
198
198
|
result = fetch_data(data)
|
|
@@ -216,7 +216,7 @@ def synchronize_prospects_softin_table_for_villacruz():
|
|
|
216
216
|
contrato = int(select_last_contract("villacruz"))
|
|
217
217
|
print(contrato)
|
|
218
218
|
retry = 0
|
|
219
|
-
while retry <
|
|
219
|
+
while retry < 30:
|
|
220
220
|
logger.info("Intentando obtener datos para el contrato:", contrato)
|
|
221
221
|
data = ResquestDataVillacruz(contrato=str(contrato))
|
|
222
222
|
result = fetch_data(data)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lagencia_prospects_softseguros-0.1.14 → lagencia_prospects_softseguros-0.1.15}/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
|