Portal Integration Configurations Table
Component Detail
Data Layer
medium complexity
backend
0
Dependencies
6
Dependents
0
Entities
0
Integrations
Description
Stores per-organization external portal integration settings including connection type (OAuth 2.0 or API key), encrypted credential references, field mapping definitions, sync frequency, and enabled/disabled state. Each row is scoped to one organization and one external portal endpoint.
portal-integration-configs-table
Responsibilities
- Persist per-organization connection configuration rows with encrypted credential references
- Store serialized field mapping definitions as a JSON column
- Record sync frequency and enabled/disabled toggle state per organization
- Track created_at and updated_at for audit purposes
Interfaces
getConfig(orgId: string): PortalIntegrationConfig | null
upsertConfig(orgId: string, config: PortalIntegrationConfig): void
deleteConfig(orgId: string): void
Relationships
Dependents (6)
Components that depend on this component