/** * Splunk Node - Version 1 * Discriminator: resource=searchResult, operation=getAll */ interface Credentials { splunkApi: CredentialReference; } /** Retrieve many search configurations */ export type SplunkV1SearchResultGetAllParams = { resource: 'searchResult'; operation: 'getAll'; /** * ID of the search whose results to retrieve */ searchJobId?: string | Expression | PlaceholderValue; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** Key-value pair to match against. Example: if "Key" is set to <code>user</code> and "Field" is set to <code>john</code>, only the results where <code>user</code> is <code>john</code> will be returned. * @default {} */ keyValueMatch?: { /** Key-Value Pair */ keyValuePair?: { /** Key to match against */ key?: string | Expression | PlaceholderValue; /** Value to match against */ value?: string | Expression | PlaceholderValue; }; }; }; /** * Options * @default {} */ options?: { /** Whether to include field summary statistics in the response * @default false */ add_summary_to_metadata?: boolean | Expression; }; }; export type SplunkV1SearchResultGetAllNode = { type: 'n8n-nodes-base.splunk'; version: 1; credentials?: Credentials; config: NodeConfig; };