Classes
Methods
# automations(projectTemplateId) → {ProjectTemplateAutomations}
Returns the ProjectTemplateAutomations Endpoint with the specified project template Id.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template |
# async create(projectTemplate) → {Promise.<ProjectTemplate>}
Creates a new project template.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplate |
ProjectTemplateCreateModel
|
The model to create a project template. |
Promise.<ProjectTemplate>
# async delete(projectTemplateId) → {Promise.<void>}
Deletes the project template with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
Promise.<void>
# entityTags(projectTemplateId)
Returns the EntityTags Endpoint with the specified project tempate Id and name.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
- Deprecated:
- Yes
# async get(projectTemplateId) → {Promise.<ProjectTemplate>}
Returns the project template with the specified id and the related statuses.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
Promise.<ProjectTemplate>
# images(projectTemplateId) → {EntityImages}
Returns the EntityImages Endpoint with the specified project tempate Id.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
# async list(optionsopt) → {Promise.<Array.<ProjectTemplate>>}
Returns all existing project types.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
ListOptions
|
<optional> |
Pagination and filtering options |
Promise.<Array.<ProjectTemplate>>
# projectStatus(projectTemplateId) → {ProjectTemplateProjectStatuses}
Returns the ProjectTemplateProjectStatuses Endpoint with the specified project template Id.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template |
# tags(projectTemplateId)
Returns the EntityTags Endpoint with the specified project tempate Id and name.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
# async taskBundle(projectTemplateId) → {Promise.<String>}
Returns the task bundle id which is linked to the template.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
Promise.<String>
# taskStatuses(projectTemplateId) → {ProjectTemplateTaskStatuses}
Returns the ProjectTemplateTaskStatuses Endpoint with the specified project tempate Id.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
# async update(projectTemplateId, projectTemplate) → {Promise.<ProjectTemplate>}
Updates the project template with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
projectTemplate |
ProjectTemplateUpdateModel
|
The model to update a project template with. |
Promise.<ProjectTemplate>
# async updateProjectStatusOrder(projectTemplateId, projectStatusOrder) → {Promise.<void>}
Updates the order of a project status.
Parameters:
Name | Type | Description |
---|---|---|
projectTemplateId |
String
|
The id of the project template. |
projectStatusOrder |
ProjectStatusOrder
|
The project status with updated order. |
Promise.<void>