TypeScript client for the enum API.
npm install @enumco/clientimport { createClient } from "@enumco/client";
const client = createClient({ token: "your-api-token" });
const { users } = await client.users.listUsers({});
const { organization } = await client.organizations.getOrganization({ id: "org-123" });
const { project } = await client.projects.getProject({ id: "proj-456" });| Property | Service |
|---|---|
client.users |
UserService |
client.organizations |
OrganizationService |
client.projects |
ProjectService |
client.kubernetes.clusters |
KubernetesClusterService |
client.storage.users |
ObjectStorageUserService |
client.storage.accessKeys |
ObjectStorageAccessKeyService |
client.storage.buckets |
ObjectStorageBucketService |
createClient({
token: string; // required - API token
})See enum Docs.