n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 807 B
text/typescript
/**
* TheHive 5 Node - Version 1
* Discriminator: resource=comment, operation=add
*/
interface Credentials {
theHiveProjectApi: CredentialReference;
}
export type TheHiveProjectV1CommentAddParams = {
resource: 'comment';
operation: 'add';
/**
* Add to
* @default alert
*/
addTo?: 'alert' | 'case' | Expression<string>;
/**
* Case
* @displayOptions.show { addTo: ["case"] }
* @default {"mode":"list","value":""}
*/
id?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
/**
* Message
*/
message?: string | Expression<string> | PlaceholderValue;
};
export type TheHiveProjectV1CommentAddNode = {
type: 'n8n-nodes-base.theHiveProject';
version: 1;
credentials?: Credentials;
config: NodeConfig<TheHiveProjectV1CommentAddParams>;
};