/**
 * OpenAI Node - Version 1.4
 * Discriminator: resource=assistant, operation=deleteAssistant
 */


interface Credentials {
  openAiApi: CredentialReference;
}

/** Delete an assistant from the account */
export type LcOpenAiV14AssistantDeleteAssistantParams = {
  resource: 'assistant';
  operation: 'deleteAssistant';
/**
 * Assistant to respond to the message. You can add, modify or remove assistants in the &lt;a href="https://platform.openai.com/playground?mode=assistant" target="_blank"&gt;playground&lt;/a&gt;.
 * @searchListMethod assistantSearch
 * @default {"mode":"list","value":""}
 */
    assistantId?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
};

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

export type LcOpenAiV14AssistantDeleteAssistantNode = {
  type: '@n8n/n8n-nodes-langchain.openAi';
  version: 1.4;
  credentials?: Credentials;
  isTrigger: true;
  config: NodeConfig<LcOpenAiV14AssistantDeleteAssistantParams> & { subnodes?: LcOpenAiV14AssistantDeleteAssistantSubnodeConfig };
};