/** * Splunk Node - Version 2 * Discriminator: resource=user, operation=create */ interface Credentials { splunkApi: CredentialReference; } /** Create a search report from a search job */ export type SplunkV2UserCreateParams = { resource: 'user'; operation: 'create'; /** * Login name of the user */ name?: string | Expression | PlaceholderValue; /** * Comma-separated list of roles to assign to the user. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default ["user"] */ roles?: string[]; /** * Password */ password?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Email */ email?: string | Expression | PlaceholderValue; /** Full name of the user */ realname?: string | Expression | PlaceholderValue; }; }; export type SplunkV2UserCreateNode = { type: 'n8n-nodes-base.splunk'; version: 2; credentials?: Credentials; config: NodeConfig; };