UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 763 B
/** * Todoist Node - Version 2.1 * Discriminator: resource=comment, operation=create */ interface Credentials { todoistApi: CredentialReference; todoistOAuth2Api: CredentialReference; } /** Comment resource */ export type TodoistV21CommentCreateParams = { resource: 'comment'; operation: 'create'; authentication?: 'apiKey' | 'oAuth2' | Expression<string>; /** * The ID of the task to comment on */ commentTaskId?: string | Expression<string> | PlaceholderValue; /** * Comment content */ commentContent?: string | Expression<string> | PlaceholderValue; }; export type TodoistV21CommentCreateNode = { type: 'n8n-nodes-base.todoist'; version: 2.1; credentials?: Credentials; config: NodeConfig<TodoistV21CommentCreateParams>; };