n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 833 B
text/typescript
/**
* Todoist Node - Version 2.1
* Discriminator: resource=comment, operation=getAll
*/
interface Credentials {
todoistApi: CredentialReference;
todoistOAuth2Api: CredentialReference;
}
/** Comment resource */
export type TodoistV21CommentGetAllParams = {
resource: 'comment';
operation: 'getAll';
authentication?: 'apiKey' | 'oAuth2' | Expression<string>;
/**
* Filters
* @default {}
*/
commentFilters?: {
/** Filter comments by task ID
*/
task_id?: string | Expression<string> | PlaceholderValue;
/** Filter comments by project ID
*/
project_id?: string | Expression<string> | PlaceholderValue;
};
};
export type TodoistV21CommentGetAllNode = {
type: 'n8n-nodes-base.todoist';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<TodoistV21CommentGetAllParams>;
};