n8n-nodes-base
Version:
Base nodes of n8n
37 lines (33 loc) • 801 B
text/typescript
/**
* Todoist Node - Version 2
* Discriminator: resource=comment, operation=update
*/
interface Credentials {
todoistApi: CredentialReference;
todoistOAuth2Api: CredentialReference;
}
/** Comment resource */
export type TodoistV2CommentUpdateParams = {
resource: 'comment';
operation: 'update';
authentication?: 'apiKey' | 'oAuth2' | Expression<string>;
/**
* Comment ID
*/
commentId?: string | Expression<string> | PlaceholderValue;
/**
* Update Fields
* @default {}
*/
commentUpdateFields?: {
/** Comment content
*/
content?: string | Expression<string> | PlaceholderValue;
};
};
export type TodoistV2CommentUpdateNode = {
type: 'n8n-nodes-base.todoist';
version: 2;
credentials?: Credentials;
config: NodeConfig<TodoistV2CommentUpdateParams>;
};