/** * Splunk Node - Version 2 * Discriminator: resource=search, operation=getAll */ interface Credentials { splunkApi: CredentialReference; } /** Retrieve many search reports */ export type SplunkV2SearchGetAllParams = { resource: 'search'; operation: 'getAll'; /** * 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; /** * Sort * @default {} */ sort?: { /** Values */ values?: { /** Sort Direction * @default asc */ sort_dir?: 'asc' | 'desc' | Expression; /** Key name to use for sorting */ sort_key?: string | Expression | PlaceholderValue; /** Sort Mode * @default auto */ sort_mode?: 'auto' | 'alpha' | 'alpha_case' | 'num' | Expression; }; }; }; export type SplunkV2SearchGetAllNode = { type: 'n8n-nodes-base.splunk'; version: 2; credentials?: Credentials; config: NodeConfig; };