feat: initial public release
ConsentOS — a privacy-first cookie consent management platform. Self-hosted, source-available alternative to OneTrust, Cookiebot, and CookieYes. Full standards coverage (IAB TCF v2.2, GPP v1, Google Consent Mode v2, GPC, Shopify Customer Privacy API), multi-tenant architecture with role-based access, configuration cascade (system → org → group → site → region), dark-pattern detection in the scanner, and a tamper-evident consent record audit trail. This is the initial public release. Prior development history is retained internally. See README.md for the feature list, architecture overview, and quick-start instructions. Licensed under the Elastic Licence 2.0 — self-host freely; do not resell as a managed service.
This commit is contained in:
12
apps/admin-ui/src/api/org-config.ts
Normal file
12
apps/admin-ui/src/api/org-config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { OrgConfig } from '../types/api';
|
||||
import apiClient from './client';
|
||||
|
||||
export async function getOrgConfig(): Promise<OrgConfig> {
|
||||
const { data } = await apiClient.get<OrgConfig>('/org-config/');
|
||||
return data;
|
||||
}
|
||||
|
||||
export async function updateOrgConfig(body: Partial<OrgConfig>): Promise<OrgConfig> {
|
||||
const { data } = await apiClient.put<OrgConfig>('/org-config/', body);
|
||||
return data;
|
||||
}
|
||||
Reference in New Issue
Block a user