n8n-nodes-base
Version:
Base nodes of n8n
44 lines (40 loc) • 987 B
text/typescript
/**
* TheHive 5 Node - Version 1
* Discriminator: resource=page, operation=create
*/
interface Credentials {
theHiveProjectApi: CredentialReference;
}
export type TheHiveProjectV1PageCreateParams = {
resource: 'page';
operation: 'create';
/**
* Create in
* @default case
*/
location?: 'case' | 'knowledgeBase' | Expression<string>;
/**
* Case
* @displayOptions.show { location: ["case"] }
* @default {"mode":"list","value":""}
*/
caseId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
/**
* Title
*/
title?: string | Expression<string> | PlaceholderValue;
/**
* Category
*/
category?: string | Expression<string> | PlaceholderValue;
/**
* Content
*/
content?: string | Expression<string> | PlaceholderValue;
};
export type TheHiveProjectV1PageCreateNode = {
type: 'n8n-nodes-base.theHiveProject';
version: 1;
credentials?: Credentials;
config: NodeConfig<TheHiveProjectV1PageCreateParams>;
};