These options are used when creating org chart items and searching for them.

// Creation 
const item = System.organisationStructure. createItem('Marketing Director', OrganisationStructureItemType.Position); 
//  Search 
const searchResult = tree.getRoot().find(i => i.data.name ===  'Managers' && i.data.type === OrganisationStructureItemType.Group); 

Enumeration members

Department

Department: = "DEPARTMENT"

Group

Group: = "GROUP"

Position

Position: = "POSITION"