getTypes
client.capability.getTypes(): Promise<string[]>
Retrieves the list of available capability types.
Returns the distinct type identifiers that capabilities can belong to, useful for categorizing or filtering capabilities.
Parameters
No parameters.
Returns
Promise<string[]> — A promise that resolves to an array of type name strings
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.capability.getTypes();
console.log(result);