/** * Google Tasks Node - Version 1 * Discriminator: resource=task, operation=getAll */ interface Credentials { googleTasksOAuth2Api: CredentialReference; } /** Retrieve many tasks from a tasklist */ export type GoogleTasksV1TaskGetAllParams = { resource: 'task'; operation: 'getAll'; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ task?: 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 20 */ limit?: number | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Upper bound for a task completion date (as a RFC 3339 timestamp) to filter by */ completedMax?: string | Expression; /** Lower bound for a task completion date (as a RFC 3339 timestamp) to filter by */ completedMin?: string | Expression; /** Lower bound for a task due date (as a RFC 3339 timestamp) to filter by */ dueMin?: string | Expression; /** Upper bound for a task due date (as a RFC 3339 timestamp) to filter by */ dueMax?: string | Expression; /** Whether completed tasks are returned in the result. <strong>Show Hidden</strong> must also be True to show tasks completed in first party clients such as the web UI or Google's mobile apps. * @default true */ showCompleted?: boolean | Expression; /** Whether deleted tasks are returned in the result * @default false */ showDeleted?: boolean | Expression; /** Whether hidden tasks are returned in the result * @default false */ showHidden?: boolean | Expression; /** Lower bound for a task last modification time (as a RFC 3339 timestamp) to filter by */ updatedMin?: string | Expression; }; }; export type GoogleTasksV1TaskGetAllOutput = { due?: string; etag?: string; id?: string; kind?: string; links?: Array<{ description?: string; link?: string; type?: string; }>; position?: string; selfLink?: string; status?: string; title?: string; updated?: string; webViewLink?: string; }; export type GoogleTasksV1TaskGetAllNode = { type: 'n8n-nodes-base.googleTasks'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };