Represents a team in the RAAIN system. This class manages team members and their contracts.

Remarks

Used in the API endpoint: api/teams/:id

Example

const teamNode = new TeamNode({
id: 'team1',
name: 'Customer Team',
description: 'Main customer support team',
contracts: ['basic', 'premium'],
contacts: [peopleNode1, peopleNode2]
});

External

  • API: /teams
  • API: /teams/:teamId

Hierarchy (view full)

Constructors

Properties

id: string

Unique identifier for the node

version: string

Version string of the node

TYPE: TeamNode = RaainNodeType.TeamNode
name: string
description: string
contracts: string[]
contacts: PeopleNode[]

Accessors

Methods

  • Returns {
        id: string;
        links: Link[];
        version?: string;
        name: string;
        description: string;
        contracts: string[];
        contacts: PeopleNode[];
    }

    • id: string
    • links: Link[]
    • Optional version?: string
    • name: string
    • description: string
    • contracts: string[]
    • contacts: PeopleNode[]