ResourceToProjectsAssigned

Triggers when team resource was added to the project. This can be both real and virtual resources.

{
    event: 'ResourceToProjectsAssigned',
    data: {
        userId: uuid,
        resourcesToProjects: [ {
          projectId: int,
          resourceId: int,
          rights: {
            view: boolean,
            edit: boolean,
            viewCost: boolean,
          },
          cost: int,
          type: int
        } ]
    },
    teamId: uuid
}