refactor(integration): generalizar el requisito de configuracion

Renombra requires_client_configuration a requires_configuration conservando los valores existentes y su rollback. Actualiza el modelo, la validacion, los seeders y los consumidores del campo para permitir configuraciones de cliente o tipo de sitio.
This commit is contained in:
2026-09-04 12:47:29 -03:00
parent f11ba5a470
commit e4146288f1
10 changed files with 35 additions and 10 deletions

View File

@@ -108,7 +108,7 @@ abstract class BaseIntegrationService
->where('integration_code', $this->integrationCode)
->first();
if (! $this->clientIntegration && $this->integration->requires_client_configuration) {
if (! $this->clientIntegration && $this->integration->requires_configuration) {
throw new Exception("Client '{$this->clientContext->code}' does not have integration '{$this->integrationCode}' configured.");
}
}