interface AsanaNodeParameters {
additionalFields?:
| { is_pinned?: boolean }
| {
insert_after?: string;
insert_before?: string;
section?: string;
}
| {
color?: | "none"
| "dark-blue"
| "dark-brown"
| "dark-green"
| "dark-orange"
| "dark-pink"
| "dark-purple"
| "dark-red"
| "dark-teal"
| "dark-warm-gray"
| "light-blue"
| "light-green"
| "light-orange"
| "light-pink"
| "light-purple"
| "light-red"
| "light-teal"
| "light-warm-gray"
| "light-yellow";
due_on?: string;
notes?: string;
privacy_setting?: | "private"
| "private_to_team"
| "public_to_workspace";
}
| { archived?: boolean; team?: string };
authentication?: "oAuth2" | "accessToken";
filters?: {
assignee?: string;
completed_since?: string;
modified_since?: string;
opt_fields?: unknown[];
opt_pretty?: boolean;
project?: string;
section?: string;
workspace?: string;
};
id?: string;
isTextHtml?: boolean;
limit?: number;
name?: string;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "search"
| "move";
options?: {
opt_fields?: unknown[];
opt_pretty?: boolean;
};
otherProperties?: | {
assignee?: string;
assignee_status?: | "inbox"
| "today"
| "upcoming"
| "later";
completed?: boolean;
due_on?: string;
liked?: boolean;
notes?: string;
workspace?: string;
}
| {
assignee?: string;
assignee_status?: | "inbox"
| "today"
| "upcoming"
| "later";
completed?: boolean;
due_on?: string;
liked?: boolean;
name?: string;
notes?: string;
projects?: unknown[];
};
project?: string;
projectId?: string;
resource?: | "user"
| "project"
| "subtask"
| "task"
| "taskComment"
| "taskProject"
| "taskTag";
returnAll?: boolean;
searchTaskProperties?: {
completed?: boolean;
text?: string;
};
section?: string;
tag?: string;
taskId?: string;
team?: string;
text?: string;
updateFields?: {
color?: | "none"
| "dark-blue"
| "dark-brown"
| "dark-green"
| "dark-orange"
| "dark-pink"
| "dark-purple"
| "dark-red"
| "dark-teal"
| "dark-warm-gray"
| "light-blue"
| "light-green"
| "light-orange"
| "light-pink"
| "light-purple"
| "light-red"
| "light-teal"
| "light-warm-gray"
| "light-yellow";
due_on?: string;
name?: string;
notes?: string;
owner?: string;
privacy_setting?: | "private"
| "private_to_team"
| "public_to_workspace";
team?: string;
};
userId?: string;
workspace?: string;
}
Properties§
Source§readonly additional Fields?:
| { is_pinned?: boolean }
| {
insert_after?: string;
insert_before?: string;
section?: string;
}
| {
color?: | "none"
| "dark-blue"
| "dark-brown"
| "dark-green"
| "dark-orange"
| "dark-pink"
| "dark-purple"
| "dark-red"
| "dark-teal"
| "dark-warm-gray"
| "light-blue"
| "light-green"
| "light-orange"
| "light-pink"
| "light-purple"
| "light-red"
| "light-teal"
| "light-warm-gray"
| "light-yellow";
due_on?: string;
notes?: string;
privacy_setting?: | "private"
| "private_to_team"
| "public_to_workspace";
}
| { archived?: boolean; team?: string }
readonly additional Fields?:
| { is_pinned?: boolean }
| {
insert_after?: string;
insert_before?: string;
section?: string;
}
| {
color?: | "none"
| "dark-blue"
| "dark-brown"
| "dark-green"
| "dark-orange"
| "dark-pink"
| "dark-purple"
| "dark-red"
| "dark-teal"
| "dark-warm-gray"
| "light-blue"
| "light-green"
| "light-orange"
| "light-pink"
| "light-purple"
| "light-red"
| "light-teal"
| "light-warm-gray"
| "light-yellow";
due_on?: string;
notes?: string;
privacy_setting?: | "private"
| "private_to_team"
| "public_to_workspace";
}
| { archived?: boolean; team?: string }
Source§readonly filters?: {
assignee?: string;
completed_since?: string;
modified_since?: string;
opt_fields?: unknown[];
opt_pretty?: boolean;
project?: string;
section?: string;
workspace?: string;
}
readonly filters?: {
assignee?: string;
completed_since?: string;
modified_since?: string;
opt_fields?: unknown[];
opt_pretty?: boolean;
project?: string;
section?: string;
workspace?: string;
}
Properties to search for Default: {}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "search"
| "move"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
| "search"
| "move"
Default: "create"
Source§readonly other Properties?:
| {
assignee?: string;
assignee_status?: | "inbox"
| "today"
| "upcoming"
| "later";
completed?: boolean;
due_on?: string;
liked?: boolean;
notes?: string;
workspace?: string;
}
| {
assignee?: string;
assignee_status?: | "inbox"
| "today"
| "upcoming"
| "later";
completed?: boolean;
due_on?: string;
liked?: boolean;
name?: string;
notes?: string;
projects?: unknown[];
}
readonly other Properties?:
| {
assignee?: string;
assignee_status?: | "inbox"
| "today"
| "upcoming"
| "later";
completed?: boolean;
due_on?: string;
liked?: boolean;
notes?: string;
workspace?: string;
}
| {
assignee?: string;
assignee_status?: | "inbox"
| "today"
| "upcoming"
| "later";
completed?: boolean;
due_on?: string;
liked?: boolean;
name?: string;
notes?: string;
projects?: unknown[];
}
Default: {}
Source§readonly project?: string
readonly project?: string
The project where the task will be added. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getProjects"}
Source§readonly project Id?: string
readonly project Id?: string
Project to show the sections of. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getProjects"}
Source§readonly resource?:
| "user"
| "project"
| "subtask"
| "task"
| "taskComment"
| "taskProject"
| "taskTag"
readonly resource?:
| "user"
| "project"
| "subtask"
| "task"
| "taskComment"
| "taskProject"
| "taskTag"
Default: "task"
Source§readonly search Task Properties?: { completed?: boolean; text?: string }
readonly search Task Properties?: { completed?: boolean; text?: string }
Properties to search for Default: {}
Source§readonly section?: string
readonly section?: string
The Section to move the task to. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsDependsOn":["projectId"],"loadOptionsMethod":"getSections"}
Source§readonly tag?: string
readonly tag?: string
The tag that should be added. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsDependsOn":["id"],"loadOptionsMethod":"getTags"}
Source§readonly team?: string
readonly team?: string
The team this project will be assigned to. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsDependsOn":["workspace"],"loadOptionsMethod":"getTeams"}
Source§readonly update Fields?: {
color?:
| "none"
| "dark-blue"
| "dark-brown"
| "dark-green"
| "dark-orange"
| "dark-pink"
| "dark-purple"
| "dark-red"
| "dark-teal"
| "dark-warm-gray"
| "light-blue"
| "light-green"
| "light-orange"
| "light-pink"
| "light-purple"
| "light-red"
| "light-teal"
| "light-warm-gray"
| "light-yellow";
due_on?: string;
name?: string;
notes?: string;
owner?: string;
privacy_setting?: | "private"
| "private_to_team"
| "public_to_workspace";
team?: string;
}
readonly update Fields?: {
color?:
| "none"
| "dark-blue"
| "dark-brown"
| "dark-green"
| "dark-orange"
| "dark-pink"
| "dark-purple"
| "dark-red"
| "dark-teal"
| "dark-warm-gray"
| "light-blue"
| "light-green"
| "light-orange"
| "light-pink"
| "light-purple"
| "light-red"
| "light-teal"
| "light-warm-gray"
| "light-yellow";
due_on?: string;
name?: string;
notes?: string;
owner?: string;
privacy_setting?: | "private"
| "private_to_team"
| "public_to_workspace";
team?: string;
}
Other properties to set Default: {}
Source§readonly user Id?: string
readonly user Id?: string
An identifier for the user to get data of. Can be one of an email address,the globally unique identifier for the user, or the keyword me to indicate the current user making the request.
Source§readonly workspace?: string
readonly workspace?: string
The workspace to create the task in. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getWorkspaces"}
Properties of the task comment Default: {}