/**
 * 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<string> | PlaceholderValue;
/**
 * ID of the document to delete
 */
    documentId?: string | Expression<string> | PlaceholderValue;
/**
 * Options
 * @default {}
 */
    options?: {
    /** Whether to use the bulk operation to delete the document/s
     * @default false
     */
    bulkOperation?: boolean | Expression<boolean>;
  };
};

export type ElasticsearchV1DocumentDeleteNode = {
  type: 'n8n-nodes-base.elasticsearch';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<ElasticsearchV1DocumentDeleteParams>;
};