Class

TaskDependencies

TaskDependencies(client)

Class corresponding to Aworks TaskDependencies Endpoints.
Constructor

# new TaskDependencies(client)

Endpoint constructor
Parameters:
Name Type Description
client Client
See:
  • [TaskDependencies in Awork API Docs](https://openapi.awork.com/#/TaskDependencies)

View Source endpoints/TaskDependencies.js, line 9

Classes

TaskDependencies

Methods

# async create(taskDependency) → {Promise.<TaskDependency>}

Creates a new task dependency. To create a task dependency, the user needs to be the assignee of both tasks or 'ProjectPlanning' permissions in general or in the project the tasks are related to.
Parameters:
Name Type Description
taskDependency TaskDependencyCreateModel Describes the dependency between two tasks. One Task is the predecessor and one task is the successor.

View Source endpoints/TaskDependencies.js, line 30

Promise.<TaskDependency>

# async delete(taskDependencyId) → {Promise.<void>}

Deletes a task dependency. To delete a task dependency, the user needs to be the assignee of both tasks or 'ProjectPlanning' permissions in general or in the project the task are related to.
Parameters:
Name Type Description
taskDependencyId String The id of the task dependency.

View Source endpoints/TaskDependencies.js, line 41

Promise.<void>