/** * Asana Node - Version 1 * Discriminator: resource=taskProject, operation=add */ interface Credentials { asanaApi: CredentialReference; asanaOAuth2Api: CredentialReference; } /** Add a comment to a task */ export type AsanaV1TaskProjectAddParams = { resource: 'taskProject'; operation: 'add'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The ID of the task to add the project to */ id?: string | Expression | PlaceholderValue; /** * The project where the task will be added. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ project?: string | Expression; /** * Other properties to set * @default {} */ additionalFields?: { /** A task in the project to insert the task after, or null to insert at the beginning of the list */ insert_after?: string | Expression | PlaceholderValue; /** A task in the project to insert the task before, or null to insert at the end of the list */ insert_before?: string | Expression | PlaceholderValue; /** A section in the project to insert the task into. The task will be inserted at the bottom of the section. */ section?: string | Expression | PlaceholderValue; }; }; export type AsanaV1TaskProjectAddOutput = { success?: boolean; }; export type AsanaV1TaskProjectAddNode = { type: 'n8n-nodes-base.asana'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };