/** * Todoist Node - Version 2.1 * Discriminator: resource=reminder, operation=create */ interface Credentials { todoistApi: CredentialReference; todoistOAuth2Api: CredentialReference; } /** Reminder resource */ export type TodoistV21ReminderCreateParams = { resource: 'reminder'; operation: 'create'; authentication?: 'apiKey' | 'oAuth2' | Expression; /** * The ID of the task to attach reminder to */ itemId?: string | Expression | PlaceholderValue; /** * How to specify when the reminder should trigger * @default natural_language */ dueDateType?: 'natural_language' | 'full_day' | 'floating_time' | 'fixed_timezone' | Expression; /** * Human-readable date and time * @displayOptions.show { dueDateType: ["natural_language"] } */ natural_language_representation?: string | Expression | PlaceholderValue; /** * Full-day date in YYYY-MM-DD format * @displayOptions.show { dueDateType: ["full_day"] } */ date?: string | Expression | PlaceholderValue; /** * Floating date and time (no timezone) * @displayOptions.show { dueDateType: ["floating_time", "fixed_timezone"] } */ datetime?: string | Expression; /** * Timezone for the fixed timezone date * @displayOptions.show { dueDateType: ["fixed_timezone"] } */ timezone?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ reminderOptions?: { /** The reminder type * @default absolute */ type?: 'absolute' | 'relative' | Expression; /** Minutes before the task due date * @default 0 */ minute_offset?: number | Expression; /** User ID to notify (for shared tasks) */ notify_uid?: string | Expression | PlaceholderValue; }; }; export type TodoistV21ReminderCreateNode = { type: 'n8n-nodes-base.todoist'; version: 2.1; credentials?: Credentials; config: NodeConfig; };