/**
 * OpenAI Node - Version 2.2
 * Discriminator: resource=conversation, operation=remove
 */


interface Credentials {
  openAiApi: CredentialReference;
}

/** Remove a conversation */
export type LcOpenAiV22ConversationRemoveParams = {
  resource: 'conversation';
  operation: 'remove';
/**
 * The ID of the conversation to delete
 */
    conversationId: string | Expression<string>;
};

export interface LcOpenAiV22ConversationRemoveSubnodeConfig {
  tools?: ToolInstance[];
  memory?: MemoryInstance;
}

export type LcOpenAiV22ConversationRemoveNode = {
  type: '@n8n/n8n-nodes-langchain.openAi';
  version: 2.2;
  credentials?: Credentials;
  isTrigger: true;
  config: NodeConfig<LcOpenAiV22ConversationRemoveParams> & { subnodes?: LcOpenAiV22ConversationRemoveSubnodeConfig };
};