getTypes
client.actionBlocks.getTypes(): Promise<string[]>
Retrieves the list of available action block types.
Returns the distinct type identifiers that can be used when creating or filtering action blocks.
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.actionBlocks.getTypes();
console.log(result);