Role
import { buildClient } from '@datocms/cma-client-node';async function run() {const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });const siteInvitation = await client.siteInvitations.create({email: 'mark.smith@example.com',role: {type: 'role',id: '34'}});console.log(siteInvitation);}run();