n8n-nodes-base
Version:
Base nodes of n8n
35 lines (31 loc) • 853 B
text/typescript
/**
* TheHive 5 Node - Version 1
* Discriminator: resource=alert, operation=promote
*/
interface Credentials {
theHiveProjectApi: CredentialReference;
}
export type TheHiveProjectV1AlertPromoteParams = {
resource: 'alert';
operation: 'promote';
/**
* Alert
* @default {"mode":"list","value":""}
*/
alertId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
/**
* Options
* @default {}
*/
options?: {
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
caseTemplate?: string | Expression<string>;
};
};
export type TheHiveProjectV1AlertPromoteNode = {
type: 'n8n-nodes-base.theHiveProject';
version: 1;
credentials?: Credentials;
config: NodeConfig<TheHiveProjectV1AlertPromoteParams>;
};