/** * Todoist Node - Version 2.1 * Discriminator: resource=task, operation=move */ interface Credentials { todoistApi: CredentialReference; todoistOAuth2Api: CredentialReference; } /** Task resource */ export type TodoistV21TaskMoveParams = { resource: 'task'; operation: 'move'; authentication?: 'apiKey' | 'oAuth2' | Expression; /** * Task ID */ taskId?: string | Expression | PlaceholderValue; /** * The destination project. Choose from the list, or specify an ID. * @default {"mode":"list","value":""} */ project?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string }; /** * Additional Fields * @default {} */ options?: { /** The destination section. The task becomes the last root task of the section. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ section?: string | Expression; /** The destination parent task. The task becomes the last child task of the parent task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ parent?: string | Expression; }; }; export type TodoistV21TaskMoveOutput = { success?: boolean; }; export type TodoistV21TaskMoveNode = { type: 'n8n-nodes-base.todoist'; version: 2.1; credentials?: Credentials; config: NodeConfig; output?: Items; };