/** * Asana Node - Version 1 * Discriminator: resource=project, operation=getAll */ interface Credentials { asanaApi: CredentialReference; asanaOAuth2Api: CredentialReference; } /** Get many subtasks */ export type AsanaV1ProjectGetAllParams = { resource: 'project'; operation: 'getAll'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The workspace in which to get users. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ workspace?: string | 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; /** * Other properties to set * @default {} */ additionalFields?: { /** Whether to only return projects whose archived field takes on the value of this parameter * @default false */ archived?: boolean | Expression; /** The new name of the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ team?: string | Expression; }; }; export type AsanaV1ProjectGetAllOutput = { gid?: string; name?: string; resource_type?: string; }; export type AsanaV1ProjectGetAllNode = { type: 'n8n-nodes-base.asana'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };