5.7 KiB
5.7 KiB
MongoDB Collections (Duxiter Server)
Questo documento elenca le collection MongoDB usate dal server (via modelli Mongoose) e le TTL applicate dove presenti.
Collections con nome esplicito
| Collection | Model | File | TTL (seconds) |
|---|---|---|---|
equifax-responses |
EquifaxResponse |
EquifaxResponse.ts | EQUIFAX_RESPONSE_TTL_SECONDS (default: 604800) |
consulta_history |
ConsultaHistory |
ConsultaHistory.ts | CONSULTA_HISTORY_TTL_SECONDS (default: 63072000) |
summaries |
Summary |
Summary.ts | (none) |
snifasancionatorios |
SnifaSancionatorio |
SnifaSancionatorio.ts | (none) |
Collections con nome “default” (Mongoose pluralizza il nome del model)
| Collection (attesa) | Model | File | TTL (seconds) |
|---|---|---|---|
users |
User |
user.model.ts | (none) |
tenants |
Tenant |
tenant.model.ts | (none) |
results |
Result |
Result.ts | (none) |
sheriffdatalogs |
SheriffDataLog |
SheriffDataLog.ts | SHERIFF_DATA_LOG_TTL_SECONDS (default: 86400) |
sheriffapicalllogs |
SheriffApiCallLog |
SheriffApiCallLog.ts | SHERIFF_API_CALL_LOG_TTL_SECONDS (default: 86400) |
monitoringschedules |
MonitoringSchedule |
MonitoringSchedule.ts | (none) |
monitoringexecutions |
MonitoringExecution |
MonitoringExecution.ts | (none) |
riskchangenotifications |
RiskChangeNotification |
RiskChangeNotification.ts | (none) |
companydetails |
CompanyDetails |
CompanyDetails.ts | (none) |
companyrisks |
CompanyRisks |
CompanyRisks.ts | (none) |
duxcompanyinfos |
DuxCompanyInfo |
DuxCompanyInfo.ts | (none) |
creditoperations |
CreditOperation |
creditOperation.model.ts | (none) |
tenantbillings |
TenantBilling |
tenantBilling.model.ts | (none) |
billingsettings |
BillingSettings |
billingSettings.model.ts | (none) |
evaluationjobs |
EvaluationJob |
evaluation.ts | (none) |
evaluationresults |
EvaluationResult |
evaluation.ts | (none) |
evaluationparameters |
EvaluationParameter |
EvaluationParameter.ts | (none) |
promptconfigurations |
PromptConfiguration |
PromptConfiguration.ts | (none) |
antiunioncases |
AntiunionCase |
AntiunionCase.ts | (none) |
usernotes |
UserNote |
UserNote.ts | (none) |
snifaimportjobs |
SnifaImportJob |
SnifaImportJob.ts | (none) |
snifachangelogs |
SnifaChangeLog |
SnifaChangeLog.ts | (none) |
ley20393s |
Ley20393 |
Ley20393.ts | (none) |
ley21121s |
Ley21121 |
Ley21121.ts | (none) |
lpaltos |
Lpalto |
Lpalto.ts | (none) |
lpmedios |
Lpmedio |
Lpmedio.ts | (none) |
logsherifdatas |
logSherifData |
LogSherifData.ts | LOG_SHERIFF_DATA_TTL_SECONDS (default: 86400) |
aioperationlogs |
AIOperationLog |
AIOperationLog.ts | AI_OPERATION_LOG_TTL_SECONDS (default: 86400) |
Note
- Alcuni modelli risultano duplicati nel codebase (es.
AIOperationLog.tseaiOperationLog.model.ts): la collection usata resta comunque la stessa se ilmodelNamecoincide. - Il nome “atteso” delle collection in questa sezione dipende dalla pluralizzazione di Mongoose; per vedere i nomi reali in DB usare
db.listCollections()oppure l’endpoint/admin di database management se presente.