/** * Elasticsearch Node - Version 1 * Discriminator: resource=document, operation=delete */ interface Credentials { elasticsearchApi: CredentialReference; } /** Delete a document */ export type ElasticsearchV1DocumentDeleteParams = { resource: 'document'; operation: 'delete'; /** * ID of the index containing the document to delete */ indexId?: string | Expression | PlaceholderValue; /** * ID of the document to delete */ documentId?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether to use the bulk operation to delete the document/s * @default false */ bulkOperation?: boolean | Expression; }; }; export type ElasticsearchV1DocumentDeleteNode = { type: 'n8n-nodes-base.elasticsearch'; version: 1; credentials?: Credentials; config: NodeConfig; };