Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
// SPDX-License-Identifier: LicenseRef-Carbon-Commercial
// Carbon Enterprise file, licensed only under the Carbon Commercial License
// (packages/ee/LICENSE). Not AGPL. Running, modifying, or copying it beyond those terms requires a commercial license.
import type { Database } from "@carbon/database";
import type { SupabaseClient } from "@supabase/supabase-js";
export { MOUNT_INTEGRATION_ID } from "./constants";
import { MOUNT_INTEGRATION_ID } from "./constants";
export async function getMountIntegration(
client: SupabaseClient<Database>,
companyId: string
) {
return await client
.from("companyIntegration")
.select("*")
.eq("companyId", companyId)
.eq("id", MOUNT_INTEGRATION_ID)
.limit(1);
}