import api from "@/lib/api-client.ts"; import { ILicenseInfo } from "@/ee/licence/types/license.types.ts"; export async function getLicenseInfo(): Promise { const req = await api.post("/license/info"); return req.data; } export async function activateLicense( licenseKey: string, ): Promise { const req = await api.post("/license/activate", { licenseKey }); return req.data; } export async function removeLicense(): Promise { await api.post("/license/remove"); }