/**
 * OpenAI Node - Version 1.5
 * Discriminator: resource=assistant, operation=list
 */


interface Credentials {
  openAiApi: CredentialReference;
}

/** List assistants in the organization */
export type LcOpenAiV15AssistantListParams = {
  resource: 'assistant';
  operation: 'list';
/**
 * Whether to return a simplified version of the response instead of the raw data
 * @default true
 */
    simplify?: boolean | Expression<boolean>;
};

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

export type LcOpenAiV15AssistantListNode = {
  type: '@n8n/n8n-nodes-langchain.openAi';
  version: 1.5;
  credentials?: Credentials;
  isTrigger: true;
  config: NodeConfig<LcOpenAiV15AssistantListParams> & { subnodes?: LcOpenAiV15AssistantListSubnodeConfig };
};