n8n-nodes-base
Version:
Base nodes of n8n
44 lines (40 loc) • 984 B
text/typescript
/**
* ClickUp Node - Version 1
* Discriminator: resource=comment, operation=update
*/
interface Credentials {
clickUpApi: CredentialReference;
clickUpOAuth2Api: CredentialReference;
}
/** Update a checklist */
export type ClickUpV1CommentUpdateParams = {
resource: 'comment';
operation: 'update';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* Comment ID
*/
comment?: string | Expression<string> | PlaceholderValue;
/**
* Update Fields
* @default {}
*/
updateFields?: {
/** Assignee ID
*/
assignee?: string | Expression<string> | PlaceholderValue;
/** Comment Text
*/
commentText?: string | Expression<string> | PlaceholderValue;
/** Resolved
* @default false
*/
resolved?: boolean | Expression<boolean>;
};
};
export type ClickUpV1CommentUpdateNode = {
type: 'n8n-nodes-base.clickUp';
version: 1;
credentials?: Credentials;
config: NodeConfig<ClickUpV1CommentUpdateParams>;
};