export type TaskCreate = { /** * The title, which is a short description of what needs to be done. This cannot be null. */ title: string; /** * The ID of the parent task. This can be null. */ parentId?: string | null; /** * The title of the dartboard, which is a project or list of tasks. Common options are Active, Next, and Backlog, although what is possible depends on the workspace. If the dartboard is ambiguous it may need to include a prefix with the name of the space, which is a folder for dartboards. */ dartboard?: string; /** * The title of the type of the task. This can be null on creation and not otherwise. */ type?: string; /** * The status from the list of available statuses. Common options are To-do, Doing, and Done, although what is possible depends on the workspace. This can be null on creation and not otherwise. */ status?: string; /** * A longer description of the task, which can include markdown formatting. This should fully describe what needs to be done. This can be null on creation and not otherwise. */ description?: string; /** * The names or emails of the users that the task is assigned to. Either this or assignee must be included, depending on whether the workspaces allows multiple assignees or not. If included, this can be null on creation and not otherwise. */ assignees?: Array; /** * The name or email of the user that the task is assigned to. Either this or assignees must be included, depending on whether the workspaces allows multiple assignees or not. If included, this can be null on creation and not otherwise. */ assignee?: string | null; /** * Any tags that should be applied to the task, which can be used to filter and search for tasks. Tags are also known as labels or components and are strings that can be anything, but should be short and descriptive. This list can be empty. */ tags?: Array; /** * The priority, which is a string that can be one of Critical, High, Medium, or Low. This is used to sort tasks and determine which tasks should be done first. This can be null. */ priority?: string | null; /** * The start date, which is a date and time that the task should be started by in ISO format. It should be at 9:00am in the timezone of the user. This can be null. */ startAt?: string | null; /** * The due date, which is a date and time that the task should be completed by in ISO format. It should be at 9:00am in the timezone of the user. This can be null. */ dueAt?: string | null; /** * The size, which is a number that represents the amount of work that needs to be done. This is used to determine how long the task will take to complete. This can be null. */ size?: number | null; /** * The time tracking, which is a string that indicates the amount of time spent on the task in hh:mm:ss format (or an empty string if no time has been tracked). This can be null on creation and not otherwise. */ timeTracking?: string; };