/** * Asana Node - Version 1 * Discriminator: resource=task, operation=getAll */ interface Credentials { asanaApi: CredentialReference; asanaOAuth2Api: CredentialReference; } /** Get many subtasks */ export type AsanaV1TaskGetAllParams = { resource: 'task'; operation: 'getAll'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Properties to search for * @default {} */ filters?: { /** The assignee to filter tasks on. Note: If you specify assignee, you must also specify the workspace to filter on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ assignee?: string | Expression; /** Defines fields to return. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default ["gid","name","resource_type"] */ opt_fields?: string[]; /** Whether to provide “pretty” output * @default false */ opt_pretty?: boolean | Expression; /** The project to filter tasks on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ project?: string | Expression; /** The section to filter tasks on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ section?: string | Expression; /** The workspace to filter tasks on. Note: If you specify workspace, you must also specify the assignee to filter on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ workspace?: string | Expression; /** Only return tasks that are either incomplete or that have been completed since this time */ completed_since?: string | Expression; /** Only return tasks that have been modified since the given time */ modified_since?: string | Expression; }; }; export type AsanaV1TaskGetAllOutput = { gid?: string; name?: string; resource_subtype?: string; resource_type?: string; }; export type AsanaV1TaskGetAllNode = { type: 'n8n-nodes-base.asana'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };