n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 883 B
text/typescript
/**
* TheHive 5 Node - Version 1
* Discriminator: resource=query, operation=executeQuery
*/
interface Credentials {
theHiveProjectApi: CredentialReference;
}
export type TheHiveProjectV1QueryExecuteQueryParams = {
resource: 'query';
operation: 'executeQuery';
/**
* Search for objects with filtering and sorting capabilities
* @hint The query should be an array of operations with the required selection and optional filtering, sorting, and pagination. See <a href="https://docs.strangebee.com/thehive/api-docs/#operation/Query%20API" target="_blank">Query API</a> for more information.
*/
queryJson?: IDataObject | string | Expression<string>;
};
export type TheHiveProjectV1QueryExecuteQueryNode = {
type: 'n8n-nodes-base.theHiveProject';
version: 1;
credentials?: Credentials;
config: NodeConfig<TheHiveProjectV1QueryExecuteQueryParams>;
};