/** * Elastic Security Node - Version 1 * Discriminator: resource=connector, operation=create */ interface Credentials { elasticSecurityApi: CredentialReference; } /** Create a case */ export type ElasticSecurityV1ConnectorCreateParams = { resource: 'connector'; operation: 'create'; /** * Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient) */ name?: string | Expression | PlaceholderValue; /** * Connector Type * @default .jira */ connectorType?: '.resilient' | '.jira' | '.servicenow' | Expression; /** * URL of the third-party instance */ apiUrl?: string | Expression | PlaceholderValue; /** * Jira-registered email * @displayOptions.show { connectorType: [".jira"] } */ email?: string | Expression | PlaceholderValue; /** * Jira API token * @displayOptions.show { connectorType: [".jira"] } */ apiToken?: string | Expression | PlaceholderValue; /** * Jira Project Key * @displayOptions.show { connectorType: [".jira"] } */ projectKey?: string | Expression | PlaceholderValue; /** * ServiceNow ITSM username * @displayOptions.show { connectorType: [".servicenow"] } */ username?: string | Expression | PlaceholderValue; /** * ServiceNow ITSM password * @displayOptions.show { connectorType: [".servicenow"] } */ password?: string | Expression | PlaceholderValue; /** * IBM Resilient API key ID * @displayOptions.show { connectorType: [".resilient"] } */ apiKeyId?: string | Expression | PlaceholderValue; /** * IBM Resilient API key secret * @displayOptions.show { connectorType: [".resilient"] } */ apiKeySecret?: string | Expression | PlaceholderValue; /** * IBM Resilient organization ID * @displayOptions.show { connectorType: [".resilient"] } */ orgId?: string | Expression | PlaceholderValue; }; export type ElasticSecurityV1ConnectorCreateNode = { type: 'n8n-nodes-base.elasticSecurity'; version: 1; credentials?: Credentials; config: NodeConfig; };